From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 1062) id D7889385559B; Fri, 16 Jun 2023 04:29:35 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org D7889385559B Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable From: Alan Modra To: bfd-cvs@sourceware.org Subject: [binutils-gdb] Correct ld-elf/eh5 test for hppa64 X-Act-Checkin: binutils-gdb X-Git-Author: Alan Modra X-Git-Refname: refs/heads/master X-Git-Oldrev: fb0894b2b3e62366b66d6e20f61721c0e9e07263 X-Git-Newrev: 2a4da0730829376aeaee4dd8eab345fb6a8ddf03 Message-Id: <20230616042935.D7889385559B@sourceware.org> Date: Fri, 16 Jun 2023 04:29:35 +0000 (GMT) X-BeenThere: binutils-cvs@sourceware.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Binutils-cvs mailing list List-Unsubscribe: , List-Archive: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 16 Jun 2023 04:29:36 -0000 https://sourceware.org/git/gitweb.cgi?p=3Dbinutils-gdb.git;h=3D2a4da0730829= 376aeaee4dd8eab345fb6a8ddf03 commit 2a4da0730829376aeaee4dd8eab345fb6a8ddf03 Author: Alan Modra Date: Fri Jun 16 12:46:49 2023 +0930 Correct ld-elf/eh5 test for hppa64 =20 Commit 3c0afdb78988 regressed this test for hppa64, because the test had been enabled for hppa64 in the time between the mips changes and their reversion. This patch isn't just a simple reapply, I recreated the testsuite change by hand for hppa64: Two lines in eh5.d might need further changes for mips. Diff: --- ld/testsuite/ld-elf/eh5.d | 38 +++++++++++++++++++++----------------- 1 file changed, 21 insertions(+), 17 deletions(-) diff --git a/ld/testsuite/ld-elf/eh5.d b/ld/testsuite/ld-elf/eh5.d index ac571940d4a..d51b4809e94 100644 --- a/ld/testsuite/ld-elf/eh5.d +++ b/ld/testsuite/ld-elf/eh5.d @@ -24,14 +24,14 @@ Contents of the .eh_frame section: #? DW_CFA_nop #? DW_CFA_nop =20 -0+001[48] 0+0014 0+001[8c] FDE cie=3D0+0000 pc=3D.* +0+001[48] 0+001[4c] 0+001[8c] FDE cie=3D0+0000 pc=3D.* DW_CFA_advance_loc: 4 to .* DW_CFA_def_cfa: r0(.*) ofs 16 DW_CFA_nop DW_CFA_nop DW_CFA_nop =20 -0+00(2c|30) 0+0014 0+0000 CIE +0+00(2c|30|38) 0+0014 0+0000 CIE Version: [13] Augmentation: "zPR" Code alignment factor: .* @@ -41,21 +41,21 @@ Contents of the .eh_frame section: =20 DW_CFA_nop =20 -0+004[48] 0+0014 0+001c FDE cie=3D0+00(2c|30) pc=3D.* +0+00(44|48|50) 0+001[4c] 0+001c FDE cie=3D0+00(2c|30|38) pc=3D.* DW_CFA_advance_loc: 4 to .* DW_CFA_def_cfa: r0(.*) ofs 16 DW_CFA_nop DW_CFA_nop DW_CFA_nop =20 -0+00(5c|60) 0+0014 0+006[04] FDE cie=3D0+0000 pc=3D.* +0+00(5c|60|70) 0+001[4c] 0+00(60|64|74) FDE cie=3D0+0000 pc=3D.* DW_CFA_advance_loc: 4 to .* DW_CFA_def_cfa: r0(.*) ofs 16 DW_CFA_nop DW_CFA_nop DW_CFA_nop =20 -0+007[48] 0+001[8c] 0+0000 CIE +0+00(74|78|90) 0+001[8c] 0+0000 CIE Version: [13] Augmentation: "zPLR" Code alignment factor: .* @@ -71,7 +71,7 @@ Contents of the .eh_frame section: #? DW_CFA_nop #? DW_CFA_nop =20 -0+009[08] 0+001c 0+002[04] FDE cie=3D0+007[48] pc=3D.* +0+00(90|98|b0) 0+00(1c|24) 0+002[04] FDE cie=3D0+00(74|78|90) pc=3D.* Augmentation data: (ef be ad de 00 00 00 00|00 00 00 00 de ad be ef) =20 DW_CFA_advance_loc: 4 to .* @@ -80,7 +80,7 @@ Contents of the .eh_frame section: DW_CFA_nop DW_CFA_nop =20 -0+00b[08] 0+001[04] 0+0000 CIE +0+00(b0|b8|d8) 0+001[04] 0+0000 CIE Version: [13] Augmentation: "zR" Code alignment factor: .* @@ -94,7 +94,7 @@ Contents of the .eh_frame section: #? DW_CFA_nop #? DW_CFA_nop =20 -0+00(c4|d0) 0+001[04] 0+001[8c] FDE cie=3D0+00b[08] pc=3D.* +0+00(c4|d0|f0) 0+001[048] 0+001[8c] FDE cie=3D0+00(b0|b8|d8) pc=3D.* DW_CFA_nop DW_CFA_nop DW_CFA_nop @@ -103,7 +103,7 @@ Contents of the .eh_frame section: #? DW_CFA_nop #? DW_CFA_nop =20 -0+00[de]8 0+0014 0+0000 CIE +0+0(0d8|0e8|10c) 0+001[48] 0+0000 CIE Version: [13] Augmentation: "zPR" Code alignment factor: .* @@ -112,15 +112,19 @@ Contents of the .eh_frame section: Augmentation data: 03 .. .. .. .. [01][bc] =20 DW_CFA_nop +#? DW_CFA_nop +#? DW_CFA_nop +#? DW_CFA_nop +#? DW_CFA_nop =20 -0+0(0f|10)0 0+0014 0+001c FDE cie=3D0+00[de]8 pc=3D.* +0+0(0f0|100|128) 0+001[4c] 0+00(1c|20) FDE cie=3D0+0(0d8|0e8|10c) pc=3D.* DW_CFA_advance_loc: 4 to .* DW_CFA_def_cfa: r0(.*) ofs 16 DW_CFA_nop DW_CFA_nop DW_CFA_nop =20 -0+01[01]8 0+001[04] 0+00(5c|64) FDE cie=3D0+00b[08] pc=3D.* +0+01[014]8 0+001[048] 0+00(5c|64|74) FDE cie=3D0+00(b0|b8|d8) pc=3D.* DW_CFA_nop DW_CFA_nop DW_CFA_nop @@ -129,7 +133,7 @@ Contents of the .eh_frame section: #? DW_CFA_nop #? DW_CFA_nop =20 -0+01(1c|30) 0+001[8c] 0+0000 CIE +0+01(1c|30|64) 0+001[8c] 0+0000 CIE Version: [13] Augmentation: "zPLR" Code alignment factor: .* @@ -145,7 +149,7 @@ Contents of the .eh_frame section: #? DW_CFA_nop #? DW_CFA_nop =20 -0+01(38|50) 0+001c 0+002[04] FDE cie=3D0+01(1c|30) pc=3D.* +0+01(38|50|80) 0+00(1c|24) 0+002[04] FDE cie=3D0+01(1c|30|64) pc=3D.* Augmentation data: (ef be ad de 00 00 00 00|00 00 00 00 de ad be ef) =20 DW_CFA_advance_loc: 4 to .* @@ -154,7 +158,7 @@ Contents of the .eh_frame section: DW_CFA_nop DW_CFA_nop =20 -0+01(58|70) 0+0014 0+01(5c|74) FDE cie=3D0+0000 pc=3D.* +0+01(58|70|a8) 0+001[4c] 0+01(5c|74|ac) FDE cie=3D0+0000 pc=3D.* DW_CFA_advance_loc: 4 to .* DW_CFA_def_cfa: r0(.*) ofs 16 DW_CFA_nop @@ -170,14 +174,14 @@ Contents of the .eh_frame section: #? Augmentation data: 03 .. .. .. .. 1b #? DW_CFA_nop =20 -0+01(70|88) 0+0014 0+0(01c|148|15c) FDE cie=3D0+0(02c|030|170) pc=3D.* +0+01(70|88|c8) 0+001[4c] 0+0(01c|148|15c|194) FDE cie=3D0+0(02c|030|038|17= 0) pc=3D.* DW_CFA_advance_loc: 4 to .* DW_CFA_def_cfa: r0(.*) ofs 16 DW_CFA_nop DW_CFA_nop DW_CFA_nop =20 -0+01(88|a0) 0+0014 0+01(8c|a4) FDE cie=3D0+0000 pc=3D.* +0+01(88|a0|e8) 0+001[4c] 0+01(8c|a4|ec) FDE cie=3D0+0000 pc=3D.* DW_CFA_advance_loc: 4 to .* DW_CFA_def_cfa: r0(.*) ofs 16 DW_CFA_nop @@ -195,7 +199,7 @@ Contents of the .eh_frame section: #? DW_CFA_nop #? DW_CFA_nop =20 -0+01(a0|b8|d4) 0+001c 0+0(020|130|144) FDE cie=3D0+0(074|078|1b8) pc=3D.* +0+0(1a0|1b8|1d4|208) 0+00(1c|24) 0+0(020|130|144|17c) FDE cie=3D0+0(074|07= 8|090|1b8) pc=3D.* Augmentation data: (ef be ad de 00 00 00 00|00 00 00 00 de ad be ef) =20 DW_CFA_advance_loc: 4 to .*