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

Unified Diff: pydir/szbuild.py

Issue 1275983003: Subzero: Fix szbuild.py linking. (Closed) Base URL: https://chromium.googlesource.com/native_client/pnacl-subzero.git@master
Patch Set: Created 5 years, 4 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: pydir/szbuild.py
diff --git a/pydir/szbuild.py b/pydir/szbuild.py
index 558f8e2bb87f9630a34fbd9bb5d307887aff564a..08e1a091648d59bbd683f38020f6f6dd52127608 100755
--- a/pydir/szbuild.py
+++ b/pydir/szbuild.py
@@ -286,7 +286,8 @@ def ProcessPexe(args, pexe, exe):
).format(objcopy=objcopy, partial=obj_partial),
echo=args.verbose)
shellcmd((
- '{objcopy} --globalize-symbol={start} {partial}'
+ '{objcopy} --globalize-symbol={start} ' +
+ '--globalize-symbol=__Sz_block_profile_info {partial}'
).format(objcopy=objcopy, partial=obj_partial,
start='_start' if args.sandbox else '_user_start'),
echo=args.verbose)
« 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