about summary refs log tree commit diff
path: root/elf/Makefile
diff options
context:
space:
mode:
authorRoland McGrath <roland@hack.frob.com>2012-04-24 13:53:38 -0700
committerRoland McGrath <roland@hack.frob.com>2012-04-24 14:48:15 -0700
commit83bcd2361de9d2da98abef1e4b8f2dddae5a2b14 (patch)
treecf845763792cd4b1014da400196907c9bce57672 /elf/Makefile
parentf37e0d6819c5ec185bed71dd72722176d88f6bef (diff)
downloadglibc-83bcd2361de9d2da98abef1e4b8f2dddae5a2b14.tar.gz
glibc-83bcd2361de9d2da98abef1e4b8f2dddae5a2b14.tar.xz
glibc-83bcd2361de9d2da98abef1e4b8f2dddae5a2b14.zip
Add flexibility to localplt-*.data files, using an awk script rather than diff to check the results.
Diffstat (limited to 'elf/Makefile')
-rw-r--r--elf/Makefile3
1 files changed, 1 insertions, 2 deletions
diff --git a/elf/Makefile b/elf/Makefile
index a77e792cb4..fd766c58c5 100644
--- a/elf/Makefile
+++ b/elf/Makefile
@@ -933,8 +933,7 @@ $(objpfx)check-localplt.out: $(objpfx)check-localplt \
 			     $(common-objpfx)crypt/libcrypt.so \
 			     $(check-data)
 	$(dir $<)$(notdir $<) $(filter-out $< $(check-data),$^) | \
-	  LC_ALL=C sort | \
-	  diff -u $(check-data) - > $@
+	  $(AWK) -f $(..)scripts/check-localplt.awk $(check-data) -
 endif
 
 $(objpfx)tst-dlopenrpathmod.so: $(libdl)