aboutsummaryrefslogtreecommitdiff
path: root/bfd/libcoff-in.h
diff options
context:
space:
mode:
authorKen Raeburn <raeburn@cygnus>1995-11-06 10:08:03 +0000
committerKen Raeburn <raeburn@cygnus>1995-11-06 10:08:03 +0000
commit4fe6d901bd49996a77c84ab710918c94e84e9a23 (patch)
treeefb4a153d072284395fe4dc4d61d88ca61e17782 /bfd/libcoff-in.h
parentffacb892eba97f8eb3019ee236fc8ea7e1825718 (diff)
downloadgdb-4fe6d901bd49996a77c84ab710918c94e84e9a23.zip
gdb-4fe6d901bd49996a77c84ab710918c94e84e9a23.tar.gz
gdb-4fe6d901bd49996a77c84ab710918c94e84e9a23.tar.bz2
Changes for mmap; details in change log.
Added some new interfaces, and a new entry in the target vector. Under the new interfaces, mmap will be used if available, otherwise malloc/seek/read, as before. Old interfaces all still intact. Most configurations (including all used by "--enable-targets=all") simply changed to call the default routine for that entry in the target vector. I might've missed some targets only included in special configurations. Support for a.out symbol and string table reading now goes through new interfaces, and will use mmap when available. Linker hooks (e.g., avoiding reallocation under malloc) not ready yet.
Diffstat (limited to 'bfd/libcoff-in.h')
-rw-r--r--bfd/libcoff-in.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/bfd/libcoff-in.h b/bfd/libcoff-in.h
index 7b818aa..1c90879 100644
--- a/bfd/libcoff-in.h
+++ b/bfd/libcoff-in.h
@@ -314,6 +314,9 @@ extern boolean _bfd_coff_generic_relocate_section
PARAMS ((bfd *, struct bfd_link_info *, bfd *, asection *, bfd_byte *,
struct internal_reloc *, struct internal_syment *, asection **));
+#define coff_get_section_contents_in_window \
+ _bfd_generic_get_section_contents_in_window
+
/* Functions in xcofflink.c. */
extern struct bfd_link_hash_table *_bfd_xcoff_bfd_link_hash_table_create