stages: Do not provide .Info documents to speed up the installation a bit
[dragora.git] / patches / binutils / 2.38 / binutils-readelf-other-sym-info.patch
blob72913bac6660a92adbbac77f13d2226763cd62e4
1 --- binutils.orig/binutils/readelf.c 2020-07-24 15:08:30.317597020 +0100
2 +++ binutils-2.35/binutils/readelf.c 2020-07-24 15:09:39.029155552 +0100
3 @@ -12069,11 +12069,13 @@ print_dynamic_symbol (Filedata *filedata
4 unsigned int vis = ELF_ST_VISIBILITY (psym->st_other);
6 printf (" %-7s", get_symbol_visibility (vis));
7 +#if 0
8 /* Check to see if any other bits in the st_other field are set.
9 Note - displaying this information disrupts the layout of the
10 table being generated, but for the moment this case is very rare. */
11 if (psym->st_other ^ vis)
12 printf (" [%s] ", get_symbol_other (filedata, psym->st_other ^ vis));
13 +#endif
15 printf (" %4s ", get_symbol_index_type (filedata, psym->st_shndx));
17 @@ -12112,7 +12114,17 @@ print_dynamic_symbol (Filedata *filedata
18 version_string);
21 - putchar ('\n');
22 +#if 1
23 + {
24 + unsigned int vis = ELF_ST_VISIBILITY (psym->st_other);
26 + /* Check to see if any other bits in the st_other field are set. */
27 + if (psym->st_other ^ vis)
28 + printf (" \t[%s]", get_symbol_other (filedata, psym->st_other ^ vis));
29 + }
30 +#endif
32 + putchar ('\n');
34 if (ELF_ST_BIND (psym->st_info) == STB_LOCAL
35 && section != NULL