[Bug gold/19887] New: --export-dynamic-symbol ignored for plugin symbols

2016-03-30 Thread eugeni.stepanov at gmail dot com
Component: gold Assignee: ccoutant at gmail dot com Reporter: eugeni.stepanov at gmail dot com CC: ian at airs dot com Target Milestone: --- $ cat 1.c void f() {} int main() {} $ clang -flto -O0 1.c -fuse-ld=gold -Wl,--export-dynamic-symbol=f -Wl,-plugin-opt

[Bug gold/19002] .eh_frame error: "no .eh_frame_hdr table will be created" with gold

2016-03-21 Thread eugeni.stepanov at gmail dot com
https://sourceware.org/bugzilla/show_bug.cgi?id=19002 --- Comment #6 from Evgeniy Stepanov --- The bfd linker warning about not being able to build .eh_frame_hdr was very useful for me. -- You are receiving this mail because: You are on the CC list for the bug. _

[Bug gold/19002] .eh_frame error: "no .eh_frame_hdr table will be created" with gold

2016-03-21 Thread eugeni.stepanov at gmail dot com
https://sourceware.org/bugzilla/show_bug.cgi?id=19002 --- Comment #4 from Evgeniy Stepanov --- Thank you, Cary! -- You are receiving this mail because: You are on the CC list for the bug. ___ bug-binutils mailing list bug-binutils@gnu.org https://list

[Bug gold/19002] .eh_frame error: "no .eh_frame_hdr table will be created" with gold

2016-03-15 Thread eugeni.stepanov at gmail dot com
https://sourceware.org/bugzilla/show_bug.cgi?id=19002 Evgeniy Stepanov changed: What|Removed |Added CC||eugeni.stepanov at gmail dot com

[Bug gold/19169] Gold emits incorrect R_AARCH64_ABS64

2015-10-23 Thread eugeni.stepanov at gmail dot com
https://sourceware.org/bugzilla/show_bug.cgi?id=19169 --- Comment #2 from Evgeniy Stepanov --- It appears that this is a bug in the bionic linker which incorrectly loads the addend for RELA relocations from the relocated address. See https://sourceware.org/bugzilla/show_bug.cgi?id=19163 The bug

[Bug gold/19169] Gold emits incorrect R_AARCH64_ABS64

2015-10-23 Thread eugeni.stepanov at gmail dot com
https://sourceware.org/bugzilla/show_bug.cgi?id=19169 --- Comment #1 from Evgeniy Stepanov --- Oh, > 2040 1820 This is actually 0x2018, which is the VMA of "A". So this points to A+A, which is definitely wrong. -- You are receiving this mail because: You are on the CC list for the

[Bug gold/19169] New: Gold emits incorrect R_AARCH64_ABS64

2015-10-23 Thread eugeni.stepanov at gmail dot com
Assignee: ccoutant at gmail dot com Reporter: eugeni.stepanov at gmail dot com CC: ian at airs dot com Target Milestone: --- The following code, when placed in a non-symbolically linked shared library, fails on Android/AArch64 when linked with gold. int A[10] = {1, 0

[Bug gold/18859] Gold linker does not fully respect -no-as-needed

2015-08-24 Thread eugeni.stepanov at gmail dot com
https://sourceware.org/bugzilla/show_bug.cgi?id=18859 --- Comment #4 from Evgeniy Stepanov --- Thank you! --wrap does not work for prebuilt shared libraries, and we need to intercept at least some functions in those, too (ex. malloc). -- You are receiving this mail because: You are on the CC l

[Bug gold/18859] Gold linker does not fully respect -no-as-needed

2015-08-20 Thread eugeni.stepanov at gmail dot com
https://sourceware.org/bugzilla/show_bug.cgi?id=18859 --- Comment #2 from Evgeniy Stepanov --- There is some context here: https://llvm.org/bugs/show_bug.cgi?id=15823 In the clang driver, we add a static library that implements wrappers for libutil functions, i.e. it exports functions with the s

[Bug gold/18859] New: Gold linker does not fully respect -no-as-needed

2015-08-20 Thread eugeni.stepanov at gmail dot com
Component: gold Assignee: ccoutant at gmail dot com Reporter: eugeni.stepanov at gmail dot com CC: ian at airs dot com Target Milestone: --- Gold and ld behave differently when a shared library is first mentioned when -as-needed is in effect, and then again after

[Bug gold/18780] New: Gold does not support long PLT on ARM

2015-08-06 Thread eugeni.stepanov at gmail dot com
Assignee: ccoutant at gmail dot com Reporter: eugeni.stepanov at gmail dot com CC: ian at airs dot com Target Milestone: --- The BFD linker has a -long-plt option to generate 16-byte PLT entries that are capable of addressing GOT at arbitrary offset. Gold only

[Bug gold/16530] New: --dynamic-list does not protect symbols from being garbage collected

2014-02-05 Thread eugeni.stepanov at gmail dot com
: normal Priority: P2 Component: gold Assignee: ian at airs dot com Reporter: eugeni.stepanov at gmail dot com CC: ccoutant at google dot com $ cat z.cc extern "C" void f() {} int main() { return 0; } $ cat z.syms { f; }; $ g++ z.c