------- Additional Comments From hjl at lucon dot org  2005-10-01 04:40 -------
Created an attachment (id=682)
 --> (http://sourceware.org/bugzilla/attachment.cgi?id=682&action=view)
A testcase
With this testcase on Linux/x86, I get

bash-3.00$ make
gcc -m32    -c -o foo.o foo.c
gcc -m32    -c -o x.o x.c
gcc -m32    -c -o y.o y.c
ld -m elf_i386 -r -o lib.o x.o y.o
gcc -m32    -c -o z.o z.c
gcc -m32 -o foo foo.o lib.o z.o -Wl,-T,elf_i386.x
lib.o: In function `bar':
: prohibited cross reference from .text to `foo' in .foo
collect2: ld returned 1 exit status
make: *** [foo] Error 1


-- 


http://sourceware.org/bugzilla/show_bug.cgi?id=1396

------- You are receiving this mail because: -------
You are on the CC list for the bug, or are watching someone who is.


_______________________________________________
bug-binutils mailing list
bug-binutils@gnu.org
http://lists.gnu.org/mailman/listinfo/bug-binutils

Reply via email to