x86: Remove duplicated I386_PCREL_TYPE_P/X86_64_PCREL_TYPE_P
I386_PCREL_TYPE_P and X86_64_PCREL_TYPE_P are defined twice. Remove the duplications. * elfxx-x86.h (I386_PCREL_TYPE_P): Remove duplication. (X86_64_PCREL_TYPE_P): Likewise.
This commit is contained in:
parent
4036ad07f4
commit
0ad0387c85
1 changed files with 0 additions and 7 deletions
|
@ -97,13 +97,6 @@
|
|||
#define PLT_FDE_START_OFFSET 4 + PLT_CIE_LENGTH + 8
|
||||
#define PLT_FDE_LEN_OFFSET 4 + PLT_CIE_LENGTH + 12
|
||||
|
||||
#define I386_PCREL_TYPE_P(TYPE) ((TYPE) == R_386_PC32)
|
||||
#define X86_64_PCREL_TYPE_P(TYPE) \
|
||||
((TYPE) == R_X86_64_PC8 \
|
||||
|| (TYPE) == R_X86_64_PC16 \
|
||||
|| (TYPE) == R_X86_64_PC32 \
|
||||
|| (TYPE) == R_X86_64_PC64)
|
||||
|
||||
/* This must be the same as sframe_get_hdr_size (sfh). For x86-64, this value
|
||||
is the same as sizeof (sframe_header) because there is no SFrame auxilliary
|
||||
header. */
|
||||
|
|
Loading…
Add table
Reference in a new issue