C99 ld configury
authorAlan Modra <amodra@gmail.com>
Mon, 5 Apr 2021 06:01:53 +0000 (15:31 +0930)
committerAlan Modra <amodra@gmail.com>
Mon, 5 Apr 2021 06:01:53 +0000 (15:31 +0930)
commitc774eab1c82f49f0f719fd7e51e5988c62082118
treee8f1d3c42cdf376a768fe11cca195261ddeb04ac
parent23d613801dfb97757f0e8eaf260d154f3e6750b1
C99 ld configury

* configure.ac: Move initfini-array arg handling earlier.  Don't
check for string.h, strings.h, stdlib.h, or locale.h.  Do check
for inttypes.h, stdint.h, sys/types.h.  Don't check for
setlocale, free, getev or strstr.
(AC_ISC_POSIX): Don't invoke.
* sysdep.h: Include string.h and stdlib.h unconditionally.  Test
HAVE_SYS_TYPE_H and HAVE_SYS_STAT_H.  Remove strstr, free and
getenv fallback declarations.
* ld.h: Don't test HAVE_LOCALE_H.
* ldmain.c: Don't test HAVE_SETLOCALE.
* config.in: Regenerate.
* configure: Regenerate.
ld/ChangeLog
ld/config.in
ld/configure
ld/configure.ac
ld/ld.h
ld/ldmain.c
ld/sysdep.h