testsuite: Define and use gdb_target_symbol_prefix_flags_asm.
[deliverable/binutils-gdb.git] / gdb / testsuite / gdb.dwarf2 / dw2-minsym-in-cu.S
index 8e602ab6634ce0f64c127233312febdec26b97b0..74d379f69e83d8e2805a0bf1833ed4dec7c9ba61 100644 (file)
    You should have received a copy of the GNU General Public License
    along with this program.  If not, see <http://www.gnu.org/licenses/>.  */
 
+#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
+
        .text
 .Lbegin_text1:
 
-       .globl main
-       .type main, %function
-main:
+       .globl SYMBOL(main)
+       .type SYMBOL(main), %function
+SYMBOL(main):
 .Lbegin_main:
        .int 0
 .Lend_main:
-       .size main, .-main
+       .size SYMBOL(main), .-SYMBOL(main)
 
        .globl func2
        .type func2, %function
This page took 0.024684 seconds and 4 git commands to generate.