This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [PATCH] Fix LTO handling of ELFOSABI_NONE vs. ELFOSABI_LINUX objects


On Wed, Jul 7, 2010 at 18:11, Jakub Jelinek <jakub@redhat.com> wrote:

> 2010-07-07 ÂJakub Jelinek Â<jakub@redhat.com>
>
> Â Â Â Â* lto-elf.c (ELFOSABI_NONE, ELFOSABI_LINUX): Define if not defined.
> Â Â Â Â(validate_file): Allow merging of ELFOSABI_NONE with ELFOSABI_LINUX
> Â Â Â Âobjects.

OK with

> + Âelse
> + Â Â{
> + Â Â Âchar elf_ident_buf[EI_NIDENT];
> +
> + Â Â Âmemcpy (elf_ident_buf, elf_ident,
> + Â Â Â Â Â Â sizeof elf_ident_buf);

Can be merged into one line.


Diego.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]