]> git.ipfire.org Git - thirdparty/openembedded/openembedded-core-contrib.git/blob
e6f03e632ea0428d7e593960ec16d6e7920f6c73
[thirdparty/openembedded/openembedded-core-contrib.git] /
1 From 4ddaf78dad5a9ee4a0658235f71b75132192123e Mon Sep 17 00:00:00 2001
2 From: Khem Raj <raj.khem@gmail.com>
3 Date: Sat, 7 Apr 2012 18:52:12 -0700
4 Subject: [PATCH] plugin.h: Change visibility to default for debug symbols
5
6 gold refuses to link in undefined weak symbols which
7 have hidden visibility
8
9 Signed-off-by: Khem Raj <raj.khem@gmail.com>
10
11
12 Upstream-Status: Pending
13 ---
14 include/plugin.h | 4 ++--
15 1 files changed, 2 insertions(+), 2 deletions(-)
16
17 diff --git a/include/plugin.h b/include/plugin.h
18 index 692a4e5..a9361c3 100644
19 --- a/include/plugin.h
20 +++ b/include/plugin.h
21 @@ -89,9 +89,9 @@ struct connman_plugin_desc {
22 #else
23 #define CONNMAN_PLUGIN_DEFINE(name, description, version, priority, init, exit) \
24 extern struct connman_debug_desc __start___debug[] \
25 - __attribute__ ((weak, visibility("hidden"))); \
26 + __attribute__ ((weak, visibility("default"))); \
27 extern struct connman_debug_desc __stop___debug[] \
28 - __attribute__ ((weak, visibility("hidden"))); \
29 + __attribute__ ((weak, visibility("default"))); \
30 extern struct connman_plugin_desc connman_plugin_desc \
31 __attribute__ ((visibility("default"))); \
32 struct connman_plugin_desc connman_plugin_desc = { \
33 --
34 1.7.5.4
35