|
From: | i at maskray dot me |
Subject: | [Bug gas/27169] i386: Emit R_386_PLT32 instead of R_386_PC32 for `call/jmp foo` |
Date: | Sun, 10 Jan 2021 18:05:08 +0000 |
https://sourceware.org/bugzilla/show_bug.cgi?id=27169 --- Comment #2 from Fangrui Song <i at maskray dot me> --- (In reply to H.J. Lu from comment #1) > Since i386 doesn't have IP-relative addressing, non-PIC PLT is different > from PIC PLT. Using R_386_PLT32 for "call/jmp foo" isn't appreciate. I know that this is a convention using R_386_PC32 for non-PIC PLT and R_386_PLT32. It is artificial and assembler/linker/ld.so do not need this convention for interop. On most other architectures branch relocation types are distinguishable from address taken relocation types (direct access). -- You are receiving this mail because: You are on the CC list for the bug.
[Prev in Thread] | Current Thread | [Next in Thread] |