Nick Desaulniers | 98cd6f5 | 2021-02-05 12:22:20 -0800 | [diff] [blame] | 1 | #!/bin/sh |
2 | # SPDX-License-Identifier: GPL-2.0 | ||||
3 | |||||
4 | # Test that the assembler doesn't need -Wa,-gdwarf-5 when presented with DWARF | ||||
5 | # v5 input, such as `.file 0` and `md5 0x00`. Should be fixed in GNU binutils | ||||
6 | # 2.35.2. https://sourceware.org/bugzilla/show_bug.cgi?id=25611 | ||||
7 | echo '.file 0 "filename" md5 0x7a0b65214090b6693bd1dc24dd248245' | \ | ||||
8 | $* -gdwarf-5 -Wno-unused-command-line-argument -c -x assembler -o /dev/null - |