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

--- Comment #3 from Sergei Trofimovich <slyfox at inbox dot ru> ---
(In reply to cvs-com...@gcc.gnu.org from comment #2)
> The master branch has been updated by Alan Modra <amo...@sourceware.org>:
> 
> https://sourceware.org/git/gitweb.cgi?p=binutils-gdb.git;
> h=7455c018e45766ab7193cbd45f98f781e0dc7d84
> 
> commit 7455c018e45766ab7193cbd45f98f781e0dc7d84
> Author: Alan Modra <amo...@gmail.com>
> Date:   Mon May 21 21:29:25 2018 +0930

This seems to fix the minimal reproducer, but not original bug. ld still
SIGSEGVs. Bigger minimal file that still SIGSEGVs:

    // $ cat bug.i
    a() { b(); }
    __asm__(".section .gnu.warning.");
    c() { b(); }

Same steps to reproduce:
$ hppa2.0-unknown-linux-gnu-gcc         -fPIC -c bug.i -o bug.o
$ hppa2.0-unknown-linux-gnu-gcc -shared -fPIC    bug.o -o libbug.so

Will attach bigger object file as well.

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