* gdb.dwarf2/dw2-ranges.S: New stub `.file' directive.

This commit is contained in:
Jan Kratochvil
2008-04-15 09:00:32 +00:00
parent f5314dd53d
commit add386939d
2 changed files with 7 additions and 0 deletions

View File

@ -1,3 +1,7 @@
2008-04-15 Jan Kratochvil <jan.kratochvil@redhat.com>
* gdb.dwarf2/dw2-ranges.S: New stub `.file' directive.
2008-04-13 Vladimir Prus <vladimir@codesourcery.com> 2008-04-13 Vladimir Prus <vladimir@codesourcery.com>
* gdb.mi/mi-var-cmd.exp: Adjust for appearance of type_changed * gdb.mi/mi-var-cmd.exp: Adjust for appearance of type_changed

View File

@ -19,6 +19,9 @@
DW_AT_ranges as the linker could place both sections at arbitrary locations. 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 /* Without this directive GAS will not emit DWARF2 unless we provide an
instruction to assemble. We want to avoid any instructions to instruction to assemble. We want to avoid any instructions to
remain architecture independent. */ remain architecture independent. */