Patchwork [obv] fix m68hc11-elf build

login
register
mail settings
Submitter Nathan Froyd
Date Oct. 8, 2010, 1:47 a.m.
Message ID <20101008014746.GJ17388@nightcrawler>
Download mbox | patch
Permalink /patch/67126/
State New
Headers show

Comments

Nathan Froyd - Oct. 8, 2010, 1:47 a.m.
The patch below fixes the build for m68hc11-elf, which dies with a
complaint about 'print_operand_address'.  It now gets a little farther
before dying while configuring libgcc, probably because
INCOMING_RETURN_ADDR_RTX is not defined.

Committed as obvious.

-Nathan

	* config/m68hc11/m68hc11.c (m68hc11_print_operand): Call
	m68hc11_print_operand_address.

Patch

Index: config/m68hc11/m68hc11.c
===================================================================
--- config/m68hc11/m68hc11.c	(revision 165145)
+++ config/m68hc11/m68hc11.c	(working copy)
@@ -2261,7 +2261,7 @@  m68hc11_print_operand (FILE *file, rtx o
         case MEM:
           gcc_assert (TARGET_M6812);
 	  fprintf (file, "[");
-	  print_operand_address (file, XEXP (base, 0));
+	  m68hc11_print_operand_address (file, XEXP (base, 0));
 	  fprintf (file, "]");
           break;