aboutsummaryrefslogtreecommitdiff
path: root/libiberty/configure
diff options
context:
space:
mode:
authorNick Clifton <nickc@redhat.com>2022-12-31 12:03:16 +0000
committerNick Clifton <nickc@redhat.com>2022-12-31 12:04:51 +0000
commite3a5d5207584e31543d1812f76e288a08b8703ea (patch)
treef4cb749bf8ec7d92fe0e30f123bcea41296eef9b /libiberty/configure
parent08c59458a106038c6d678621e7290948127671e2 (diff)
downloadgdb-e3a5d5207584e31543d1812f76e288a08b8703ea.zip
gdb-e3a5d5207584e31543d1812f76e288a08b8703ea.tar.gz
gdb-e3a5d5207584e31543d1812f76e288a08b8703ea.tar.bz2
sync libiberty sources with gcc mainline
Diffstat (limited to 'libiberty/configure')
-rwxr-xr-xlibiberty/configure7
1 files changed, 6 insertions, 1 deletions
diff --git a/libiberty/configure b/libiberty/configure
index 451af49..79ef153 100755
--- a/libiberty/configure
+++ b/libiberty/configure
@@ -5349,6 +5349,9 @@ case "${host}" in
# sets the default TLS model and affects inlining.
PICFLAG=-fPIC
;;
+ loongarch*-*-*)
+ PICFLAG=-fpic
+ ;;
mips-sgi-irix6*)
# PIC is the default.
;;
@@ -5365,7 +5368,9 @@ case "${host}" in
sh-*-linux* | sh[2346lbe]*-*-linux*)
PICFLAG=-fpic
;;
- sh*-*-netbsd*)
+ # FIXME: Simplify to sh*-*-netbsd*?
+ sh-*-netbsdelf* | shl*-*-netbsdelf* | sh5-*-netbsd* | sh5l*-*-netbsd* | \
+ sh64-*-netbsd* | sh64l*-*-netbsd*)
PICFLAG=-fpic
;;
# Default to -fPIC unless specified otherwise.