diff options
author | Nick Clifton <nickc@redhat.com> | 2022-12-31 12:03:16 +0000 |
---|---|---|
committer | Nick Clifton <nickc@redhat.com> | 2022-12-31 12:04:51 +0000 |
commit | e3a5d5207584e31543d1812f76e288a08b8703ea (patch) | |
tree | f4cb749bf8ec7d92fe0e30f123bcea41296eef9b /libiberty/configure | |
parent | 08c59458a106038c6d678621e7290948127671e2 (diff) | |
download | gdb-e3a5d5207584e31543d1812f76e288a08b8703ea.zip gdb-e3a5d5207584e31543d1812f76e288a08b8703ea.tar.gz gdb-e3a5d5207584e31543d1812f76e288a08b8703ea.tar.bz2 |
sync libiberty sources with gcc mainline
Diffstat (limited to 'libiberty/configure')
-rwxr-xr-x | libiberty/configure | 7 |
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. |