[PATCH] PR ld/19636: pie changes program behavior and generate unnecessary dynamic symbols
H.J. Lu
hjl.tools@gmail.com
Wed Feb 17 23:34:00 GMT 2016
More information about the Binutils mailing list
Wed Feb 17 23:34:00 GMT 2016
- Previous message (by thread): [PATCH] PR ld/19636: pie changes program behavior and generate unnecessary dynamic symbols
- Next message (by thread): [PATCH] PR ld/19636: pie changes program behavior and generate unnecessary dynamic symbols
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
On Tue, Feb 16, 2016 at 9:23 PM, H.J. Lu <hjl.tools@gmail.com> wrote: > On Mon, Feb 15, 2016 at 07:00:32AM -0800, H.J. Lu wrote: >> Non-dynamic symbols are always bound locally in PIE and we always create >> the dynsym section, even if it is empty, with dynamic sections. >> >> I fixed x86. Other backends need similar fix. Any comments? >> > > Symbols are always bound locally to their definitions in PIE, similar to > -shared -Bsymbolic and we always create the dynsym section, even if it is > empty, with dynamic sections. > > I fixed x86. Other backends need similar fix. Any comments? > We should remove undefined weak symbol from the dynamic symbol table in executable. -- H.J. -------------- next part -------------- A non-text attachment was scrubbed... Name: 0001-Bind-symbols-to-their-definitions-locally-in-PIE.patch Type: text/x-patch Size: 24013 bytes Desc: not available URL: <https://sourceware.org/pipermail/binutils/attachments/20160217/dc47e87c/attachment.bin>
- Previous message (by thread): [PATCH] PR ld/19636: pie changes program behavior and generate unnecessary dynamic symbols
- Next message (by thread): [PATCH] PR ld/19636: pie changes program behavior and generate unnecessary dynamic symbols
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
More information about the Binutils mailing list