blob: c46e2456b47aceb9051cd608a17d0d4e26358752 [file] [log] [blame]
Nick Desaulniers98cd6f52021-02-05 12:22:20 -08001#!/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
7echo '.file 0 "filename" md5 0x7a0b65214090b6693bd1dc24dd248245' | \
8 $* -gdwarf-5 -Wno-unused-command-line-argument -c -x assembler -o /dev/null -