summaryrefslogtreecommitdiff
path: root/uts/debian/patches/uts-gnu-binutils-nm.patch
blob: 25242684ab813d8b4b5975dd358bdb12b4c1da38 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
Description: GNU nm's output differs
 see http://permalink.gmane.org/gmane.os.solaris.opensolaris.indiana/5542
Index: b/usr/src/uts/i86pc/Makefile.rules
===================================================================
--- a/usr/src/uts/i86pc/Makefile.rules	2014-03-01 22:54:16.640752356 +0400
+++ b/usr/src/uts/i86pc/Makefile.rules	2014-03-01 22:54:18.874085004 +0400
@@ -308,7 +308,7 @@
 	$(NM) -u $(UNIX_O) $(LIBS) | $(GREP) __dtrace_probe_ | $(SORT) | \
 	    $(UNIQ) | $(NAWK) '{ \
 	    printf("\t.globl %s\n\t.type %s,@function\n%s:\n", \
-	    $$1, $$1, $$1); }' > $(OBJS_DIR)/dtracestubs.s
+	    $$2, $$2, $$2); }' > $(OBJS_DIR)/dtracestubs.s
 
 $(DTRACESTUBS):	$(DTRACESTUBS_O)
 	$(BUILD.SO) $(DTRACESTUBS_O)