This is the mail archive of the
binutils@sourceware.org
mailing list for the binutils project.
[PATCH] Fix vax/ns32k/mmix gas testsuite regression.
- From: Jim Wilson <jimw at sifive dot com>
- To: binutils at sourceware dot org
- Cc: Jim Wilson <jimw at sifive dot com>
- Date: Thu, 23 Nov 2017 13:18:22 -0800
- Subject: [PATCH] Fix vax/ns32k/mmix gas testsuite regression.
- Authentication-results: sourceware.org; auth=none
- References: <b6ae157a-7633-d67f-3a35-606c207c1c52@redhat.com>
Tested with check-gas on riscv32, riscv64, x86_64, x86_64/enable-targets=all,
vax, ns32, mmix, and mips64.
Committed.
gas/
* testsuite/gas/all/err-fakelabel.s (dg-error): Also accept fatal error
string.
---
gas/ChangeLog | 3 +++
gas/testsuite/gas/all/err-fakelabel.s | 2 +-
2 files changed, 4 insertions(+), 1 deletion(-)
diff --git a/gas/ChangeLog b/gas/ChangeLog
index 9d2eaea580..c5ee576a42 100644
--- a/gas/ChangeLog
+++ b/gas/ChangeLog
@@ -1,5 +1,8 @@
2017-11-23 Jim Wilson <jimw@sifive.com>
+ * testsuite/gas/all/err-fakelabel.s (dg-error): Also accept fatal error
+ string.
+
* as.c (INITIALIZING_EMULS): Define.
* config/obj-multi.h (FAKE_LABEL_NAME): When INITIALIZING_EMULS set,
don't define it.
diff --git a/gas/testsuite/gas/all/err-fakelabel.s b/gas/testsuite/gas/all/err-fakelabel.s
index 1e87f2ee2c..a879ccf397 100644
--- a/gas/testsuite/gas/all/err-fakelabel.s
+++ b/gas/testsuite/gas/all/err-fakelabel.s
@@ -1,3 +1,3 @@
;# Test that fake labels aren't accepted.
;# { dg-do assemble }
-label: ;# { dg-error "Error: " }
+label: ;# { dg-error "Error: |Fatal error:" }
--
2.14.1