bug-binutils
[Top][All Lists]
Advanced

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

[Bug ld/25617] ld should reconstruct dynamic symbol table from PT_DYNAMI


From: klkblake at gmail dot com
Subject: [Bug ld/25617] ld should reconstruct dynamic symbol table from PT_DYNAMIC when there is no section header
Date: Mon, 09 Mar 2020 02:06:21 +0000

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

--- Comment #39 from Kaylee <klkblake at gmail dot com> ---
Created attachment 12359
  --> https://sourceware.org/bugzilla/attachment.cgi?id=12359&action=edit
testcase for GNU_PROPERTY_NO_COPY_ON_PROTECTED segfault

The attached file exports an `int foo`, linking against it will segfault ld.

It seems like it is segfaulting because it's calling SYMBOL_NO_COPYRELOC(info,
eh), which is doing checks on members of `(EH)->elf.root.u.def.section->owner`,
but this is set to NULL.

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