diff options
author | Denis Vlasenko <vda.linux@googlemail.com> | 2008-05-09 17:59:34 +0000 |
---|---|---|
committer | Denis Vlasenko <vda.linux@googlemail.com> | 2008-05-09 17:59:34 +0000 |
commit | 98636eb08c5ecc216e18970e11f7021206ac9b04 (patch) | |
tree | dfc70b7c6bf6276776c4e8198457dcf2df1e09fb /include/busybox.h | |
parent | 50dbed95fb7c0a97135b771385160ca26c377a15 (diff) | |
download | busybox-w32-98636eb08c5ecc216e18970e11f7021206ac9b04.tar.gz busybox-w32-98636eb08c5ecc216e18970e11f7021206ac9b04.tar.bz2 busybox-w32-98636eb08c5ecc216e18970e11f7021206ac9b04.zip |
Use intra-DSO calls when we build libbusybox. No-op for normal build.
This was Bernhard Fischer' idea.
text data bss dec hex filename
773549 7781 9740 791070 c121e busybox.t7/0_lib/libbusybox.so.1.11.0.svn_unstripped
769683 7397 9740 786820 c0184 busybox.t9t/0_lib/libbusybox.so.1.11.0.svn_unstripped
Diffstat (limited to 'include/busybox.h')
-rw-r--r-- | include/busybox.h | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/include/busybox.h b/include/busybox.h index 0c44d2f51..314b95126 100644 --- a/include/busybox.h +++ b/include/busybox.h | |||
@@ -9,6 +9,10 @@ | |||
9 | 9 | ||
10 | #include "libbb.h" | 10 | #include "libbb.h" |
11 | 11 | ||
12 | #if __GNUC_PREREQ(4,1) | ||
13 | # pragma GCC visibility push(hidden) | ||
14 | #endif | ||
15 | |||
12 | /* order matters: used as index into "install_dir[]" in appletlib.c */ | 16 | /* order matters: used as index into "install_dir[]" in appletlib.c */ |
13 | typedef enum bb_install_loc_t { | 17 | typedef enum bb_install_loc_t { |
14 | _BB_DIR_ROOT = 0, | 18 | _BB_DIR_ROOT = 0, |
@@ -67,5 +71,8 @@ int lbb_main(char **argv); | |||
67 | #endif | 71 | #endif |
68 | #endif | 72 | #endif |
69 | 73 | ||
74 | #if __GNUC_PREREQ(4,1) | ||
75 | # pragma GCC visibility pop | ||
76 | #endif | ||
70 | 77 | ||
71 | #endif /* _BB_INTERNAL_H_ */ | 78 | #endif /* _BB_INTERNAL_H_ */ |