summaryrefslogtreecommitdiff
path: root/libc
diff options
context:
space:
mode:
authorPeter S. Mazinger <ps.m@gmx.net>2006-03-09 12:05:25 +0000
committerPeter S. Mazinger <ps.m@gmx.net>2006-03-09 12:05:25 +0000
commit0defd6e9a9ccb4a0d64b05ef12b558cd45876d47 (patch)
treeb2e802ca2a67ed1648586e3c96d43e4772178801 /libc
parente845126408c380bb77253a82dfb8f7c0e1997504 (diff)
Add common part of linker scripts to a file and make use of it
Diffstat (limited to 'libc')
-rw-r--r--libc/Makefile.in4
1 files changed, 1 insertions, 3 deletions
diff --git a/libc/Makefile.in b/libc/Makefile.in
index e9aa8a6ff..cf1be4a54 100644
--- a/libc/Makefile.in
+++ b/libc/Makefile.in
@@ -63,9 +63,7 @@ $(libc:.$(MAJOR_VERSION)=): $(libc_OUT)/libc.oS $(libc-nomulti-y:.o=.oS) | $(LIB
$(call linkm.so,$(libc_FULL_NAME),$(MAJOR_VERSION))
endif
$(Q)$(RM) $@
- $(Q)echo "/* GNU ld script" > $@
- $(Q)echo " * Use the shared library, but some functions are only in" >> $@
- $(Q)echo " * the static library, so try that secondarily. */" >> $@
+ $(Q)cp $(top_srcdir)extra/scripts/format.lds $@
ifeq ($(COMPAT_ATEXIT),y)
$(Q)echo "GROUP ( $(NONSHARED_LIBNAME) $(SHARED_MAJORNAME) $(ASNEEDED) )" >> $@
else