From 1da9434b4ba81839aa43dfb53344a6dbfb0e314f Mon Sep 17 00:00:00 2001 From: Uros Bizjak Date: Wed, 22 Jun 2011 13:20:07 +0200 Subject: [PATCH] enable-execute-stack-empty.c (__enable_execute_stack): Add prototype. * enable-execute-stack-empty.c (__enable_execute_stack): Add prototype. From-SVN: r175292 --- libgcc/ChangeLog | 8 ++++++-- libgcc/enable-execute-stack-empty.c | 3 +++ 2 files changed, 9 insertions(+), 2 deletions(-) diff --git a/libgcc/ChangeLog b/libgcc/ChangeLog index fa9245dba11..363c095f041 100644 --- a/libgcc/ChangeLog +++ b/libgcc/ChangeLog @@ -1,3 +1,7 @@ +2011-06-22 Uros Bizjak + + * enable-execute-stack-empty.c (__enable_execute_stack): Add prototype. + 2011-06-21 Rainer Orth * 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 - + PR target/49313 PR target/29524 * config/avr/t-avr: Fix line endings. @@ -379,7 +383,7 @@ 2010-09-09 Gerald Pfeifer Andrew Pinski - PR target/40959 + PR target/40959 * config.host (ia64*-*-freebsd*): Set extra_parts. Set tmake_file. 2010-09-06 H.J. Lu diff --git a/libgcc/enable-execute-stack-empty.c b/libgcc/enable-execute-stack-empty.c index 81786dec3e4..e2cc02ba116 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__))) { -- 2.30.2