* 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:
Cary Coutant
2011-08-01 18:25:22 +00:00
parent 9300444e01
commit 9590bf2544
6 changed files with 38 additions and 6 deletions

View File

@@ -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>