aboutsummaryrefslogtreecommitdiff
path: root/bfd/ChangeLog
diff options
context:
space:
mode:
authorAlan Modra <amodra@gmail.com>2004-10-10 07:58:07 +0000
committerAlan Modra <amodra@gmail.com>2004-10-10 07:58:07 +0000
commitfda3ecf23f406d43dd2990a86ff16a2b0359471c (patch)
tree6a89ab2fe3119ab8eee1d47bfd6ff3344691ddc8 /bfd/ChangeLog
parent35f0d9373b87e2de55f69e33a641f56d7435c839 (diff)
downloadgdb-fda3ecf23f406d43dd2990a86ff16a2b0359471c.zip
gdb-fda3ecf23f406d43dd2990a86ff16a2b0359471c.tar.gz
gdb-fda3ecf23f406d43dd2990a86ff16a2b0359471c.tar.bz2
* elf-bfd.h (struct eh_cie_fde): Add cie_inf, remove sec.
(struct eh_frame_hdr_info): Add last_cie_inf, remove last_cie_offset. * elf-eh-frame.c (_bfd_elf_discard_section_eh_frame): Delete code setting offsets for removed CIEs. Don't set "sec", instead set cie_inf for FDEs. Keep a pointer to last struct eh_cie_fde for a CIE in hdr_info. Only set make_relative and make_lsda_relative for CIEs. Use pointers rather than array indices. (_bfd_elf_eh_frame_section_offset): Test/set make_relative, make_lsda_relative, need_* on cie_inf for FDEs. (_bfd_elf_write_section_eh_frame): Adjust offset and new_offset for section output_offset. Delete cie_offset, instead use cie_inf pointer to CIE entry. Use need_relative and need_lsda_relative on CIE entry for FDEs. Use pointers rather than array indices.
Diffstat (limited to 'bfd/ChangeLog')
-rw-r--r--bfd/ChangeLog20
1 files changed, 18 insertions, 2 deletions
diff --git a/bfd/ChangeLog b/bfd/ChangeLog
index 24b3c41..623eefa 100644
--- a/bfd/ChangeLog
+++ b/bfd/ChangeLog
@@ -1,3 +1,19 @@
+2004-10-10 Alan Modra <amodra@bigpond.net.au>
+
+ * elf-bfd.h (struct eh_cie_fde): Add cie_inf, remove sec.
+ (struct eh_frame_hdr_info): Add last_cie_inf, remove last_cie_offset.
+ * elf-eh-frame.c (_bfd_elf_discard_section_eh_frame): Delete code
+ setting offsets for removed CIEs. Don't set "sec", instead set
+ cie_inf for FDEs. Keep a pointer to last struct eh_cie_fde for a
+ CIE in hdr_info. Only set make_relative and make_lsda_relative
+ for CIEs. Use pointers rather than array indices.
+ (_bfd_elf_eh_frame_section_offset): Test/set make_relative,
+ make_lsda_relative, need_* on cie_inf for FDEs.
+ (_bfd_elf_write_section_eh_frame): Adjust offset and new_offset for
+ section output_offset. Delete cie_offset, instead use cie_inf
+ pointer to CIE entry. Use need_relative and need_lsda_relative on
+ CIE entry for FDEs. Use pointers rather than array indices.
+
2004-10-09 Alan Modra <amodra@bigpond.net.au>
* coff-rs6000.c (rs6000coff_vec): Add initializer for
@@ -167,7 +183,7 @@
literals. Pass is_abs_literal flag to init_source_reloc.
(is_resolvable_asm_expansion): Use bfd_get_section_limit. Check for
CONST16 instructions. Adjust calls to r_reloc_init and
- pcrel_reloc_fits. Handle weak symbols conservatively.
+ pcrel_reloc_fits. Handle weak symbols conservatively.
(find_associated_l32r_irel): Add bfd parameter and pass it to
is_l32r_relocation.
(compute_text_actions, compute_ebb_proposed_actions,
@@ -180,7 +196,7 @@
Call xtensa_read_table_entries to get the property table. Skip
relocations other than R_XTENSA_32 and R_XTENSA_PLT. Use new
is_removable_literal, remove_dead_literal, and
- identify_literal_placement functions.
+ identify_literal_placement functions.
(get_irel_at_offset): Rewrite to use bsearch on sorted relocations
instead of linear search.
(is_removable_literal, remove_dead_literal,