OSDN Git Service

* obcopy.c (copy_object): New parameter `input_arch', architecture
authorNick Clifton <nickc@redhat.com>
Fri, 11 Sep 2009 11:16:18 +0000 (11:16 +0000)
committerNick Clifton <nickc@redhat.com>
Fri, 11 Sep 2009 11:16:18 +0000 (11:16 +0000)
commit6d35f03d9be6189414404c9e7762a2743e172480
tree559466a4c30ca2c43008860e52d9f42783eaa095
parent9063eb25233d98a0338565ece0585fd609afb1a4
   * obcopy.c (copy_object): New parameter `input_arch', architecture
       of input file, if not specified in input file itself; all callers
       updated; `binary_architecture' hack removed.
       (copy_archive, copy_file): New parameter `input_arch', for
       `copy_object' usage.
       (copy_main): Accept `-B' (`--binary-architecture') option also
       for any arch-less input ifile format, not only `binary'; remove
       bfd_external_binary_architecture hack; instead, add `input_arch'
       to calls to `copy_file'.
       * windres.c, windmc.c : Obsolete and useless external references
       to `bfd_external_binary_architecture' or `bfd_external_machine'
       removed.

       * binary.c (binary_object_p): Remove bfd_external_binary_architecture
       hack.  objcopy `-B' (`--binary-architecture') option is now handled
       in a generic way.
bfd/ChangeLog
bfd/binary.c