diff options
author | Jan Kratochvil <jan.kratochvil@redhat.com> | 2008-04-15 09:00:32 +0000 |
---|---|---|
committer | Jan Kratochvil <jan.kratochvil@redhat.com> | 2008-04-15 09:00:32 +0000 |
commit | add386939dc6fd6b7e5012a89b02e5da4957b787 (patch) | |
tree | 62feec818117031ca75113b583adf08667e06b55 /gdb/testsuite/gdb.dwarf2/dw2-ranges.S | |
parent | f5314dd53d7007f2f04c12661c71512cfa292c9d (diff) | |
download | gdb-add386939dc6fd6b7e5012a89b02e5da4957b787.zip gdb-add386939dc6fd6b7e5012a89b02e5da4957b787.tar.gz gdb-add386939dc6fd6b7e5012a89b02e5da4957b787.tar.bz2 |
* gdb.dwarf2/dw2-ranges.S: New stub `.file' directive.
Diffstat (limited to 'gdb/testsuite/gdb.dwarf2/dw2-ranges.S')
-rw-r--r-- | gdb/testsuite/gdb.dwarf2/dw2-ranges.S | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/gdb/testsuite/gdb.dwarf2/dw2-ranges.S b/gdb/testsuite/gdb.dwarf2/dw2-ranges.S index 5fafa7a..1334c0c 100644 --- a/gdb/testsuite/gdb.dwarf2/dw2-ranges.S +++ b/gdb/testsuite/gdb.dwarf2/dw2-ranges.S @@ -19,6 +19,9 @@ DW_AT_ranges as the linker could place both sections at arbitrary locations. */ + /* Such directive is required by GAS for builds without `-g'. */ + .file 1 "dw2-ranges.S" + /* Without this directive GAS will not emit DWARF2 unless we provide an instruction to assemble. We want to avoid any instructions to remain architecture independent. */ |