Message ID | 20200711224557.612848-2-daniel.schwierzeck@gmail.com |
---|---|
State | Accepted |
Commit | 54e7fbd5adef2ca68d3e3723516651fc9f096d0b |
Delegated to: | Daniel Schwierzeck |
Headers | show |
Series | MIPS: refactor and cleanup start.S (part 1) | expand |
On 12.07.20 00:45, Daniel Schwierzeck wrote: > Since commit 703ec9ddf965 ("MIPS: Stop building position independent code") > the relocation code was completely reworked and removed from start.S. > Remove some left-overs of the old code. > > Signed-off-by: Daniel Schwierzeck <daniel.schwierzeck@gmail.com> Reviewed-by: Stefan Roese <sr@denx.de> Tested-by: Stefan Roese <sr@denx.de> Thanks, Stefan > --- > > arch/mips/cpu/start.S | 9 --------- > 1 file changed, 9 deletions(-) > > diff --git a/arch/mips/cpu/start.S b/arch/mips/cpu/start.S > index 6de9a2f362..c3d1e64c1c 100644 > --- a/arch/mips/cpu/start.S > +++ b/arch/mips/cpu/start.S > @@ -17,19 +17,10 @@ > #endif > > #ifdef CONFIG_32BIT > -# define MIPS_RELOC 3 > # define STATUS_SET 0 > #endif > > #ifdef CONFIG_64BIT > -# ifdef CONFIG_SYS_LITTLE_ENDIAN > -# define MIPS64_R_INFO(ssym, r_type3, r_type2, r_type) \ > - (((r_type) << 24) | ((r_type2) << 16) | ((r_type3) << 8) | (ssym)) > -# else > -# define MIPS64_R_INFO(ssym, r_type3, r_type2, r_type) \ > - ((r_type) | ((r_type2) << 8) | ((r_type3) << 16) | (ssym) << 24) > -# endif > -# define MIPS_RELOC MIPS64_R_INFO(0x00, 0x00, 0x12, 0x03) > # define STATUS_SET ST0_KX > #endif > > Viele Grüße, Stefan
diff --git a/arch/mips/cpu/start.S b/arch/mips/cpu/start.S index 6de9a2f362..c3d1e64c1c 100644 --- a/arch/mips/cpu/start.S +++ b/arch/mips/cpu/start.S @@ -17,19 +17,10 @@ #endif #ifdef CONFIG_32BIT -# define MIPS_RELOC 3 # define STATUS_SET 0 #endif #ifdef CONFIG_64BIT -# ifdef CONFIG_SYS_LITTLE_ENDIAN -# define MIPS64_R_INFO(ssym, r_type3, r_type2, r_type) \ - (((r_type) << 24) | ((r_type2) << 16) | ((r_type3) << 8) | (ssym)) -# else -# define MIPS64_R_INFO(ssym, r_type3, r_type2, r_type) \ - ((r_type) | ((r_type2) << 8) | ((r_type3) << 16) | (ssym) << 24) -# endif -# define MIPS_RELOC MIPS64_R_INFO(0x00, 0x00, 0x12, 0x03) # define STATUS_SET ST0_KX #endif
Since commit 703ec9ddf965 ("MIPS: Stop building position independent code") the relocation code was completely reworked and removed from start.S. Remove some left-overs of the old code. Signed-off-by: Daniel Schwierzeck <daniel.schwierzeck@gmail.com> --- arch/mips/cpu/start.S | 9 --------- 1 file changed, 9 deletions(-)