[EMAIL PROTECTED] writes:

[...]

>> Maybe we need another flag?  Could you check the link command in NetBSD's
>> kernel ?
>
> I couldn't find anything that looked like it would fix this.
>
> I believe the reason that NetBSD's own code isn't affected by this is
> because they (apparently) do not use nested functions in
> their stand-alone code.
>
> I did see OpenBSD had a -ftrampolines flag, I'm not quite sure what
> it exactly does, but it may be related to this.

It is, trampolines are used to implement nested functions in cases
like ours.

--
Marco



_______________________________________________
Grub-devel mailing list
Grub-devel@gnu.org
http://lists.gnu.org/mailman/listinfo/grub-devel

Reply via email to