mirror of
https://github.com/bminor/binutils-gdb.git
synced 2025-12-27 09:38:57 +00:00
* layout.cc (Layout::set_segment_offsets): Don't realign text
segment if -Ttext was specified. * object.cc (Sized_relobj_file::Sized_relobj_file): Store the ELF file type. * object.h (Sized_relobj_file::e_type): New function. (Sized_relobj_file::e_type_): New data member. * symtab.cc (Symbol_table::add_from_relobj): Don't add section base address for ET_EXEC files. * target.cc (Target::do_make_elf_object_implementation): Allow ET_EXEC files with --just-symbols option.
This commit is contained in:
@@ -421,6 +421,7 @@ Sized_relobj_file<size, big_endian>::Sized_relobj_file(
|
||||
deferred_layout_relocs_(),
|
||||
compressed_sections_()
|
||||
{
|
||||
this->e_type_ = ehdr.get_e_type();
|
||||
}
|
||||
|
||||
template<int size, bool big_endian>
|
||||
|
||||
Reference in New Issue
Block a user