aboutsummaryrefslogtreecommitdiff
path: root/gdb/testsuite/gdb.dwarf2/dw2-noloc.S
diff options
context:
space:
mode:
Diffstat (limited to 'gdb/testsuite/gdb.dwarf2/dw2-noloc.S')
-rw-r--r--gdb/testsuite/gdb.dwarf2/dw2-noloc.S4
1 files changed, 4 insertions, 0 deletions
diff --git a/gdb/testsuite/gdb.dwarf2/dw2-noloc.S b/gdb/testsuite/gdb.dwarf2/dw2-noloc.S
index 4b74243..d9e31d3 100644
--- a/gdb/testsuite/gdb.dwarf2/dw2-noloc.S
+++ b/gdb/testsuite/gdb.dwarf2/dw2-noloc.S
@@ -324,4 +324,8 @@ resolvable:
.byte 0x0 /* Terminator */
.byte 0x0 /* Terminator */
+#ifdef __arm__
+ .section .note.GNU-stack,"",%progbits
+#else
.section .note.GNU-stack,"",@progbits
+#endif