From 7c5e2ad56fd7a5df49cec97ef4a9c149147d1e65 Mon Sep 17 00:00:00 2001 From: Justin Seyster Date: Tue, 12 Apr 2011 19:43:46 -0400 Subject: [PATCH] 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. --- src/aop-main.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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. */ -- 2.34.1