This is the mail archive of the
binutils@sourceware.org
mailing list for the binutils project.
Re: [patch] Add bfd_target_info function to bfd and unify windres/windmc target information gathering
- From: Kai Tietz <ktietz70 at googlemail dot com>
- To: Binutils <binutils at sourceware dot org>
- Date: Mon, 9 Nov 2009 07:56:57 +0100
- Subject: Re: [patch] Add bfd_target_info function to bfd and unify windres/windmc target information gathering
- References: <90baa01f0911050508s2e196700v3c4eebc9174e3590@mail.gmail.com>
Hi,
Just want to ping this.
Cheers,
Kai
2009/11/5 Kai Tietz <ktietz70@googlemail.com>:
> Hello,
>
> this patch adds to bfd's targets.c an new function, which is mainly a
> move from code in windres/windmc about target information gathering.
> This function is mainly the same as bfd_find_target function, but it
> allows to query optional for endianess, underscoring-character, and
> architecture for the target, too.
> This function I want to use in gas, dlltool, and ld for implementing
> the underscoring detection for specific targets in a future patch.
>
> ChangeLog for bfd
>
> 2009-11-05 ?Kai Tietz ?<kai.tietz@onevision.com>
>
> ? ? ? ?* targets.c (bfd_target_info): New function.
> ? ? ? ?* bfd-in2.h: Regenerated.
>
> ChangeLog for binutils
>
> 2009-11-05 ?Kai Tietz ?<kai.tietz@onevision.com>
>
> ? ? ? ?* windmc.c (set_endianess): Use bfd_target_info.
> ? ? ? ?* windres.c (set_endianess): Likewise.
> ? ? ? ?(find_arch_match): Removed.
>
>
> Tested for i686-pc-cygwin, i686-pc-mingw32, and x86_64-pc-mingw32. Ok for apply?
>
> Cheers,
> Kai
>
> --
> | ?(\_/) This is Bunny. Copy and paste
> | (='.'=) Bunny into your signature to help
> | (")_(") him gain world domination
>
--
| (\_/) This is Bunny. Copy and paste
| (='.'=) Bunny into your signature to help
| (")_(") him gain world domination