Line 79... |
Line 79... |
INCREMENTAL_SHLIB_SYM_COPY = 3
|
INCREMENTAL_SHLIB_SYM_COPY = 3
|
};
|
};
|
|
|
static const int INCREMENTAL_SHLIB_SYM_FLAGS_SHIFT = 30;
|
static const int INCREMENTAL_SHLIB_SYM_FLAGS_SHIFT = 30;
|
|
|
|
// Return TRUE if a section of type SH_TYPE 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
|
// 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.
|
// possible, e.g. FILE is not an ELF file or has an unsupported target.
|
|
|
Incremental_binary*
|
Incremental_binary*
|
open_incremental_binary(Output_file* file);
|
open_incremental_binary(Output_file* file);
|
Line 1989... |
Line 1994... |
unsigned int local_symbol_offset_;
|
unsigned int local_symbol_offset_;
|
// The file offset for local symbols in the output symbol table.
|
// The file offset for local symbols in the output symbol table.
|
unsigned int local_dynsym_offset_;
|
unsigned int local_dynsym_offset_;
|
// The entries in the symbol table for the external symbols.
|
// The entries in the symbol table for the external symbols.
|
Symbols symbols_;
|
Symbols symbols_;
|
|
// Number of symbols defined in object file itself.
|
|
size_t defined_count_;
|
// The offset of the first incremental relocation for this object.
|
// The offset of the first incremental relocation for this object.
|
unsigned int incr_reloc_offset_;
|
unsigned int incr_reloc_offset_;
|
// The number of incremental relocations for this object.
|
// The number of incremental relocations for this object.
|
unsigned int incr_reloc_count_;
|
unsigned int incr_reloc_count_;
|
// The index of the first incremental relocation for this object in the
|
// The index of the first incremental relocation for this object in the
|
Line 2120... |
Line 2127... |
unsigned int input_file_index_;
|
unsigned int input_file_index_;
|
// The reader for the input file.
|
// The reader for the input file.
|
Input_entry_reader input_reader_;
|
Input_entry_reader input_reader_;
|
// The entries in the symbol table for the external symbols.
|
// The entries in the symbol table for the external symbols.
|
Symbols symbols_;
|
Symbols symbols_;
|
|
// Number of symbols defined in object file itself.
|
|
size_t defined_count_;
|
};
|
};
|
|
|
// Allocate an incremental object of the appropriate size and endianness.
|
// Allocate an incremental object of the appropriate size and endianness.
|
extern Object*
|
extern Object*
|
make_sized_incremental_object(
|
make_sized_incremental_object(
|