diff options
author | Richard Henderson <rth@redhat.com> | 1999-07-16 21:26:39 +0000 |
---|---|---|
committer | Richard Henderson <rth@redhat.com> | 1999-07-16 21:26:39 +0000 |
commit | 8647c02950846f617cdb710b7a0f0110075a096f (patch) | |
tree | 03e5c4c00b59667d359436f5106f11e1ffce4f77 /include/elf/sparc.h | |
parent | 939a5db65a41508206dba23f189cf5d0016f2555 (diff) | |
download | newlib-8647c02950846f617cdb710b7a0f0110075a096f.zip newlib-8647c02950846f617cdb710b7a0f0110075a096f.tar.gz newlib-8647c02950846f617cdb710b7a0f0110075a096f.tar.bz2 |
Jakub Jelinek <jj@ultra.linux.cz>
* sparc.h (ELF64_R_TYPE_DATA): Only use ELF64_R_TYPE bits, not
ELF64_R_SYM bits.
Diffstat (limited to 'include/elf/sparc.h')
-rw-r--r-- | include/elf/sparc.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/elf/sparc.h b/include/elf/sparc.h index ad3e1e5..9b33319 100644 --- a/include/elf/sparc.h +++ b/include/elf/sparc.h @@ -139,7 +139,7 @@ END_RELOC_NUMBERS /* Relocation macros. */ #define ELF64_R_TYPE_DATA(info) \ - (((bfd_signed_vma)((info) >> 8) ^ 0x800000) - 0x800000) + (((bfd_signed_vma)(ELF64_R_TYPE(info) >> 8) ^ 0x800000) - 0x800000) #define ELF64_R_TYPE_ID(info) \ ((info) & 0xff) #define ELF64_R_TYPE_INFO(data, type) \ |