public inbox for binutils@sourceware.org
 help / color / mirror / Atom feed
From: YunQiang Su <wzssyqa@gmail.com>
To: YunQiang Su <yunqiang.su@cipunited.com>
Cc: macro@orcam.me.uk, binutils@sourceware.org, nickc@redhat.com
Subject: Re: [PATCH] MIPS: fix readelf -S bintest test for N64 triples
Date: Mon, 28 Aug 2023 11:53:07 +0800	[thread overview]
Message-ID: <CAKcpw6W99KYP14URUHBNsFrcbs3rnyFMQ30KdhaVCNPgwC67Dw@mail.gmail.com> (raw)
In-Reply-To: <20230817034046.438336-1-yunqiang.su@cipunited.com>

YunQiang Su <yunqiang.su@cipunited.com> 于2023年8月17日周四 11:41写道:
>
> MIPS N64 has different section layout. Let's add a new file
> readelf.s-64-tmips.
>
> It can fix this test fail on mips64*-linux-gnuabi64 and mips64*-openbsd.

@Maciej W. Rozycki I know you are quite busy. While can you have a
glance of these
short patch?

They are quite simple.

> ---
>  .../testsuite/binutils-all/readelf.s-64-tmips | 25 +++++++++++++++++++
>  1 file changed, 25 insertions(+)
>  create mode 100644 binutils/testsuite/binutils-all/readelf.s-64-tmips
>
> diff --git a/binutils/testsuite/binutils-all/readelf.s-64-tmips b/binutils/testsuite/binutils-all/readelf.s-64-tmips
> new file mode 100644
> index 00000000000..5c19027d0b7
> --- /dev/null
> +++ b/binutils/testsuite/binutils-all/readelf.s-64-tmips
> @@ -0,0 +1,25 @@
> +There are .* section headers, starting at offset .*:
> +
> +Section Headers:
> + +\[Nr\] Name +Type +Address +Offset
> + +Size +EntSize +Flags +Link +Info +Align
> + +\[ 0\] +NULL +0000000000000000 +00000000
> + +0000000000000000 +0000000000000000 +0 +0 +0
> + +\[ 1\] .text +PROGBITS +0000000000000000 +00000040
> + +00000000000000.. +0000000000000000 +AX +0 +0 +.*
> + +\[ 2\] .rel.+text +REL. +0+ +0+.*
> + +000000000000001. +000000000000001. +I +. +1 +8
> + +\[ 3\] .data +PROGBITS +0000000000000000 +000000(48|50)
> + +0000000000000010 +0000000000000000 +WA +0 +0 +.*
> + +\[ 4\] .bss +NOBITS +0000000000000000 +00000060
> + +0000000000000000 +0000000000000000 +WA +0 +0 +.*
> +# .MIPS.options, .MIPS.abiflags, .pdr, .gnu.attributes here
> +#...
> + +\[ .\] .symtab +SYMTAB +0000000000000000 +0+.*
> + +0+.* +0000000000000018 +10 +10 +8
> + +\[10\] .strtab +STRTAB +0000000000000000 +0+.*
> + +0+.* +0000000000000000 .* +0 +0 +1
> + +\[11\] .shstrtab +STRTAB +0000000000000000 +[0-9a-f]+
> + +00000000000000.. +0000000000000000 .* +0 +0 +.*
> +Key to Flags:
> +#...
> --
> 2.30.2
>


-- 
YunQiang Su

  reply	other threads:[~2023-08-28  3:53 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2023-08-17  3:40 YunQiang Su
2023-08-28  3:53 ` YunQiang Su [this message]
2023-09-28  3:45   ` YunQiang Su
2023-10-03 11:56 ` Maciej W. Rozycki
2023-10-03 23:02   ` 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=CAKcpw6W99KYP14URUHBNsFrcbs3rnyFMQ30KdhaVCNPgwC67Dw@mail.gmail.com \
    --to=wzssyqa@gmail.com \
    --cc=binutils@sourceware.org \
    --cc=macro@orcam.me.uk \
    --cc=nickc@redhat.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).