/*
- Copyright 2007 Free Software Foundation, Inc.
+ Copyright 2007, 2008, 2009 Free Software Foundation, Inc.
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
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. */
.endfunc
.size main, . - main
- .section .text.func, "ax", @progbits
+ /* `.fini' section is here to make sure `dw2-ranges.S'
+ vs. `dw2-ranges2.S' overlap their DW_AT_ranges with each other. */
+ .section .fini, "ax", @progbits
+
.globl func
.func func
func: .int 0