Deleted Added
full compact
mkmap-symver.awk (90075) mkmap-symver.awk (96263)
1# Generate an ELF symbol version map a-la Solaris and GNU ld.
2# Contributed by Richard Henderson <rth@cygnus.com>
3#
4# This file is part of GCC.
5#
6# GCC is free software; you can redistribute it and/or modify it under
7# the terms of the GNU General Public License as published by the Free
8# Software Foundation; either version 2, or (at your option) any later

--- 78 unchanged lines hidden (view full) ---

87 done[lib] = 1;
88 if (inherit[lib])
89 output(inherit[lib]);
90
91 printf("%s {\n", lib);
92 printf(" global:\n");
93 for (sym in ver)
94 if ((ver[sym] == lib) && (sym in def))
1# Generate an ELF symbol version map a-la Solaris and GNU ld.
2# Contributed by Richard Henderson <rth@cygnus.com>
3#
4# This file is part of GCC.
5#
6# GCC is free software; you can redistribute it and/or modify it under
7# the terms of the GNU General Public License as published by the Free
8# Software Foundation; either version 2, or (at your option) any later

--- 78 unchanged lines hidden (view full) ---

87 done[lib] = 1;
88 if (inherit[lib])
89 output(inherit[lib]);
90
91 printf("%s {\n", lib);
92 printf(" global:\n");
93 for (sym in ver)
94 if ((ver[sym] == lib) && (sym in def))
95 printf("\t%s;\n", sym);
95 {
96 printf("\t%s;\n", sym);
97 if (dotsyms)
98 printf("\t.%s;\n", sym);
99 }
96
97 if (inherit[lib])
98 printf("} %s;\n", inherit[lib]);
99 else
100 printf ("\n local:\n\t*;\n};\n");
101}
100
101 if (inherit[lib])
102 printf("} %s;\n", inherit[lib]);
103 else
104 printf ("\n local:\n\t*;\n};\n");
105}