aboutsummaryrefslogtreecommitdiff
path: root/config/picflag.m4
diff options
context:
space:
mode:
authorAlan Modra <amodra@gmail.com>2023-01-04 13:22:55 +1030
committerAlan Modra <amodra@gmail.com>2023-01-04 13:23:54 +1030
commit6f3674d7e5e570bbbddee88756e64d67469894ac (patch)
tree4d35a9df7bde6c82526f56e91a56675092ed6453 /config/picflag.m4
parentbd87d4ef8856410017cdc0f5b885c6dbdc73c73a (diff)
downloadgdb-6f3674d7e5e570bbbddee88756e64d67469894ac.zip
gdb-6f3674d7e5e570bbbddee88756e64d67469894ac.tar.gz
gdb-6f3674d7e5e570bbbddee88756e64d67469894ac.tar.bz2
Merge config/picflag.m4 from gcc
and regen libiberty/configure
Diffstat (limited to 'config/picflag.m4')
-rw-r--r--config/picflag.m43
1 files changed, 3 insertions, 0 deletions
diff --git a/config/picflag.m4 b/config/picflag.m4
index 3bd49af..3f3ac74 100644
--- a/config/picflag.m4
+++ b/config/picflag.m4
@@ -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.
;;