diff options
Diffstat (limited to 'bfd/hp300hpux.c')
-rw-r--r-- | bfd/hp300hpux.c | 42 |
1 files changed, 21 insertions, 21 deletions
diff --git a/bfd/hp300hpux.c b/bfd/hp300hpux.c index 5dabdf0..6d85af1 100644 --- a/bfd/hp300hpux.c +++ b/bfd/hp300hpux.c @@ -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. @@ -52,12 +52,12 @@ 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 @@ -168,16 +168,16 @@ #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 **); |