Commit a8c253d0 by Paul Brook Committed by Paul Brook

m68k.c (m68k_output_mi_thunk): Use jmp, not jsr.

2006-01-04  Paul Brook  <paul@codesourcery.com>

	* config/m68k/m68k.c (m68k_output_mi_thunk): Use jmp, not jsr.

From-SVN: r109338
parent dc006c70
2006-01-04 Paul Brook <paul@codesourcery.com>
* config/m68k/m68k.c (m68k_output_mi_thunk): Use jmp, not jsr.
2006-01-04 Daniel Berlin <dberlin@dberlin.org> 2006-01-04 Daniel Berlin <dberlin@dberlin.org>
* lambda-code.c (can_put_in_inner_loop): Relax * lambda-code.c (can_put_in_inner_loop): Relax
......
/* Subroutines for insn-output.c for Motorola 68000 family. /* Subroutines for insn-output.c for Motorola 68000 family.
Copyright (C) 1987, 1993, 1994, 1995, 1996, 1997, 1998, 1999, 2000, Copyright (C) 1987, 1993, 1994, 1995, 1996, 1997, 1998, 1999, 2000,
2001, 2003, 2004, 2005 2001, 2003, 2004, 2005, 2006
Free Software Foundation, Inc. Free Software Foundation, Inc.
This file is part of GCC. This file is part of GCC.
...@@ -3314,7 +3314,7 @@ m68k_output_mi_thunk (FILE *file, tree thunk ATTRIBUTE_UNUSED, ...@@ -3314,7 +3314,7 @@ m68k_output_mi_thunk (FILE *file, tree thunk ATTRIBUTE_UNUSED,
else if (optimize_size || TARGET_ID_SHARED_LIBRARY) else if (optimize_size || TARGET_ID_SHARED_LIBRARY)
fmt = "move.l %0@GOT(%%a5), %%a1\n\tjmp (%%a1)"; fmt = "move.l %0@GOT(%%a5), %%a1\n\tjmp (%%a1)";
else else
fmt = "lea %0-.-8,%%a1\n\tjsr 0(%%pc,%%a1)"; fmt = "lea %0-.-8,%%a1\n\tjmp 0(%%pc,%%a1)";
} }
else else
{ {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment