Skip to content

gas_fix_testcase_20220805

Tsukasa OI edited this page Aug 5, 2022 · 5 revisions

GAS: Fix a broken testcase (2022-08-05)

Issues Fixed

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 in some way.

This commit fixes by testing SHF_LINK_ORDER (128) instead.

Clone this wiki locally