mirror of
https://github.com/espressif/binutils-gdb.git
synced 2025-06-23 19:50:13 +08:00
x86: Update X86_64_GOT_TYPE_P to cover more GOT relocations
Add R_X86_64_GOT32, R_X86_64_GOT64, R_X86_64_GOTPCREL64 and R_X86_64_GOTPLT64 to X86_64_GOT_TYPE_P to cover more GOT relocations. PR ld/28858 * elfxx-x86.h (X86_64_GOT_TYPE_P): Add R_X86_64_GOT32, R_X86_64_GOT64, R_X86_64_GOTPCREL64 and R_X86_64_GOTPLT64.
This commit is contained in:
@ -50,7 +50,11 @@
|
||||
#define X86_64_GOT_TYPE_P(TYPE) \
|
||||
((TYPE) == R_X86_64_GOTPCREL \
|
||||
|| (TYPE) == R_X86_64_GOTPCRELX \
|
||||
|| (TYPE) == R_X86_64_REX_GOTPCRELX)
|
||||
|| (TYPE) == R_X86_64_REX_GOTPCRELX \
|
||||
|| (TYPE) == R_X86_64_GOT32 \
|
||||
|| (TYPE) == R_X86_64_GOT64 \
|
||||
|| (TYPE) == R_X86_64_GOTPCREL64 \
|
||||
|| (TYPE) == R_X86_64_GOTPLT64)
|
||||
#define I386_GOT_TYPE_P(TYPE) \
|
||||
((TYPE) == R_386_GOT32 || (TYPE) == R_386_GOT32X)
|
||||
#define X86_GOT_TYPE_P(IS_X86_64, TYPE) \
|
||||
|
Reference in New Issue
Block a user