diff options
author | Daniel Schwierzeck | 2015-12-19 20:20:45 +0100 |
---|---|---|
committer | Daniel Schwierzeck | 2016-01-16 21:06:45 +0100 |
commit | 113492988b0f471f9fe4f8f987a52c58a782d96f (patch) | |
tree | 1c1f05c1719b9ae07b846a0096136e3ab941eafb /arch/mips/cpu/start.S | |
parent | 1a96780016beba15470ce34689dc951761db2d2a (diff) |
MIPS: fix annotation of _start and relocate_code
Correctly annotate _start and relocate_code as functions to
produce more readable disassembly code generated by objdump.
Signed-off-by: Daniel Schwierzeck <daniel.schwierzeck@gmail.com>
Diffstat (limited to 'arch/mips/cpu/start.S')
-rw-r--r-- | arch/mips/cpu/start.S | 12 |
1 files changed, 5 insertions, 7 deletions
diff --git a/arch/mips/cpu/start.S b/arch/mips/cpu/start.S index 3b5b622abed..e95cdca61eb 100644 --- a/arch/mips/cpu/start.S +++ b/arch/mips/cpu/start.S @@ -56,9 +56,7 @@ .set noreorder - .globl _start - .text -_start: +ENTRY(_start) /* U-boot entry point */ b reset nop @@ -192,6 +190,8 @@ reset: jr t9 move ra, zero + END(_start) + /* * void relocate_code (addr_sp, gd, addr_moni) * @@ -202,9 +202,7 @@ reset: * a1 = gd * a2 = destination address */ - .globl relocate_code - .ent relocate_code -relocate_code: +ENTRY(relocate_code) move sp, a0 # set new stack pointer move fp, sp @@ -317,4 +315,4 @@ in_ram: jr t9 move ra, zero - .end relocate_code + END(relocate_code) |