[patch] Add bfd_target_info function to bfd and unify windres/windmc target information gathering
Kai Tietz
ktietz70@googlemail.com
Mon Nov 9 06:57:00 GMT 2009
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
More information about the Binutils
mailing list