git.samba.org
/
sfrench
/
cifs-2.6.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
h8300: Hardcode symbol prefixes in asm sources
[sfrench/cifs-2.6.git]
/
arch
/
h8300
/
platform
/
h8300h
/
aki3068net
/
crt0_ram.S
diff --git
a/arch/h8300/platform/h8300h/aki3068net/crt0_ram.S
b/arch/h8300/platform/h8300h/aki3068net/crt0_ram.S
index ecaeb31ae9a44060a7c64c5ddc5d4c270688afac..b2ad0f2d0417cd3fc243f692177047c6b807df45 100644
(file)
--- a/
arch/h8300/platform/h8300h/aki3068net/crt0_ram.S
+++ b/
arch/h8300/platform/h8300h/aki3068net/crt0_ram.S
@@
-22,10
+22,10
@@
#define RAMEND CONFIG_BLKDEV_RESERVE_ADDRESS
#endif
#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
.h8300h
.h8300h
@@
-33,7
+33,7
@@
.file "crt0_ram.S"
/* CPU Reset entry */
.file "crt0_ram.S"
/* CPU Reset entry */
-SYMBOL_NAME_LABEL(_start)
+__start:
mov.l #RAMEND,sp
ldc #0x80,ccr
mov.l #RAMEND,sp
ldc #0x80,ccr
@@
-59,13
+59,13
@@
SYMBOL_NAME_LABEL(_start)
/* copy kernel commandline */
mov.l #COMMAND_START,er5
/* 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.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:
add.l #0x2000,sp
jsr @_start_kernel
_exit:
@@
-107,4
+107,4
@@
__target_name:
.asciz "AE-3068"
.section .bootvec,"ax"
.asciz "AE-3068"
.section .bootvec,"ax"
- jmp @
SYMBOL_NAME(_start)
+ jmp @
__start