diff options
author | Ken Raeburn <raeburn@cygnus> | 1995-11-06 10:08:03 +0000 |
---|---|---|
committer | Ken Raeburn <raeburn@cygnus> | 1995-11-06 10:08:03 +0000 |
commit | 4fe6d901bd49996a77c84ab710918c94e84e9a23 (patch) | |
tree | efb4a153d072284395fe4dc4d61d88ca61e17782 /bfd/libcoff.h | |
parent | ffacb892eba97f8eb3019ee236fc8ea7e1825718 (diff) | |
download | gdb-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.h')
-rw-r--r-- | bfd/libcoff.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/bfd/libcoff.h b/bfd/libcoff.h index f75c42b..69f2377 100644 --- a/bfd/libcoff.h +++ b/bfd/libcoff.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 |