aboutsummaryrefslogtreecommitdiff
path: root/bfd/elf-bfd.h
diff options
context:
space:
mode:
authorAlan Modra <amodra@gmail.com>2004-10-10 13:02:01 +0000
committerAlan Modra <amodra@gmail.com>2004-10-10 13:02:01 +0000
commit3472e2e9990e20e2ab0b3326ee7a4c87acd3d715 (patch)
treeb861c94fb0d4b6e29a46cbeca4440110687cd061 /bfd/elf-bfd.h
parentfda3ecf23f406d43dd2990a86ff16a2b0359471c (diff)
downloadgdb-3472e2e9990e20e2ab0b3326ee7a4c87acd3d715.zip
gdb-3472e2e9990e20e2ab0b3326ee7a4c87acd3d715.tar.gz
gdb-3472e2e9990e20e2ab0b3326ee7a4c87acd3d715.tar.bz2
* elf-bfd.h (struct eh_frame_hdr_info): Add offsets_adjusted.
* elf-eh-frame.c (_bfd_elf_write_section_eh_frame): Adjust offsets stored in struct eh_cie_fde entries before doing other work.
Diffstat (limited to 'bfd/elf-bfd.h')
-rw-r--r--bfd/elf-bfd.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/bfd/elf-bfd.h b/bfd/elf-bfd.h
index f9b1b4a..f452d3b 100644
--- a/bfd/elf-bfd.h
+++ b/bfd/elf-bfd.h
@@ -328,6 +328,7 @@ struct eh_frame_hdr_info
We build it if we successfully read all .eh_frame input sections
and recognize them. */
bfd_boolean table;
+ bfd_boolean offsets_adjusted;
};
/* ELF linker hash table. */
@@ -1259,7 +1260,7 @@ struct elf_obj_tdata
unsigned int cverrefs;
/* Segment flags for the PT_GNU_STACK segment. */
- unsigned int stack_flags;
+ unsigned int stack_flags;
/* Should the PT_GNU_RELRO segment be emitted? */
bfd_boolean relro;