diff options
| author | turly <turly@138bc75d-0d04-0410-961f-82ee72b054a4> | 2001-12-07 17:34:21 +0000 |
|---|---|---|
| committer | turly <turly@138bc75d-0d04-0410-961f-82ee72b054a4> | 2001-12-07 17:34:21 +0000 |
| commit | 9b505f6429c51fe6fe86c827d42c2024836b547f (patch) | |
| tree | 9d659a579ebbc83959cf8e6788cdef72b13ec94a | |
| parent | a0a22e1378db2166738e778d931b20c515b700fd (diff) | |
| download | ppe42-gcc-9b505f6429c51fe6fe86c827d42c2024836b547f.tar.gz ppe42-gcc-9b505f6429c51fe6fe86c827d42c2024836b547f.zip | |
* rs6000.c (rs6000_trampoline_size): Handle ABI_DARWIN case.
(rs6000_initialize_trampoline): Call __trampoline_setup for
ABI_DARWIN too.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@47759 138bc75d-0d04-0410-961f-82ee72b054a4
| -rw-r--r-- | gcc/config/rs6000/rs6000.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/gcc/config/rs6000/rs6000.c b/gcc/config/rs6000/rs6000.c index 74d23ca0ef7..0cedf851d20 100644 --- a/gcc/config/rs6000/rs6000.c +++ b/gcc/config/rs6000/rs6000.c @@ -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"), |

