diff options
author | Cary Coutant <ccoutant@google.com> | 2011-09-18 15:06:28 +0000 |
---|---|---|
committer | Cary Coutant <ccoutant@google.com> | 2011-09-18 15:06:28 +0000 |
commit | aa06ae28f116b4f99f0e3cb158e8542adfb65697 (patch) | |
tree | fc5428ce93efb13056497204586c4b8959335720 /gold/incremental.h | |
parent | 3451853062d59da1ad23ecd872775ed22c8a0b85 (diff) | |
download | gdb-aa06ae28f116b4f99f0e3cb158e8542adfb65697.zip gdb-aa06ae28f116b4f99f0e3cb158e8542adfb65697.tar.gz gdb-aa06ae28f116b4f99f0e3cb158e8542adfb65697.tar.bz2 |
* incremental.cc (can_incremental_update): New function.
* incremental.h (can_incremental_update): New function.
* layout.cc (Layout::init_fixed_output_section): Call it.
(Layout::make_output_section): Don't allow patch space in .eh_frame.
* object.cc (Sized_relobj_file::do_layout): Call
can_incremental_update.
Diffstat (limited to 'gold/incremental.h')
-rw-r--r-- | gold/incremental.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/gold/incremental.h b/gold/incremental.h index 1e4d9f5..5d1ebda 100644 --- a/gold/incremental.h +++ b/gold/incremental.h @@ -81,6 +81,11 @@ enum Incremental_shlib_symbol_flags static const int INCREMENTAL_SHLIB_SYM_FLAGS_SHIFT = 30; +// Return TRUE if a section of type SH_TYPE will can be updated in place +// during an incremental update. +bool +can_incremental_update(unsigned int sh_type); + // Create an Incremental_binary object for FILE. Returns NULL is this is not // possible, e.g. FILE is not an ELF file or has an unsupported target. |