Commit 4dabc42d by Turly O'Connor

rs6000.c (rs6000_trampoline_size): Handle ABI_DARWIN case.

	* rs6000.c (rs6000_trampoline_size): Handle ABI_DARWIN case.
	(rs6000_initialize_trampoline): Call __trampoline_setup for
	ABI_DARWIN too.

From-SVN: r47759
parent 2be27eec
......@@ -9543,6 +9543,7 @@ rs6000_trampoline_size ()
ret = (TARGET_32BIT) ? 12 : 24;
break;
case ABI_DARWIN:
case ABI_V4:
case ABI_AIX_NODESC:
ret = (TARGET_32BIT) ? 40 : 48;
......@@ -9589,7 +9590,8 @@ rs6000_initialize_trampoline (addr, fnaddr, cxt)
}
break;
/* Under V.4/eabi, call __trampoline_setup to do the real work. */
/* Under V.4/eabi/darwin, __trampoline_setup does the real work. */
case ABI_DARWIN:
case ABI_V4:
case ABI_AIX_NODESC:
emit_library_call (gen_rtx_SYMBOL_REF (SImode, "__trampoline_setup"),
......
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