Robert Millan wrote:
walt<[EMAIL PROTECTED]> writes:
NetBSD's gcc wants libgcc and libc to define __enable_execute_stack,
but this is useless for a free-standing executable like grub. Define
a dummy function in lieu of libgcc to supply __enable_execute_stack.
Second try:
Make NetBSD's gcc happy.
* kern/mm.c: New dummy symbol __enable_execute_stack.
(include/grub/mm.h): Likewise.
This ChangeLog entry seems wrong. I'll write it up for you, as it's easier to
explain with an example:
Make NetBSD's gcc happy.
* include/grub/mm.h
[__NetBSD__] (__enable_execute_stack): New function prototype.
* kern/mm.c
[__NetBSD__] (__enable_execute_stack): New function.
Okay, thanks. Does the [__NetBSD__] token denote an #ifdef? How
would I indicate a patch for, say, Net/Free/Dragonfly BSD's at the
same time?
Oh, and should you mention that the new function does nothing?
Marco: I didn't add the header for the changelog because I don't
know who (if anyone) is going to commit it.
_______________________________________________
Grub-devel mailing list
Grub-devel@gnu.org
http://lists.gnu.org/mailman/listinfo/grub-devel