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

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