summaryrefslogtreecommitdiff
path: root/scripts/test_dwarf5_support.sh
blob: c46e2456b47aceb9051cd608a17d0d4e26358752 (plain)
1
2
3
4
5
6
7
8
#!/bin/sh
# SPDX-License-Identifier: GPL-2.0

# Test that the assembler doesn't need -Wa,-gdwarf-5 when presented with DWARF
# v5 input, such as `.file 0` and `md5 0x00`. Should be fixed in GNU binutils
# 2.35.2. https://sourceware.org/bugzilla/show_bug.cgi?id=25611
echo '.file 0 "filename" md5 0x7a0b65214090b6693bd1dc24dd248245' | \
  $* -gdwarf-5 -Wno-unused-command-line-argument -c -x assembler -o /dev/null -