public inbox for binutils@sourceware.org
 help / color / mirror / Atom feed
From: YunQiang Su <yunqiang.su@cipunited.com>
To: macro@orcam.me.uk
Cc: binutils@sourceware.org, YunQiang Su <yunqiang.su@cipunited.com>
Subject: [PATCH v3 0/2] GAS/MIPS: Fix testcase module-defer-warn2 for r2+ triples
Date: Fri, 29 Sep 2023 11:05:24 -0400	[thread overview]
Message-ID: <20230929150526.3149431-1-yunqiang.su@cipunited.com> (raw)

When gas is configured with --target=mipsisa32r2el-elf, module-defer-warn2
will fail:

/binutils-gdb/gas/testsuite/gas/mips/module-defer-warn2.s: Assembler messages:
/binutils-gdb/gas/testsuite/gas/mips/module-defer-warn2.s:2: Error: `gp=64' used with a 32-bit processor
extra regexps in /binutils-gdb/gas/testsuite/gas/mips/module-defer-warn2.l starting with "^.*:2: .*: `fp=64' used with a 32-bit.*$"
EOF from dump.out
FAIL: mips module-defer-warn2

The reason is that fp64 is allowed for mips32r2 and onward, so
the error message `Error: `fp=64' used with a 32-bit fpu` won't emit.

YunQiang Su (2):
  GAS/MIPS: Convert module-defer-warn2 to .d format
  GAS/MIPS: Add module-defer-warn2-r2 testcase for r2+ triples

 gas/testsuite/gas/mips/mips.exp                | 3 ++-
 gas/testsuite/gas/mips/module-defer-warn2-r2.d | 5 +++++
 gas/testsuite/gas/mips/module-defer-warn2-r2.l | 2 ++
 gas/testsuite/gas/mips/module-defer-warn2.d    | 5 +++++
 4 files changed, 14 insertions(+), 1 deletion(-)
 create mode 100644 gas/testsuite/gas/mips/module-defer-warn2-r2.d
 create mode 100644 gas/testsuite/gas/mips/module-defer-warn2-r2.l
 create mode 100644 gas/testsuite/gas/mips/module-defer-warn2.d

-- 
2.39.2


             reply	other threads:[~2023-09-29 15:06 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2023-09-29 15:05 YunQiang Su [this message]
2023-09-29 15:05 ` [PATCH v3 1/2] GAS/MIPS: Convert module-defer-warn2 to .d format YunQiang Su
2023-09-29 15:05 ` [PATCH v3 2/2] GAS/MIPS: Add module-defer-warn2-r2 testcase for r2+ triples YunQiang Su
2023-10-07 15:50 ` [PATCH v3 0/2] GAS/MIPS: Fix testcase module-defer-warn2 " YunQiang Su

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=20230929150526.3149431-1-yunqiang.su@cipunited.com \
    --to=yunqiang.su@cipunited.com \
    --cc=binutils@sourceware.org \
    --cc=macro@orcam.me.uk \
    /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).