public inbox for binutils@sourceware.org
 help / color / mirror / Atom feed
* [PATCH] gas: Fix a testcase broken by new ZSTD support
@ 2022-08-05  7:12 Tsukasa OI
  2022-08-05  7:29 ` Jan Beulich
                   ` (2 more replies)
  0 siblings, 3 replies; 9+ messages in thread
From: Tsukasa OI @ 2022-08-05  7:12 UTC (permalink / raw)
  To: Tsukasa OI, Jan Beulich, Cary Coutant; +Cc: binutils

The commit 1369522f36eece1b37139a81f7f2139ba3915172 ("Recognize the new ELF
compression type for ZSTD.") added the new ELF compression type but it
accidentally broke a GAS testcase.  Since 2 is now a valid compression type
ELFCOMPRESS_ZSTD, the ".word 2" line in section10.s which expects an
**unknown** compression type needs to be changed to another unknown value.

gas/ChangeLog:

	* testsuite/gas/elf/section10.s: Use unknown ELF compression type.
---
 gas/testsuite/gas/elf/section10.s | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/gas/testsuite/gas/elf/section10.s b/gas/testsuite/gas/elf/section10.s
index d52b3458fb1..6a252fb6334 100644
--- a/gas/testsuite/gas/elf/section10.s
+++ b/gas/testsuite/gas/elf/section10.s
@@ -4,7 +4,7 @@
 
 	# Make sure that a numeric value can be mixed with alpha values.
 	.section sec2, "a2048x"
-	.word 2
+	.word 9
 
 	# Make sure that specifying further arguments to .sections is still supported
 	.section sec3, "0xfedff000MS", %progbits, 32

base-commit: 731d2cc1d5106c077584bd83e96dbba4f7e11118
-- 
2.34.1


^ permalink raw reply	[flat|nested] 9+ messages in thread

end of thread, other threads:[~2022-08-05 20:28 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-08-05  7:12 [PATCH] gas: Fix a testcase broken by new ZSTD support Tsukasa OI
2022-08-05  7:29 ` Jan Beulich
2022-08-05  7:45   ` Tsukasa OI
2022-08-05  7:45 ` [PATCH v2] " Tsukasa OI
2022-08-05  8:24   ` Jan Beulich
2022-08-05  8:54     ` Tsukasa OI
2022-08-05  8:52   ` [PATCH v3] " Tsukasa OI
2022-08-05  8:59     ` Jan Beulich
2022-08-05 20:27 ` [PATCH] " Cary Coutant

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).