aboutsummaryrefslogtreecommitdiff
path: root/bfd/elf-bfd.h
diff options
context:
space:
mode:
authorAlan Modra <amodra@gmail.com>2004-10-01 00:51:37 +0000
committerAlan Modra <amodra@gmail.com>2004-10-01 00:51:37 +0000
commit8935b81f1f49a0a8db4674b70a4b5d46ecd00b28 (patch)
tree2e8c100be399b0ee3de71d2aac000e4606f7bde9 /bfd/elf-bfd.h
parent2de118d36ef736f2ff022dafc3fd7fc8de4407ce (diff)
downloadgdb-8935b81f1f49a0a8db4674b70a4b5d46ecd00b28.zip
gdb-8935b81f1f49a0a8db4674b70a4b5d46ecd00b28.tar.gz
gdb-8935b81f1f49a0a8db4674b70a4b5d46ecd00b28.tar.bz2
* elf-bfd.h (struct eh_cie_fde): Add need_relative and
need_lsda_relative. * elf-eh-frame.c (_bfd_elf_eh_frame_section_offset): Set need_relative or need_lsda_relative if we are processing an offset for a reloc on a FDE initial loc or LSDA field respectively. (_bfd_elf_write_section_eh_frame): Test need_relative and need_lsda_relative in place of corresponding make_* field when deciding to use pc-relative encodings.
Diffstat (limited to 'bfd/elf-bfd.h')
-rw-r--r--bfd/elf-bfd.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/bfd/elf-bfd.h b/bfd/elf-bfd.h
index 8a1b6da..bfee05d 100644
--- a/bfd/elf-bfd.h
+++ b/bfd/elf-bfd.h
@@ -297,6 +297,8 @@ struct eh_cie_fde
unsigned int removed : 1;
unsigned int make_relative : 1;
unsigned int make_lsda_relative : 1;
+ unsigned int need_relative : 1;
+ unsigned int need_lsda_relative : 1;
unsigned int per_encoding_relative : 1;
};