Advertisement
Guest User

Untitled

a guest
Jan 18th, 2017
57
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.16 KB | None | 0 0
  1. struct exec {
  2. unsigned long a_midmag;
  3. //เก็บค่าอย่างใดอย่างหนึ่ง ระหว่าง Flag,machine id และ magic number
  4. unsigned long a_text;
  5. //เก็บขนาดของ text segment ในหน่วย byte
  6. unsigned long a_data;
  7. //เก็บขนาดของ data segment ในหน่วย byte
  8. unsigned long a_bss;
  9. //เก็บจำนวนของ byte ใน bss segment และถูกใช้โดย kernel เพื่อเซตค่า initial
  10. break หลัง data segment
  11. unsigned long a_syms;
  12. //เก็บขนาดของ symbol table ในหน่วย byte
  13. unsigned long a_entry;
  14. //เก็บ address ในหน่วยความจ าของ entry point ของโปรแกรมหลังจากที่ kernel
  15. ได้โหลดแล้ว
  16. unsigned long a_trsize;
  17. //เก็บขนาดของ text relocation table ในหน่วย byte
  18. unsigned long a_drsize;
  19. //เก็บขนาดของ data relocation table ในหน่วย byte
  20. };
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement