Module Name:    src
Committed By:   matt
Date:           Tue Mar 18 23:41:02 UTC 2014

Modified Files:
        src/external/gpl3/binutils/dist/binutils: readelf.c

Log Message:
Make readelf know what the vax pcrel32 reloc number is.


To generate a diff of this commit:
cvs rdiff -u -r1.9 -r1.10 src/external/gpl3/binutils/dist/binutils/readelf.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: src/external/gpl3/binutils/dist/binutils/readelf.c
diff -u src/external/gpl3/binutils/dist/binutils/readelf.c:1.9 src/external/gpl3/binutils/dist/binutils/readelf.c:1.10
--- src/external/gpl3/binutils/dist/binutils/readelf.c:1.9	Thu Nov 14 12:44:25 2013
+++ src/external/gpl3/binutils/dist/binutils/readelf.c	Tue Mar 18 23:41:02 2014
@@ -10020,6 +10020,8 @@ is_32bit_pcrel_reloc (unsigned int reloc
     case EM_L1OM:
     case EM_K1OM:
       return reloc_type == 2;  /* R_X86_64_PC32.  */
+    case EM_VAX:
+      return reloc_type == 4;  /* R_VAX_PCREL32.  */
     case EM_XTENSA_OLD:
     case EM_XTENSA:
       return reloc_type == 14; /* R_XTENSA_32_PCREL.  */

Reply via email to