This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: [patch] fix bugzilla 24959
- From: Paolo Bonzini <paolo dot bonzini at lu dot unisi dot ch>
- To: GCC Patches <gcc-patches at gcc dot gnu dot org>, Eric Christopher <echristo at redhat dot com>, Geoff Keating <geoffk at geoffk dot org>
- Date: Tue, 28 Feb 2006 11:19:33 +0100
- Subject: Re: [patch] fix bugzilla 24959
- References: <5DA6BBB5-6076-4E14-B96A-4367B73000FD@apple.com>
I've added it into the target directories instead of at the config/
level because the rs6000 port has a function to return the trampoline
size which isn't linked into libgcc and so we need to make sure we use
the darwin specific values for the rs6000 port. I also needed to add an
IN_LIBGCC option for TARGET_64BIT.
I wonder if it's faster and equally safe to save the last value of
`page', and skip the mprotect call if it's the same as the new one?
Paolo