testsuite: Define and use gdb_target_symbol_prefix_flags_asm.
[deliverable/binutils-gdb.git] / gdb / testsuite / gdb.dwarf2 / dw2-compdir-oldgcc.S
index 2419b0b684d3ef5f5065d3af78a5ad37058030d8..711043eff1040b00760201e13068c1739d96db69 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
-main:  .globl main
+SYMBOL(main):  .globl SYMBOL(main)
 
 gcc42: .globl gcc42
 .Lgcc42_procstart:
This page took 0.042233 seconds and 4 git commands to generate.