summaryrefslogtreecommitdiff
path: root/libgcc/Makefile.in
diff options
context:
space:
mode:
Diffstat (limited to 'libgcc/Makefile.in')
-rw-r--r--libgcc/Makefile.in7
1 files changed, 7 insertions, 0 deletions
diff --git a/libgcc/Makefile.in b/libgcc/Makefile.in
index 7e2ab93fc42..557fab36e48 100644
--- a/libgcc/Makefile.in
+++ b/libgcc/Makefile.in
@@ -250,6 +250,10 @@ gcc_s_compile = $(gcc_compile) -DSHARED
objects = $(filter %$(objext),$^)
# Collect any host-specific information from Makefile fragments.
+
+LIBGCC_VER_GNU_PREFIX = __
+LIBGCC_VER_SYMBOLS_PREFIX =
+
tmake_file = @tmake_file@
include $(srcdir)/empty.mk $(tmake_file)
@@ -795,6 +799,9 @@ libgcc_s$(SHLIB_EXT): libgcc.map
mapfile = libgcc.map
endif
+libgcc-std.ver: $(srcdir)/libgcc-std.ver.in
+ sed -e 's/__PFX__/$(LIBGCC_VER_GNU_PREFIX)/g' < $< > $@
+
libgcc_s$(SHLIB_EXT): $(libgcc-s-objects) $(extra-parts)
# @multilib_flags@ is still needed because this may use
# $(GCC_FOR_TARGET) and $(LIBGCC2_CFLAGS) directly.