Sync with upstream gcc.

This commit is contained in:
Jeff Johnston
2016-06-23 15:47:44 -04:00
parent eba8d258f1
commit 79bb0de3e5
14 changed files with 5777 additions and 294 deletions

View File

@@ -27,10 +27,6 @@ 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.
@@ -61,8 +57,7 @@ case "${$2}" in
$1=-fpic
;;
# FIXME: Simplify to sh*-*-netbsd*?
sh-*-netbsdelf* | shl*-*-netbsdelf* | sh5-*-netbsd* | sh5l*-*-netbsd* | \
sh64-*-netbsd* | sh64l*-*-netbsd*)
sh-*-netbsdelf* | shl*-*-netbsdelf*)
$1=-fpic
;;
# Default to -fPIC unless specified otherwise.