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 ?
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
From: Daniel Marmier <hidden> Date: 2000-08-02 05:49:33
Rolf Liu wrote:
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/
From: Gabriel Paubert <hidden> Date: 2000-08-02 07:37:11
On Tue, 1 Aug 2000, Rolf Liu wrote:
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/