https://sourceware.org/bugzilla/show_bug.cgi?id=23428

H.J. Lu <hjl.tools at gmail dot com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |NEW
   Last reconfirmed|                            |2018-07-19
                 CC|                            |hjl.tools at gmail dot com
     Ever confirmed|0                           |1

--- Comment #1 from H.J. Lu <hjl.tools at gmail dot com> ---
pr23428 branch:

https://github.com/hjl-tools/simple-linux/tree/pr23428

has a small run-time testcase:

[hjl@gnu-tools-1 simple-linux]$ make
gcc -g -O0 -fno-asynchronous-unwind-tables   -c -o test.o test.c
gcc -g   -c -o start.o start.S
gcc -g   -c -o syscall.o syscall.S
ld -z separate-code -o test test.o start.o syscall.o
./test; echo $?
/bin/sh: line 1: 16441 Segmentation fault      (core dumped) ./test
139
[hjl@gnu-tools-1 simple-linux]$ gcc test.o
[hjl@gnu-tools-1 simple-linux]$ ./a.out 
[hjl@gnu-tools-1 simple-linux]$ echo $?
0
[hjl@gnu-tools-1 simple-linux]$

-- 
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