Question about section index in ELF

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



dear all:
I am reading "SYSTEM V APPLICATION BINARY INTERFACE" for realizing ELF,
but quite confuse with the relationship between "E_shstrndx", "sh_name",
"string Table".
Below I excerpt from original document:
sh_name: an index into the section header string table section.
Q: if sh_name= 0x07, the section name is "Variable", according to string
table indexes.

Q: In the document, it says "A section header table index is a subscript
into section header table array."
Does that mean we determine what kind of the section header is by order
of location like I draw below?

.... ELF header ....
.... section 0  ....
.... section 1  ....
....................
.... sheader 0  ....  //order 0x0 means SHN_UNDEF
.... sheader 1  ....  //order 0x01 means xxxxx
....................
.... sheader 0xff00.  //order 0xff00 means SHN_LORESERVE
If this is really so,




--
To unsubscribe from this list: send an email with
"unsubscribe kernelnewbies" to ecartis@xxxxxxxxxxxx
Please read the FAQ at http://kernelnewbies.org/FAQ


[Index of Archives]     [Newbies FAQ]     [Linux Kernel Mentors]     [Linux Kernel Development]     [IETF Annouce]     [Git]     [Networking]     [Security]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux SCSI]     [Linux ACPI]
  Powered by Linux