* shlib-versions (sparc.*-.*-.*, sparc64.*-.*-.*): Add ABI lines.
authorRoland McGrath <roland@gnu.org>
Thu, 22 May 2008 00:04:21 +0000 (00:04 +0000)
committerRoland McGrath <roland@gnu.org>
Thu, 22 May 2008 00:04:21 +0000 (00:04 +0000)
* 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].

ChangeLog
Makefile
elf/Makefile
shlib-versions

index cdc238d16b77d7e5aff2ea4fd681d5b6a1bca4d8..887875739b11aa760b024e73c4eb763e262f5f61 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,7 +1,19 @@
+2008-05-21  Roland McGrath  <roland@redhat.com>
+
+       * 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.
+
 2008-05-21  Ulrich Drepper  <drepper@redhat.com>
 
        * string/endian.h: Define new fixed-size hto* and *toh macros only
-       is __USE_BSD.
+       if [__USE_BSD].
 
        * iconvdata/Depend: Add localedata.
 
index 43c4f4d4b5846f790baf1b6316a90a946c435471..437854ed33d018f2a7faadf4ccf09764e8c00ccb 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -1,4 +1,5 @@
-# Copyright (C) 1991-2002,2003,2004,2005,2006 Free Software Foundation, Inc.
+# Copyright (C) 1991-2002,2003,2004,2005,2006,2008
+#      Free Software Foundation, Inc.
 # This file is part of the GNU C Library.
 
 # The GNU C Library is free software; you can redistribute it and/or
@@ -246,8 +247,12 @@ tests-clean:
 tests: $(objpfx)c++-types-check.out $(objpfx)check-local-headers.out
 ifneq ($(CXX),no)
 check-data := $(firstword $(wildcard \
-               $(foreach M,$(config-machine) $(base-machine),\
-                         scripts/data/c++-types-$M-$(config-os).data)))
+               $(foreach D,$(add-ons) scripts/data,\
+                         $(patsubst %,$D/c++-types-%.data,\
+                                    $(abi-name) \
+                                    $(addsuffix -$(config-os),\
+                                                $(config-machine) \
+                                                $(base-machine))))))
 ifneq (,$(check-data))
 $(objpfx)c++-types-check.out: $(check-data) scripts/check-c++-types.sh
        scripts/check-c++-types.sh $< $(CXX) $(filter-out -std=gnu99 -Wstrict-prototypes,$(CFLAGS)) $(CPPFLAGS) > $@
index 861485dcd17e18b2864a756b426bd8754bebde0d..e50915354798e2969e9c77bc1f7a21cd054b275c 100644 (file)
@@ -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)
index 9a10fc056600ce7136543275eb8407f4ec9717f2..65e772bbb5ffd631e4f7a83e3581e8c09dd30122 100644 (file)
@@ -43,6 +43,11 @@ powerpc.*-.*-.*              WORDSIZE64              powerpc64-@VENDOR@-@OS@
 sparc64.*-.*-.*                WORDSIZE32              sparc-@VENDOR@-@OS@
 sparc.*-.*-.*          WORDSIZE64              sparc64-@VENDOR@-@OS@
 
+# Configuration                ABI                     Identifier for ABI data files
+# -------------                ----------              -----------------------------
+sparc64.*-.*-.*                ABI                     sparc64-@OS@
+sparc.*-.*-.*          ABI                     sparc-@OS@
+
 # Configuration                Library=version         Earliest symbol set (optional)
 # -------------                ---------------         ------------------------------