The 2.40 branch has been created
Alan Modra
amodra@gmail.com
Wed Jan 4 03:05:21 GMT 2023
Hi Nick,
Would you like me to apply the copyright year update to the branch?
Also, the libiberty update should have merged gcc's config/picflag.m4
with ours, in order for libiberty/configure to regen without
differences on the branch. I'm going to apply the following mainline,
and will backport to the branch if that's OK?
diff --git a/config/picflag.m4 b/config/picflag.m4
index 3bd49af00e5..3f3ac744c96 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.
;;
diff --git a/libiberty/configure b/libiberty/configure
index 451af4978e7..1ccfac9fb11 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.
;;
--
Alan Modra
Australia Development Lab, IBM
More information about the Binutils
mailing list