efi: Fix arm relocation_func under new efi libraries
Change-Id: Ib829448131cfe7fbaf820bb93a789248af00b428
This commit is contained in:
@@ -35,13 +35,13 @@
|
|||||||
*/
|
*/
|
||||||
|
|
||||||
#include <efi/types.h>
|
#include <efi/types.h>
|
||||||
#include <efilib.h>
|
#include <efi/system-table.h>
|
||||||
|
|
||||||
#include <elf.h>
|
#include <elf.h>
|
||||||
|
|
||||||
efi_status _relocate(long ldbase, Elf32_Dyn *dyn,
|
efi_status _relocate(long ldbase, Elf32_Dyn *dyn,
|
||||||
efi_handle image EFI_UNUSED,
|
efi_handle image __attribute__((__unused__)),
|
||||||
efi_system_table *systab EFI_UNUSED)
|
efi_system_table *systab __attribute__((__unused__)))
|
||||||
{
|
{
|
||||||
long relsz = 0, relent = 0;
|
long relsz = 0, relent = 0;
|
||||||
Elf32_Rel *rel = 0;
|
Elf32_Rel *rel = 0;
|
||||||
|
|||||||
Reference in New Issue
Block a user