mirror of
https://gcc.gnu.org/git/gcc.git
synced 2024-11-23 02:44:18 +08:00
sync config/* from binutils
* elf.m4: Revert 2016-06-21 change. * picflag.m4: Likewise. Revert 2016-04-30 change too. * override.m4 (AC_PROG_LEX): Import 2016-01-18 binutils fix for PR binutils/19481. From-SVN: r243417
This commit is contained in:
parent
352f824f09
commit
18697a1de7
@ -1,3 +1,10 @@
|
||||
2016-12-08 Alan Modra <amodra@gmail.com>
|
||||
|
||||
* elf.m4: Revert 2016-06-21 change.
|
||||
* picflag.m4: Likewise. Revert 2016-04-30 change too.
|
||||
* override.m4 (AC_PROG_LEX): Import 2016-01-18 binutils fix
|
||||
for PR binutils/19481.
|
||||
|
||||
2016-12-02 Maxim Ostapenko <m.ostapenko@samsung.com>
|
||||
|
||||
* bootstrap-asan.mk: Replace LSAN_OPTIONS=detect_leaks=0 with
|
||||
|
@ -17,7 +17,7 @@ target_elf=no
|
||||
case $target in
|
||||
*-darwin* | *-aix* | *-cygwin* | *-mingw* | *-aout* | *-*coff* | \
|
||||
*-msdosdjgpp* | *-vms* | *-wince* | *-*-pe* | \
|
||||
alpha*-dec-osf* | hppa[[12]]*-*-hpux* | \
|
||||
alpha*-dec-osf* | *-interix* | hppa[[12]]*-*-hpux* | \
|
||||
nvptx-*-none)
|
||||
target_elf=no
|
||||
;;
|
||||
|
@ -101,4 +101,16 @@ m4_define([_AC_CHECK_DECLS],
|
||||
|
||||
])
|
||||
|
||||
dnl If flex/lex are not found, the top level configure sets LEX to
|
||||
dnl "/path_to/missing flex". When AC_PROG_LEX tries to find the flex
|
||||
dnl output file, it calls $LEX to do so, but the current lightweight
|
||||
dnl "missing" won't create a file. This results in an error.
|
||||
dnl Avoid calling the bulk of AC_PROG_LEX when $LEX is "missing".
|
||||
AC_DEFUN_ONCE([AC_PROG_LEX],
|
||||
[AC_CHECK_PROGS(LEX, flex lex, :)
|
||||
case "$LEX" in
|
||||
:|*"missing "*) ;;
|
||||
*) _AC_PROG_LEX_YYTEXT_DECL ;;
|
||||
esac])
|
||||
|
||||
])
|
||||
|
@ -27,6 +27,10 @@ case "${$2}" in
|
||||
;;
|
||||
i[[34567]]86-*-mingw* | x86_64-*-mingw*)
|
||||
;;
|
||||
i[[34567]]86-*-interix[[3-9]]*)
|
||||
# Interix 3.x gcc -fpic/-fPIC options generate broken code.
|
||||
# Instead, we relocate shared libraries at runtime.
|
||||
;;
|
||||
i[[34567]]86-*-nto-qnx*)
|
||||
# QNX uses GNU C++, but need to define -shared option too, otherwise
|
||||
# it will coredump.
|
||||
@ -57,7 +61,8 @@ case "${$2}" in
|
||||
$1=-fpic
|
||||
;;
|
||||
# FIXME: Simplify to sh*-*-netbsd*?
|
||||
sh-*-netbsdelf* | shl*-*-netbsdelf*)
|
||||
sh-*-netbsdelf* | shl*-*-netbsdelf* | sh5-*-netbsd* | sh5l*-*-netbsd* | \
|
||||
sh64-*-netbsd* | sh64l*-*-netbsd*)
|
||||
$1=-fpic
|
||||
;;
|
||||
# Default to -fPIC unless specified otherwise.
|
||||
|
Loading…
Reference in New Issue
Block a user