aboutsummaryrefslogtreecommitdiff
path: root/bfd/configure
diff options
context:
space:
mode:
authorHans-Peter Nilsson <hp@axis.com>2000-09-29 17:05:22 +0000
committerHans-Peter Nilsson <hp@axis.com>2000-09-29 17:05:22 +0000
commit4da816844af44739c9793fd30d8d8c4368e0ebf5 (patch)
tree94f62ffb50923645ad8ebeae9e41a3d7ea15acd0 /bfd/configure
parentf680e9734ea45cda9143f8f5bcba6bde534c7b49 (diff)
downloadfsf-binutils-gdb-4da816844af44739c9793fd30d8d8c4368e0ebf5.zip
fsf-binutils-gdb-4da816844af44739c9793fd30d8d8c4368e0ebf5.tar.gz
fsf-binutils-gdb-4da816844af44739c9793fd30d8d8c4368e0ebf5.tar.bz2
Define two bfd_targets for absence and presence of leading
underscore on symbols. Make sure to only link same kind. * elf32-cris.c (cris_elf_object_p, cris_elf_final_write_processing, cris_elf_print_private_bfd_data, cris_elf_merge_private_bfd_data): New. (elf_backend_object_p, elf_backend_final_write_processing, bfd_elf32_bfd_print_private_bfd_data, bfd_elf32_bfd_merge_private_bfd_data): Define. <Target vector definition>: Include elf32-target.h twice with different macro settings: (TARGET_LITTLE_SYM): First as bfd_elf32_cris_vec, then as bfd_elf32_us_cris_vec. (TARGET_LITTLE_NAME): First as "elf32-cris", then "elf32-us-cris". (elf_symbol_leading_char): First as 0, then '_'. (INCLUDED_TARGET_FILE): Define for second include of elf32-target.h. * config.bfd (cris-*-*): Add bfd_elf32_us_cris_vec to targ_selvecs. * configure.in (bfd_elf32_cris_vec, cris_aout_vec): New vector. * configure: Regenerate. * targets.c: Declare bfd_elf32_us_cris_vec. * po/bfd.pot: Regenerate.
Diffstat (limited to 'bfd/configure')
-rwxr-xr-xbfd/configure25
1 files changed, 13 insertions, 12 deletions
diff --git a/bfd/configure b/bfd/configure
index c5cc0bb..1e6c349 100755
--- a/bfd/configure
+++ b/bfd/configure
@@ -5852,6 +5852,7 @@ do
bfd_elf64_bigmips_vec) tb="$tb elf64-mips.lo elf64.lo elf32-mips.lo elf32.lo $elf ecofflink.lo"
target64=true ;;
bfd_elf32_cris_vec) tb="$tb elf32-cris.lo elf32.lo $elf" ;;
+ bfd_elf32_us_cris_vec) tb="$tb elf32-cris.lo elf32.lo $elf" ;;
bfd_elf32_d10v_vec) tb="$tb elf32-d10v.lo elf32.lo $elf" ;;
bfd_elf32_d30v_vec) tb="$tb elf32-d30v.lo elf32.lo $elf" ;;
bfd_elf32_fr30_vec) tb="$tb elf32-fr30.lo elf32.lo $elf" ;;
@@ -6075,17 +6076,17 @@ for ac_hdr in unistd.h
do
ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
-echo "configure:6079: checking for $ac_hdr" >&5
+echo "configure:6080: checking for $ac_hdr" >&5
if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
echo $ac_n "(cached) $ac_c" 1>&6
else
cat > conftest.$ac_ext <<EOF
-#line 6084 "configure"
+#line 6085 "configure"
#include "confdefs.h"
#include <$ac_hdr>
EOF
ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
-{ (eval echo configure:6089: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
+{ (eval echo configure:6090: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
if test -z "$ac_err"; then
rm -rf conftest*
@@ -6114,12 +6115,12 @@ done
for ac_func in getpagesize
do
echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
-echo "configure:6118: checking for $ac_func" >&5
+echo "configure:6119: checking for $ac_func" >&5
if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
echo $ac_n "(cached) $ac_c" 1>&6
else
cat > conftest.$ac_ext <<EOF
-#line 6123 "configure"
+#line 6124 "configure"
#include "confdefs.h"
/* System header to define __stub macros and hopefully few prototypes,
which can conflict with char $ac_func(); below. */
@@ -6142,7 +6143,7 @@ $ac_func();
; return 0; }
EOF
-if { (eval echo configure:6146: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
+if { (eval echo configure:6147: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
rm -rf conftest*
eval "ac_cv_func_$ac_func=yes"
else
@@ -6167,7 +6168,7 @@ fi
done
echo $ac_n "checking for working mmap""... $ac_c" 1>&6
-echo "configure:6171: checking for working mmap" >&5
+echo "configure:6172: checking for working mmap" >&5
if eval "test \"`echo '$''{'ac_cv_func_mmap_fixed_mapped'+set}'`\" = set"; then
echo $ac_n "(cached) $ac_c" 1>&6
else
@@ -6175,7 +6176,7 @@ else
ac_cv_func_mmap_fixed_mapped=no
else
cat > conftest.$ac_ext <<EOF
-#line 6179 "configure"
+#line 6180 "configure"
#include "confdefs.h"
/* Thanks to Mike Haertel and Jim Avera for this test.
@@ -6315,7 +6316,7 @@ main()
}
EOF
-if { (eval echo configure:6319: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
+if { (eval echo configure:6320: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
then
ac_cv_func_mmap_fixed_mapped=yes
else
@@ -6340,12 +6341,12 @@ fi
for ac_func in madvise mprotect
do
echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
-echo "configure:6344: checking for $ac_func" >&5
+echo "configure:6345: checking for $ac_func" >&5
if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
echo $ac_n "(cached) $ac_c" 1>&6
else
cat > conftest.$ac_ext <<EOF
-#line 6349 "configure"
+#line 6350 "configure"
#include "confdefs.h"
/* System header to define __stub macros and hopefully few prototypes,
which can conflict with char $ac_func(); below. */
@@ -6368,7 +6369,7 @@ $ac_func();
; return 0; }
EOF
-if { (eval echo configure:6372: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
+if { (eval echo configure:6373: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
rm -rf conftest*
eval "ac_cv_func_$ac_func=yes"
else