From 113492988b0f471f9fe4f8f987a52c58a782d96f Mon Sep 17 00:00:00 2001 From: Daniel Schwierzeck Date: Sat, 19 Dec 2015 20:20:45 +0100 Subject: 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 --- arch/mips/include/asm/asm.h | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'arch/mips/include/asm') diff --git a/arch/mips/include/asm/asm.h b/arch/mips/include/asm/asm.h index 933ccb1..855f707 100644 --- a/arch/mips/include/asm/asm.h +++ b/arch/mips/include/asm/asm.h @@ -45,6 +45,12 @@ #define CPLOAD(register) #endif +#define ENTRY(symbol) \ + .globl symbol; \ + .type symbol, @function; \ + .ent symbol, 0; \ +symbol: + /* * LEAF - declare leaf routine */ -- cgit v1.1