svn commit: trunk/uClibc: extra/scripts libc
psm at uclibc.org
psm at uclibc.org
Thu Mar 9 12:05:29 UTC 2006
Author: psm
Date: 2006-03-09 04:05:25 -0800 (Thu, 09 Mar 2006)
New Revision: 14481
Log:
Add common part of linker scripts to a file and make use of it
Added:
trunk/uClibc/extra/scripts/format.lds
Modified:
trunk/uClibc/libc/Makefile.in
Changeset:
Added: trunk/uClibc/extra/scripts/format.lds
===================================================================
--- trunk/uClibc/extra/scripts/format.lds 2006-03-09 12:03:33 UTC (rev 14480)
+++ trunk/uClibc/extra/scripts/format.lds 2006-03-09 12:05:25 UTC (rev 14481)
@@ -0,0 +1,3 @@
+/* GNU ld script
+ * Use the shared library, but some functions are only in
+ * the static library, so try that secondarily. */
Modified: trunk/uClibc/libc/Makefile.in
===================================================================
--- trunk/uClibc/libc/Makefile.in 2006-03-09 12:03:33 UTC (rev 14480)
+++ trunk/uClibc/libc/Makefile.in 2006-03-09 12:05:25 UTC (rev 14481)
@@ -63,9 +63,7 @@
$(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
More information about the uClibc-cvs
mailing list