Blame SOURCES/binutils-readelf-other-sym-info.patch

f8cceb
--- binutils.orig/binutils/readelf.c	2020-07-24 15:08:30.317597020 +0100
f8cceb
+++ binutils-2.35/binutils/readelf.c	2020-07-24 15:09:39.029155552 +0100
f8cceb
@@ -12069,11 +12069,13 @@ print_dynamic_symbol (Filedata *filedata
f8cceb
       unsigned int vis = ELF_ST_VISIBILITY (psym->st_other);
f8cceb
 
f8cceb
       printf (" %-7s", get_symbol_visibility (vis));
f8cceb
+#if 0
f8cceb
       /* Check to see if any other bits in the st_other field are set.
f8cceb
 	 Note - displaying this information disrupts the layout of the
f8cceb
 	 table being generated, but for the moment this case is very rare.  */
f8cceb
       if (psym->st_other ^ vis)
f8cceb
 	printf (" [%s] ", get_symbol_other (filedata, psym->st_other ^ vis));
f8cceb
+#endif
f8cceb
     }
f8cceb
   printf (" %4s ", get_symbol_index_type (filedata, psym->st_shndx));
f8cceb
 
f8cceb
@@ -12112,7 +12114,17 @@ print_dynamic_symbol (Filedata *filedata
f8cceb
 		version_string);
f8cceb
     }
f8cceb
 
f8cceb
-  putchar ('\n');
f8cceb
+#if 1
f8cceb
+    {
f8cceb
+      unsigned int vis = ELF_ST_VISIBILITY (psym->st_other);
f8cceb
+
f8cceb
+      /* Check to see if any other bits in the st_other field are set.  */
f8cceb
+      if (psym->st_other ^ vis)
f8cceb
+	printf (" \t[%s]", get_symbol_other (filedata, psym->st_other ^ vis));
f8cceb
+    }
f8cceb
+#endif
f8cceb
+
f8cceb
+    putchar ('\n');
f8cceb
 
f8cceb
   if (ELF_ST_BIND (psym->st_info) == STB_LOCAL
f8cceb
       && section != NULL