This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
egcc on mips-dec-ultrix4.4
- To: egcs-bugs at cygnus dot com
- Subject: egcc on mips-dec-ultrix4.4
- From: Burkhard Steding <bst at helios dot de>
- Date: Thu, 13 Nov 1997 17:42:25 +0100
- Cc: bst at helios dot de
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 |
| ____________________________|___
\_/_______________________________/