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;
_______________________________________________
[email protected] mailing list
http://lists.freebsd.org/mailman/listinfo/svn-src-head
To unsubscribe, send any mail to "[email protected]"

Reply via email to