question of 'SIZEOF_HEADERS' !!!!!!!!!!!!!!!
Hi, all
I am linking the linux ppc kernel .
I found a symblo named 'SIZEOF_HEADERS' in the link script file 'vmlinux.lds'.
I wonder where the symbol come from.
I have searched throuth the source tree, but I can't find the definition of it.
Who can tell me some info about it ? at least the value of it ? thanks a lot .
BRs
Rolf Liu
** Sent via the linuxppc-dev mail list. See http://lists.linuxppc.org/
Is this 'SIZEOF_HEADERS' just the size of the ELF header , which is 304 byte long ?
Quoted 7 lines
Hi, all
I am linking the linux ppc kernel .
I found a symblo named 'SIZEOF_HEADERS' in the link script file 'vmlinux.lds'.
I wonder where the symbol come from.
I have searched throuth the source tree, but I can't find the definition
of
Quoted 10 lines
it.
Who can tell me some info about it ? at least the value of it ? thanks a lot .BRs
Rolf Liu
** Sent via the linuxppc-dev mail list. See http://lists.linuxppc.org/
Quoted 6 lines · Rolf Liu
Hi, all
I am linking the linux ppc kernel .
I found a symblo named 'SIZEOF_HEADERS' in the link script file 'vmlinux.lds'.
I wonder where the symbol come from.
Found in ld's info pages, section arithmetic functions :
`SIZEOF_HEADERS'
`sizeof_headers'
Return the size in bytes of the output file's headers. You can use this number as the start address of the first section, if you choose, to facilitate paging.
Daniel Marmier
** Sent via the linuxppc-dev mail list. See http://lists.linuxppc.org/
Quoted 6 lines · Rolf Liu
Hi, all
I am linking the linux ppc kernel .
I found a symblo named 'SIZEOF_HEADERS' in the link script file 'vmlinux.lds'.
I wonder where the symbol come from.
info ld
(Hint: builtin functions section)
Gabriel.
kkk
** Sent via the linuxppc-dev mail list. See http://lists.linuxppc.org/