This is the mail archive of the
binutils@sourceware.org
mailing list for the binutils project.
Re: [PATCH][gold] Mips: Omit empty objects for merging processor-specific data
- From: Cary Coutant <ccoutant at gmail dot com>
- To: Vladimir Radosavljevic <Vladimir dot Radosavljevic at imgtec dot com>
- Cc: "binutils at sourceware dot org" <binutils at sourceware dot org>, Petar Jovanovic <Petar dot Jovanovic at imgtec dot com>
- Date: Wed, 15 Mar 2017 16:55:48 -0700
- Subject: Re: [PATCH][gold] Mips: Omit empty objects for merging processor-specific data
- Authentication-results: sourceware.org; auth=none
- References: <3060420525346945A0ADBD567348A917EF93C68A@BADAG02.ba.imgtec.org>
> * mips.cc (Mips_relobj::merge_processor_specific_data_): New data
> member.
> (Mips_relobj::merge_processor_specific_data): New method.
> (Mips_relobj::do_read_symbols): Set merge_processor_specific_data_
> to false, only if the input file is a binary or if object has no
> contents except the section name string table and an empty symbol
> table with the undefined symbol.
> (Target_mips::do_finalize_sections): Refactor. Skip empty object files
> for merging processor-specific data.
Committed on your behalf.
-cary