BFD whitespace fixes
[deliverable/binutils-gdb.git] / bfd / hp300hpux.c
index 281b50fb1fbe1e1de6e3e697bfd19c6480873738..6d85af1165254c7d726df4032170bdc325d87959 100644 (file)
@@ -1,5 +1,5 @@
 /* BFD backend for hp-ux 9000/300
-   Copyright (C) 1990-2015 Free Software Foundation, Inc.
+   Copyright (C) 1990-2017 Free Software Foundation, Inc.
    Written by Glenn Engel.
 
    This file is part of BFD, the Binary File Descriptor library.
@@ -20,9 +20,9 @@
    MA 02110-1301, USA.  */
 
 
-/*  hpux native  ------------> |               |
-                               | hp300hpux bfd | ----------> hpux w/gnu ext
-    hpux w/gnu extension ----> |               |
+/*  hpux native         ------------> |               |
+                              | hp300hpux bfd | ----------> hpux w/gnu ext
+    hpux w/gnu extension ----> |              |
 
     Support for the 9000/[34]00 has several limitations.
       1. Shared libraries are not supported.
     code where a unique implementation is needed:
 
     {
-        #define a bunch of stuff
-        #include <aoutx.h>
+       #define a bunch of stuff
+       #include <aoutx.h>
 
-        implement a bunch of functions
+       implement a bunch of functions
 
-        #include "aout-target.h"
+       #include "aout-target.h"
     }
 
     The hp symbol table is a bit different than other a.out targets.  Instead
 
 #define HP_SYMTYPE_ALIGN       0x10
 #define HP_SYMTYPE_EXTERNAL    0x20
-#define HP_SECONDARY_SYMBOL     0x40
+#define HP_SECONDARY_SYMBOL    0x40
 
 /* RELOCATION DEFINITIONS */
 #define HP_RSEGMENT_TEXT       0x00
 #define HP_RSEGMENT_DATA       0x01
 #define HP_RSEGMENT_BSS                0x02
 #define HP_RSEGMENT_EXTERNAL   0x03
-#define HP_RSEGMENT_PCREL       0x04
-#define HP_RSEGMENT_RDLT        0x05
-#define HP_RSEGMENT_RPLT        0x06
+#define HP_RSEGMENT_PCREL      0x04
+#define HP_RSEGMENT_RDLT       0x05
+#define HP_RSEGMENT_RPLT       0x06
 #define HP_RSEGMENT_NOOP       0x3F
 
 #define HP_RLENGTH_BYTE                0x00
@@ -405,9 +405,9 @@ convert_sym_type (struct external_nlist *sym_pointer ATTRIBUTE_UNUSED,
              abort ();
            case N_UNDF | N_EXT:
              /* If the value is nonzero, then just treat this as a
-                 common symbol.  I don't know if this is correct in
-                 all cases, but it is more correct than treating it as
-                 a weak undefined symbol.  */
+                common symbol.  I don't know if this is correct in
+                all cases, but it is more correct than treating it as
+                a weak undefined symbol.  */
              if (cache_ptr->symbol.value == 0)
                new_type = N_WEAKU;
              break;
@@ -432,9 +432,9 @@ convert_sym_type (struct external_nlist *sym_pointer ATTRIBUTE_UNUSED,
 
 /*
 DESCRIPTION
-        Swaps the information in an executable header taken from a raw
-        byte stream memory image, into the internal exec_header
-        structure.
+       Swaps the information in an executable header taken from a raw
+       byte stream memory image, into the internal exec_header
+       structure.
 */
 
 void
@@ -463,7 +463,7 @@ NAME (aout,swap_exec_header_in) (bfd *abfd,
   /* check the header to see if it was generated by a bfd output */
   /* this is detected rather bizarrely by requiring a bunch of   */
   /* header fields to be zero and an old unused field (now used) */
-  /* to be set.                                                  */
+  /* to be set.                                                         */
   /***************************************************************/
   do
     {
@@ -602,7 +602,7 @@ MY (slurp_symbol_table) (bfd *abfd)
            /**************************************************************/
            /* the hp string is not null terminated so we create a new one*/
            /* by copying the string to overlap the just vacated nlist    */
-           /* structure before it in memory.                             */
+           /* structure before it in memory.                             */
            /**************************************************************/
            cache_ptr->symbol.name = strings;
            memcpy (strings, sym_pointer + 1, length);
@@ -692,7 +692,7 @@ MY (swap_std_reloc_in) (bfd *abfd,
     {
       /* The GNU linker assumes any offset from beginning of section */
       /* is already incorporated into the image while the HP linker  */
-      /* adds this in later.  Add it in now...                       */
+      /* adds this in later.  Add it in now...                      */
       MOVE_ADDRESS (-cache_ptr->address);
     }
   else
@@ -778,7 +778,7 @@ doit:
 /************************************************************************/
 /* The following functions are identical to functions in aoutx.h except */
 /* they refer to MY(func) rather than NAME(aout,func) and they also     */
-/* call aout_32 versions if the input file was generated by gcc         */
+/* call aout_32 versions if the input file was generated by gcc                */
 /************************************************************************/
 
 long aout_32_canonicalize_symtab  (bfd *, asymbol **);
This page took 0.034444 seconds and 4 git commands to generate.