This is the mail archive of the binutils@sources.redhat.com mailing list for the binutils project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: Re[4]: ld: Not enough room for program headers


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

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]