aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--bfd/ChangeLog5
-rw-r--r--bfd/seclet.h15
-rw-r--r--bfd/section.c4
-rw-r--r--bfd/targets.c14
4 files changed, 26 insertions, 12 deletions
diff --git a/bfd/ChangeLog b/bfd/ChangeLog
index 909ca0a..6f35d78 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 0629589..de5fdff 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 0e5e304..a5b5164 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 8f29553..2b31886 100644
--- a/bfd/targets.c
+++ b/bfd/targets.c
@@ -166,6 +166,11 @@ the set <<SEC_NO_FLAGS>>, <<SEC_ALLOC>>, ...<<SET_NEVER_LOAD>>.
. 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++)