aboutsummaryrefslogtreecommitdiff
path: root/elf
diff options
context:
space:
mode:
authorRoland McGrath <roland@gnu.org>2008-05-22 00:04:21 +0000
committerRoland McGrath <roland@gnu.org>2008-05-22 00:04:21 +0000
commite85f1d6af4dbeb39a391cab003ced4567ffecd14 (patch)
tree7477d3173667d07d2b9e10994157fad5b19d00a0 /elf
parent6fa165975fcfc758243633559b0022f2d1f4acfe (diff)
downloadglibc-e85f1d6af4dbeb39a391cab003ced4567ffecd14.zip
glibc-e85f1d6af4dbeb39a391cab003ced4567ffecd14.tar.gz
glibc-e85f1d6af4dbeb39a391cab003ced4567ffecd14.tar.bz2
* shlib-versions (sparc.*-.*-.*, sparc64.*-.*-.*): Add ABI lines.
* Makefile (check-data): Use $(abi-name) before other guesses. Look in $(add-ons) dirs before scripts/data/. * elf/Makefile (check-data): Likewise. * scripts/soversions.awk: Grok ABI line. * Makeconfig ($(common-objpfx)soversions.mk): Likewise. Emit definition for abi-name variable. if [__USE_BSD].
Diffstat (limited to 'elf')
-rw-r--r--elf/Makefile12
1 files changed, 8 insertions, 4 deletions
diff --git a/elf/Makefile b/elf/Makefile
index 861485d..e509153 100644
--- a/elf/Makefile
+++ b/elf/Makefile
@@ -841,10 +841,14 @@ $(objpfx)tst-dlmodcount: $(libdl)
$(objpfx)tst-dlmodcount.out: $(test-modules)
check-data := $(firstword $(wildcard \
- $(patsubst %,../scripts/data/localplt-%.data,\
- $(addsuffix -$(config-os),\
- $(config-machine) $(base-machine))\
- generic)))
+ $(foreach D,$(add-ons) scripts/data,\
+ $(patsubst %,$(..)$D/localplt-%.data,\
+ $(abi-name) \
+ $(addsuffix -$(config-os),\
+ $(config-machine) \
+ $(base-machine)) \
+ generic))))
+
tests: $(objpfx)check-localplt.out
ifeq ($(have-thread-library),yes)