This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [PATCH/RFA] Register prefix changes for VAX ELF


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~


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]