mirror of
https://github.com/Fishwaldo/u-boot.git
synced 2025-03-15 19:51:37 +00:00
arm: Remove unused _relocate arguments
EFI image handle and system table are not used in _relocate(). Signed-off-by: Ivan Gorinov <ivan.gorinov@intel.com>
This commit is contained in:
parent
6250098655
commit
b966e5dc54
4 changed files with 2 additions and 8 deletions
|
@ -122,8 +122,6 @@ _start:
|
|||
mov x29, sp
|
||||
|
||||
stp x0, x1, [sp, #16]
|
||||
mov x2, x0
|
||||
mov x3, x1
|
||||
adr x0, ImageBase
|
||||
adrp x1, _DYNAMIC
|
||||
add x1, x1, #:lo12:_DYNAMIC
|
||||
|
|
|
@ -119,8 +119,6 @@ section_table:
|
|||
_start:
|
||||
stmfd sp!, {r0-r2, lr}
|
||||
|
||||
mov r2, r0
|
||||
mov r3, r1
|
||||
adr r1, .L_DYNAMIC
|
||||
ldr r0, [r1]
|
||||
add r1, r0, r1
|
||||
|
|
|
@ -38,8 +38,7 @@
|
|||
|
||||
#include <elf.h>
|
||||
|
||||
efi_status_t _relocate(long ldbase, Elf64_Dyn *dyn, efi_handle_t image,
|
||||
struct efi_system_table *systab)
|
||||
efi_status_t EFIAPI _relocate(long ldbase, Elf64_Dyn *dyn)
|
||||
{
|
||||
long relsz = 0, relent = 0;
|
||||
Elf64_Rela *rel = 0;
|
||||
|
|
|
@ -14,8 +14,7 @@
|
|||
#include <efi.h>
|
||||
#include <elf.h>
|
||||
|
||||
efi_status_t _relocate(long ldbase, Elf32_Dyn *dyn, efi_handle_t image,
|
||||
struct efi_system_table *systab)
|
||||
efi_status_t EFIAPI _relocate(long ldbase, Elf32_Dyn *dyn)
|
||||
{
|
||||
long relsz = 0, relent = 0;
|
||||
Elf32_Rel *rel = 0;
|
||||
|
|
Loading…
Add table
Reference in a new issue