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

Alan Modra <amodra at gmail dot com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Target|                            |x86_64-linux, i686-linux,
                   |                            |arm-linuxeabi
                 CC|                            |amodra at gmail dot com

--- Comment #1 from Alan Modra <amodra at gmail dot com> 2012-04-08 23:18:17 
UTC ---
Looks OK on powerpc-linux and powerpc64-linux with current mainline binutils
$ gcc -o hello /src/tmp/hello.c -Wl,-q
$ ./hello 
Hello world
$ strip hello
$ ./hello
Hello world
$ strip hello
$ ./hello
Hello world

On x86-64 the second strip gives
$ strip hello
BFD: stY8lcQd: section `.ctors' can't be allocated in segment 3
LOAD: .ctors .dtors .jcr .dynamic .got .got.plt .data .bss
BFD: stY8lcQd: section `.dtors' can't be allocated in segment 3
LOAD: .ctors .dtors .jcr .dynamic .got .got.plt .data .bss
BFD: stY8lcQd: section `.jcr' can't be allocated in segment 3
LOAD: .ctors .dtors .jcr .dynamic .got .got.plt .data .bss
BFD: stY8lcQd: section `.dynamic' can't be allocated in segment 3
LOAD: .ctors .dtors .jcr .dynamic .got .got.plt .data .bss
BFD: stY8lcQd: section `.got' can't be allocated in segment 3
LOAD: .ctors .dtors .jcr .dynamic .got .got.plt .data .bss
BFD: stY8lcQd: section `.got.plt' can't be allocated in segment 3
LOAD: .ctors .dtors .jcr .dynamic .got .got.plt .data .bss
BFD: stY8lcQd: section `.data' can't be allocated in segment 3
LOAD: .ctors .dtors .jcr .dynamic .got .got.plt .data .bss
BFD: stY8lcQd: section `.bss' can't be allocated in segment 3
LOAD: .ctors .dtors .jcr .dynamic .got .got.plt .data .bss
$ ./hello
Segmentation fault

-- 
Configure bugmail: http://sourceware.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.

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

Reply via email to