Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- struct exec {
- unsigned long a_midmag;
- //เก็บค่าอย่างใดอย่างหนึ่ง ระหว่าง Flag,machine id และ magic number
- unsigned long a_text;
- //เก็บขนาดของ text segment ในหน่วย byte
- unsigned long a_data;
- //เก็บขนาดของ data segment ในหน่วย byte
- unsigned long a_bss;
- //เก็บจำนวนของ byte ใน bss segment และถูกใช้โดย kernel เพื่อเซตค่า initial
- break หลัง data segment
- unsigned long a_syms;
- //เก็บขนาดของ symbol table ในหน่วย byte
- unsigned long a_entry;
- //เก็บ address ในหน่วยความจ าของ entry point ของโปรแกรมหลังจากที่ kernel
- ได้โหลดแล้ว
- unsigned long a_trsize;
- //เก็บขนาดของ text relocation table ในหน่วย byte
- unsigned long a_drsize;
- //เก็บขนาดของ data relocation table ในหน่วย byte
- };
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement