PATCH: binutils/1472: Support more SPARCs in sunos

classic Classic list List threaded Threaded
2 messages Options
Reply | Threaded
Open this post in threaded view
|

PATCH: binutils/1472: Support more SPARCs in sunos

H.J. Lu-27
Sparc/sunos doesn't support all SPARCs. As the result, objcopy doesn't
work with those unknown SPARCs. This patch adds support for all SPARCs
to Sparc/sunos.


H.J.
---
2005-10-27  H.J. Lu  <[hidden email]>

        PR binutils/1472
        * aoutx.h (NAME (aout, machine_type)): Handle
        bfd_mach_sparc_v8plus, bfd_mach_sparc_v8plusa,
        bfd_mach_sparc_v8plusb, bfd_mach_sparc_v9, bfd_mach_sparc_v9a
        and bfd_mach_sparc_v9b.

--- bfd/aoutx.h.sparc 2005-08-21 13:50:21.000000000 -0700
+++ bfd/aoutx.h 2005-10-27 09:25:03.000000000 -0700
@@ -706,7 +706,12 @@ NAME (aout, machine_type) (enum bfd_arch
   || machine == bfd_mach_sparc
   || machine == bfd_mach_sparc_sparclite
   || machine == bfd_mach_sparc_sparclite_le
-  || machine == bfd_mach_sparc_v9)
+  || machine == bfd_mach_sparc_v8plus
+  || machine == bfd_mach_sparc_v8plusa
+  || machine == bfd_mach_sparc_v8plusb
+  || machine == bfd_mach_sparc_v9
+  || machine == bfd_mach_sparc_v9a
+  || machine == bfd_mach_sparc_v9b)
  arch_flags = M_SPARC;
       else if (machine == bfd_mach_sparc_sparclet)
  arch_flags = M_SPARCLET;
Reply | Threaded
Open this post in threaded view
|

Re: PATCH: binutils/1472: Support more SPARCs in sunos

Nick Clifton
Hi H. J.

> 2005-10-27  H.J. Lu  <[hidden email]>
>
> PR binutils/1472
> * aoutx.h (NAME (aout, machine_type)): Handle
> bfd_mach_sparc_v8plus, bfd_mach_sparc_v8plusa,
> bfd_mach_sparc_v8plusb, bfd_mach_sparc_v9, bfd_mach_sparc_v9a
> and bfd_mach_sparc_v9b.

Approved - please apply.

Cheers
   Nick