Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(733)

Unified Diff: pnacl/driver/pnacl-ld.py

Issue 14780006: Remove _Unwind_* stubs from pnacl_abi.bc (Closed) Base URL: svn://svn.chromium.org/native_client/trunk/src/native_client
Patch Set: Review Created 7 years, 7 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | pnacl/support/bitcode/pnacl_abi.c » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: pnacl/driver/pnacl-ld.py
diff --git a/pnacl/driver/pnacl-ld.py b/pnacl/driver/pnacl-ld.py
index 524635629b89395e329b28c79aa5cb1bffbafc67..89c73f36d98b8e9233306c6113c0c9b171e3a99d 100755
--- a/pnacl/driver/pnacl-ld.py
+++ b/pnacl/driver/pnacl-ld.py
@@ -100,10 +100,29 @@ EXTRA_ENV = {
'LD_GOLD_OFORMAT_X8664' : 'elf64-x86-64-nacl',
'LD_GOLD_OFORMAT_MIPS32' : 'elf32-tradlittlemips',
- 'BCLD' : '${LD_GOLD}',
- 'BCLD_FLAGS': '--oformat ${LD_GOLD_OFORMAT} -Ttext=0x20000 ' +
- '${!SHARED && !RELOCATABLE ? --undef-sym-check} ' +
- '${GOLD_PLUGIN_ARGS} ${LD_FLAGS}',
+ 'BCLD' : '${LD_GOLD}',
+ 'BCLD_ALLOW_UNRESOLVED' :
+ '{ALLOW_CXX_EXCEPTIONS ? '
Mark Seaborn 2013/05/07 19:59:05 Does there need to be a "$" here for this to work?
eliben 2013/05/07 21:03:14 Good catch, thanks. I'm wondering why this hasn't
+ '--allow-unresolved=_Unwind_DeleteException '
Mark Seaborn 2013/05/07 19:59:05 Maybe sort the list?
eliben 2013/05/07 21:03:14 Will do
+ '--allow-unresolved=_Unwind_GetIP '
+ '--allow-unresolved=_Unwind_GetIPInfo '
+ '--allow-unresolved=_Unwind_Resume '
+ '--allow-unresolved=_Unwind_GetCFA '
+ '--allow-unresolved=_Unwind_Backtrace '
+ '--allow-unresolved=_Unwind_SetIP '
+ '--allow-unresolved=_Unwind_GetRegionStart '
+ '--allow-unresolved=_Unwind_GetDataRelBase '
+ '--allow-unresolved=_Unwind_GetTextRelBase '
+ '--allow-unresolved=_Unwind_GetLanguageSpecificData '
+ '--allow-unresolved=_Unwind_PNaClSetResult0 '
+ '--allow-unresolved=_Unwind_PNaClSetResult1 '
+ '--allow-unresolved=_Unwind_RaiseException '
+ '--allow-unresolved=_Unwind_Resume_or_Rethrow}',
+
+ 'BCLD_FLAGS':
+ '--oformat ${LD_GOLD_OFORMAT} -Ttext=0x20000 ' +
+ '${!SHARED && !RELOCATABLE ? --undef-sym-check ${BCLD_ALLOW_UNRESOLVED}} ' +
+ '${GOLD_PLUGIN_ARGS} ${LD_FLAGS}',
'RUN_BCLD': ('${BCLD} ${BCLD_FLAGS} ${inputs} -o ${output}'),
'ALLOW_CXX_EXCEPTIONS': '0',
« no previous file with comments | « no previous file | pnacl/support/bitcode/pnacl_abi.c » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698