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]

Re: Wrong fix !!: egcs/gcc ChangeLog config/alpha/alpha.c config ...


>On Fri, Jul 03, 1998 at 02:01:29PM +0200, Klaus Kaempf wrote:
>> > * alpha/vms.h (TRAMPOLINE_TEMPLATE): Add missing 0.
>>
>> This is wrong !!
>>
>> The TRAMPOLINE_SIZE on openVMS/Alpha is 32 bytes, consisting of a quadword (8
>> bytes), a linkage entry (16 bytes !!) and another quadword (8 bytes).
>
>Eh?  So you overwrite part of the linkage in the trampoline init?

Yes. The 'linkage' is a quadword pointer to the code of __tramp and a quadword
pointer to the 'procedure descriptor' which serves as a pointer to the static
data (frame pointer). This is overwritten in trampoline init.

>That hadn't made sense to me, so I assumed it was just copying 8
>bytes of trailing garbage.
You might ask Richard Kenner about this code...



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