summaryrefslogtreecommitdiffstats
path: root/tools/ld_bfd
diff options
context:
space:
mode:
authorbradchen@google.com <bradchen@google.com@0039d316-1c4b-4281-b951-d872f2087c98>2011-08-17 15:30:13 +0000
committerbradchen@google.com <bradchen@google.com@0039d316-1c4b-4281-b951-d872f2087c98>2011-08-17 15:30:13 +0000
commit34169bda0e64aa826c113c0bed199f8469736f75 (patch)
tree9f12d961ac1416cc9fdb8a367856ea97340d4261 /tools/ld_bfd
parentb967a1b2bc8ae2c714a3c692cf086fdf7815e9eb (diff)
downloadchromium_src-34169bda0e64aa826c113c0bed199f8469736f75.zip
chromium_src-34169bda0e64aa826c113c0bed199f8469736f75.tar.gz
chromium_src-34169bda0e64aa826c113c0bed199f8469736f75.tar.bz2
Reserve 1GB at the base of the address space of linux nacl_helper for Native Client module.
Use PathService instead of command line flag to enable helper. Adds a nacl_helper_bootstrap executable that implements the actual space reservation. This is for resubmit of reverted CL 7670011, fixing nacl.gypi for the linux_shared build. See 7670011 and 7599011 for review history. TBR=agl,bradnelson BUG=92964, nativeclient:480 TEST=manual for now Review URL: http://codereview.chromium.org/7655010 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@97137 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'tools/ld_bfd')
-rwxr-xr-xtools/ld_bfd/ld2
1 files changed, 2 insertions, 0 deletions
diff --git a/tools/ld_bfd/ld b/tools/ld_bfd/ld
index 5a5d84e..124f202 100755
--- a/tools/ld_bfd/ld
+++ b/tools/ld_bfd/ld
@@ -34,6 +34,8 @@ def main():
continue
if arg == "-Wl,--thread-count=4" or arg == "--thread-count=4":
continue
+ if arg == "--icf=none":
+ continue
args.append(arg)
print("ld_bfd/ld: exec ", args)
sys.exit(subprocess.call(args))