Jakub Jelinek <jj@ultra.linux.cz>
authorRichard Henderson <rth@redhat.com>
Fri, 16 Jul 1999 21:26:39 +0000 (21:26 +0000)
committerRichard Henderson <rth@redhat.com>
Fri, 16 Jul 1999 21:26:39 +0000 (21:26 +0000)
        * sparc.h (ELF64_R_TYPE_DATA): Only use ELF64_R_TYPE bits, not
        ELF64_R_SYM bits.

include/elf/ChangeLog
include/elf/sparc.h

index 08249bd4d5bbe494e8787dbeba0e03c39ec24d76..b13ab7880aac1178faeee30ad42a428c34b536ad 100644 (file)
@@ -1,3 +1,8 @@
+1999-07-14  Jakub Jelinek  <jj@ultra.linux.cz>
+
+       * sparc.h (ELF64_R_TYPE_DATA): Only use ELF64_R_TYPE bits, not
+       ELF64_R_SYM bits.
+
 1999-06-21  Philip Blundell  <pb@nexus.co.uk>
 
        * arm.h (EF_SOFT_FLOAT, F_SOFT_FLOAT): Define.
index ad3e1e5e8e15ba80cd74162fb3838e85ccd2cfc6..9b333197b4a5a65b193c06bdad1b090f084cf80a 100644 (file)
@@ -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) \
This page took 0.029973 seconds and 4 git commands to generate.