[gold patch] Allow an ET_EXEC file with the --just-symbols/-R option
Ian Lance Taylor
iant@google.com
Sat Jul 30 06:20:00 GMT 2011
More information about the Binutils mailing list
Sat Jul 30 06:20:00 GMT 2011
- Previous message (by thread): [gold patch] Allow an ET_EXEC file with the --just-symbols/-R option
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Cary Coutant <ccoutant@google.com> writes: > * 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. > - if (orig_st_shndx != elfcpp::SHN_UNDEF && is_ordinary) > + if (orig_st_shndx != elfcpp::SHN_UNDEF && is_ordinary > + && relobj->e_type() == elfcpp::ET_REL) Move the && from the middle of the line to the start of a new line--i.e., three lines in the condition, the last two starting with &&. This is OK with that change. Thanks. Ian
- Previous message (by thread): [gold patch] Allow an ET_EXEC file with the --just-symbols/-R option
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
More information about the Binutils mailing list