Commit f8c320609366176b31104d9bf5e295232e1c7f1d
Committed by
Wolfgang Denk
1 parent
e8da58f2bc
Exists in
master
and in
54 other branches
[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: Shinya Kuribayashi <shinya.kuribayashi@necel.com>
Showing 1 changed file with 4 additions and 0 deletions Side-by-side Diff
board/gth2/lowlevel_init.S
... | ... | @@ -413,7 +413,9 @@ |
413 | 413 | j clearmem |
414 | 414 | nop |
415 | 415 | |
416 | +#if 0 | |
416 | 417 | .globl memtest |
418 | +#endif | |
417 | 419 | memtest: |
418 | 420 | /* Fill memory with address */ |
419 | 421 | li t0, 0x80000000 |
420 | 422 | |
... | ... | @@ -434,7 +436,9 @@ |
434 | 436 | bne t1, zero, mt1 |
435 | 437 | nop |
436 | 438 | nop |
439 | +#if 0 | |
437 | 440 | .globl clearmem |
441 | +#endif | |
438 | 442 | clearmem: |
439 | 443 | /* Clear memory */ |
440 | 444 | li t0, 0x80000000 |