[Bug ld/22750] .sizeof. directive is handled incorrectly in shared object

2018-01-28 Thread amodra at gmail dot com
https://sourceware.org/bugzilla/show_bug.cgi?id=22750 --- Comment #2 from Alan Modra --- > .sizeof. (__verbose) in shared object gets the size of __verbose > in executable. No, that isn't true. The value is the size of __verbose in the shared library plus the base of the shared library. > Relo

[Bug ld/22750] .sizeof. directive is handled incorrectly in shared object

2018-01-26 Thread hjl.tools at gmail dot com
https://sourceware.org/bugzilla/show_bug.cgi?id=22750 H.J. Lu changed: What|Removed |Added CC||amodra at gmail dot com -- You are receivi

[Bug ld/22750] .sizeof. directive is handled incorrectly in shared object

2018-01-26 Thread hjl.tools at gmail dot com
https://sourceware.org/bugzilla/show_bug.cgi?id=22750 --- Comment #1 from H.J. Lu --- The problem is Relocation section '.rela.data' at offset 0x100 contains 1 entry: Offset Info Type Sym. ValueSym. Name + Addend 00050001 R_X86_64_64 000