------- Additional Comments From xake at rymdraket dot net 2010-03-22 08:23 ------- Thanks for that, now the testcase passes.
But there is still more things exported when compiling a PIE file, then when compiling a "normal" file, is this something we have to live with? $ gcc -o test1 -Wl,--no-export-dynamic vers4.c $ gcc -o test2 -fPIE -pie -Wl,--no-export-dynamic vers4.c $ objdump -T test* test1: file format elf64-x86-64 DYNAMIC SYMBOL TABLE: 0000000000000000 DF *UND* 0000000000000000 GLIBC_2.2.5 printf 0000000000000000 w D *UND* 0000000000000000 __gmon_start__ 0000000000000000 DF *UND* 0000000000000000 GLIBC_2.2.5 __libc_start_main 0000000000000000 DF *UND* 0000000000000000 GLIBC_2.4 __stack_chk_fail test2: file format elf64-x86-64 DYNAMIC SYMBOL TABLE: 0000000000000270 l d .interp 0000000000000000 .interp 0000000000000000 DF *UND* 0000000000000000 GLIBC_2.2.5 printf 0000000000000000 w D *UND* 0000000000000000 __gmon_start__ 0000000000000000 w D *UND* 0000000000000000 _Jv_RegisterClasses 0000000000000000 DF *UND* 0000000000000000 GLIBC_2.2.5 __libc_start_main 0000000000000000 w DF *UND* 0000000000000000 GLIBC_2.2.5 __cxa_finalize 0000000000000000 DF *UND* 0000000000000000 GLIBC_2.4 __stack_chk_fail 0000000000201020 g D *ABS* 0000000000000000 Base _end 0000000000201010 g D *ABS* 0000000000000000 Base _edata 00000000000008e0 g DF .text 0000000000000088 Base __libc_csu_init 0000000000201010 g D *ABS* 0000000000000000 Base __bss_start 000000000000087a g DF .text 0000000000000054 Base main 00000000000008d0 g DF .text 0000000000000002 Base __libc_csu_fini -- http://sourceware.org/bugzilla/show_bug.cgi?id=11413 ------- 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