summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorhamaji@chromium.org <hamaji@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2014-07-22 23:37:40 +0000
committerhamaji@chromium.org <hamaji@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2014-07-22 23:37:40 +0000
commitf96446d574276949b2cf5a241959f071f64273e9 (patch)
tree70f4734a3c2e8f0588adff3f5b4c0eeff32e590e
parent01a079cb12828a2828d6aaf75f5a23cfcc80e1e8 (diff)
downloadchromium_src-f96446d574276949b2cf5a241959f071f64273e9.zip
chromium_src-f96446d574276949b2cf5a241959f071f64273e9.tar.gz
chromium_src-f96446d574276949b2cf5a241959f071f64273e9.tar.bz2
Non-SFI NaCl: Do not create unwind tables for libc_free.c
ARM GCC emits references to EABI symbols like __aeabi_unwind_cpp_pr0 and they are causing a link error because recently we have added -Wl,--no-undefined. TEST=./out/Release/browser_tests --gtest_filter='*NonSfi*' # Note we cannot test this on ARM yet. TEST=ninja browser_tests (for ARM Chrome OS) BUG=None Review URL: https://codereview.chromium.org/401243002 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@284807 0039d316-1c4b-4281-b951-d872f2087c98
-rw-r--r--chrome/test/data/nacl/nacl_test_data.gyp3
1 files changed, 3 insertions, 0 deletions
diff --git a/chrome/test/data/nacl/nacl_test_data.gyp b/chrome/test/data/nacl/nacl_test_data.gyp
index 80020a6..677ca48 100644
--- a/chrome/test/data/nacl/nacl_test_data.gyp
+++ b/chrome/test/data/nacl/nacl_test_data.gyp
@@ -1178,6 +1178,9 @@
'-fprofile-generate',
'-finstrument-functions',
'-O2',
+ # ARM GCC emits symbols like __aeabi_unwind_cpp_pr0 in
+ # .exidx sections with this flag.
+ '-funwind-tables',
],
'ldflags': [
'-nostdlib',