aboutsummaryrefslogtreecommitdiff
path: root/gas/testsuite
diff options
context:
space:
mode:
authorAlan Modra <amodra@gmail.com>2020-03-07 20:09:57 +1030
committerAlan Modra <amodra@gmail.com>2020-03-07 20:12:20 +1030
commit190e5fc8b3cb8da10d17bf23d81c74cfefdb4669 (patch)
tree0ab5eb44d50411edf81a9ebe83504368253b9567 /gas/testsuite
parent9979ab666354f355da46ba826a3efeef9fbb8b24 (diff)
downloadgdb-190e5fc8b3cb8da10d17bf23d81c74cfefdb4669.zip
gdb-190e5fc8b3cb8da10d17bf23d81c74cfefdb4669.tar.gz
gdb-190e5fc8b3cb8da10d17bf23d81c74cfefdb4669.tar.bz2
Re: Add support for a ".file 0" directive if supporting DWARF 5 or higher.
Fixes a fail on hppa64-hp-hpux, where anything in the first column is a label. * testsuite/gas/elf/dwarf-5-file0.s: Don't start directives in first column.
Diffstat (limited to 'gas/testsuite')
-rw-r--r--gas/testsuite/gas/elf/dwarf-5-file0.s17
1 files changed, 8 insertions, 9 deletions
diff --git a/gas/testsuite/gas/elf/dwarf-5-file0.s b/gas/testsuite/gas/elf/dwarf-5-file0.s
index c00ec5e..1f99c58 100644
--- a/gas/testsuite/gas/elf/dwarf-5-file0.s
+++ b/gas/testsuite/gas/elf/dwarf-5-file0.s
@@ -1,18 +1,17 @@
.text
-.file 0
-.line 1
+ .file 0
+ .line 1
.long 3
-.file 1 "asdf"
-.line 2
+ .file 1 "asdf"
+ .line 2
.long 5
-.file 0
-.line 4
+ .file 0
+ .line 4
.long 3
-.file 2 "def"
-.line 5
+ .file 2 "def"
+ .line 5
.long 3
-