This is the mail archive of the binutils@sourceware.org mailing list for the binutils 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] |
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
Attachment:
bfd_target_info.diff
Description: Binary data
Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
---|---|---|
Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |