Author: kib
Date: Sun Sep 20 01:35:51 2015
New Revision: 288001
URL: https://svnweb.freebsd.org/changeset/base/288001

Log:
  Use tabs for indend.
  
  Sponsored by: The FreeBSD Foundation
  MFC after:    1 week

Modified:
  head/sys/powerpc/powerpc/elf32_machdep.c
  head/sys/powerpc/powerpc/elf64_machdep.c

Modified: head/sys/powerpc/powerpc/elf32_machdep.c
==============================================================================
--- head/sys/powerpc/powerpc/elf32_machdep.c    Sun Sep 20 01:27:59 2015        
(r288000)
+++ head/sys/powerpc/powerpc/elf32_machdep.c    Sun Sep 20 01:35:51 2015        
(r288001)
@@ -203,17 +203,17 @@ elf_reloc_internal(linker_file_t lf, Elf
 
        switch (rtype) {
 
-               case R_PPC_NONE:
-               break;
+       case R_PPC_NONE:
+               break;
 
        case R_PPC_ADDR32: /* word32 S + A */
                error = lookup(lf, symidx, 1, &addr);
                if (error != 0)
                        return -1;
                *where = elf_relocaddr(lf, addr + addend);
-               break;
+                       break;
 
-               case R_PPC_ADDR16_LO: /* #lo(S) */
+       case R_PPC_ADDR16_LO: /* #lo(S) */
                error = lookup(lf, symidx, 1, &addr);
                if (error != 0)
                        return -1;
@@ -240,17 +240,17 @@ elf_reloc_internal(linker_file_t lf, Elf
                if (addr > relocbase && addr <= (relocbase + addend))
                        addr = relocbase;
                addr = elf_relocaddr(lf, addr + addend);
-               *hwhere = ((addr >> 16) + ((addr & 0x8000) ? 1 : 0))
+               *hwhere = ((addr >> 16) + ((addr & 0x8000) ? 1 : 0))
                    & 0xffff;
                break;
 
        case R_PPC_RELATIVE: /* word32 B + A */
-                       *where = elf_relocaddr(lf, relocbase + addend);
-               break;
+               *where = elf_relocaddr(lf, relocbase + addend);
+               break;
 
        default:
-                       printf("kldload: unexpected relocation type %d\n",
-                   (int) rtype);
+               printf("kldload: unexpected relocation type %d\n",
+                   (int) rtype);
                return -1;
        }
        return(0);

Modified: head/sys/powerpc/powerpc/elf64_machdep.c
==============================================================================
--- head/sys/powerpc/powerpc/elf64_machdep.c    Sun Sep 20 01:27:59 2015        
(r288000)
+++ head/sys/powerpc/powerpc/elf64_machdep.c    Sun Sep 20 01:35:51 2015        
(r288001)
@@ -173,20 +173,20 @@ elf_reloc_internal(linker_file_t lf, Elf
 
        switch (rtype) {
 
-               case R_PPC_NONE:
-               break;
+       case R_PPC_NONE:
+               break;
 
        case R_PPC64_ADDR64:    /* doubleword64 S + A */
                error = lookup(lf, symidx, 1, &addr);
                if (error != 0)
                        return -1;
                addr += addend;
-               *where = addr;
-               break;
+               *where = addr;
+               break;
 
        case R_PPC_RELATIVE:    /* doubleword64 B + A */
-                       *where = elf_relocaddr(lf, relocbase + addend);
-               break;
+               *where = elf_relocaddr(lf, relocbase + addend);
+               break;
 
        case R_PPC_JMP_SLOT:    /* function descriptor copy */
                lookup(lf, symidx, 1, &addr);
@@ -195,8 +195,8 @@ elf_reloc_internal(linker_file_t lf, Elf
                break;
 
        default:
-                       printf("kldload: unexpected relocation type %d\n",
-                   (int) rtype);
+               printf("kldload: unexpected relocation type %d\n",
+                   (int) rtype);
                return -1;
        }
        return(0);
_______________________________________________
svn-src-head@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/svn-src-head
To unsubscribe, send any mail to "svn-src-head-unsubscr...@freebsd.org"

Reply via email to