* coffcode.h (styp_to_sec_flags): Add name argument. If no flags
authorIan Lance Taylor <ian@airs.com>
Mon, 15 Aug 1994 16:26:06 +0000 (16:26 +0000)
committerIan Lance Taylor <ian@airs.com>
Mon, 15 Aug 1994 16:26:06 +0000 (16:26 +0000)
commite8fbe6d9249ba4c01d42e7c1d20bd5b9e7091e66
tree078b6b973cd1cc079597f57c724841585c332205
parent7de5c5e275a6eedce5a17fa8c6ee619ccf0df951
* 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.
bfd/ChangeLog
bfd/coffcode.h
bfd/coffgen.c
bfd/libcoff.h
bfd/libecoff.h