testsuite: Define and use gdb_target_symbol_prefix_flags_asm.
[deliverable/binutils-gdb.git] / gdb / testsuite / gdb.dwarf2 / pr13961.S
index 9d76438c9b806a13d0d24a94203313539a2be69a..0bff74224c1fe775407dd1b2f84809a77a9931d5 100644 (file)
    further hand-edited to support that.
 */
 
+#define CONCAT1(a, b) CONCAT2(a, b)
+#define CONCAT2(a, b) a ## b
+
+#ifdef SYMBOL_PREFIX
+# define SYMBOL(str)     CONCAT1(SYMBOL_PREFIX, str)
+#else
+# define SYMBOL(str)     str
+#endif
+
        .file   "pr13961.cc"
 
        .globl  baz
@@ -55,13 +64,13 @@ baz:
 
        .text
 .Ltext0:
-       .globl  main
-       .type   main, %function
-main:
+       .globl  SYMBOL(main)
+       .type   SYMBOL(main), %function
+SYMBOL(main):
 .LFB0:
        .4byte 0
 .LFE0:
-       .size   main, .-main
+       .size   SYMBOL(main), .-SYMBOL(main)
 .Letext0:
 
        .section        .debug_types,"",%progbits
This page took 0.024403 seconds and 4 git commands to generate.