summaryrefslogtreecommitdiff
path: root/gcc/config/libgcc-glibc.ver
diff options
context:
space:
mode:
authorRichard Henderson <rth@cygnus.com>2000-10-05 22:46:02 -0700
committerRichard Henderson <rth@gcc.gnu.org>2000-10-05 22:46:02 -0700
commit83dad10cd4b91158e8dbf152c7346e41fec3de05 (patch)
treebe4a2f085ae65cf6912abaacdb552d587cf5422f /gcc/config/libgcc-glibc.ver
parent29279975b86791aeb42b8d3e6bc8c001c7bb030b (diff)
downloadgcc-83dad10cd4b91158e8dbf152c7346e41fec3de05.tar.gz
Makefile.in (NM_FOR_TARGET): New.
* Makefile.in (NM_FOR_TARGET): New. (libgcc.mk): Pass SHLIB_MKMAP, SHLIB_MAPFILES. (libgcc.a, stmp-multilib): Pass NM_FOR_TARGET. * mklibgcc.in: If SHLIB_MKMAP, build libgcc.map. Depend the shared library build on that and EXTRA_MULTILIB_PARTS. * mkmap-flat.awk: New file. * mkmap-symver.awk: New file. * libgcc-std.ver: New file. * config/libgcc-glibc.ver: New file. * config/ia64/libgcc-ia64.ver: New file. * config/t-linux (SHLIB_MKMAP, SHLIB_MAPFILES): New. (SHLIB_LINK): Add --version-script. * config/ia64/t-ia64 (SHLIB_MAPFILES): Add libgcc-ia64.ver. * config/mips/t-iris6 (SHLIB_MKMAP, SHLIB_MAPFILES): New. * config/sparc/t-sol2 (SHLIB_MKMAP, SHLIB_MAPFILES): New. (SHLIB_LINK): Add -M. From-SVN: r36746
Diffstat (limited to 'gcc/config/libgcc-glibc.ver')
-rw-r--r--gcc/config/libgcc-glibc.ver23
1 files changed, 23 insertions, 0 deletions
diff --git a/gcc/config/libgcc-glibc.ver b/gcc/config/libgcc-glibc.ver
new file mode 100644
index 00000000000..837c1a7ee56
--- /dev/null
+++ b/gcc/config/libgcc-glibc.ver
@@ -0,0 +1,23 @@
+# In order to work around the very problems that force us to now generally
+# create a libgcc.so, glibc reexported a number of routines from libgcc.a.
+# By now choosing the same version tags for these specific routines, we
+# maintain enough binary compatibility to allow future versions of glibc
+# to defer implementation of these routines to libgcc.so via DT_AUXILIARY.
+
+%inherit GCC_3.0 GLIBC_2.0
+GLIBC_2.0 {
+ # Sampling of DImode arithmetic used by (at least) i386 and m68k.
+ __divdi3
+ __moddi3
+ __udivdi3
+ __umoddi3
+
+ # Exception handling support functions used by most everyone.
+ __register_frame
+ __register_frame_table
+ __deregister_frame
+ __register_frame_info
+ __deregister_frame_info
+ __frame_state_for
+ __register_frame_info_table
+}