android_system_core/include
Ben Cheng 5206d59712 Fail-proof the inline directives for SMP atomic operations.
The various atomic operations are declared as inline in the header files
to cut the function call overhead. However, the plain inline keyword is
just a suggestion to the compiler which makes its own decision on whether
to inline them or not. Worst, if they are not inlined, the
-fvisibility-inlines-hidden compiler flag will render them as hidden
symbols in the object file. If they are picked up by the linker over the
ones supplied in libcutils.so the following warning will be reported:

warning: hidden symbol 'android_atomic_inc' in foo.o is referenced by
DSO bar.so

One way is to add __attribute__((visibility("default"))) to those inline
functions to suppress the linker warnings. A better way is to force
inlining as with this patch.

Change-Id: Ie4fcfdfaaf06f42d351619a0d89671a9df15ca2f
2012-12-07 11:07:10 -08:00
..
android Remove libjnigraphics. moved to frameworks/base/native 2010-02-04 15:32:07 -08:00
corkscrew am 83c4398b: am cc12ed32: Merge "[MIPS] debuggerd and libcorkscrew support" 2012-08-15 09:37:54 -07:00
ctest auto import from //depot/cupcake/@135843 2009-03-03 19:32:55 -08:00
cutils Fail-proof the inline directives for SMP atomic operations. 2012-12-07 11:07:10 -08:00
diskconfig diskconfig: Add missing include for loff_t 2012-07-23 16:11:59 -07:00
ion Add explicit sync call to ion library 2012-09-20 09:46:19 -07:00
mincrypt support e=65537 for libmincrypt, DumpPublicKey 2012-07-25 13:09:17 -07:00
netutils Export flags needed for ifc_reset_connections API in netutils 2012-08-15 15:50:25 -07:00
pixelflinger pixelflinger: Fix function naming typo: gglBitBlti 2010-08-10 02:56:47 +08:00
private am ee854b07: Merge "Allocate a UID for clatd" 2012-11-12 15:57:02 -08:00
sync update libsync to support new timeout semantics 2012-08-21 18:21:18 -07:00
system Remove force use definition for remote audio submix 2012-10-11 19:13:58 -07:00
sysutils Revert "libsysutils: NetlinkEvent: add support for interface xt_IDLETIMER events." 2012-04-26 23:52:58 -07:00
usbhost libusbhost: Save endpoint ID in usb_request struct 2011-02-14 08:05:40 -05:00
zipfile auto import from //depot/cupcake/@135843 2009-03-03 19:32:55 -08:00