Re: [kvm-unit-tests PATCH v2 20/23] lib: Avoid external dependency in libelf

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Fri, May 06, 2022 at 09:56:02PM +0100, Nikos Nikoleris wrote:
> There is just a small number of definitions we need from
> uapi/linux/elf.h and asm/elf.h and the relocation code is
> self-contained.
> 
> Signed-off-by: Nikos Nikoleris <nikos.nikoleris@xxxxxxx>
> ---
>  arm/efi/reloc_aarch64.c | 3 +--
>  1 file changed, 1 insertion(+), 2 deletions(-)
> 
> diff --git a/arm/efi/reloc_aarch64.c b/arm/efi/reloc_aarch64.c
> index fa0cd6b..3f6d9a6 100644
> --- a/arm/efi/reloc_aarch64.c
> +++ b/arm/efi/reloc_aarch64.c
> @@ -34,8 +34,7 @@
>      SUCH DAMAGE.
>  */
>  
> -#include "efi.h"
> -#include <elf.h>
> +#include <efi.h>
>  
>  efi_status_t _relocate(long ldbase, Elf64_Dyn *dyn, efi_handle_t image,
>  		       efi_system_table_t *sys_tab)
> -- 
> 2.25.1
>

Reviewed-by: Ricardo Koller <ricarkol@xxxxxxxxxx>



[Index of Archives]     [KVM ARM]     [KVM ia64]     [KVM ppc]     [Virtualization Tools]     [Spice Development]     [Libvirt]     [Libvirt Users]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite Questions]     [Linux Kernel]     [Linux SCSI]     [XFree86]

  Powered by Linux