This is the mail archive of the binutils@sources.redhat.com 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]

Re: Contribution: Intel's iWMMXt processor


> Hi Guys,
> 
>   I am applying patches to the binutils sources to add support for
>   Intel's iWMMXt processor - an ARM variant.  The ChangeLogs are below
>   and a compressed patch is attached.

This has completely broken linking for non-xscale systems.  How can the 
following possibly work?


      if (   bfd_get_mach (obfd) == bfd_mach_arm_XScale
          && bfd_get_mach (ibfd) == bfd_mach_arm_iWMMXt)
        bfd_set_arch_mach (obfd, bfd_get_arch (obfd), bfd_mach_arm_iWMMXt);
      else if (   bfd_get_mach (ibfd) != bfd_mach_arm_XScale
               || bfd_get_mach (obfd) != bfd_mach_arm_iWMMXt)
        {
          bfd_set_error (bfd_error_wrong_format);

R.


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