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

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