]> git.pld-linux.org Git - packages/crossz80-binutils.git/commitdiff
- up to 2.23.1
authorwitekfl <witekfl@poczta.onet.pl>
Thu, 28 Mar 2013 12:51:18 +0000 (13:51 +0100)
committerwitekfl <witekfl@poczta.onet.pl>
Thu, 28 Mar 2013 12:51:18 +0000 (13:51 +0100)
tc-z80.c.diff

index 07ef41b57320bf5036e7f33bd47683fc17e2d5d6..206336905b5b9ba371367a5728c183d4592d30cd 100644 (file)
@@ -1,10 +1,42 @@
---- binutils-2.22/gas/config/tc-z80.c.orig     2011-12-23 17:17:55.860988588 +0100
-+++ binutils-2.22/gas/config/tc-z80.c  2011-12-23 17:17:59.969093857 +0100
-@@ -702,6 +702,7 @@
-       fixp = fix_new_exp (frag_now, p - frag_now->fr_literal, 1, val,
+--- a/gas/config/tc-z80.c.orig 2012-11-13 10:36:40.000000000 +0000
++++ a/gas/config/tc-z80.c      2012-11-13 10:40:24.000000000 +0000
+@@ -467,7 +467,7 @@
+   if (ins_type & ins_err)
+     error (_(p));
+   else
+-    as_warn (_(p));
++    as_warn ("%s", _(p));
+ }
+ static void
+@@ -544,12 +544,11 @@
+ {
+   const char *p;
+   int indir;
+-  segT dummy;
+   p = skip_space (s);
+   op->X_md = indir = is_indir (p);
+   input_line_pointer = (char*) s ;
+-  dummy = expression (op);
++  expression (op);
+   switch (op->X_op)
+     {
+     case O_absent:
+@@ -705,7 +704,6 @@
+ {
+   char *p;
+   int lo, hi;
+-  fixS * fixp;
+   p = frag_more (1);
+   *p = val->X_add_number;
+@@ -732,7 +730,7 @@
+     }
+   else
+     {
+-      fixp = fix_new_exp (frag_now, p - frag_now->fr_literal, 1, val,
++      fix_new_exp (frag_now, p - frag_now->fr_literal, 1, val,
                          (r_type == BFD_RELOC_8_PCREL) ? TRUE : FALSE, r_type);
        /* FIXME : Process constant offsets immediately.  */
-+      (void)fixp;
      }
- }
This page took 0.0656 seconds and 4 git commands to generate.