ref: 071395de6a1c6c67c976794cf0bedaa7ef8926b5
parent: 24df77e95102980e5f303b3a64a955a6e8089028
author: Yunqing Wang <[email protected]>
date: Mon Sep 23 09:45:43 EDT 2013
Hide global symbols for macho32/64 Added hiding global symbols for macho32 and macho64 in x86inc.asm. This was done to fix exported symbol issue in Chrome build. Change-Id: I08d5c559b985b82f655b537469fee125615e78c0
--- a/third_party/x86inc/x86inc.asm
+++ b/third_party/x86inc/x86inc.asm
@@ -598,6 +598,10 @@
global %1:function hidden
%elifidn __OUTPUT_FORMAT__,elf64
global %1:function hidden
+ %elifidn __OUTPUT_FORMAT__,macho32
+ global %1:private_extern
+ %elifidn __OUTPUT_FORMAT__,macho64
+ global %1:private_extern
%else
global %1
%endif