]> git.ipfire.org Git - thirdparty/binutils-gdb.git/commitdiff
* readelf.c (is_32bit_abs_reloc): Treat R_PARISC_SECREL32 as a
authorNick Clifton <nickc@redhat.com>
Mon, 17 Aug 2009 08:34:37 +0000 (08:34 +0000)
committerNick Clifton <nickc@redhat.com>
Mon, 17 Aug 2009 08:34:37 +0000 (08:34 +0000)
        32-bit absolute reloc for the purposes of processing debug
        sections.

binutils/ChangeLog
binutils/readelf.c

index ff1ff2530b031daab96d8d413af13750f4d20650..0dca4bacfff43890ac62fb298f517a4564ed4c41 100644 (file)
@@ -1,3 +1,9 @@
+2009-08-17  Nick Clifton  <nickc@redhat.com>
+
+       * readelf.c (is_32bit_abs_reloc): Treat R_PARISC_SECREL32 as a
+       32-bit absolute reloc for the purposes of processing debug
+       sections.
+
 2009-08-10  Daniel Gutson  <dgutson@codesourcery.com>
 
        * readelf.c (get_arm_section_type_name): Added support for
index f9cab0c282f1bbeff95ecf0b63da99fe3ae580f3..a8c16914c32aebe90162a1a1b1d3912b8e708292 100644 (file)
@@ -7939,7 +7939,8 @@ is_32bit_abs_reloc (unsigned int reloc_type)
     case EM_OR32:
       return reloc_type == 1; /* R_OR32_32.  */
     case EM_PARISC:
-      return reloc_type == 1; /* R_PARISC_DIR32.  */
+      return (reloc_type == 1 /* R_PARISC_DIR32.  */
+             || reloc_type == 41); /* R_PARISC_SECREL32.  */
     case EM_PJ:
     case EM_PJ_OLD:
       return reloc_type == 1; /* R_PJ_DATA_DIR32.  */