bug-binutils
[Top][All Lists]
Advanced

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

[Bug ld/23428] ld does not put program headers in a code-only load segme


From: nsz at port70 dot net
Subject: [Bug ld/23428] ld does not put program headers in a code-only load segment
Date: Thu, 09 Aug 2018 21:28:48 +0000

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

--- Comment #8 from nsz at port70 dot net ---
* evangelos at foutrelis dot com <address@hidden>
[2018-08-09 07:37:19 +0000]:
> @Szabolcs, Rich: Is the musl-gcc issue fixed for you guys? [1]
> 
> I'm still getting a segfault with current binutils master (6404ab9937):
> 
>   $ ld -v
>   GNU ld (GNU Binutils) 2.31.51.20180809
> 
>   $ musl-gcc -ggdb3 -O0 -static -xc - <<<"int main() { return 0; }"
>   $ gdb -q --batch -ex run -ex bt ./a.out
> 
>   Program received signal SIGSEGV, Segmentation fault.
>   0x000000000040140f in static_init_tls ()
>   #0  0x000000000040140f in static_init_tls ()
>   #1  0x0000000000000000 in ?? ()

it works for me, please post the readelf -aW ./a.out somewhere (e.g. musl list)

(you should see a .note.gnu.property section and an appropriate NOTE program
header.)

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