From ed4c8729a2968127e3233f002829fb35cf0dc9d6 Mon Sep 17 00:00:00 2001 From: Ed Maste Date: Thu, 28 Nov 2013 19:41:03 +0000 Subject: [PATCH] Purely cosmetic change: order DT_REL* and DT_RELA* consistently. From projects/uefi, r246107 Sponsored by: The FreeBSD Foundation --- sys/boot/i386/efi/reloc.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sys/boot/i386/efi/reloc.c b/sys/boot/i386/efi/reloc.c index 22c6642e3bf..98bcf8e2d02 100644 --- a/sys/boot/i386/efi/reloc.c +++ b/sys/boot/i386/efi/reloc.c @@ -61,8 +61,8 @@ _reloc(unsigned long ImageBase, ElfW_Dyn *dynamic, EFI_HANDLE image_handle, relent = 0; for (dynp = dynamic; dynp->d_tag != DT_NULL; dynp++) { switch (dynp->d_tag) { - case DT_RELA: case DT_REL: + case DT_RELA: rel = (ElfW_Rel *) ((unsigned long) dynp->d_un.d_ptr + ImageBase); break;