From: Justin Seyster Date: Tue, 12 Apr 2011 23:43:46 +0000 (-0400) Subject: Gives aop_finish "default" (public) visibilty. X-Git-Tag: release-v1.1~11 X-Git-Url: https://git.fsl.cs.stonybrook.edu/?a=commitdiff_plain;h=7c5e2ad56fd7a5df49cec97ef4a9c149147d1e65;p=interaspect.git Gives aop_finish "default" (public) visibilty. On some Linux versions, the setting a symbol as both hidden and weak caused problems when trying to link an InterAspect plug-in. --- diff --git a/src/aop-main.c b/src/aop-main.c index d5b2bae..5277bab 100644 --- a/src/aop-main.c +++ b/src/aop-main.c @@ -268,7 +268,8 @@ register_pass_init () } /* Provided for overriding in the client plug-in. See aop.h. */ -__attribute__((weak)) __attribute__((noinline)) void +__attribute__((visibility("default"))) __attribute__((weak)) +__attribute__((noinline)) void aop_finish () { /* This function exists only to be overridden. */