aboutsummaryrefslogtreecommitdiff
path: root/ld/configure.ac
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.ac
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.ac')
-rw-r--r--ld/configure.ac19
1 files changed, 0 insertions, 19 deletions
diff --git a/ld/configure.ac b/ld/configure.ac
index 14628e5..c3ebd3e 100644
--- a/ld/configure.ac
+++ b/ld/configure.ac
@@ -392,25 +392,6 @@ fi
AM_ZLIB
AC_ZSTD
-# 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.
-AC_MSG_CHECKING([whether ANSI C string concatenation works])
-AC_CACHE_VAL(ld_cv_string_concatenation,
-[AC_COMPILE_IFELSE([AC_LANG_PROGRAM([], [char *a = "a" "a";])],
- ld_cv_string_concatenation=yes,
- ld_cv_string_concatenation=no)])
-AC_MSG_RESULT($ld_cv_string_concatenation)
-if test "$ld_cv_string_concatenation" = "yes"; then
- STRINGIFY=astring.sed
-else
- STRINGIFY=ostring.sed
-fi
-AC_SUBST(STRINGIFY)
-
# target-specific stuff:
all_targets=