diff options
author | Ian Lance Taylor <ian@airs.com> | 1994-08-15 16:26:06 +0000 |
---|---|---|
committer | Ian Lance Taylor <ian@airs.com> | 1994-08-15 16:26:06 +0000 |
commit | e8fbe6d9249ba4c01d42e7c1d20bd5b9e7091e66 (patch) | |
tree | 078b6b973cd1cc079597f57c724841585c332205 /bfd/libecoff.h | |
parent | 7de5c5e275a6eedce5a17fa8c6ee619ccf0df951 (diff) | |
download | gdb-e8fbe6d9249ba4c01d42e7c1d20bd5b9e7091e66.zip gdb-e8fbe6d9249ba4c01d42e7c1d20bd5b9e7091e66.tar.gz gdb-e8fbe6d9249ba4c01d42e7c1d20bd5b9e7091e66.tar.bz2 |
* coffcode.h (styp_to_sec_flags): Add name argument. If no flags
are recognized, chose section flags based on the name.
(bfd_coff_backend_data): _bfd_styp_to_sec_flags_hook field: Add
name argument.
(bfd_coff_styp_to_sec_flags_hook): Add name argument.
(coff_compute_section_file_positions): Don't adjust the section
position by COFF_PAGE_SIZE unless SEC_ALLOC is set.
* libcoff.h: Rebuilt.
* coffgen.c (make_a_section_from_file): Pass section name to
bfd_coff_styp_to_sec_flags_hook.
* ecoff.c (_bfd_ecoff_styp_to_sec_flags): Add unused name
argument.
* libecoff.h (_bfd_ecoff_styp_to_sec_flags): Add name argument to
prototype.
Diffstat (limited to 'bfd/libecoff.h')
-rw-r--r-- | bfd/libecoff.h | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/bfd/libecoff.h b/bfd/libecoff.h index 3ff4789..a6b8777 100644 --- a/bfd/libecoff.h +++ b/bfd/libecoff.h @@ -229,7 +229,7 @@ extern boolean _bfd_ecoff_slurp_symbolic_info /* Generic ECOFF BFD backend vectors. */ extern boolean _bfd_ecoff_write_object_contents PARAMS ((bfd *abfd)); -extern bfd_target *_bfd_ecoff_archive_p PARAMS ((bfd *abfd)); +extern const bfd_target *_bfd_ecoff_archive_p PARAMS ((bfd *abfd)); #define _bfd_ecoff_close_and_cleanup _bfd_generic_close_and_cleanup #define _bfd_ecoff_bfd_free_cached_info _bfd_generic_bfd_free_cached_info @@ -293,5 +293,6 @@ extern asection *_bfd_ecoff_make_section_hook PARAMS ((bfd *abfd, char *name)); #define _bfd_ecoff_set_alignment_hook \ ((void (*) PARAMS ((bfd *, asection *, PTR))) bfd_void) extern boolean _bfd_ecoff_set_arch_mach_hook PARAMS ((bfd *abfd, PTR filehdr)); -extern flagword _bfd_ecoff_styp_to_sec_flags PARAMS ((bfd *abfd, PTR hdr)); +extern flagword _bfd_ecoff_styp_to_sec_flags + PARAMS ((bfd *abfd, PTR hdr, const char *name)); extern boolean _bfd_ecoff_slurp_symbol_table PARAMS ((bfd *abfd)); |