[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

r2282 - glibc-package/trunk/debian/patches/sparc



Author: aurel32
Date: 2007-05-24 12:33:28 +0000 (Thu, 24 May 2007)
New Revision: 2282

Added:
   glibc-package/trunk/debian/patches/sparc/local-undefined-registers.diff
Log:
Fix sparc/local-undefined-registers.diff


Added: glibc-package/trunk/debian/patches/sparc/local-undefined-registers.diff
===================================================================
--- glibc-package/trunk/debian/patches/sparc/local-undefined-registers.diff	                        (rev 0)
+++ glibc-package/trunk/debian/patches/sparc/local-undefined-registers.diff	2007-05-24 12:33:28 UTC (rev 2282)
@@ -0,0 +1,16 @@
+2007-05-24  Aurelien Jarno <aurelien@aurel32.net>
+
+	* elf/Makefile: ignore global registers while looking for
+	  undefined symbols. 
+
+--- elf/Makefile	2007-05-23 16:14:22.000000000 +0200
++++ elf/Makefile	2007-05-24 08:55:32.000000000 +0200
+@@ -311,7 +311,7 @@
+ 		  $(filter-out $(map-file),$^) $(load-map-file)		\
+ 		  -Wl,-soname=$(rtld-installed-name) -T $@.lds
+ 	rm -f $@.lds
+-	nm -u $@ | cmp -s /dev/null -
++	objdump -T $@ | grep -v 'D. \*UND\*' | cmp -s /dev/null -
+ 
+ # interp.c exists just to get this string into the libraries.
+ CFLAGS-interp.c = -D'RUNTIME_LINKER="$(rtlddir)/$(rtld-installed-name)"' \



Reply to: