Patch to allow ARM dynamic linker to fix up PC24 relocs...

Ulrich Drepper drepper@cygnus.com
Tue Dec 21 08:29:00 GMT 1999


Scott Bambrough <scottb@netwinder.org> writes:

> The attached patch adds a cache flush just after the readonly protection
> is restored to .text.  I've done this in generic code, because the cache
> flush is an extremely expensive operation on the ARM.  We don't want to
> do this after every fixup, and only if we do fixups.  The patch as
> written should only affect the ARM (or anyone else who defines
> CLEAR_CACHE).  For all other targets it will disappear after
> pre-processing.  This patch has the fix for the problem Phil Blundell
> pointed out.  I've tested it and it seems to work.

I've already added this code to 2.1.3.  Could you update your tree?

-- 
---------------.      drepper at gnu.org  ,-.   1325 Chesapeake Terrace
Ulrich Drepper  \    ,-------------------'   \  Sunnyvale, CA 94089 USA
Cygnus Solutions `--' drepper at cygnus.com   `------------------------


More information about the Libc-hacker mailing list