From e85f1d6af4dbeb39a391cab003ced4567ffecd14 Mon Sep 17 00:00:00 2001 From: Roland McGrath Date: Thu, 22 May 2008 00:04:21 +0000 Subject: * 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]. --- elf/Makefile | 12 ++++++++---- 1 file changed, 8 insertions(+), 4 deletions(-) (limited to 'elf') diff --git a/elf/Makefile b/elf/Makefile index 861485dcd1..e509153547 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) -- cgit 1.4.1