Chromium Code Reviews| 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', |