[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Bug ld/883] Linker creates unnecessary R_IA64_FPTR64LSB relocations
From: |
hjl at lucon dot org |
Subject: |
[Bug ld/883] Linker creates unnecessary R_IA64_FPTR64LSB relocations |
Date: |
27 Apr 2005 23:11:42 -0000 |
------- Additional Comments From hjl at lucon dot org 2005-04-27 23:11 -------
Created an attachment (id=468)
--> (http://sources.redhat.com/bugzilla/attachment.cgi?id=468&action=view)
A testcase
address@hidden 299]$ make tar
tar cfz bug.tar.gz Makefile *.c
address@hidden 299]$ make -f Makefile
gcc -B./ -c -o main.o main.c
gcc -B./ -c -o sub.o sub.c
gcc -B./ -shared -fpic -o so.so so.c
gcc -B./ -o prog main.o sub.o so.so -Wl,-rpath,.
readelf -r prog | grep i_prot1
6000000000001218 000500000047 R_IA64_FPTR64LSB 4000000000000990 i_prot1 + 0
readelf -r so.so | grep i_prot1
000000010f00 001400000081 R_IA64_IPLTLSB 0000000000000000 i_prot1 + 0
R_IA64_FPTR64LSB shouldn't be needed for executable.
--
http://sources.redhat.com/bugzilla/show_bug.cgi?id=883
------- You are receiving this mail because: -------
You are on the CC list for the bug, or are watching someone who is.