aboutsummaryrefslogtreecommitdiff
path: root/config
diff options
context:
space:
mode:
authorAlan Modra <amodra@gmail.com>2023-01-04 13:36:24 +1030
committerAlan Modra <amodra@gmail.com>2023-01-04 22:14:03 +1030
commit4a22a3348e5ce06223be06cad49cbf3b2c274e9d (patch)
tree48c10015da6ad4444ec7fdcc72367a0ad2dbb8a9 /config
parent10613953683ae5b7127c4f59f75ee35207571617 (diff)
downloadbinutils-4a22a3348e5ce06223be06cad49cbf3b2c274e9d.zip
binutils-4a22a3348e5ce06223be06cad49cbf3b2c274e9d.tar.gz
binutils-4a22a3348e5ce06223be06cad49cbf3b2c274e9d.tar.bz2
Merge config/picflag.m4 from gcc
Diffstat (limited to 'config')
-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.
;;