From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-pg1-x536.google.com (mail-pg1-x536.google.com [IPv6:2607:f8b0:4864:20::536]) by sourceware.org (Postfix) with ESMTPS id 5C2E33858C36 for ; Mon, 28 Aug 2023 03:53:20 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.2 sourceware.org 5C2E33858C36 Authentication-Results: sourceware.org; dmarc=pass (p=none dis=none) header.from=gmail.com Authentication-Results: sourceware.org; spf=pass smtp.mailfrom=gmail.com Received: by mail-pg1-x536.google.com with SMTP id 41be03b00d2f7-565e395e7a6so900189a12.0 for ; Sun, 27 Aug 2023 20:53:20 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20221208; t=1693194799; x=1693799599; h=content-transfer-encoding:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:from:to:cc:subject:date :message-id:reply-to; bh=QNq0FHAEwRFlfcMh8FIG19R2YbYTdLjz8opt5xWTltQ=; b=bFxoiw53h+1zG28c7nyFHo2XpSmn4uRPF07tiif4jGUtgQOVFn4BPQaUN7c/08VBtQ 3R2OFGj4oLmBA2AP6uuo8xilotB2XdqkGXBjs2/5AL0pMOloQVL59z81ONj51L+gtMZd uzk6DKsXBbX7S9G//stOZbfepHFUWTBXy/lPT3ArPZ2F8frBXC667jf6jlm6DmvwuLqa h7jK25tHVdZWHGm/Hon5HVn1AyZwdEVpa6fENQNSuGE+VuimRWfNtwFEyw5Ijgz6pWqu Q3lK3UnXmkBPQEohYP6AFRcJFh212ghPy039oKG9F+ylenwGnglI8+nAqBBy5s/FIZGS +hWw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1693194799; x=1693799599; h=content-transfer-encoding:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=QNq0FHAEwRFlfcMh8FIG19R2YbYTdLjz8opt5xWTltQ=; b=Vqpxd1AGO43RdlUK9mhhpFADK7VZkWMpu9eDy9VTdA+xmc28fizP6lxSvbZJaKlCqy qDyjBd+xitYGrZXERtRMr7F+LGcmlJJ4HwJ99/t4C1NwF+qedgocQMbKxf7gwYY7GmoN 3pRT5pq/jFfTcMcpLnh3U66qHr+ZumxS/o7hjefsE2FR4I+bVA1mGwPX2QBgI4Lz9f0T rlv4ZPGQMlKI4MnkcdTtPwI8OPCez000NQf82BHbm+9vlH45URpWxmSGMLeKdaNMFYVP D4jtRAxlS8Taiwu+xFs3vp1YuQlj5cevj0xwHFjPE9pGMBgWk95WIhJ9bx2rpdsqoZI8 Yh8g== X-Gm-Message-State: AOJu0YyhF9Er7NJ+P96Pv8Ciqyfwv1Djka8JsmnAvXYotefQqRn/u2NM BTlJr+lqsl2/5DnRsF0hnRVwkFjkdg5eGFpcboo= X-Google-Smtp-Source: AGHT+IEf54ZhILBkBNP3S+heCqMMSJ3455BynIaHTcYqvSDdM//RyJzZ02W2TNqXNN/23uNXuVm0g2NXdEfPteW3o6I= X-Received: by 2002:a05:6a20:914b:b0:13b:79db:e222 with SMTP id x11-20020a056a20914b00b0013b79dbe222mr21936758pzc.53.1693194799275; Sun, 27 Aug 2023 20:53:19 -0700 (PDT) MIME-Version: 1.0 References: <20230817034046.438336-1-yunqiang.su@cipunited.com> In-Reply-To: <20230817034046.438336-1-yunqiang.su@cipunited.com> From: YunQiang Su Date: Mon, 28 Aug 2023 11:53:07 +0800 Message-ID: Subject: Re: [PATCH] MIPS: fix readelf -S bintest test for N64 triples To: YunQiang Su Cc: macro@orcam.me.uk, binutils@sourceware.org, nickc@redhat.com Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Spam-Status: No, score=-6.4 required=5.0 tests=BAYES_00,BODY_8BITS,DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,FREEMAIL_FROM,GIT_PATCH_0,RCVD_IN_DNSWL_NONE,SPF_HELO_NONE,SPF_PASS,TXREP autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on server2.sourceware.org List-Id: YunQiang Su =E4=BA=8E2023=E5=B9=B48=E6=9C=8817= =E6=97=A5=E5=91=A8=E5=9B=9B 11:41=E5=86=99=E9=81=93=EF=BC=9A > > 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/binutil= s/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 > --=20 YunQiang Su