bug-binutils
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Bug ld/23207] hppa ld SIGSEGVs on invalid object files: bfd/elf32-hppa.


From: slyfox at inbox dot ru
Subject: [Bug ld/23207] hppa ld SIGSEGVs on invalid object files: bfd/elf32-hppa.c:468 : hppa_get_stub_entry()
Date: Tue, 22 May 2018 06:43:50 +0000

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

--- Comment #3 from Sergei Trofimovich <slyfox at inbox dot ru> ---
(In reply to address@hidden from comment #2)
> The master branch has been updated by Alan Modra <address@hidden>:
> 
> https://sourceware.org/git/gitweb.cgi?p=binutils-gdb.git;
> h=7455c018e45766ab7193cbd45f98f781e0dc7d84
> 
> commit 7455c018e45766ab7193cbd45f98f781e0dc7d84
> Author: Alan Modra <address@hidden>
> 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.


reply via email to

[Prev in Thread] Current Thread [Next in Thread]