From: YunQiang Su <syq@debian.org>
To: YunQiang Su <yunqiang.su@cipunited.com>
Cc: binutils <binutils@sourceware.org>,
"Maciej W. Rozycki" <macro@orcam.me.uk>,
Jiaxun Yang <jiaxun.yang@flygoat.com>,
Paul Hua <paul.hua.gm@gmail.com>
Subject: Re: [PATCH v3 0/3] MIPS: default output isa rev base on configuration
Date: Tue, 30 Mar 2021 14:41:02 +0800 [thread overview]
Message-ID: <CAKcpw6UPLs=x3XcRba3Ogk2hUfx+UVAGq_QELveiKbTUc3PNkQ@mail.gmail.com> (raw)
In-Reply-To: <20210328143520.2926076-1-yunqiang.su@cipunited.com>
CC Pual Hua.
YunQiang Su <yunqiang.su@cipunited.com> 于2021年3月28日周日 下午10:35写道:
>
> currently we find 2 usecases with problem:
>
> 1. mipsisa32r6el-linux-gnu-ld -r -b binary xx.dat -o xx.o
> the output will be MIPS I, while we expect MIPS32r6.
> 2. mipsisa32r6el-linux-gnu-as -march=from-abi xx.s
> the output will be MIPS I, while we expect MIPS32r6.
>
> and we may also need to configure the default output of
> ld/gas in build time, instead hardcoded mips1/mips3 now.
>
> So we introduce --with-arch-32 and --with-arch-64 options
> for generic triples: mips-/mipsel/mips64/mips64el etc.
>
> We also to set the default output to expected isa rev for
> mipsisa[32,64]rN[,el]-
>
> YunQiang Su (3):
> MIPS: Fix test failure with FPXX GCC
> MIPS: default output r6 object if configured to r6
> MIPS: Fix testcase for MIPSr6
>
> bfd/config.bfd | 16 +
> bfd/configure | 2 +
> bfd/configure.ac | 2 +
> bfd/elfxx-mips.c | 8 +
> .../mips/global-local-symtab-final-n32.d | 2 +-
> .../mips/global-local-symtab-final-n64.d | 2 +-
> .../mips/global-local-symtab-n32.d | 2 +-
> .../mips/global-local-symtab-n32t.d | 2 +-
> .../mips/global-local-symtab-n64.d | 2 +-
> .../mips/global-local-symtab-sort-n32.d | 2 +-
> .../mips/global-local-symtab-sort-n32t.d | 2 +-
> .../mips/global-local-symtab-sort-n64.d | 2 +-
> .../mips/global-local-symtab-sort-n64t.d | 2 +-
> .../binutils-all/mips/mips-xpa-virt-1.d | 8 +-
> .../binutils-all/mips/mips-xpa-virt-2.d | 4 +-
> .../binutils-all/mips/mips-xpa-virt-3.d | 4 +-
> binutils/testsuite/binutils-all/mips/mips.exp | 12 +
> gas/config.in | 6 +
> gas/config/tc-mips.c | 19 +-
> gas/configure | 83 +-
> gas/configure.ac | 77 +-
> gas/testsuite/gas/mips/attr-gnu-abi-msa-1.d | 2 +-
> gas/testsuite/gas/mips/branch-section-1.d | 2 +-
> gas/testsuite/gas/mips/branch-section-3.d | 2 +-
> gas/testsuite/gas/mips/branch-weak-1.d | 2 +-
> gas/testsuite/gas/mips/elf-rel.s | 36 +-
> gas/testsuite/gas/mips/elfel-rel.d | 12 +-
> gas/testsuite/gas/mips/mips.exp | 976 ++++++++++--------
> gas/testsuite/gas/mips/mipsr6@beq.d | 2 +-
> gas/testsuite/gas/mips/mipsr6@cache.d | 2 +-
> gas/testsuite/gas/mips/mipsr6@hwr-names.d | 2 +-
> gas/testsuite/gas/mips/mipsr6@mips32.d | 4 +-
> gas/testsuite/gas/mips/mipsr6@pref.d | 2 +-
> gas/testsuite/gas/mips/option-pic-1.d | 2 +-
> ld/testsuite/ld-elf/elf.exp | 8 +
> ld/testsuite/ld-elf/shared.exp | 5 +
> ld/testsuite/ld-elf/tls.exp | 12 +
> ld/testsuite/ld-elfvers/vers.exp | 7 +
> ld/testsuite/ld-mips-elf/attr-gnu-4-01.d | 1 +
> ld/testsuite/ld-mips-elf/attr-gnu-4-11.d | 1 +
> ld/testsuite/ld-mips-elf/attr-gnu-4-41.d | 1 +
> ld/testsuite/ld-mips-elf/attr-gnu-8-00.d | 2 +-
> ld/testsuite/ld-mips-elf/attr-gnu-8-01.d | 2 +-
> ld/testsuite/ld-mips-elf/attr-gnu-8-02.d | 2 +-
> ld/testsuite/ld-mips-elf/attr-gnu-8-10.d | 2 +-
> ld/testsuite/ld-mips-elf/attr-gnu-8-11.d | 2 +-
> ld/testsuite/ld-mips-elf/attr-gnu-8-20.d | 2 +-
> ld/testsuite/ld-mips-elf/attr-gnu-8-22.d | 2 +-
> .../ld-mips-elf/convert-data-to-obj.hd | 4 +
> ld/testsuite/ld-mips-elf/emit-relocs-1.d | 2 +-
> .../ld-mips-elf/export-class-call16-n32.dd | 8 +-
> .../ld-mips-elf/export-class-call16-n64.dd | 8 +-
> .../ld-mips-elf/export-class-call16-o32.dd | 8 +-
> ld/testsuite/ld-mips-elf/gp-disp-sym.s | 2 +-
> ld/testsuite/ld-mips-elf/jalr3.dd | 2 +-
> ld/testsuite/ld-mips-elf/jalr4.dd | 8 +-
> ld/testsuite/ld-mips-elf/mips-elf.exp | 328 +++---
> ld/testsuite/ld-mips-elf/n64-plt-1.dd | 2 +-
> ld/testsuite/ld-mips-elf/n64-plt-4.dd | 2 +-
> ld/testsuite/ld-mips-elf/pic-and-nonpic-2.d | 2 +-
> 60 files changed, 1000 insertions(+), 730 deletions(-)
> create mode 100644 ld/testsuite/ld-mips-elf/convert-data-to-obj.hd
>
> --
> 2.30.2
>
prev parent reply other threads:[~2021-03-30 6:41 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2021-03-28 14:35 YunQiang Su
2021-03-28 14:35 ` [PATCH v3 1/3] MIPS: Fix test failure with FPXX GCC YunQiang Su
2021-03-28 14:35 ` [PATCH v3 2/3] MIPS: default output r6 object if configured to r6 YunQiang Su
2021-03-28 14:35 ` [PATCH v3 3/3] MIPS: Fix testcase for MIPSr6 YunQiang Su
2021-03-30 6:41 ` YunQiang Su [this message]
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='CAKcpw6UPLs=x3XcRba3Ogk2hUfx+UVAGq_QELveiKbTUc3PNkQ@mail.gmail.com' \
--to=syq@debian.org \
--cc=binutils@sourceware.org \
--cc=jiaxun.yang@flygoat.com \
--cc=macro@orcam.me.uk \
--cc=paul.hua.gm@gmail.com \
--cc=yunqiang.su@cipunited.com \
/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: link
Be 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).