This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: [PATCH/RFA] Register prefix changes for VAX ELF
- From: Richard Henderson <rth at redhat dot com>
- To: John David Anglin <dave at hiauly1 dot hia dot nrc dot ca>
- Cc: gcc-patches at gcc dot gnu dot org, thorpej at wasabisystems dot com
- Date: Sat, 22 Jun 2002 14:09:17 -0700
- Subject: Re: [PATCH/RFA] Register prefix changes for VAX ELF
- References: <200206222053.g5MKrCJ4000533@hiauly1.hia.nrc.ca>
On Sat, Jun 22, 2002 at 04:53:12PM -0400, John David Anglin wrote:
> The mask calculated by vax_output_function_prologue
> can be accessed by vax_asm_output_mi_thunk by putting the value in a
> machine extension to the per function struct,
This was my thought.
> ... or possibly more simply
> in a static location if we are guaranteed that the thunk immediately
> follows FUNCTION.
Except that I don't think we're guaranteed that the thunk follows
FUNCTION, or even that it's in the same unit-of-translation.
I'd definitely be defensive and make sure that machine_struct value
has actually been initialized before trying to use it.
r~