svn commit: r258719 - head/sys/boot/i386/efi

Ed Maste emaste at FreeBSD.org
Thu Nov 28 19:41:04 UTC 2013


Author: emaste
Date: Thu Nov 28 19:41:03 2013
New Revision: 258719
URL: http://svnweb.freebsd.org/changeset/base/258719

Log:
  Purely cosmetic change: order DT_REL* and DT_RELA* consistently.
  
  From projects/uefi, r246107
  
  Sponsored by:	The FreeBSD Foundation

Modified:
  head/sys/boot/i386/efi/reloc.c

Modified: head/sys/boot/i386/efi/reloc.c
==============================================================================
--- head/sys/boot/i386/efi/reloc.c	Thu Nov 28 19:40:33 2013	(r258718)
+++ head/sys/boot/i386/efi/reloc.c	Thu Nov 28 19:41:03 2013	(r258719)
@@ -61,8 +61,8 @@ _reloc(unsigned long ImageBase, ElfW_Dyn
 	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;


More information about the svn-src-head mailing list