From e838aeea64c86c2918479c55b7599124906cbed6 Mon Sep 17 00:00:00 2001 From: Stan Cox Date: Wed, 27 May 1998 15:41:27 +0000 Subject: [PATCH] Added BFD_RELOC_SPARC_32LE and bfd_mach_sparc_sparclite_le. --- bfd/ChangeLog | 6 ++---- bfd/bfd-in2.h | 8 ++++++-- 2 files changed, 8 insertions(+), 6 deletions(-) diff --git a/bfd/ChangeLog b/bfd/ChangeLog index a903be563fa..b130f550519 100644 --- a/bfd/ChangeLog +++ b/bfd/ChangeLog @@ -7,14 +7,12 @@ Tue May 26 19:37:47 1998 Stan Cox 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 * peicode.h (add_data_entry): Fix precedence of operators in if () diff --git a/bfd/bfd-in2.h b/bfd/bfd-in2.h index 4249502d04c..767f7648ccf 100644 --- a/bfd/bfd-in2.h +++ b/bfd/bfd-in2.h @@ -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 -- 2.30.2