diff options
author | Jakub Jelinek <jakub@redhat.com> | 2006-10-03 13:15:39 +0000 |
---|---|---|
committer | Jakub Jelinek <jakub@redhat.com> | 2006-10-03 13:15:39 +0000 |
commit | 61c67cfa70cea3def5ac3bc2bdcc8e698a3b0bc1 (patch) | |
tree | 679d60e83b839747d3f0d3d2bd75fc4018953077 /bfd/elf-bfd.h | |
parent | 58f6f9070cd17ebac1eb97f7ffcc077320a09249 (diff) | |
download | gdb-61c67cfa70cea3def5ac3bc2bdcc8e698a3b0bc1.tar.gz |
* elf-bfd.h (struct eh_cie_fde): Add set_loc pointer.
* elf-eh-frame.c (skip_cfa_op): Fix handling of DW_CFA_advance_loc.
Handle DW_CFA_{remember,restore}_state, DW_CFA_GNU_window_save,
DW_CFA_val_{offset{,_sf},expression}.
(skip_non_nops): Record number of DW_CFA_set_loc ops.
(_bfd_elf_discard_section_eh_frame): Require skip_non_nops recognizes
all ops. If there are any DW_CFA_set_loc ops and they are pcrel
or going to be pcrel, compute set_loc array.
(_bfd_elf_eh_frame_section_offset): If make_relative, kill relocations
against DW_CFA_set_loc operands.
(_bfd_elf_write_section_eh_frame): Handle DW_CFA_set_loc adjusting.
* ld-elf/eh4.d: New test.
* ld-elf/eh4.s: New file.
* ld-elf/eh4a.s: New file.
Diffstat (limited to 'bfd/elf-bfd.h')
-rw-r--r-- | bfd/elf-bfd.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/bfd/elf-bfd.h b/bfd/elf-bfd.h index d2c6b8e4a02..1e541daef12 100644 --- a/bfd/elf-bfd.h +++ b/bfd/elf-bfd.h @@ -304,6 +304,7 @@ struct eh_cie_fde unsigned int make_lsda_relative : 1; unsigned int need_lsda_relative : 1; unsigned int per_encoding_relative : 1; + unsigned int *set_loc; }; struct eh_frame_sec_info |