Merge "Only hide assembly functions for Chrome"

This commit is contained in:
Johann 2014-05-02 07:15:38 -07:00 committed by Gerrit Code Review
commit ac8c069198

View File

@ -592,6 +592,7 @@ DECLARE_ARG 7, 8, 9, 10, 11, 12, 13, 14
CAT_XDEFINE cglobaled_, %1, 1 CAT_XDEFINE cglobaled_, %1, 1
%endif %endif
%xdefine current_function %1 %xdefine current_function %1
%ifdef CHROMIUM
%ifidn __OUTPUT_FORMAT__,elf %ifidn __OUTPUT_FORMAT__,elf
global %1:function hidden global %1:function hidden
%elifidn __OUTPUT_FORMAT__,elf32 %elifidn __OUTPUT_FORMAT__,elf32
@ -605,6 +606,9 @@ DECLARE_ARG 7, 8, 9, 10, 11, 12, 13, 14
%else %else
global %1 global %1
%endif %endif
%else
global %1
%endif
align function_align align function_align
%1: %1:
RESET_MM_PERMUTATION ; not really needed, but makes disassembly somewhat nicer RESET_MM_PERMUTATION ; not really needed, but makes disassembly somewhat nicer