This is the mail archive of the binutils@sourceware.cygnus.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: .* Not enough room for program headers / linux-mips


On Sun, 16 Apr 2000, Florian Lohoff wrote:

> Reading specs from /usr/lib/gcc-lib/mips-unknown-linux-gnu/egcs-2.90.29/specs
> gcc version egcs-2.90.29 980515 (egcs-1.0.3 release)
>snip]
> ld: libgmp.so.2.0.2: Not enough room for program headers (allocated 5, need 6)
> ld: final link failed: Bad value

Does reverting this patch
http://sourceware.cygnus.com/cgi-bin/cvsweb.cgi/src/ld/emultempl/elf32.em.diff?cvsroot=src&r1=1.13&r2=1.14
cure the problem?

If there is still a problem, try reverting this one as well
http://sourceware.cygnus.com/cgi-bin/cvsweb.cgi/src/ld/emultempl/elf32.em.diff?cvsroot=src&r1=1.12&r2=1.13

bfd/elf32-mips.c mucks around with sections a lot, and the above patches
have probably broken something.

-- 
Linuxcare.  Support for the Revolution.


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