daily update
[external/binutils.git] / gdb / testsuite / gdb.dwarf2 / dw2-ranges.S
index 1334c0c..62abb1b 100644 (file)
@@ -1,5 +1,5 @@
 /*
-   Copyright 2007, 2008 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
@@ -35,7 +35,10 @@ main:        .int    0
        .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