• R/O
  • HTTP
  • SSH
  • HTTPS

Commit

Tags
No Tags

Frequently used words (click to add to your profile)

javac++androidlinuxc#windowsobjective-ccocoa誰得qtpythonphprubygameguibathyscaphec計画中(planning stage)翻訳omegatframeworktwitterdomtestvb.netdirectxゲームエンジンbtronarduinopreviewer

GNU Binutils with patches for OS216


Commit MetaInfo

Revisãof26c9c2eaf6fbfeae03cc7926e4a5fca0bba1ae5 (tree)
Hora2016-07-03 06:38:06
AutorMaciej W. Rozycki <macro@imgt...>
CommiterMaciej W. Rozycki

Mensagem de Log

MIPS/GAS/testsuite: Reenable disabled external BEQ tests

Complement:

commit bad36eacdad37042c4efb1c5fbf48476b47de82b
Author: Daniel Jacobowitz <drow@false.org>
Date: Wed Nov 23 14:04:18 2005 +0000

<https://sourceware.org/ml/binutils/2005-11/msg00324.html>,
("R_MIPS_PC16, again"), and reenable external BEQ tests, the remaining
subset missed from the set of branch tests previously disabled with:

commit 6f171daac941741e5fa904f6e462adb75a595495
Author: Alexandre Oliva <aoliva@redhat.com>
Date: Thu Dec 12 04:40:22 2002 +0000

<https://sourceware.org/ml/binutils/2002-11/msg00631.html>, ("mips:
branches to external labels are broken").

gas/
* testsuite/gas/mips/beq.s: Uncomment branches to undefined
symbols.
* testsuite/gas/mips/beq.d: Update accordingly.
* testsuite/gas/mips/mipsr6@beq.d: Likewise.
* testsuite/gas/mips/micromips@beq.d: Likewise.

Mudança Sumário

Diff

--- a/gas/ChangeLog
+++ b/gas/ChangeLog
@@ -1,5 +1,13 @@
11 2016-07-02 Maciej W. Rozycki <macro@imgtec.com>
22
3+ * testsuite/gas/mips/beq.s: Uncomment branches to undefined
4+ symbols.
5+ * testsuite/gas/mips/beq.d: Update accordingly.
6+ * testsuite/gas/mips/mipsr6@beq.d: Likewise.
7+ * testsuite/gas/mips/micromips@beq.d: Likewise.
8+
9+2016-07-02 Maciej W. Rozycki <macro@imgtec.com>
10+
311 * testsuite/gas/mips/mips.exp: Restrict 64-bit `branch-mips'
412 tests to NewABI targets.
513
--- a/gas/testsuite/gas/mips/beq.d
+++ b/gas/testsuite/gas/mips/beq.d
@@ -36,10 +36,10 @@ Disassembly of section \.text:
3636 [0-9a-f]+ <[^>]*> jal 0+0000 <.*>
3737 [ ]*20060: (MIPS_JMP|JMPADDR|R_MIPS_26) \.text
3838 [0-9a-f]+ <[^>]*> nop
39-#[0-9a-f]+ <[^>]*> b 0+20068 <.*\+0x20068>
40-#[ ]*20068: .*16 external_label
41-#[0-9a-f]+ <[^>]*> nop
42-#[0-9a-f]+ <[^>]*> bal 0+20070 <.*\+0x20070>
43-#[ ]*20070: .*16 external_label
44-#[0-9a-f]+ <[^>]*> nop
39+[0-9a-f]+ <[^>]*> b 0+20068 <.*\+0x20068>
40+[ ]*20068: .*16 external_label
41+[0-9a-f]+ <[^>]*> nop
42+[0-9a-f]+ <[^>]*> bal 0+20070 <.*\+0x20070>
43+[ ]*20070: .*16 external_label
44+[0-9a-f]+ <[^>]*> nop
4545 \.\.\.
--- a/gas/testsuite/gas/mips/beq.s
+++ b/gas/testsuite/gas/mips/beq.s
@@ -20,8 +20,8 @@ text_label:
2020 .endif
2121
2222 # Branch to an external label.
23-# b external_label
24-# bal external_label
23+ b external_label
24+ bal external_label
2525
2626 # Force at least 8 (non-delay-slot) zero bytes, to make 'objdump' print ...
2727 .align 2
--- a/gas/testsuite/gas/mips/micromips@beq.d
+++ b/gas/testsuite/gas/mips/micromips@beq.d
@@ -45,5 +45,10 @@ Disassembly of section \.text:
4545 [0-9a-f]+ <[^>]*> 4060 fffe bal 0002004e <text_label\+0x2004e>
4646 2004e: R_MICROMIPS_PC16_S1 text_label
4747 [0-9a-f]+ <[^>]*> 0000 0000 nop
48+[0-9a-f]+ <[^>]*> 9400 fffe b 00020056 <text_label\+0x20056>
49+ 20056: R_MICROMIPS_PC16_S1 external_label
4850 [0-9a-f]+ <[^>]*> 0c00 nop
51+[0-9a-f]+ <[^>]*> 4060 fffe bal 0002005c <text_label\+0x2005c>
52+ 2005c: R_MICROMIPS_PC16_S1 external_label
53+[0-9a-f]+ <[^>]*> 0000 0000 nop
4954 \.\.\.
--- a/gas/testsuite/gas/mips/mipsr6@beq.d
+++ b/gas/testsuite/gas/mips/mipsr6@beq.d
@@ -38,4 +38,10 @@ Disassembly of section \.text:
3838 [0-9a-f]+ <[^>]*> bnez a0,0+0050 <.*>
3939 [ ]*50: .*R_MIPS_PC16 text_label
4040 [0-9a-f]+ <[^>]*> nop
41+[0-9a-f]+ <[^>]*> b 0+0058 <.*>
42+[ ]*58: .*R_MIPS_PC16 external_label
43+[0-9a-f]+ <[^>]*> nop
44+[0-9a-f]+ <[^>]*> bal 0+0060 <.*>
45+[ ]*60: .*R_MIPS_PC16 external_label
46+[0-9a-f]+ <[^>]*> nop
4147 \.\.\.