aboutsummaryrefslogtreecommitdiff
path: root/bfd
diff options
context:
space:
mode:
authorH.J. Lu <hjl.tools@gmail.com>2001-05-25 06:29:21 +0000
committerH.J. Lu <hjl.tools@gmail.com>2001-05-25 06:29:21 +0000
commitf34d8777ddf046a9ea09dc3b43645971d3ff34e5 (patch)
tree12aa31eb2b4bcbcd5d1e750a6cc9b86c7c20aad1 /bfd
parent6cbdcc6fa9bd4c0db0e1843f815938cfb691616d (diff)
downloadgdb-f34d8777ddf046a9ea09dc3b43645971d3ff34e5.zip
gdb-f34d8777ddf046a9ea09dc3b43645971d3ff34e5.tar.gz
gdb-f34d8777ddf046a9ea09dc3b43645971d3ff34e5.tar.bz2
2001-05-25 H.J. Lu <hjl@gnu.org>
* bfd-in2.h: Regenerated. * libcoff.h: Likewise.
Diffstat (limited to 'bfd')
-rw-r--r--bfd/ChangeLog5
-rw-r--r--bfd/bfd-in2.h2
-rw-r--r--bfd/libcoff.h22
3 files changed, 26 insertions, 3 deletions
diff --git a/bfd/ChangeLog b/bfd/ChangeLog
index 388810b..3e00b22 100644
--- a/bfd/ChangeLog
+++ b/bfd/ChangeLog
@@ -1,3 +1,8 @@
+2001-05-25 H.J. Lu <hjl@gnu.org>
+
+ * bfd-in2.h: Regenerated.
+ * libcoff.h: Likewise.
+
2001-05-25 Alan Modra <amodra@one.net.au>
* elf32-hppa.c (elf32_hppa_relocate_section): Don't allow
diff --git a/bfd/bfd-in2.h b/bfd/bfd-in2.h
index 2370fc8..7fca406 100644
--- a/bfd/bfd-in2.h
+++ b/bfd/bfd-in2.h
@@ -298,7 +298,7 @@ typedef struct lineno_cache_entry {
unsigned int line_number; /* Linenumber from start of function*/
union {
struct symbol_cache_entry *sym; /* Function name */
- unsigned long offset; /* Offset into section */
+ bfd_vma offset; /* Offset into section */
} u;
} alent;
diff --git a/bfd/libcoff.h b/bfd/libcoff.h
index b7ed966..34fed2d 100644
--- a/bfd/libcoff.h
+++ b/bfd/libcoff.h
@@ -163,10 +163,10 @@ struct xcoff_tdata
short cputype;
/* maxdata from optional header. */
- bfd_size_type maxdata;
+ bfd_vma maxdata;
/* maxstack from optional header. */
- bfd_size_type maxstack;
+ bfd_vma maxstack;
/* Used by the XCOFF backend linker. */
asection **csects;
@@ -557,6 +557,24 @@ extern boolean _bfd_coff_reloc_link_order
#define coff_get_section_contents_in_window \
_bfd_generic_get_section_contents_in_window
+/* Functions in xcofflink.c. */
+
+extern long _bfd_xcoff_get_dynamic_symtab_upper_bound PARAMS ((bfd *));
+extern long _bfd_xcoff_canonicalize_dynamic_symtab
+ PARAMS ((bfd *, asymbol **));
+extern long _bfd_xcoff_get_dynamic_reloc_upper_bound PARAMS ((bfd *));
+extern long _bfd_xcoff_canonicalize_dynamic_reloc
+ PARAMS ((bfd *, arelent **, asymbol **));
+extern struct bfd_link_hash_table *_bfd_xcoff_bfd_link_hash_table_create
+ PARAMS ((bfd *));
+extern boolean _bfd_xcoff_bfd_link_add_symbols
+ PARAMS ((bfd *, struct bfd_link_info *));
+extern boolean _bfd_xcoff_bfd_final_link
+ PARAMS ((bfd *, struct bfd_link_info *));
+extern boolean _bfd_ppc_xcoff_relocate_section
+ PARAMS ((bfd *, struct bfd_link_info *, bfd *, asection *, bfd_byte *,
+ struct internal_reloc *, struct internal_syment *, asection **));
+
/* Functions in coff-ppc.c. FIXME: These are called be pe.em in the
linker, and so should start with bfd and be declared in bfd.h. */