ld: .* Not enough room for program headers / linux-mips

Alan Modra alan@linuxcare.com.au
Sun Apr 16 19:47:00 GMT 2000


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.



More information about the Binutils mailing list