summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRoland McGrath <roland@gnu.org>2004-01-14 22:28:25 +0000
committerThomas Schwinge <tschwinge@gnu.org>2009-06-18 00:15:24 +0200
commit69e15247bf8b82792b7c1d041ae5babb63a63862 (patch)
treeda482d98299fcf5e64c1de6e65347bb8e589a7b0
parent4fd7c820be7a860e8cb93acb629db028f08ba71c (diff)
2004-01-15 Alfred M. Szmidt <ams@kemisten.nu>
* Makefile.in (kernel-undef): Match new output format from nm (binutils) 2.14.x.
-rw-r--r--Makefile.in2
1 files changed, 1 insertions, 1 deletions
diff --git a/Makefile.in b/Makefile.in
index 484a7bf..d66fcc4 100644
--- a/Makefile.in
+++ b/Makefile.in
@@ -312,7 +312,7 @@ clib-routines := memcpy memmove memset bcopy bzero \
kernel.o: $(objfiles) # kernel.a
$(LD) -r -o $@ $^
kernel-undef: kernel.o
- $(NM) -u $< | sed 's/^_*//' | sort -u > $@
+ $(NM) -u $< | sed 's/ *U *//;s/^_*//' | sort -u > $@
kernel-undef-bad: kernel-undef Makefile
sed '$(foreach r,$(clib-routines),/^$r$$/d;)' $< > $@
clib-routines.o: kernel-undef kernel-undef-bad