egcc on mips-dec-ultrix4.4
Burkhard Steding
bst@helios.de
Thu Nov 13 08:42:00 GMT 1997
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 |
| ____________________________|___
\_/_______________________________/
More information about the Gcc-bugs
mailing list