Hide assembly symbols.
Prevent symbols defined in assembly sources from being exported in libraries which include them by marking them hidden, as they are implementation details. BUG=webrtc:4183 R=andrew@webrtc.org Review URL: https://webrtc-codereview.appspot.com/36759004 Patch from Richard Coles <torne@chromium.org>. Cr-Commit-Position: refs/heads/master@{#8658} git-svn-id: http://webrtc.googlecode.com/svn/trunk@8658 4adac7df-926f-26a2-2b94-8c16560cd09d
This commit is contained in:
parent
67186fe00c
commit
a3823e29a2
@ -20,6 +20,7 @@
|
||||
#ifdef __APPLE__
|
||||
.macro GLOBAL_FUNCTION name
|
||||
.global _\name
|
||||
.private_extern _\name
|
||||
.endm
|
||||
.macro DEFINE_FUNCTION name
|
||||
_\name:
|
||||
@ -29,10 +30,12 @@ bl _\name
|
||||
.endm
|
||||
.macro GLOBAL_LABEL name
|
||||
.global _\name
|
||||
.private_extern _\name
|
||||
.endm
|
||||
#else
|
||||
.macro GLOBAL_FUNCTION name
|
||||
.global \name
|
||||
.hidden \name
|
||||
.endm
|
||||
.macro DEFINE_FUNCTION name
|
||||
\name:
|
||||
@ -42,6 +45,7 @@ bl \name
|
||||
.endm
|
||||
.macro GLOBAL_LABEL name
|
||||
.global \name
|
||||
.hidden \name
|
||||
.endm
|
||||
#endif
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user