From a66cf75c9cbd7ee9abfd3ca2f3a82fb32ba83387 Mon Sep 17 00:00:00 2001 From: Andre Vieira Date: Wed, 31 Oct 2018 12:05:19 +0000 Subject: [PATCH] [GAS][ARM] Fix UDF testism The old test never checked the objdump output since the 'error-output' directive would exit and thus never run objdump. When this test was changed to adhere to use the new warning_output we started to run objdump. The expected objdump output was old and had bitrotten, this fixes the layout, as the "disassembly" itself did not change. gas/ChangeLog 2018-10-31 Andre Vieira * testsuite/gas/arm/udf.d: Update expected output. --- gas/ChangeLog | 4 ++++ gas/testsuite/gas/arm/udf.d | 42 +++++++++++++++++-------------------- 2 files changed, 23 insertions(+), 23 deletions(-) diff --git a/gas/ChangeLog b/gas/ChangeLog index 41a8d0c71fb..e0a804ac412 100644 --- a/gas/ChangeLog +++ b/gas/ChangeLog @@ -1,3 +1,7 @@ +2018-10-31 Andre Vieira + + * testsuite/gas/arm/udf.d: Update expected output. + 2018-10-31 Andre Vieira * testsuite/gas/arm/armv1.d: Assemble for Armv1 and disassemble for diff --git a/gas/testsuite/gas/arm/udf.d b/gas/testsuite/gas/arm/udf.d index c8777a9f052..ef24209aec2 100644 --- a/gas/testsuite/gas/arm/udf.d +++ b/gas/testsuite/gas/arm/udf.d @@ -6,26 +6,22 @@ .*: +file format .*arm.* Disassembly of section \.text: - -0+0 : -\s*0:\s+e7f000f0\s+udf #0 -\s*4:\s+e7fabcfd\s+udf #43981 ; 0xabcd - -0+0 : -\s*8:\s+deab\s+udf #171 ; 0xab -\s*a:\s+decd\s+udf #205 ; 0xcd -\s*c:\s+de00\s+udf #0 -\s*e:\s+46c0\s+nop.* -\s*10:\s+f7f0 a000\s+udf\.w #0 -\s*14:\s+f7f1 a234\s+udf\.w #4660 ; 0x1234 -\s*18:\s+f7fc acdd\s+udf\.w #52445 ; 0xccdd -\s*1c:\s+bf08\s+it eq -\s*1e:\s+de12\s+udfeq #18 -\s*20:\s+de23\s+udf #35 ; 0x23 -\s*22:\s+de34\s+udf #52 ; 0x34 -\s*24:\s+de56\s+udf #86 ; 0x56 -\s*26:\s+bf18\s+it ne -\s*28:\s+f7f1 a234\s+udfne\.w #4660 ; 0x1234 -\s*2c:\s+f7f2 a345\s+udf\.w #9029 ; 0x2345 -\s*30:\s+f7f3 a456\s+udf\.w #13398 ; 0x3456 -\s*34:\s+f7f5 a678\s+udf\.w #22136 ; 0x5678 +[^<]* e7f000f0 udf #0 +[^<]* e7fabcfd udf #43981 ; 0xabcd +[^<]* deab udf #171 ; 0xab +[^<]* decd udf #205 ; 0xcd +[^<]* de00 udf #0 +[^<]* bf00 nop +[^<]* f7f0 a000 udf.w #0 +[^<]* f7f1 a234 udf.w #4660 ; 0x1234 +[^<]* f7fc acdd udf.w #52445 ; 0xccdd +[^<]* bf08 it eq +[^<]* de12 udfeq #18 +[^<]* de23 udf #35 ; 0x23 +[^<]* de34 udf #52 ; 0x34 +[^<]* de56 udf #86 ; 0x56 +[^<]* bf18 it ne +[^<]* f7f1 a234 udfne.w #4660 ; 0x1234 +[^<]* f7f2 a345 udf.w #9029 ; 0x2345 +[^<]* f7f3 a456 udf.w #13398 ; 0x3456 +[^<]* f7f5 a678 udf.w #22136 ; 0x5678 -- 2.30.2