diff options
author | Ian Lance Taylor <ian@airs.com> | 1995-10-05 17:48:32 +0000 |
---|---|---|
committer | Ian Lance Taylor <ian@airs.com> | 1995-10-05 17:48:32 +0000 |
commit | aca736871c2567ee38bd285afdff62d6339790e4 (patch) | |
tree | c985ff5eac4c2120cf4818d4a1a42698120ec980 /gdb/remote-utils.c | |
parent | 90ce63bb0e3d8e855bcffd8ecf9adca4a3b2cd6e (diff) | |
download | gdb-aca736871c2567ee38bd285afdff62d6339790e4.zip gdb-aca736871c2567ee38bd285afdff62d6339790e4.tar.gz gdb-aca736871c2567ee38bd285afdff62d6339790e4.tar.bz2 |
* libecoff.h (struct ecoff_backend_data): Add adjust_headers
field.
* ecoff.c (ecoff_sec_to_styp_flags): Check for various Alpha
sections, and set styp correctly for them: .got, .hash, .dynamic,
.liblist, .rel.dyn, .conflic, .dynstr, .dynsym, .comment.
(_bfd_ecoff_styp_to_sec_flags): Check for various Alpha section
types.
(ecoff_sort_hdrs): New static function.
(ecoff_compute_section_file_positions): Return boolean, not void.
Sort the sections by VMA before looking through them. Put the
first non SEC_ALLOC section on a new page. Put every SEC_ALLOC
section on an appropriate boundary within the page.
(ecoff_compute_reloc_file_positions): Check return value of
ecoff_compute_section_file_positions.
(_bfd_ecoff_set_section_contents): Likewise.
(_bfd_ecoff_write_object_contents): Check for various Alpha
section types when incrementing text_size and data_size. Call
adjust_headers backend function if it exists.
* coff-alpha.c (alpha_adjust_headers): New static function.
(alpha_ecoff_backend_data): Initialize adjust_headers field.
* coff-mips.c (mips_ecoff_backend_data): Likewise.
PR 8141.
Diffstat (limited to 'gdb/remote-utils.c')
0 files changed, 0 insertions, 0 deletions