bug-gnu-utils
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Not enough room for program headers (problem with 2.11.92.0.5)


From: Stephan Kulow
Subject: Re: Not enough room for program headers (problem with 2.11.92.0.5)
Date: Wed, 17 Oct 2001 11:43:24 +0200

On Wednesday 17 October 2001 08:50, H . J . Lu wrote:

> Works fine with binutils 2.11.92.0.7, which I relased today.
>

I figured meanwhile what's the problem. The default for combreloc is changed 
in my version of binutils, so the test case would be this. The problem is the 
combination of -z combreloc and -Ttext. If you leave out one of them, it 
works. 
I think it's my fault, but I want to report it nonetheless, maybe it's still 
a bug behind the scenes :)

Greetings, Stephan

# ld -v
GNU ld version 2.11.92.0.7 20011016
# gcc -v
Reading specs from /usr/lib/gcc-lib/i386-linux/2.95.2/specs
gcc version 2.95.2 19991024 (release)
# gcc -c misc.i
# ld -z combreloc -m elf_i386 -Ttext 0x100000 misc.o
ld: a.out: Not enough room for program headers (allocated 2, need 3)
ld: final link failed: Bad value

Attachment: misc.i.bz2
Description: BZip2 compressed data


reply via email to

[Prev in Thread] Current Thread [Next in Thread]