* question of 'SIZEOF_HEADERS' !!!!!!!!!!!!!!!
@ 2000-08-01 11:46 Rolf Liu
2000-08-02 2:44 ` Rolf Liu
` (2 more replies)
0 siblings, 3 replies; 4+ messages in thread
From: Rolf Liu @ 2000-08-01 11:46 UTC (permalink / raw)
To: linuxppc-dev
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/
^ permalink raw reply [flat|nested] 4+ messages in thread* Re: question of 'SIZEOF_HEADERS' !!!!!!!!!!!!!!!
2000-08-01 11:46 question of 'SIZEOF_HEADERS' !!!!!!!!!!!!!!! Rolf Liu
@ 2000-08-02 2:44 ` Rolf Liu
2000-08-02 5:49 ` Daniel Marmier
2000-08-02 7:37 ` Gabriel Paubert
2 siblings, 0 replies; 4+ messages in thread
From: Rolf Liu @ 2000-08-02 2:44 UTC (permalink / raw)
To: Rolf Liu, linuxppc-dev
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
>
>
>
>
** Sent via the linuxppc-dev mail list. See http://lists.linuxppc.org/
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: question of 'SIZEOF_HEADERS' !!!!!!!!!!!!!!!
2000-08-01 11:46 question of 'SIZEOF_HEADERS' !!!!!!!!!!!!!!! Rolf Liu
2000-08-02 2:44 ` Rolf Liu
@ 2000-08-02 5:49 ` Daniel Marmier
2000-08-02 7:37 ` Gabriel Paubert
2 siblings, 0 replies; 4+ messages in thread
From: Daniel Marmier @ 2000-08-02 5:49 UTC (permalink / raw)
To: Rolf Liu; +Cc: linuxppc-dev
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/
^ permalink raw reply [flat|nested] 4+ messages in thread* Re: question of 'SIZEOF_HEADERS' !!!!!!!!!!!!!!!
2000-08-01 11:46 question of 'SIZEOF_HEADERS' !!!!!!!!!!!!!!! Rolf Liu
2000-08-02 2:44 ` Rolf Liu
2000-08-02 5:49 ` Daniel Marmier
@ 2000-08-02 7:37 ` Gabriel Paubert
2 siblings, 0 replies; 4+ messages in thread
From: Gabriel Paubert @ 2000-08-02 7:37 UTC (permalink / raw)
To: Rolf Liu; +Cc: linuxppc-dev
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/
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2000-08-02 7:37 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2000-08-01 11:46 question of 'SIZEOF_HEADERS' !!!!!!!!!!!!!!! Rolf Liu
2000-08-02 2:44 ` Rolf Liu
2000-08-02 5:49 ` Daniel Marmier
2000-08-02 7:37 ` Gabriel Paubert
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).