aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorUros Bizjak <uros@gcc.gnu.org>2011-06-22 13:20:07 +0200
committerUros Bizjak <uros@gcc.gnu.org>2011-06-22 13:20:07 +0200
commit1da9434b4ba81839aa43dfb53344a6dbfb0e314f (patch)
tree3f6fc0ee3fdcb0147a1ceb59c0309256780a13d6
parent070387a43cbe003423a38d77c618a8bf681cd4fd (diff)
downloadgcc-1da9434b4ba81839aa43dfb53344a6dbfb0e314f.zip
gcc-1da9434b4ba81839aa43dfb53344a6dbfb0e314f.tar.gz
gcc-1da9434b4ba81839aa43dfb53344a6dbfb0e314f.tar.bz2
enable-execute-stack-empty.c (__enable_execute_stack): Add prototype.
* enable-execute-stack-empty.c (__enable_execute_stack): Add prototype. From-SVN: r175292
-rw-r--r--libgcc/ChangeLog8
-rw-r--r--libgcc/enable-execute-stack-empty.c3
2 files changed, 9 insertions, 2 deletions
diff --git a/libgcc/ChangeLog b/libgcc/ChangeLog
index fa9245d..363c095 100644
--- a/libgcc/ChangeLog
+++ b/libgcc/ChangeLog
@@ -1,3 +1,7 @@
+2011-06-22 Uros Bizjak <ubizjak@gmail.com>
+
+ * enable-execute-stack-empty.c (__enable_execute_stack): Add prototype.
+
2011-06-21 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
* shared-object.mk (c_flags-$o): Save c_flags.
@@ -10,7 +14,7 @@
* libgcc-std.ver.in (GCC_4.7.0): New section.
2011-06-16 Georg-Johann Lay <avr@gjlay.de>
-
+
PR target/49313
PR target/29524
* config/avr/t-avr: Fix line endings.
@@ -379,7 +383,7 @@
2010-09-09 Gerald Pfeifer <gerald@pfeifer.com>
Andrew Pinski <pinskia@gmail.com>
- PR target/40959
+ PR target/40959
* config.host (ia64*-*-freebsd*): Set extra_parts. Set tmake_file.
2010-09-06 H.J. Lu <hongjiu.lu@intel.com>
diff --git a/libgcc/enable-execute-stack-empty.c b/libgcc/enable-execute-stack-empty.c
index 81786de..e2cc02b 100644
--- a/libgcc/enable-execute-stack-empty.c
+++ b/libgcc/enable-execute-stack-empty.c
@@ -1,6 +1,9 @@
/* Dummy implementation of __enable_execute_stack. */
+extern void __enable_execute_stack (void *);
+
/* Attempt to turn on execute permission for the stack. */
+
void
__enable_execute_stack (void *addr __attribute__((__unused__)))
{