Merge config/picflag.m4 from gcc

and regen libiberty/configure
This commit is contained in:
Alan Modra
2023-01-04 13:22:55 +10:30
parent bd87d4ef88
commit 6f3674d7e5
2 changed files with 6 additions and 0 deletions

View File

@ -44,6 +44,9 @@ case "${$2}" in
# sets the default TLS model and affects inlining.
$1=-fPIC
;;
loongarch*-*-*)
$1=-fpic
;;
mips-sgi-irix6*)
# PIC is the default.
;;

3
libiberty/configure vendored
View File

@ -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.
;;