diff mbox

[obv] fix m68hc11-elf build

Message ID 20101008014746.GJ17388@nightcrawler
State New
Headers show

Commit Message

Nathan Froyd Oct. 8, 2010, 1:47 a.m. UTC
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.
diff mbox

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;