bug-binutils
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Bug gas/27169] i386: Emit R_386_PLT32 instead of R_386_PC32 for `call/j


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: Wed, 13 Jan 2021 03:15:00 +0000

https://sourceware.org/bugzilla/show_bug.cgi?id=27169

--- Comment #11 from Fangrui Song <i at maskray dot me> ---
I agree that the assembler needs a notation to differentiate
R_386_PC32/R_386_PLT32 branches. So perhaps this should be implemented in GCC
instead: for a default visibility function declaration, emit `call/jmp foo@plt`
instead of `call/jmp foo`.

This does not degrade the ld diagnostics for non-default visibility ifunc.

-- 
You are receiving this mail because:
You are on the CC list for the bug.


reply via email to

[Prev in Thread] Current Thread [Next in Thread]