Added BFD_RELOC_SPARC_32LE and bfd_mach_sparc_sparclite_le.
authorStan Cox <scox@redhat.com>
Wed, 27 May 1998 15:41:27 +0000 (15:41 +0000)
committerStan Cox <scox@redhat.com>
Wed, 27 May 1998 15:41:27 +0000 (15:41 +0000)
bfd/ChangeLog
bfd/bfd-in2.h

index a903be5..b130f55 100644 (file)
@@ -7,14 +7,12 @@ Tue May 26 19:37:47 1998  Stan Cox  <scox@equinox.cygnus.com>
        endian objects with big endian objects.
        (elf32_sparc_object_p): Set bfd_mach_sparc_sparclite_le.
        (elf32_sparc_final_write_processing): Set EF_SPARC_LEDATA in e_flags.
-
        * libbfd.h (bfd_reloc_code_real_names): Added BFD_RELOC_SPARC_32LE.
        * reloc.c: Same.
-       
        * cpu-sparc.c (arch_info_struct): Added sparc:sparclite_le
-
        * archures.c (bfd_mach_sparc_sparclite_le): New.
-       
+       * bfd-in2.h (BFD_RELOC_SPARC_32LE, bfd_mach_sparc_sparclite_le): New.
+
 Thu May 21 16:59:28 1998  Nick Clifton  <nickc@cygnus.com>
 
        * peicode.h (add_data_entry): Fix precedence of operators in if ()
index 4249502..767f764 100644 (file)
@@ -1213,8 +1213,9 @@ enum bfd_architecture
 #define bfd_mach_sparc_sparclite       3
 #define bfd_mach_sparc_v8plus          4
 #define bfd_mach_sparc_v8plusa         5  /* with ultrasparc add'ns */
-#define bfd_mach_sparc_v9              6
-#define bfd_mach_sparc_v9a             7  /* with ultrasparc add'ns */
+#define bfd_mach_sparc_sparclite_le    6
+#define bfd_mach_sparc_v9              7
+#define bfd_mach_sparc_v9a             8  /* with ultrasparc add'ns */
  /* Nonzero if MACH has the v9 instruction set.  */
 #define bfd_mach_sparc_v9_p(mach) \
   ((mach) >= bfd_mach_sparc_v8plus && (mach) <= bfd_mach_sparc_v9a)
@@ -1711,6 +1712,9 @@ relocation types already defined. */
   BFD_RELOC_SPARC_L44,
   BFD_RELOC_SPARC_REGISTER,
 
+/* SPARC little endian relocation */
+  BFD_RELOC_SPARC_32LE,
+
 /* Alpha ECOFF and ELF relocations.  Some of these treat the symbol or
 "addend" in some special way.
 For GPDISP_HI16 ("gpdisp") relocations, the symbol is ignored when