[Bug ld/18900] New: Unnecessary PLT entry for function pointer initialization

2015-08-30 Thread hjl.tools at gmail dot com
https://sourceware.org/bugzilla/show_bug.cgi?id=18900 Bug ID: 18900 Summary: Unnecessary PLT entry for function pointer initialization Product: binutils Version: 2.26 (HEAD) Status: NEW Severity: normal

[Bug binutils/18759] R_OR1K_*_PCREL should have pcrel_offset=TRUE

2015-08-30 Thread whitequark at whitequark dot org
https://sourceware.org/bugzilla/show_bug.cgi?id=18759 --- Comment #9 from whitequark at whitequark dot org --- I have confirmed that, at least, gas emits PC-relative relocations incorrectly. I will fix that. Speaking of the ABI: OR1K does not have a document (any document) which specifies the R_O

[Bug gold/18886] Unnecessary PLT entry for IFUNC function from DSO

2015-08-30 Thread hjl.tools at gmail dot com
https://sourceware.org/bugzilla/show_bug.cgi?id=18886 --- Comment #1 from H.J. Lu --- Gold generates 2 relocations against strcmp and ld generates one: [hjl@gnu-6 pr18886]$ cat foo.S .text .globl foo .type foo, @function foo: jmp *strcmp@GOTPCREL(%rip)