This is the mail archive of the
binutils@sources.redhat.com
mailing list for the binutils project.
Re: Re[4]: ld: Not enough room for program headers
- To: franco at robres dot com dot au (Franco Broi)
- Subject: Re: Re[4]: ld: Not enough room for program headers
- From: Michal Jaegermann <michal at ellpspace dot math dot ualberta dot ca>
- Date: Wed, 27 Sep 2000 09:28:11 -0600 (MDT)
- Cc: nickc at redhat dot com, hjl at lucon dot org, binutils at sourceware dot cygnus dot com
Franco Broi wrote:
>
> Now I know to use the -T option (although it does say in the manual that
> this is equivalent to the -c option) I've tried changing the script
> as you did by adding 0x100 but this produced the same error. I then swapped
> SIZEOF_HEADERS for 1024 and it worked.
Maybe the stuff you have have on hands really needs all this extra space
for headers? This "+ 0x100" I used was just some number I used to
check if I will see any effects at all.
> Where do we go from here?
Anybody with an idea how to estimate header space requirements?
Frankly a section about PHDRS from 'info ld', which sends me
for details to "who knows where" ELF ABI document, did not leave
me much wiser.
Michal