openbsd-ports/lang/gcc/4.6/patches/patch-gcc_go_go-lang_c
pascal 72bbe18ad2 - modify stack protection to work with our native libc routines, passing the
function name to __stack_smash_handler.  Only supported for "c-family"
  languages at the moment.
- enable it per default on archs where FRAME_GROWS_DOWNWARD
- remove obsolete comment about adastrap needing a specific libc
- -java actually needs a runtime dep on -main for -lgcc

ok espie@
2012-02-16 21:30:15 +00:00

17 lines
430 B
Plaintext

$OpenBSD: patch-gcc_go_go-lang_c,v 1.1 2012/02/16 21:30:15 pascal Exp $
--- gcc/go/go-lang.c.orig Fri Feb 10 15:49:26 2012
+++ gcc/go/go-lang.c Fri Feb 10 21:44:00 2012
@@ -429,6 +429,12 @@ go_localize_identifier (const char *ident)
return identifier_to_locale (ident);
}
+const char *
+fname_as_string(int pretty_p)
+{
+ return NULL;
+}
+
#undef LANG_HOOKS_NAME
#undef LANG_HOOKS_INIT
#undef LANG_HOOKS_OPTION_LANG_MASK