mov r0, #0
bx lr
.size main, .-main
- .section .note.GNU-stack,"",@progbits
+ .section .note.GNU-stack,"",%progbits
.section sect2, "a"
var2: .byte 2
+#ifdef __arm__
+ .section .note.GNU-stack,"",%progbits
+#else
.section .note.GNU-stack,"",@progbits
+#endif
.byte 1
.Lline1_end:
+#ifdef __arm__
+ .section .note.GNU-stack,"",%progbits
+#else
.section .note.GNU-stack,"",@progbits
+#endif
.uleb128 0x1
.byte 0x1
LELT:
+#ifdef __arm__
+ .section .note.GNU-stack,"",%progbits
+#else
.section .note.GNU-stack,"",@progbits
+#endif
.uleb128 0x1
.byte 0x1
LELT:
+#ifdef __arm__
+ .section .note.GNU-stack,"",%progbits
+#else
.section .note.GNU-stack,"",@progbits
+#endif
.byte 0x0
.byte 0x0
.byte 0x0
+#ifdef __arm__
+ .section .note.GNU-stack,"",%progbits
+#else
.section .note.GNU-stack,"",@progbits
+#endif
.section .debug_line
.Ldebug_line0:
+#ifdef __arm__
+ .section .note.GNU-stack,"",%progbits
+#else
.section .note.GNU-stack,"",@progbits
+#endif
.byte 1
.Lline1_end:
+#ifdef __arm__
+ .section .note.GNU-stack,"",%progbits
+#else
.section .note.GNU-stack,"",@progbits
+#endif
.section ".other", "x"
.global some_func, some_func_end
+#ifdef __arm__
+ .type some_func, %function
+#else
.type some_func, @function
+#endif
nop
nop
nop
.size some_func,.-some_func
some_func_end:
nop
+#ifdef __arm__
+ .section .note.GNU-stack,"",%progbits
+#else
.section .note.GNU-stack,"",@progbits
+#endif
.byte 0x0
.byte 0x0
.byte 0x0
+#ifdef __arm__
+ .section .note.GNU-stack,"",%progbits
+#else
.section .note.GNU-stack,"",@progbits
+#endif
.byte 1
.Lline1_end:
+#ifdef __arm__
+ .section .note.GNU-stack,"",%progbits
+#else
.section .note.GNU-stack,"",@progbits
+#endif
.byte 0x0
.byte 0x0
.byte 0x0
+#ifdef __arm__
+ .section .note.GNU-stack,"",%progbits
+#else
.section .note.GNU-stack,"",@progbits
+#endif
/* The .debug_names-based index support depends on
.debug_aranges generated by GCC. (.gdb_index includes a
gdb-generated map instead.) */
+#ifdef __arm__
+ .section .debug_aranges,"",%progbits
+#else
.section .debug_aranges,"",@progbits
+#endif
.4byte .Laranges_end - .Laranges_start // Length of Address Ranges Info
.Laranges_start:
.2byte 0x2 // DWARF Version
.byte 0x0 /* Terminator */
.byte 0x0 /* Terminator */
+#ifdef __arm__
+ .section .note.GNU-stack,"",%progbits
+#else
.section .note.GNU-stack,"",@progbits
+#endif
.uleb128 1
.byte 1
.Lgcc43_end:
+#ifdef __arm__
+ .section .note.GNU-stack,"",%progbits
+#else
.section .note.GNU-stack,"",@progbits
+#endif
.byte 0x9c
.byte 0x00
.byte 0x92
+#ifdef __arm__
+ .section .note.GNU-stack,"",%progbits
+#else
.section .note.GNU-stack,"",@progbits
+#endif
.byte 1
.Lline1_end:
+#ifdef __arm__
+ .section .note.GNU-stack,"",%progbits
+#else
.section .note.GNU-stack,"",@progbits
+#endif
.byte 0x0 /* Terminator */
.byte 0x0 /* Terminator */
+#ifdef __arm__
+ .section .note.GNU-stack,"",%progbits
+#else
.section .note.GNU-stack,"",@progbits
+#endif
.byte 0x0 /* Terminator .debug_abbrev
section. */
+#ifdef __arm__
+ .section .note.GNU-stack,"",%progbits
+#else
.section .note.GNU-stack,"",@progbits
+#endif
.byte 0x0
.byte 0x0
+#ifdef __arm__
+ .section .note.GNU-stack,"",%progbits
+#else
.section .note.GNU-stack,"",@progbits
+#endif
.byte 0x0
.byte 0x0
+#ifdef __arm__
+ .section .note.GNU-stack,"",%progbits
+#else
.section .note.GNU-stack,"",@progbits
+#endif
.section .debug_abbrev
.Ldebug_abbrev0:
.byte 0x0
+#ifdef __arm__
+ .section .note.GNU-stack,"",%progbits
+#else
.section .note.GNU-stack,"",@progbits
+#endif
.byte 0x0 /* Terminator */
.byte 0x0 /* Terminator */
+#ifdef __arm__
+ .type some_func, %function
+#else
.section .note.GNU-stack,"",@progbits
+#endif
.byte 0x0
.byte 0x0
+#ifdef __arm__
+ .section .note.GNU-stack,"",%progbits
+#else
.section .note.GNU-stack,"",@progbits
+#endif
.byte 0x0
.byte 0x0
.byte 0x0
+#ifdef __arm__
+ .section .note.GNU-stack,"",%progbits
+#else
.section .note.GNU-stack,"",@progbits
+#endif
.byte 0x0 /* Terminator */
.byte 0x0 /* Terminator */
+#ifdef __arm__
+ .section .note.GNU-stack,"",%progbits
+#else
.section .note.GNU-stack,"",@progbits
+#endif
.byte 0x08 /* DW_FORM_string. */
.2byte 0x0000 /* End abbrev. */
.byte 0x00 /* End abbrev table. */
+#ifdef __arm__
+ .section .note.GNU-stack,"",%progbits
+#else
.section .note.GNU-stack,"",@progbits
+#endif
.text
.Ltext0:
+#ifdef __arm__
+ .type p__top__middle__inside.3062, %function
+#else
.type p__top__middle__inside.3062, @function
+#endif
p__top__middle__inside.3062:
.LFB4:
.file 1 "p.adb"
.LBE6:
.globl p__top
+#ifdef __arm__
+ .type p__top, %function
+#else
.type p__top, @function
+#endif
p__top:
.LFB2:
.4byte 0
.Lline1_begin:
.byte 0
+#ifdef __arm__
+ .section .note.GNU-stack,"",%progbits
+#else
.section .note.GNU-stack,"",@progbits
+#endif
.byte 0x0 /* Terminator */
.byte 0x0 /* Terminator */
+#ifdef __arm__
+ .section .note.GNU-stack,"",%progbits
+#else
.section .note.GNU-stack,"",@progbits
+#endif
.byte 0x0 /* Terminator */
.byte 0x0 /* Terminator */
+#ifdef __arm__
+ .section .note.GNU-stack,"",%progbits
+#else
.section .note.GNU-stack,"",@progbits
+#endif
.byte 1
.Lline1_end:
+#ifdef __arm__
+ .section .note.GNU-stack,"",%progbits
+#else
.section .note.GNU-stack,"",@progbits
+#endif
.byte 1
.Lline1_end:
+#ifdef __arm__
+ .section .note.GNU-stack,"",%progbits
+#else
.section .note.GNU-stack,"",@progbits
+#endif
.byte 0x0 /* Terminator */
.byte 0x0 /* Terminator */
+#ifdef __arm__
+ .section .note.GNU-stack,"",%progbits
+#else
.section .note.GNU-stack,"",@progbits
+#endif
.byte 0x0 /* Terminator */
.byte 0x0 /* Terminator */
+#ifdef __arm__
+ .section .note.GNU-stack,"",%progbits
+#else
.section .note.GNU-stack,"",@progbits
+#endif
.string "GNU Modula-2 0.78 (20100402) grafted onto GCC 4.1.2"
.LASF2:
.string ""
+#ifdef __arm__
+ .section .note.GNU-stack,"",%progbits
+#else
.section .note.GNU-stack,"",@progbits
+#endif
.byte 0x0 /* Terminator */
.byte 0x0 /* Terminator */
+#ifdef __arm__
+ .section .note.GNU-stack,"",%progbits
+#else
.section .note.GNU-stack,"",@progbits
+#endif
.byte 1
.Lline1_end:
+#ifdef __arm__
+ .section .note.GNU-stack,"",%progbits
+#else
.section .note.GNU-stack,"",@progbits
+#endif
.byte 1
.Lline1_end:
+#ifdef __arm__
+ .section .note.GNU-stack,"",%progbits
+#else
.section .note.GNU-stack,"",@progbits
+#endif
.byte 0x0 /* Terminator */
.byte 0x0 /* Terminator */
+#ifdef __arm__
+ .section .note.GNU-stack,"",%progbits
+#else
.section .note.GNU-stack,"",@progbits
+#endif
.byte 0x0 /* Terminator */
.byte 0x0 /* Terminator */
+#ifdef __arm__
+ .section .note.GNU-stack,"",%progbits
+#else
.section .note.GNU-stack,"",@progbits
+#endif
.byte 0x0
.byte 0x0
.byte 0x0
+#ifdef __arm__
+ .section .note.GNU-stack,"",%progbits
+#else
.section .note.GNU-stack,"",@progbits
+#endif
.byte 1
.Lline1_end:
+#ifdef __arm__
+ .section .note.GNU-stack,"",%progbits
+#else
.section .note.GNU-stack,"",@progbits
+#endif
.byte 0x0 /* Terminator */
.byte 0x0 /* Terminator */
+#ifdef __arm__
+ .section .note.GNU-stack,"",%progbits
+#else
.section .note.GNU-stack,"",@progbits
+#endif
.string "sizetype"
.LASF1:
.string "char"
+#ifdef __arm__
+ .section .note.GNU-stack,"",%progbits
+#else
.section .note.GNU-stack,"",@progbits
+#endif
.byte 1
.Lline1_end:
+#ifdef __arm__
+ .section .note.GNU-stack,"",%progbits
+#else
.section .note.GNU-stack,"",@progbits
+#endif
.byte 0x0
.byte 0x0
.byte 0x0
+#ifdef __arm__
+ .section .note.GNU-stack,"",%progbits
+#else
.section .note.GNU-stack,"",@progbits
+#endif
.string "hello world!\n"
.Lemptyname:
.string ""
+#ifdef __arm__
+ .section .note.GNU-stack,"",%progbits
+#else
.section .note.GNU-stack,"",@progbits
+#endif
.byte 0x0 /* Terminator */
.byte 0x0 /* Terminator */
+#ifdef __arm__
+ .section .note.GNU-stack,"",%progbits
+#else
.section .note.GNU-stack,"",@progbits
+#endif
.byte 0x0 /* Terminator */
.byte 0x0 /* Terminator */
+#ifdef __arm__
+ .section .note.GNU-stack,"",%progbits
+#else
.section .note.GNU-stack,"",@progbits
+#endif
.byte 0x0
.byte 0x0
.byte 0x0
+#ifdef __arm__
+ .section .note.GNU-stack,"",%progbits
+#else
.section .note.GNU-stack,"",@progbits
+#endif
.Ldebug_addr0:
.4byte .LFB0 /* DW_AT_low_pc */
.4byte SYMBOL(baz) /* DW_AT_location */
+#ifdef __arm__
+ .section .note.GNU-stack,"",%progbits
+#else
.section .note.GNU-stack,"",@progbits
+#endif
.global __cu_high_pc
__cu_high_pc:
+#ifdef __arm__
+ .section .note.GNU-stack,"",%progbits
+#else
.section .note.GNU-stack,"",@progbits
+#endif
.uleb128 0x0 /* Included from line number 0 */
.uleb128 0x0 /* Filename we just started (bug: number too small) */
.byte 0x0 /* end of CU's macro information */
+#ifdef __arm__
+ .section .note.GNU-stack,"",%progbits
+#else
.section .note.GNU-stack,"",@progbits
+#endif
.LASF4:
.string "GNU C++ 4.4.2"
.ident "GCC: (GNU) 4.4.2"
+#ifdef __arm__
+ .section .note.GNU-stack,"",%progbits
+#else
.section .note.GNU-stack,"",@progbits
+#endif
.LASF3:
.string "main"
+#ifdef __arm__
+ .section .note.GNU-stack,"",%progbits
+#else
.section .note.GNU-stack,"",@progbits
+#endif
standard_testfile .c
set execfile $testfile
-set asm_file1 break-asm-file1.s
-set asm_file0 break-asm-file0.s
+set asm_file1 break-asm-file1.S
+set asm_file0 break-asm-file0.S
# This test can only be run on targets which support DWARF-2 and use gas.
require dwarf2_support
You should have received a copy of the GNU General Public License
along with this program. If not, see <http://www.gnu.org/licenses/>. */
- .file "a/break-asm-file0.s"
+ .file "a/break-asm-file0.S"
.text
.Lbegin_text1:
.globl _func2
.type func, %function
func:
.Lbegin_func:
- .file 1 "a/break-asm-file0.s"
+ .file 1 "a/break-asm-file0.S"
nop
.Lfunc_1:
nop
.4byte .Lline1_begin /* DW_AT_stmt_list */
.4byte .Lend_text1 /* DW_AT_high_pc */
.4byte .Lbegin_text1 /* DW_AT_low_pc */
- .ascii "a/break-asm-file0.s\0" /* DW_AT_name */
+ .ascii "a/break-asm-file0.S\0" /* DW_AT_name */
.ascii "GNU C 3.3.3\0" /* DW_AT_producer */
.2byte 0x8001 /* DW_AT_language (Mips Assembler) */
.byte 0
/* File names */
- .ascii "a/break-asm-file0.s\0"
+ .ascii "a/break-asm-file0.S\0"
.uleb128 0
.uleb128 0
.uleb128 0
.byte 1
.Lline1_end:
+#ifdef __arm__
+ .section .note.GNU-stack,"",%progbits
+#else
.section .note.GNU-stack,"",@progbits
+#endif
.4byte .Lline1_begin /* DW_AT_stmt_list */
.4byte .Lend_text1 /* DW_AT_high_pc */
.4byte .Lbegin_text1 /* DW_AT_low_pc */
- .ascii "b/break-asm-file0.s\0" /* DW_AT_name */
+ .ascii "b/break-asm-file0.S\0" /* DW_AT_name */
.ascii "GNU C 3.3.3\0" /* DW_AT_producer */
.2byte 0x8001 /* DW_AT_language (Mips Assembler) */
.byte 0
/* File names */
- .ascii "b/break-asm-file0.s\0"
+ .ascii "b/break-asm-file0.S\0"
.uleb128 0
.uleb128 0
.uleb128 0
.byte 1
.Lline1_end:
+#ifdef __arm__
+ .section .note.GNU-stack,"",%progbits
+#else
.section .note.GNU-stack,"",@progbits
+#endif
.byte 0x0 /* Terminator */
.byte 0x0 /* Terminator */
+#ifdef __arm__
+ .section .note.GNU-stack,"",%progbits
+#else
.section .note.GNU-stack,"",@progbits
+#endif
.rept 5
nop
.endr
+#ifdef __arm__
+ .section .note.GNU-stack,"",%progbits
+#else
.section .note.GNU-stack,"",@progbits
+#endif