This is the mail archive of the binutils@sources.redhat.com mailing list for the binutils project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

[RFA]: Fix build of gas m32r


Hi!

The m32r does not build in the binutils 2.11 test release.

When Richard removed m32r_do_align as part of his alignment cleanup,
one call was missed.  The patch below fixes that.  It replaces m32r_do_align
call by frag_align_code as Richard did it in another place.
After that, m32r builds and can be tested (no unexpected failure).

Can you approve this on the branch and mainline ?

	Stephane


2001-03-17  Stephane Carrez  <Stephane.Carrez@worldnet.fr>

	* config/tc-m32r.c (expand_debug_syms): Replace m32r_do_align
	with frag_align_code.
Index: config/tc-m32r.c
===================================================================
RCS file: /cvs/src/src/gas/config/tc-m32r.c,v
retrieving revision 1.15
diff -u -p -r1.15 tc-m32r.c
--- tc-m32r.c	2001/01/23 13:31:10	1.15
+++ tc-m32r.c	2001/03/17 21:54:24
@@ -1,5 +1,5 @@
 /* tc-m32r.c -- Assembler for the Mitsubishi M32R.
-   Copyright (C) 1996, 1997, 1998, 1999, 2000
+   Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001
    Free Software Foundation, Inc.
 
    This file is part of GAS, the GNU Assembler.
@@ -444,7 +444,7 @@ expand_debug_syms (syms, align)
   if (!syms)
     return;
 
-  (void) m32r_do_align (align, NULL, 0, 0);
+  frag_align_code (align, 0);
   for (; syms != (sym_linkS *) 0; syms = next_syms)
     {
       symbolS *symbolP = syms->symbol;

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]