This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
egcs on mips-dec-ultrix4.4
- To: egcs at cygnus dot com
- Subject: egcs on mips-dec-ultrix4.4
- From: Burkhard Steding <bst at helios dot de>
- Date: Fri, 14 Nov 1997 13:51:27 +0100
Hi,
I think the definition of INITIALIZE_TRAMPOLINE in gcc/config/mips/mips.h
is wrong:
#define INITIALIZE_TRAMPOLINE(ADDR, FUNC, CHAIN) \
{ ....... \
emit_library_call (gen_rtx (SYMBOL_REF, Pmode, "_flush_cache"), \
....... \
}
On Ultrix 4.4 (and probably older versions too) there is no _flush_cache()
in the system libraries. Older versions of gcc did:
#define INITIALIZE_TRAMPOLINE(ADDR, FUNC, CHAIN) \
{ ....... \
emit_library_call (gen_rtx (SYMBOL_REF, Pmode, "cacheflush"), \
....... \
}
This works since there is cacheflush() in libc.a.
Possible solutions are to #ifdef DECSTATION this in gcc/config/mips/mips.h
or to #undef INITIALIZE_TRAMPOLINE and redefine in gcc/config/mips/ultrix.h.
--
_________________________________
/\ \
\_| Burkhard Steding |
| HELIOS Software GmbH |
| Steinriede 3 |
| 30827 Garbsen |
| Germany |
| |
| Tel.: +49 5131 709336 |
| Fax.: +49 5131 709325 |
| e-mail: bst@helios.de |
| ____________________________|___
\_/_______________________________/