[Bug gas/29551] Wrong relocations against _GLOBAL_OFFSET_TABLE_

2022-09-07 Thread mliska at suse dot cz
https://sourceware.org/bugzilla/show_bug.cgi?id=29551 Martin Liska changed: What|Removed |Added CC||mliska at suse dot cz -- You are rece

[Bug gas/29551] Wrong relocations against _GLOBAL_OFFSET_TABLE_

2022-09-07 Thread amonakov at gmail dot com
https://sourceware.org/bugzilla/show_bug.cgi?id=29551 Alexander Monakov changed: What|Removed |Added CC||amonakov at gmail dot com -- You

[Bug gas/29551] Wrong relocations against _GLOBAL_OFFSET_TABLE_

2022-09-07 Thread jbeulich at suse dot com
https://sourceware.org/bugzilla/show_bug.cgi?id=29551 --- Comment #4 from Jan Beulich --- If that also allows _GLOBAL_OFFSET_TABLE_-. to work as expected, perhaps that's the way to go. It's been a long time, but I expect that form of expression was what I had in mind when adding the check for BFD

[Bug gas/29551] Wrong relocations against _GLOBAL_OFFSET_TABLE_

2022-09-06 Thread hjl.tools at gmail dot com
https://sourceware.org/bugzilla/show_bug.cgi?id=29551 H.J. Lu changed: What|Removed |Added CC||jbeulich at suse dot com --- Comment #3 fro

[Bug gas/29551] Wrong relocations against _GLOBAL_OFFSET_TABLE_

2022-09-06 Thread hjl.tools at gmail dot com
https://sourceware.org/bugzilla/show_bug.cgi?id=29551 --- Comment #2 from H.J. Lu --- We can't change _GLOBAL_OFFSET_TABLE_ nor _GLOBAL_OFFSET_TABLE_(%rip). _GLOBAL_OFFSET_TABLE_ generates GOTPC32 relocation. _GLOBAL_OFFSET_TABLE_(%rip) generates GOTPC32 relocation which is the same as PC32 sinc

[Bug gas/29551] Wrong relocations against _GLOBAL_OFFSET_TABLE_

2022-09-06 Thread hjl.tools at gmail dot com
https://sourceware.org/bugzilla/show_bug.cgi?id=29551 --- Comment #1 from H.J. Lu --- GCC generates call__x86.get_pc_thunk.bx addl$_GLOBAL_OFFSET_TABLE_, %ebx to load the address of _GLOBAL_OFFSET_TABLE_ into EBX with R_386_GOTPC relocation. -- You are receiving this m

[Bug gas/29551] Wrong relocations against _GLOBAL_OFFSET_TABLE_

2022-09-06 Thread hjl.tools at gmail dot com
https://sourceware.org/bugzilla/show_bug.cgi?id=29551 H.J. Lu changed: What|Removed |Added See Also||https://gcc.gnu.org/bugzill

[Bug gas/29551] Wrong relocations against _GLOBAL_OFFSET_TABLE_

2022-09-06 Thread hjl.tools at gmail dot com
https://sourceware.org/bugzilla/show_bug.cgi?id=29551 H.J. Lu changed: What|Removed |Added See Also||https://gcc.gnu.org/bugzill