aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNick Clifton <nickc@redhat.com>2000-05-03 18:50:55 +0000
committerNick Clifton <nickc@redhat.com>2000-05-03 18:50:55 +0000
commiteaa15ab811a1bb4093b5d73f4ab767588d851b42 (patch)
treef14edb5ba6acf0cbc595ab4f7cbb1a1add8cd8c1
parent86110418ab8a27557e8471d4674bc5c7edcd3c26 (diff)
downloadgdb-eaa15ab811a1bb4093b5d73f4ab767588d851b42.zip
gdb-eaa15ab811a1bb4093b5d73f4ab767588d851b42.tar.gz
gdb-eaa15ab811a1bb4093b5d73f4ab767588d851b42.tar.bz2
Fix little endian relocs
-rw-r--r--gas/ChangeLog25
-rw-r--r--gas/config/tc-mcore.c24
2 files changed, 24 insertions, 25 deletions
diff --git a/gas/ChangeLog b/gas/ChangeLog
index 57e0d55..2a8c140 100644
--- a/gas/ChangeLog
+++ b/gas/ChangeLog
@@ -1,3 +1,8 @@
+2000-05-03 Rodney Brown <RodneyBrown@pmsc.com>
+
+ config/tc-mcore.c (md_apply_fix3): BFD_RELOC_MCORE_PCREL_IMM11BY2
+ Fix little-endian case.
+
2000-05-03 David O'Brien <obrien@NUXI.com>
* as.c (parse_args): Update copyright.
@@ -455,7 +460,7 @@ Mon Apr 3 13:56:03 2000 Hans-Peter Nilsson <hp@axis.com>
2000-03-19 Nick Clifton <nickc@cygnus.com>
- * config/tc-arm.c (md_apply_fix3): Fix bug detectng overflow of pc
+ * config/tc-arm.c (md_apply_fix3): Fix bug detecting overflow of pc
relative branches.
2000-03-17 Thomas de Lellis <tdel@windriver.com>
@@ -551,8 +556,6 @@ Sat Mar 11 00:01:39 2000 Hans-Peter Nilsson <hp@axis.se>
* doc/Makefile.in: Regenerate.
* doc/c-m32r.texi (M32R-Opts): Document new command line switch.
-
-
2000-03-02 Michael Meissner <meissner@redhat.com>
* config/tc-d30v.c (check_range): Remove code that incorrectly
@@ -920,6 +923,7 @@ Fri Feb 11 14:21:51 2000 Jeffrey A Law (law@cygnus.com)
filename is encoded incorrectly.
2000-01-31 Nick Clifton <nickc@cygnus.com>
+
* config/tc-arm.c (reg_table): Add support for ATPCS register
naming conventions.
@@ -1197,7 +1201,7 @@ Wed Nov 24 20:27:58 1999 Jeffrey A Law (law@cygnus.com)
* config/tc-hppa.c (pa_ip): Handle PA2.0 unit completers. Handle
'B' operand for PA2.0 bb instruction.
-
+
1999-11-18 Nick Clifton <nickc@cygnus.com>
* config/tc-mcore.h (TC_FORCE_RELOCATION): Define for Mcore-pe
@@ -1374,7 +1378,7 @@ Sun Oct 10 01:47:23 1999 Jerry Quinn <jerry.quinn.adv91@alum.dartmouth.org>
completers.
* config/tc-hppa.c (pa_ip): Remove unused args. Add code to '?W'
- arg.
+ arg.
(pa_parse_addb_64_cmpltr): New function.
* config/tc-hppa.c (pa_ip): Change error message.
@@ -1452,7 +1456,7 @@ Mon Sep 20 04:01:41 1999 Jeffrey A Law (law@cygnus.com)
Sun Sep 19 10:43:31 1999 Jeffrey A Law (law@cygnus.com)
- * config/tc-hppa.c (pa_ip): Handle 'J', 'K' and 'cc'
+ * config/tc-hppa.c (pa_ip): Handle 'J', 'K' and 'cc'
operands.
* config/tc-hppa.c (pa_ip); Handle "fe", and 'cJ'.
@@ -1475,11 +1479,6 @@ Sun Sep 19 10:43:31 1999 Jeffrey A Law (law@cygnus.com)
* config/tc-hppa.c (pa_ip): Handle 'g' operand.
-at Sep 18 12:13:28 1999 Jeffrey A Law (law@cygnus.com)
-
- * config/tc-hppa.c (md_assemble): Fix dwarf2 line handling.
- (pa_ip): Handle 'fX'.
-
Sat Sep 18 12:13:28 1999 Jeffrey A Law (law@cygnus.com)
* config/tc-hppa.c (md_assemble): Fix dwarf2 line handling.
@@ -1629,7 +1628,7 @@ Mon Sep 6 04:26:56 1999 Jeffrey A Law (law@cygnus.com)
constants when in strict mode.
(pa_get_absolute_expression): Require a constant when in strict
mode.
-
+
1999-09-06 Nick Clifton <nickc@cygnus.com>
* config/tc-m32r.c (md_longopts): Fix value for -Wnuh.
@@ -1965,7 +1964,7 @@ Wed Aug 4 13:12:17 1999 Jeffrey A Law (law@cygnus.com)
1999-07-30 Catherine Moore <clm@cygnus.com>
- * config/tc-arm.c (tc_gen_reloc): Record the vtable entry in
+ * config/tc-arm.c (tc_gen_reloc): Record the vtable entry in
the relocation's section offset.
1999-07-29 Alan Modra <alan@spri.levels.unisa.edu.au>
diff --git a/gas/config/tc-mcore.c b/gas/config/tc-mcore.c
index d072f03..3b23214 100644
--- a/gas/config/tc-mcore.c
+++ b/gas/config/tc-mcore.c
@@ -74,14 +74,14 @@ const char line_comment_chars[] = "#/";
const int md_reloc_size = 8;
-static int do_jsri2bsr = 0; /* change here from 1 by Cruess 19 August 97 */
+static int do_jsri2bsr = 0; /* Change here from 1 by Cruess 19 August 97. */
static int sifilter_mode = 0;
const char EXP_CHARS[] = "eE";
-/* Chars that mean this number is a floating point constant */
-/* As in 0f12.456 */
-/* or 0d1.2345e12 */
+/* Chars that mean this number is a floating point constant
+ As in 0f12.456
+ or 0d1.2345e12 */
const char FLT_CHARS[] = "rRsSfFdDxXpP";
#define C(what,length) (((what) << 2) + (length))
@@ -113,7 +113,7 @@ cpu_type;
cpu_type cpu = M340;
-/* Initialize the relax table */
+/* Initialize the relax table. */
const relax_typeS md_relax_table[] =
{
{ 1, 1, 0, 0 }, /* 0: unused */
@@ -131,7 +131,7 @@ const relax_typeS md_relax_table[] =
{ 0, 0, 0, 0 } /*12: unused */
};
-/* LITERAL POOL DATA STRUCTURES */
+/* Literal pool data structures. */
struct literal
{
unsigned short refcnt;
@@ -158,18 +158,18 @@ static unsigned long poolspan;
-- so we have to be smaller than 1018 and since we deal with 2-byte
instructions, the next good choice is 1016.
-- Note we have a test case that fails when we've got 1018 here. */
-#define SPANPANIC (1016) /* 1024 - 1 entry - 2 byte rounding */
+#define SPANPANIC (1016) /* 1024 - 1 entry - 2 byte rounding. */
#define SPANCLOSE (900)
#define SPANEXIT (600)
-static symbolS * poolsym; /* label for current pool */
+static symbolS * poolsym; /* label for current pool. */
static char poolname[8];
-static struct hash_control * opcode_hash_control; /* Opcode mnemonics */
+static struct hash_control * opcode_hash_control; /* Opcode mnemonics. */
/* This table describes all the machine specific pseudo-ops the assembler
has to support. The fields are:
Pseudo-op name without dot
Function to call to execute this pseudo-op
- Integer arg to pass to the function */
+ Integer arg to pass to the function. */
const pseudo_typeS md_pseudo_table[] =
{
{ "export", s_globl, 0 },
@@ -2146,8 +2146,8 @@ md_apply_fix3 (fixP, valp, segment)
}
else
{
- buf[0] |= ((val >> 8) & 0x7);
- buf[1] |= (val & 0xff);
+ buf[1] |= ((val >> 8) & 0x7);
+ buf[0] |= (val & 0xff);
}
break;