aboutsummaryrefslogtreecommitdiff
path: root/bfd/bfd-in.h
diff options
context:
space:
mode:
authorIan Lance Taylor <ian@airs.com>1995-10-16 23:10:56 +0000
committerIan Lance Taylor <ian@airs.com>1995-10-16 23:10:56 +0000
commit54406786f038c753b797ec273b41ec7ebccb3024 (patch)
treedfda242430e8fe94932660cff66df5284ee4e591 /bfd/bfd-in.h
parentdd98464413499735dfcc43c77b6ef5f9d0c51a51 (diff)
downloadgdb-54406786f038c753b797ec273b41ec7ebccb3024.zip
gdb-54406786f038c753b797ec273b41ec7ebccb3024.tar.gz
gdb-54406786f038c753b797ec273b41ec7ebccb3024.tar.bz2
* bfd-in.h (struct bfd_link_needed_list): Rename from
bfd_elf_link_needed_list. * bfd-in2.h: Rebuild. * elf.c, elflink.h, libelf.h: Corresponding changes.
Diffstat (limited to 'bfd/bfd-in.h')
-rw-r--r--bfd/bfd-in.h20
1 files changed, 13 insertions, 7 deletions
diff --git a/bfd/bfd-in.h b/bfd/bfd-in.h
index afb907f..c20fb16 100644
--- a/bfd/bfd-in.h
+++ b/bfd/bfd-in.h
@@ -88,6 +88,11 @@ typedef struct _bfd bfd;
#if defined (__GNUG__) && (__GNUC_MINOR__ > 5)
#define TRUE_FALSE_ALREADY_DEFINED
#endif
+#ifdef MPW
+/* Pre-emptive strike - get the file with the enum. */
+#include <Types.h>
+#define TRUE_FALSE_ALREADY_DEFINED
+#endif /* MPW */
#ifndef TRUE_FALSE_ALREADY_DEFINED
typedef enum bfd_boolean {false, true} boolean;
#define BFD_TRUE_FALSE
@@ -558,17 +563,18 @@ extern boolean bfd_mips_ecoff_create_embedded_relocs
/* Externally visible ELF routines. */
-extern boolean bfd_elf32_record_link_assignment
- PARAMS ((bfd *, struct bfd_link_info *, const char *, boolean));
-extern boolean bfd_elf64_record_link_assignment
- PARAMS ((bfd *, struct bfd_link_info *, const char *, boolean));
-struct bfd_elf_link_needed_list
+struct bfd_link_needed_list
{
- struct bfd_elf_link_needed_list *next;
+ struct bfd_link_needed_list *next;
bfd *by;
const char *name;
};
-extern struct bfd_elf_link_needed_list *bfd_elf_get_needed_list
+
+extern boolean bfd_elf32_record_link_assignment
+ PARAMS ((bfd *, struct bfd_link_info *, const char *, boolean));
+extern boolean bfd_elf64_record_link_assignment
+ PARAMS ((bfd *, struct bfd_link_info *, const char *, boolean));
+extern struct bfd_link_needed_list *bfd_elf_get_needed_list
PARAMS ((bfd *, struct bfd_link_info *));
extern boolean bfd_elf32_size_dynamic_sections
PARAMS ((bfd *, const char *, const char *, boolean,