[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: |
hjl.tools 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:45:25 +0000 |
https://sourceware.org/bugzilla/show_bug.cgi?id=25617
--- Comment #41 from H.J. Lu <hjl.tools at gmail dot com> ---
(In reply to H.J. Lu from comment #40)
> (In reply to Kaylee from comment #39)
> > Created attachment 12359 [details]
> > 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.
>
> How do I use it to reproduce linker segfault?
Never mind.
--
You are receiving this mail because:
You are on the CC list for the bug.
- [Bug ld/25617] ld should reconstruct dynamic symbol table from PT_DYNAMIC when there is no section header, (continued)
- [Bug ld/25617] ld should reconstruct dynamic symbol table from PT_DYNAMIC when there is no section header, klkblake at gmail dot com, 2020/03/07
- [Bug ld/25617] ld should reconstruct dynamic symbol table from PT_DYNAMIC when there is no section header, hjl.tools at gmail dot com, 2020/03/07
- [Bug ld/25617] ld should reconstruct dynamic symbol table from PT_DYNAMIC when there is no section header, hjl.tools at gmail dot com, 2020/03/08
- [Bug ld/25617] ld should reconstruct dynamic symbol table from PT_DYNAMIC when there is no section header, hjl.tools at gmail dot com, 2020/03/08
- [Bug ld/25617] ld should reconstruct dynamic symbol table from PT_DYNAMIC when there is no section header, hjl.tools at gmail dot com, 2020/03/08
- [Bug ld/25617] ld should reconstruct dynamic symbol table from PT_DYNAMIC when there is no section header, klkblake at gmail dot com, 2020/03/08
- [Bug ld/25617] ld should reconstruct dynamic symbol table from PT_DYNAMIC when there is no section header, klkblake at gmail dot com, 2020/03/08
- [Bug ld/25617] ld should reconstruct dynamic symbol table from PT_DYNAMIC when there is no section header, klkblake at gmail dot com, 2020/03/08
- [Bug ld/25617] ld should reconstruct dynamic symbol table from PT_DYNAMIC when there is no section header, klkblake at gmail dot com, 2020/03/08
- [Bug ld/25617] ld should reconstruct dynamic symbol table from PT_DYNAMIC when there is no section header, hjl.tools at gmail dot com, 2020/03/08
- [Bug ld/25617] ld should reconstruct dynamic symbol table from PT_DYNAMIC when there is no section header,
hjl.tools at gmail dot com <=
- [Bug ld/25617] ld should reconstruct dynamic symbol table from PT_DYNAMIC when there is no section header, hjl.tools at gmail dot com, 2020/03/08
- [Bug ld/25617] ld should reconstruct dynamic symbol table from PT_DYNAMIC when there is no section header, hjl.tools at gmail dot com, 2020/03/09