mirror of
https://github.com/espressif/binutils-gdb.git
synced 2025-06-23 11:39:26 +08:00
* 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.
This commit is contained in:
@ -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.
|
||||
|
||||
|
Reference in New Issue
Block a user