w65 gas fixes

Alan Modra amodra@bigpond.net.au
Mon Aug 26 01:55:00 GMT 2002


I guess no one is much interested in this port.  At least, no one has
complained that w65 gas doesn't compile in the 2.13 binutils release.
Also, md_parse_option returning 1 meant that it ate all command line
options, and semi-useful options like -a were knackered.

gas/ChangeLog
	* config/tc-w65.c (md_section_align): Fix typo.
	(md_parse_option): Return 0, not 1.

Applying mainline and branch.

Index: gas/config/tc-w65.c
===================================================================
RCS file: /cvs/src/src/gas/config/tc-w65.c,v
retrieving revision 1.12
diff -u -p -r1.12 tc-w65.c
--- gas/config/tc-w65.c	8 Jun 2002 07:37:16 -0000	1.12
+++ gas/config/tc-w65.c	26 Aug 2002 08:25:27 -0000
@@ -846,7 +846,7 @@ md_parse_option (c, a)
      int c;
      char *a;
 {
-  return 1;
+  return 0;
 }
 
 void
@@ -980,7 +980,7 @@ md_section_align (seg, size)
 void
 md_apply_fix3 (fixP, valP, seg)
      fixS *fixP;
-     vauleT * valP;
+     valueT * valP;
      segT seg ATTRIBUTE_UNUSED;
 {
   long val = * (long *) valP;

-- 
Alan Modra
IBM OzLabs - Linux Technology Centre



More information about the Binutils mailing list