Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 28 Nov 2013 19:41:03 +0000 (UTC)
From:      Ed Maste <emaste@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org
Subject:   svn commit: r258719 - head/sys/boot/i386/efi
Message-ID:  <201311281941.rASJf3mo076419@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
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;



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201311281941.rASJf3mo076419>