public inbox for gcc-cvs@sourceware.org help / color / mirror / Atom feed
From: Chenghua Xu <paulhua@gcc.gnu.org> To: gcc-cvs@gcc.gnu.org Subject: [gcc r12-7884] LoongArch Port: Regenerate libgcc/configure. Date: Tue, 29 Mar 2022 09:45:57 +0000 (GMT) [thread overview] Message-ID: <20220329094557.329673888838@sourceware.org> (raw) https://gcc.gnu.org/g:b38100eb08ac6bd88e1234e5de0cd169712b57cf commit r12-7884-gb38100eb08ac6bd88e1234e5de0cd169712b57cf Author: chenglulu <chenglulu@loongson.cn> Date: Sat Nov 27 15:06:34 2021 +0800 LoongArch Port: Regenerate libgcc/configure. 2022-03-29 Chenghua Xu <xuchenghua@loongson.cn> Lulu Cheng <chenglulu@loongson.cn> libgcc/ChangeLog: * configure: Regenerate file. Diff: --- libgcc/configure | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/libgcc/configure b/libgcc/configure index 52bf25d4e94..1f9b2ac578b 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
reply other threads:[~2022-03-29 9:45 UTC|newest] Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
Reply instructions: You may reply publicly to this message via plain-text email using any one of the following methods: * Save the following mbox file, import it into your mail client, and reply-to-all from there: mbox Avoid top-posting and favor interleaved quoting: https://en.wikipedia.org/wiki/Posting_style#Interleaved_style * Reply using the --to, --cc, and --in-reply-to switches of git-send-email(1): git send-email \ --in-reply-to=20220329094557.329673888838@sourceware.org \ --to=paulhua@gcc.gnu.org \ --cc=gcc-cvs@gcc.gnu.org \ /path/to/YOUR_REPLY https://kernel.org/pub/software/scm/git/docs/git-send-email.html * If your mail client supports setting the In-Reply-To header via mailto: links, try the mailto: linkBe sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions for how to clone and mirror all data and code used for this inbox; as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).