BFD whitespace fixes
[deliverable/binutils-gdb.git] / bfd / elfxx-aarch64.c
index 10ee5fa99e7a11aa3805727db0a5a4931d411705..978534156ba0e02255662672f7be8dd0de8cde2c 100644 (file)
@@ -257,9 +257,9 @@ _bfd_aarch64_elf_put_addend (bfd *abfd,
     case BFD_RELOC_AARCH64_TLSLE_ADD_TPREL_LO12:
     case BFD_RELOC_AARCH64_TLSLE_ADD_TPREL_LO12_NC:
       /* Corresponds to: add rd, rn, #uimm12 to provide the low order
-         12 bits of the page offset following
-         BFD_RELOC_AARCH64_ADR_HI21_PCREL which computes the
-         (pc-relative) page base.  */
+        12 bits of the page offset following
+        BFD_RELOC_AARCH64_ADR_HI21_PCREL which computes the
+        (pc-relative) page base.  */
       contents = reencode_add_imm (contents, addend);
       break;
 
@@ -288,15 +288,15 @@ _bfd_aarch64_elf_put_addend (bfd *abfd,
       if (old_addend & ((1 << howto->rightshift) - 1))
        return bfd_reloc_overflow;
       /* Used for ldr*|str* rt, [rn, #uimm12] to provide the low order
-         12 bits of the page offset following BFD_RELOC_AARCH64_ADR_HI21_PCREL
-         which computes the (pc-relative) page base.  */
+        12 bits of the page offset following BFD_RELOC_AARCH64_ADR_HI21_PCREL
+        which computes the (pc-relative) page base.  */
       contents = reencode_ldst_pos_imm (contents, addend);
       break;
 
       /* Group relocations to create high bits of a 16, 32, 48 or 64
-         bit signed data or abs address inline. Will change
-         instruction to MOVN or MOVZ depending on sign of calculated
-         value.  */
+        bit signed data or abs address inline. Will change
+        instruction to MOVN or MOVZ depending on sign of calculated
+        value.  */
 
     case BFD_RELOC_AARCH64_MOVW_G0_S:
     case BFD_RELOC_AARCH64_MOVW_G1_S:
@@ -322,7 +322,7 @@ _bfd_aarch64_elf_put_addend (bfd *abfd,
       /* Fall through.  */
 
       /* Group relocations to create a 16, 32, 48 or 64 bit unsigned
-         data or abs address inline.  */
+        data or abs address inline.  */
 
     case BFD_RELOC_AARCH64_MOVW_G0:
     case BFD_RELOC_AARCH64_MOVW_G0_NC:
@@ -590,7 +590,7 @@ _bfd_aarch64_elf_grok_psinfo (bfd *abfd, Elf_Internal_Note *note)
     default:
       return FALSE;
 
-    case 136:        /* This is sizeof(struct elf_prpsinfo) on Linux/aarch64.  */
+    case 136:       /* This is sizeof(struct elf_prpsinfo) on Linux/aarch64.  */
       elf_tdata (abfd)->core->pid = bfd_get_32 (abfd, note->descdata + 24);
       elf_tdata (abfd)->core->program
        = _bfd_elfcore_strndup (abfd, note->descdata + 40, 16);
@@ -624,38 +624,38 @@ _bfd_aarch64_elf_write_core_note (bfd *abfd, char *buf, int *bufsiz, int note_ty
 
     case NT_PRPSINFO:
       {
-        char data[136];
-        va_list ap;
+       char data[136];
+       va_list ap;
 
-        va_start (ap, note_type);
-        memset (data, 0, sizeof (data));
-        strncpy (data + 40, va_arg (ap, const char *), 16);
-        strncpy (data + 56, va_arg (ap, const char *), 80);
-        va_end (ap);
+       va_start (ap, note_type);
+       memset (data, 0, sizeof (data));
+       strncpy (data + 40, va_arg (ap, const char *), 16);
+       strncpy (data + 56, va_arg (ap, const char *), 80);
+       va_end (ap);
 
-        return elfcore_write_note (abfd, buf, bufsiz, "CORE",
+       return elfcore_write_note (abfd, buf, bufsiz, "CORE",
                                   note_type, data, sizeof (data));
       }
 
     case NT_PRSTATUS:
       {
-        char data[392];
-        va_list ap;
-        long pid;
-        int cursig;
-        const void *greg;
-
-        va_start (ap, note_type);
-        memset (data, 0, sizeof (data));
-        pid = va_arg (ap, long);
-        bfd_put_32 (abfd, pid, data + 32);
-        cursig = va_arg (ap, int);
-        bfd_put_16 (abfd, cursig, data + 12);
-        greg = va_arg (ap, const void *);
-        memcpy (data + 112, greg, 272);
-        va_end (ap);
-
-        return elfcore_write_note (abfd, buf, bufsiz, "CORE",
+       char data[392];
+       va_list ap;
+       long pid;
+       int cursig;
+       const void *greg;
+
+       va_start (ap, note_type);
+       memset (data, 0, sizeof (data));
+       pid = va_arg (ap, long);
+       bfd_put_32 (abfd, pid, data + 32);
+       cursig = va_arg (ap, int);
+       bfd_put_16 (abfd, cursig, data + 12);
+       greg = va_arg (ap, const void *);
+       memcpy (data + 112, greg, 272);
+       va_end (ap);
+
+       return elfcore_write_note (abfd, buf, bufsiz, "CORE",
                                   note_type, data, sizeof (data));
       }
     }
This page took 0.029426 seconds and 4 git commands to generate.