------- Additional Comments From hjl at lucon dot org 2005-05-27 19:25 ------- Created an attachment (id=500) --> (http://sources.redhat.com/bugzilla/attachment.cgi?id=500&action=view) A testcase
[EMAIL PROTECTED] pie-1]$ make gcc -B./ -fPIC -c -o y.o y.c gcc -B./ -pie -o y y.o -Wl,-z,nocombreloc readelf -r y Relocation section '.rela.text' at offset 0x638 contains 4 entries: Offset Info Type Sym. Value Sym. Name + Addend000000000000 000000000000 R_X86_64_NONE 0000000000000000000000000000 000000000000 R_X86_64_NONE 0000000000000000000000000000 000000000000 R_X86_64_NONE 0000000000000000000000000000 000000000000 R_X86_64_NONE 0000000000000000 Relocation section '.rela.data' at offset 0x698 contains 2 entries: Offset Info Type Sym. Value Sym. Name + Addend000000100d20 000000000008 R_X86_64_RELATIVE 0000000000100d20000000100d28 000000000008 R_X86_64_RELATIVE 0000000000100b00 Relocation section '.rela.got' at offset 0x6c8 contains 7 entries: Offset Info Type Sym. Value Sym. Name + Addend000000100cb0 000000000008 R_X86_64_RELATIVE 0000000000000980000000100cb8 000000000008 R_X86_64_RELATIVE 0000000000000920000000100cc0 000000000008 R_X86_64_RELATIVE 00000000000008fc000000100cc8 001300000006 R_X86_64_GLOB_DAT 0000000000000000 __cxa_finalize + 0000000100cd0 000000000008 R_X86_64_RELATIVE 0000000000000a0c000000100cd8 001700000006 R_X86_64_GLOB_DAT 0000000000000000 _Jv_RegisterClasses + 0 000000100ce0 001800000006 R_X86_64_GLOB_DAT 0000000000000000 __gmon_start__ + 0 Relocation section '.rela.plt' at offset 0x770 contains 3 entries: Offset Info Type Sym. Value Sym. Name + Addend000000100d00 000d00000007 R_X86_64_JUMP_SLO 0000000000000000 __libc_start_main + 0 000000100d08 000f00000007 R_X86_64_JUMP_SLO 0000000000000000 printf + 0 000000100d10 001300000007 R_X86_64_JUMP_SLO 0000000000000000 __cxa_finalize + 0if readelf -d y | grep TEXTREL; then exit 1; else exit 0; fi 0x0000000000000016 (TEXTREL) 0x0 make: *** [all] Error 1 -- http://sources.redhat.com/bugzilla/show_bug.cgi?id=975 ------- 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 [email protected] http://lists.gnu.org/mailman/listinfo/bug-binutils
