This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: [PATCH ARM] Make INITIALIZE_TRAMPOLINE always sync caches
- From: Mark Mitchell <mark at codesourcery dot com>
- To: Richard Earnshaw <Richard dot Earnshaw at buzzard dot freeserve dot co dot uk>
- Cc: gcc-patches at gcc dot gnu dot org
- Date: Fri, 13 May 2005 21:16:43 -0700
- Subject: Re: [PATCH ARM] Make INITIALIZE_TRAMPOLINE always sync caches
- References: <200505132201.j4DM1K1L024895@merlin.buzzard.freeserve.co.uk>
Richard Earnshaw wrote:
For example in a cross environment we can't be sure how to do the cache
clean so the compiler does not define CLEAR_INSN_CACHE. However, by
calling __cache_flush anyway it is possible for the user to override the
default library call with one that does work. If the call isn't made then
they are stuck.
FWIW, I 100% agree.
--
Mark Mitchell
CodeSourcery, LLC
mark@codesourcery.com
(916) 791-8304