aboutsummaryrefslogtreecommitdiff
path: root/ld/configure
diff options
context:
space:
mode:
authorAlan Modra <amodra@gmail.com>2023-08-26 10:36:54 +0930
committerAlan Modra <amodra@gmail.com>2023-08-26 10:57:00 +0930
commitb8a0c930580775e54bccdfdc77046db74331bad4 (patch)
tree32dd3fff95f0af843a129e6a9825d93f324f1099 /ld/configure
parent7b1fdf17d5a812a929e1eccda3cabb52171160e1 (diff)
downloadgdb-b8a0c930580775e54bccdfdc77046db74331bad4.zip
gdb-b8a0c930580775e54bccdfdc77046db74331bad4.tar.gz
gdb-b8a0c930580775e54bccdfdc77046db74331bad4.tar.bz2
ld STRINGIFY
Delete support for old compilers that don't support string concatentation. * Makefile.am (stringify.sed): Delete rule. (GEN_DEPENDS, DISTCLEANFILES): Adjust. * configure.ac (STRINGIFY): Delete. * emultempl/beos.em: Use stringify.sed from srcdir. * emultempl/elf.em: Likewise. * emultempl/generic.em: Likewise. * emultempl/msp430.em: Likewise. * emultempl/pdp11.em: Likewise. * emultempl/pe.em: Likewise. * emultempl/pep.em: Likewise. * emultempl/stringify.sed: Renamed from.. * emultempl/astring.sed: ..this. * emultempl/ostring.sed: Delete. * Makefile.in: Regenerate. * configure: Regenerate.
Diffstat (limited to 'ld/configure')
-rwxr-xr-xld/configure44
1 files changed, 2 insertions, 42 deletions
diff --git a/ld/configure b/ld/configure
index 960d54f..d2cdf25 100755
--- a/ld/configure
+++ b/ld/configure
@@ -646,7 +646,6 @@ EMUL
elf_plt_unwind_list_options
elf_shlib_list_options
elf_list_options
-STRINGIFY
ZSTD_LIBS
ZSTD_CFLAGS
zlibinc
@@ -11656,7 +11655,7 @@ else
lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
lt_status=$lt_dlunknown
cat > conftest.$ac_ext <<_LT_EOF
-#line 11659 "configure"
+#line 11658 "configure"
#include "confdefs.h"
#if HAVE_DLFCN_H
@@ -11762,7 +11761,7 @@ else
lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
lt_status=$lt_dlunknown
cat > conftest.$ac_ext <<_LT_EOF
-#line 11765 "configure"
+#line 11764 "configure"
#include "confdefs.h"
#if HAVE_DLFCN_H
@@ -17271,45 +17270,6 @@ fi
fi
-# When converting linker scripts into strings for use in emulation
-# files, use astring.sed if the compiler supports ANSI string
-# concatenation, or ostring.sed otherwise. This is to support the
-# broken Microsoft MSVC compiler, which limits the length of string
-# constants, while still supporting pre-ANSI compilers which do not
-# support string concatenation.
-{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ANSI C string concatenation works" >&5
-$as_echo_n "checking whether ANSI C string concatenation works... " >&6; }
-if ${ld_cv_string_concatenation+:} false; then :
- $as_echo_n "(cached) " >&6
-else
- cat confdefs.h - <<_ACEOF >conftest.$ac_ext
-/* end confdefs.h. */
-
-int
-main ()
-{
-char *a = "a" "a";
- ;
- return 0;
-}
-_ACEOF
-if ac_fn_c_try_compile "$LINENO"; then :
- ld_cv_string_concatenation=yes
-else
- ld_cv_string_concatenation=no
-fi
-rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
-fi
-
-{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_cv_string_concatenation" >&5
-$as_echo "$ld_cv_string_concatenation" >&6; }
-if test "$ld_cv_string_concatenation" = "yes"; then
- STRINGIFY=astring.sed
-else
- STRINGIFY=ostring.sed
-fi
-
-
# target-specific stuff:
all_targets=