Skip to content
Snippets Groups Projects
Commit f8c32060 authored by Shinya Kuribayashi's avatar Shinya Kuribayashi Committed by Wolfgang Denk
Browse files

[MIPS] board/gth2/lowlevel_init.S: Fix a build warning


lowlevel_init.S: Assembler messages:
lowlevel_init.S:413: Warning: Pretending global symbol used as branch target is local.

Looking at codes, the `memtest' and `clearmem' are intentional mixed
use of `global symbols' and `label' for debugging purpose. To make it
build, just disable global-symbols-use for now. As a result `memtest'
still remains as unused, but leave it be...

Signed-off-by: default avatarShinya Kuribayashi <shinya.kuribayashi@necel.com>
parent e8da58f2
No related branches found
No related tags found
No related merge requests found
...@@ -413,7 +413,9 @@ noCacheJump: ...@@ -413,7 +413,9 @@ noCacheJump:
j clearmem j clearmem
nop nop
#if 0
.globl memtest .globl memtest
#endif
memtest: memtest:
/* Fill memory with address */ /* Fill memory with address */
li t0, 0x80000000 li t0, 0x80000000
...@@ -434,7 +436,9 @@ mt1: lw t2, 0(t0) ...@@ -434,7 +436,9 @@ mt1: lw t2, 0(t0)
bne t1, zero, mt1 bne t1, zero, mt1
nop nop
nop nop
#if 0
.globl clearmem .globl clearmem
#endif
clearmem: clearmem:
/* Clear memory */ /* Clear memory */
li t0, 0x80000000 li t0, 0x80000000
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment