This is the mail archive of the
mailing list for the GCC project.
- To: gcc at gcc dot gnu dot org
- Subject: mips _flush_cache
- From: DJ Delorie <dj at redhat dot com>
- Date: Fri, 19 Oct 2001 19:59:11 -0400
- CC: dj at redhat dot com
GCC unconditionally expects the OS to have _flush_cache() equivalent
for trampolines to work, but has no provisions for cases where there
is no _flush_cache() available.
Which of the following makes the most sense as a solution?
1. All MIPS targets must have a suitable function that takes the right
arguments, and #define CACHE_FLUSH_FUNC appropriately.
2. Add an option to gcc to specify the flush function, or to indicate
that there is no such function (and perhaps thus no cache to flush).
3. Something else.