Module Name:    src
Committed By:   skrll
Date:           Mon Aug 11 20:57:28 UTC 2014

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

Log Message:
Decode alpha st_other


To generate a diff of this commit:
cvs rdiff -u -r1.10 -r1.11 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.10 src/external/gpl3/binutils/dist/binutils/readelf.c:1.11
--- src/external/gpl3/binutils/dist/binutils/readelf.c:1.10	Tue Mar 18 23:41:02 2014
+++ src/external/gpl3/binutils/dist/binutils/readelf.c	Mon Aug 11 20:57:28 2014
@@ -8847,6 +8847,20 @@ get_symbol_visibility (unsigned int visi
 }
 
 static const char *
+get_alpha_symbol_other (unsigned int other)
+{   
+  switch (other)
+    {
+    case STO_ALPHA_NOPV:
+      return "NOPV";
+    case STO_ALPHA_STD_GPLOAD:
+      return "STD GPLOAD";
+    default:
+      return NULL;
+    } 
+}
+
+static const char *
 get_mips_symbol_other (unsigned int other)
 {
   switch (other)
@@ -8940,6 +8954,9 @@ get_symbol_other (unsigned int other)
 
   switch (elf_header.e_machine)
     {
+    case EM_ALPHA:
+      result = get_alpha_symbol_other (other);
+      break;
     case EM_MIPS:
       result = get_mips_symbol_other (other);
       break;

Reply via email to