* readelf.c (is_32bit_abs_reloc): Add knowledge of reloc used by IA64.
authorNick Clifton <nickc@redhat.com>
Mon, 29 Oct 2007 14:44:58 +0000 (14:44 +0000)
committerNick Clifton <nickc@redhat.com>
Mon, 29 Oct 2007 14:44:58 +0000 (14:44 +0000)
  (is_64bit_abs_reloc): Likewise.

binutils/ChangeLog
binutils/readelf.c

index 94a8739fb7189f99111dff013a9a3445367e2aea..2f50eff62eba268d843824b2ae4d6247590a4a97 100644 (file)
@@ -1,3 +1,9 @@
+2007-10-29  Nick Clifton  <nickc@redhat.com>
+
+       * readelf.c (is_32bit_abs_reloc): Add knowledge of reloc used by
+       IA64.
+       (is_64bit_abs_reloc): Likewise.
+
 2007-10-28  Nick Clifton  <nickc@redhat.com>
 
        * dwarf.c (process_debug_info): Check for corrupt lengths.
index 6ed75afa1d9fdfa4987c9e2e41d3fae3f7b1a365..724e5f077d7e530a6f7afe1e220e5afe5c6a6abd 100644 (file)
@@ -7975,6 +7975,8 @@ is_32bit_abs_reloc (unsigned int reloc_type)
     case EM_H8_300:
     case EM_H8_300H:
       return reloc_type == 1; /* R_H8_DIR32.  */
+    case EM_IA_64:
+      return reloc_type == 0x65; /* R_IA64_SECREL32LSB.  */
     case EM_IP2K_OLD:
     case EM_IP2K:
       return reloc_type == 2; /* R_IP2K_32.  */
@@ -8040,7 +8042,6 @@ is_32bit_abs_reloc (unsigned int reloc_type)
     case EM_ALTERA_NIOS2:
       /* Fall through (what reloc type is used ?).  */
     case EM_NIOS32:
-    case EM_IA_64:
       /* Fall through (what reloc type is used ?).  */
     default:
       error (_("Missing knowledge of 32-bit reloc types used in DWARF sections of machine number %d\n"),
@@ -8098,6 +8099,8 @@ is_64bit_abs_reloc (unsigned int reloc_type)
     {
     case EM_ALPHA:
       return reloc_type == 2; /* R_ALPHA_REFQUAD.  */
+    case EM_IA_64:
+      return reloc_type == 0x27; /* R_IA64_DIR64LSB.  */
     case EM_PPC64:
       return reloc_type == 38; /* R_PPC64_ADDR64.  */
     case EM_SPARC32PLUS:
This page took 0.029202 seconds and 4 git commands to generate.