diff options
author | Turly O'Connor <turly@gcc.gnu.org> | 2001-12-07 17:34:21 +0000 |
---|---|---|
committer | Turly O'Connor <turly@gcc.gnu.org> | 2001-12-07 17:34:21 +0000 |
commit | 4dabc42de3e9ac00ea4ac45acc69641ca8cc82de (patch) | |
tree | 9d659a579ebbc83959cf8e6788cdef72b13ec94a /gcc/config/rs6000/rs6000.c | |
parent | 2be27eec23f5965d678913bcbfab6464fe5d80c2 (diff) | |
download | gcc-4dabc42de3e9ac00ea4ac45acc69641ca8cc82de.tar.gz |
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
Diffstat (limited to 'gcc/config/rs6000/rs6000.c')
-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"), |