From 190e5fc8b3cb8da10d17bf23d81c74cfefdb4669 Mon Sep 17 00:00:00 2001 From: Alan Modra Date: Sat, 7 Mar 2020 20:09:57 +1030 Subject: [PATCH] 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. --- gas/ChangeLog | 5 +++++ gas/testsuite/gas/elf/dwarf-5-file0.s | 17 ++++++++--------- 2 files changed, 13 insertions(+), 9 deletions(-) diff --git a/gas/ChangeLog b/gas/ChangeLog index c6a8a4f19b4..5839ce82eb4 100644 --- a/gas/ChangeLog +++ b/gas/ChangeLog @@ -1,3 +1,8 @@ +2020-03-07 Alan Modra + + * testsuite/gas/elf/dwarf-5-file0.s: Don't start directives in + first column. + 2020-03-06 Nick Clifton PR 25614 diff --git a/gas/testsuite/gas/elf/dwarf-5-file0.s b/gas/testsuite/gas/elf/dwarf-5-file0.s index c00ec5e8bcf..1f99c589239 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 - -- 2.39.2