From 3fde5a36df2955b5a443e8da6f30fdf3b3b2769e Mon Sep 17 00:00:00 2001 From: Kazu Hirata Date: Tue, 23 Jan 2001 20:27:54 +0000 Subject: 2001-01-23 Kazu Hirata * aoutx.h: Fix formatting. * bfd.c: Likewise. * bfd-in2.h: Likewise. * bfd-in.h: Likewise. * cpu-i386.c: Likewise. * cpu-m68hc11.c: Likewise. * dwarf2.c: Likewise. * elf64-x86-64.c: Likewise. * format.c: Likewise. * freebsd.h: Likewise. * hash.c: Likewise. * hp300hpux.c: Likewise. * hppabsd-core.c: Likewise. * hpux-core.c: Likewise. --- bfd/hp300hpux.c | 14 -------------- 1 file changed, 14 deletions(-) (limited to 'bfd/hp300hpux.c') diff --git a/bfd/hp300hpux.c b/bfd/hp300hpux.c index 46bfea0..b692082 100644 --- a/bfd/hp300hpux.c +++ b/bfd/hp300hpux.c @@ -24,7 +24,6 @@ Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */ | 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. 2. The output format from this bfd is not usable by native tools. @@ -238,7 +237,6 @@ MY (callback) (abfd) bfd_default_set_arch_mach (abfd, DEFAULT_ARCH, 0); #endif - if (obj_aout_subformat (abfd) == gnu_encap_format) { /* The file offsets of the relocation info */ @@ -419,7 +417,6 @@ convert_sym_type (sym_pointer, cache_ptr, abfd) } - /* DESCRIPTION Swaps the information in an executable header taken from a raw @@ -485,7 +482,6 @@ NAME (aout,swap_exec_header_in) (abfd, raw_bytes, execp) while (0); } - /* The hp symbol table is a bit different than other a.out targets. Instead of having an array of nlist items and an array of strings, hp's format has them mixed together in one structure. In addition, the strings are @@ -538,7 +534,6 @@ MY (slurp_symbol_table) (abfd) return false; } - sym_end = (struct external_nlist *) (((char *) syms) + symbol_bytes); /* first, march thru the table and figure out how many symbols there are */ @@ -615,8 +610,6 @@ MY (slurp_symbol_table) (abfd) return true; } - - void MY (swap_std_reloc_in) (abfd, bytes, cache_ptr, symbols, symcount) bfd *abfd; @@ -739,7 +732,6 @@ doit: count = reloc_size / each_size; - reloc_cache = (arelent *) bfd_zalloc (abfd, (size_t) (count * sizeof (arelent))); if (!reloc_cache && count != 0) @@ -769,14 +761,12 @@ doit: bfd_get_symcount (abfd)); } - bfd_release (abfd, relocs); asect->relocation = reloc_cache; asect->reloc_count = count; return true; } - /************************************************************************/ /* The following functions are identical to functions in aoutx.h except */ /* they refer to MY(func) rather than NAME(aout,func) and they also */ @@ -822,9 +812,6 @@ MY (get_symtab_upper_bound) (abfd) return (bfd_get_symcount (abfd) + 1) * (sizeof (aout_symbol_type *)); } - - - long MY (canonicalize_reloc) (abfd, section, relptr, symbols) bfd *abfd; @@ -863,5 +850,4 @@ MY (canonicalize_reloc) (abfd, section, relptr, symbols) return section->reloc_count; } - #include "aout-target.h" -- cgit v1.1