Fix -ada build by providing a dummy fname_as_string() in gnat, missed in the

previous commit when enabling ssp.

Reported and fix tested by naddy@.
This commit is contained in:
pascal 2012-02-21 08:09:30 +00:00
parent 4d5c7d926f
commit 378165bc9a

View File

@ -0,0 +1,13 @@
$OpenBSD: patch-gcc_ada_adaint_c,v 1.1 2012/02/21 08:09:30 pascal Exp $
--- gcc/ada/adaint.c.orig Mon Feb 20 20:25:53 2012
+++ gcc/ada/adaint.c Mon Feb 20 20:27:23 2012
@@ -3686,3 +3686,9 @@ void *__gnat_lwp_self (void)
return (void *) syscall (__NR_gettid);
}
#endif
+
+const char *
+fname_as_string(int pretty_p)
+{
+ return NULL;
+}