/usr/include/asm/a.out.h라는 파일에 그 구조가 있습니다.
간단하게 옮기면
struct exec
{
unsigned long a_info; /* Use macros N_MAGIC, etc for access */
unsigned a_text; /* length of text, in bytes */
unsigned a_data; /* length of data, in bytes */
unsigned a_bss; /* length of uninitialized data area for file, in bytes */
unsigned a_syms; /* length of symbol table data in file, in bytes */
unsigned a_entry; /* start address */
unsigned a_trsize; /* length of relocation info for text, in bytes */
unsigned a_drsize; /* length of relocation info for data, in bytes */
};
소스에서 찾아보면...
/usr/include/asm/a.out.h라는 파일에 그 구조가 있습니다.
간단하게 옮기면
정도가 되겠네요.
------------------------------
좋은 하루 되세요.
아래 주소가 간략하게 설명이 잘돼어 있구요.http://www.lin
아래 주소가 간략하게 설명이 잘돼어 있구요.
http://www.linux-mag.com/2002-05/compile_01.html
자세한 부분은 Understanding the Linux kernel (1st edition) 의
19장 프로그램 실행부분을 참고하시면 될것입니다.
댓글 달기