diff options
author | chenglulu <chenglulu@loongson.cn> | 2021-11-27 15:06:34 +0800 |
---|---|---|
committer | Chenghua Xu <paul.hua.gm@gmail.com> | 2022-03-29 17:43:35 +0800 |
commit | b38100eb08ac6bd88e1234e5de0cd169712b57cf (patch) | |
tree | 31066637f621608a6283e3a815a880cc2b198ca3 /libgcc | |
parent | bf291a4330d62bbe5b5ab6029d55216362d0dce9 (diff) | |
download | gcc-b38100eb08ac6bd88e1234e5de0cd169712b57cf.zip gcc-b38100eb08ac6bd88e1234e5de0cd169712b57cf.tar.gz gcc-b38100eb08ac6bd88e1234e5de0cd169712b57cf.tar.bz2 |
LoongArch Port: Regenerate libgcc/configure.
2022-03-29 Chenghua Xu <xuchenghua@loongson.cn>
Lulu Cheng <chenglulu@loongson.cn>
libgcc/ChangeLog:
* configure: Regenerate file.
Diffstat (limited to 'libgcc')
-rwxr-xr-x | libgcc/configure | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/libgcc/configure b/libgcc/configure index 52bf25d..1f9b2ac 100755 --- a/libgcc/configure +++ b/libgcc/configure @@ -2403,6 +2403,9 @@ case "${host}" in # sets the default TLS model and affects inlining. PICFLAG=-fPIC ;; + loongarch*-*-*) + PICFLAG=-fpic + ;; mips-sgi-irix6*) # PIC is the default. ;; @@ -5073,7 +5076,7 @@ $as_echo "$libgcc_cv_cfi" >&6; } # word size rather than the address size. cat > conftest.c <<EOF #if defined(__x86_64__) || (!defined(__i386__) && defined(__LP64__)) \ - || defined(__mips64) + || defined(__mips64) || defined(__loongarch64) host_address=64 #else host_address=32 |