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: ld fails in current cvs when linking for powerpc-eabi


On Wed, Jul 11, 2001 at 11:43:59AM +0100, Nick Clifton wrote:
> > /opt/cgcc2/lib/gcc-lib/powerpc-eabi/3.0.1/../../../../powerpc-eabi/bin/ld: ../lc16a.obj_d/lvl1ldr.elf: Not enough room for program headers, try linking with -N
> > 
[...]
> So you need to examine your linker script (ld.tmp in the command line
> above) and work out how to resolve this problem.

Ah, thanks.

I do not use SIZEOF_HEADERS in my linker script, and it worked in older
binutils versions. However, adding the gc-sections flag to ld (which got
lost somehow) fixed the problem, although I guess that this might not be a
solid fix for the underlying cause.

cu
Michael
-- 
In the beginning there was nothing, which exploded.


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