h8300: Hardcode symbol prefixes in asm sources
[sfrench/cifs-2.6.git] / arch / h8300 / platform / h8s / generic / crt0_ram.S
index b04541069976cbdc8ca82ea045344a72cc81f6f9..7018915de74feed7566b36ed1ce97cf025200c80 100644 (file)
 #define RAMEND CONFIG_BLKDEV_RESERVE_ADDRESS
 #endif
        
-       .global SYMBOL_NAME(_start)
-       .global SYMBOL_NAME(_command_line)
-       .global SYMBOL_NAME(_platform_gpio_table)
-       .global SYMBOL_NAME(_target_name)
+       .global __start
+       .global __command_line
+       .global __platform_gpio_table
+       .global __target_name
        
        .h8300s
 
@@ -34,7 +34,7 @@
        .file   "crt0_ram.S"
 
        /* CPU Reset entry */
-SYMBOL_NAME_LABEL(_start)
+__start:
        mov.l   #RAMEND,sp
        ldc     #0x80,ccr
        ldc     #0x00,exr
@@ -63,13 +63,13 @@ SYMBOL_NAME_LABEL(_start)
 
        /* copy kernel commandline */
        mov.l   #COMMAND_START,er5
-       mov.l   #SYMBOL_NAME(command_line),er6
+       mov.l   #_command_line,er6
        mov.w   #512,r4
        eepmov.w
 
        /* uClinux kernel start */
        ldc     #0x90,ccr       /* running kernel */
-       mov.l   #SYMBOL_NAME(init_thread_union),sp
+       mov.l   #_init_thread_union,sp
        add.l   #0x2000,sp
        jsr     @_start_kernel
 _exit:
@@ -124,4 +124,4 @@ __target_name:
        .asciz  "generic"
        
        .section .bootvec,"ax"
-       jmp     @SYMBOL_NAME(_start)
+       jmp     @__start