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

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

Issue 7273005: Added support for two more (bfd) linker flags that will be useful (Closed) Base URL: svn://svn.chromium.org/native_client/trunk/src/native_client/
Patch Set: '' Created 9 years, 6 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 | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: tools/llvm/driver/pnacl-ld.py
===================================================================
--- tools/llvm/driver/pnacl-ld.py (revision 5803)
+++ tools/llvm/driver/pnacl-ld.py (working copy)
@@ -151,6 +151,9 @@
( ('(-?-soname)', '(.*)'), "env.append('LD_FLAGS', $0, $1)"),
( '(--eh-frame-hdr)', "env.append('LD_FLAGS', $0)"),
+ ( '(--print-gc-sections)', "env.append('LD_FLAGS', $0)"),
+ ( '(-gc-sections)', "env.append('LD_FLAGS', $0)"),
+
( '-melf_nacl', "env.set('ARCH', 'X8632')"),
( ('-m','elf_nacl'), "env.set('ARCH', 'X8632')"),
( '-melf64_nacl', "env.set('ARCH', 'X8664')"),
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698