From: John Gilmore Date: Thu, 5 Nov 1992 13:17:38 +0000 (+0000) Subject: * bfd-in.h, bfd.c, libbfd.h, reloc.c, seclet.h, section.c, X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=990e7c22971ee8c6cf0cfa3d40c7ede9a46aecd5;p=binutils-gdb.git * bfd-in.h, bfd.c, libbfd.h, reloc.c, seclet.h, section.c, targets.c: Rename struct bfd_seclet_struct to struct bfd_seclet. --- diff --git a/bfd/ChangeLog b/bfd/ChangeLog index 909ca0a81c0..6f35d78ae41 100644 --- a/bfd/ChangeLog +++ b/bfd/ChangeLog @@ -1,3 +1,8 @@ +Thu Nov 5 04:43:09 1992 John Gilmore (gnu@cygnus.com) + + * bfd-in.h, bfd.c, libbfd.h, reloc.c, seclet.h, section.c, + targets.c: Rename struct bfd_seclet_struct to struct bfd_seclet. + Thu Nov 5 02:59:09 1992 John Gilmore (gnu@cygnus.com) Cleanup: Replace all uses of EXFUN in the BFD sources, with PARAMS. diff --git a/bfd/seclet.h b/bfd/seclet.h index 06295895d0f..de5fdff0bb1 100644 --- a/bfd/seclet.h +++ b/bfd/seclet.h @@ -21,17 +21,16 @@ Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. */ #ifndef _SECLET_H #define _SECLET_H -typedef enum bfd_seclet_enum +enum bfd_seclet_enum { bfd_indirect_seclet, bfd_fill_seclet -} bfd_seclet_enum_type; - +}; -struct bfd_seclet_struct +struct bfd_seclet { - struct bfd_seclet_struct *next; - bfd_seclet_enum_type type; + struct bfd_seclet *next; + enum bfd_seclet_enum type; unsigned int offset; unsigned int size; union @@ -48,9 +47,9 @@ struct bfd_seclet_struct u; }; -typedef struct bfd_seclet_struct bfd_seclet_type; +typedef struct bfd_seclet bfd_seclet_type; bfd_seclet_type * -bfd_new_seclet PARAMS ((bfd*, asection*)); +bfd_new_seclet PARAMS ((bfd *, asection *)); #endif diff --git a/bfd/section.c b/bfd/section.c index 0e5e3048557..a5b51640f43 100644 --- a/bfd/section.c +++ b/bfd/section.c @@ -340,8 +340,8 @@ CODE_FRAGMENT . {* A symbol which points at this section only *} . struct symbol_cache_entry *symbol; . struct symbol_cache_entry **symbol_ptr_ptr; -. struct bfd_seclet_struct *seclets_head; -. struct bfd_seclet_struct *seclets_tail; +. struct bfd_seclet *seclets_head; +. struct bfd_seclet *seclets_tail; .} asection ; . . diff --git a/bfd/targets.c b/bfd/targets.c index 8f295536554..2b3188663aa 100644 --- a/bfd/targets.c +++ b/bfd/targets.c @@ -166,6 +166,11 @@ the set <>, <>, ...<>. . flagword section_flags; +The character normally found at the front of a symbol +(if any), perhaps _. + +. char symbol_leading_char; + The pad character for filenames within an archive header. . char ar_pad_char; @@ -273,7 +278,7 @@ Symbols and relocations . SDEF (void, _bfd_debug_info_start, (bfd *)); . SDEF (void, _bfd_debug_info_end, (bfd *)); . SDEF (void, _bfd_debug_info_accumulate, (bfd *, struct sec *)); -. SDEF (bfd_byte *, _bfd_get_relocated_section_contents, (bfd*,struct bfd_seclet_struct *, bfd_byte *data)); +. SDEF (bfd_byte *, _bfd_get_relocated_section_contents, (bfd*,struct bfd_seclet *, bfd_byte *data)); . SDEF (boolean,_bfd_relax_section,(bfd *, struct sec *, struct symbol_cache_entry **)); Special entry points for gdb to swap in coff symbol table parts @@ -545,7 +550,12 @@ CONST char ** DEFUN_VOID(bfd_target_list) { int vec_length= 0; - bfd_target **target; +#ifdef NATIVE_HPPAHPUX_COMPILER + /* The native compiler on the HP9000/700 has a bug which causes it + to loop endlessly when compiling this file. This avoids it. */ + volatile +#endif + bfd_target **target; CONST char **name_list, **name_ptr; for (target = &target_vector[0]; *target != NULL; target++)