This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: [PATCH 1/3] Add native ELF and LTO support in collect2
"Joseph S. Myers" <joseph@codesourcery.com> writes:
> On Mon, 11 Oct 2010, Andi Kleen wrote:
>
>> On Mon, Oct 11, 2010 at 02:33:07PM +0000, Joseph S. Myers wrote:
>> > On Mon, 11 Oct 2010, Andi Kleen wrote:
>> >
>> > > Controlled by a define in the OS specific config file.
>> > > I only enabled this on x86 Linux for now.
>> >
>> > OBJECT_FORMAT_ELF is already defined in elfos.h where it belongs (and in
>> > several target-specific headers where it doesn't belong - some duplicating
>> > the definition in elfos.h, others ELF targets that don't use elfos.h for
>> > whatever reason).
>>
>> What do you suggest? Use a different name?
>
> No. Just allow this code to apply for all ELF targets like it should,
> rather than trying to enable it specially only for one particular target.
Ok I can do that and drop the cross compile check, but I am only able to
test all that on Linux.
-Andi
--
ak@linux.intel.com -- Speaking for myself only.