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

Issue 10681005: Allow sel_ldr to continue without the IRT, when nexe doesn't have segment gap (Closed)

Created:
8 years, 5 months ago by jvoung (off chromium)
Modified:
8 years, 5 months ago
CC:
native-client-reviews_googlegroups.com
Visibility:
Public.

Description

Allow sel_ldr to continue without the IRT, when nexe doesn't have a segment gap. This allows the specially-built PNaCl translator nexes to be run without plumbing through flags from Chrome. Once we clean up the various code-paths for NACL_STANDALONE, etc., it may be easier to make and activate such a flag. BUG= http://code.google.com/p/nativeclient/issues/detail?id=2877 TEST= run a nexe that doesn't have a segment gap, but supply the IRT anyway (as chrome would). Committed: https://src.chromium.org/viewvc/native_client?view=rev&revision=9059

Patch Set 1 #

Patch Set 2 : Check segment gap instead #

Patch Set 3 : Fix messages. #

Patch Set 4 : simpler check? #

Patch Set 5 : simpler check? #

Total comments: 10

Patch Set 6 : address review comments #

Total comments: 8

Patch Set 7 : one line #

Unified diffs Side-by-side diffs Delta from patch set Stats (+35 lines, -11 lines) Patch
M src/trusted/service_runtime/sel_main.c View 1 2 3 4 5 6 1 chunk +19 lines, -9 lines 0 comments Download
M src/trusted/service_runtime/sel_main_chrome.c View 1 2 3 4 5 6 1 chunk +16 lines, -2 lines 0 comments Download

Messages

Total messages: 12 (0 generated)
jvoung (off chromium)
8 years, 5 months ago (2012-06-26 22:05:34 UTC) #1
jvoung (off chromium)
ah sorry, hold on, need to look at the "ff_" tests.
8 years, 5 months ago (2012-06-26 22:14:57 UTC) #2
Mark Seaborn
I would be happier if you plumbed through an option to turn off IRT loading ...
8 years, 5 months ago (2012-06-26 22:19:56 UTC) #3
jvoung - send to chromium...
On 2012/06/26 22:19:56, Mark Seaborn wrote: > I would be happier if you plumbed through ...
8 years, 5 months ago (2012-06-26 23:29:58 UTC) #4
jvoung (off chromium)
Okay, changed to check for absence of a segment gap before skipping the load.
8 years, 5 months ago (2012-06-27 21:53:52 UTC) #5
Mark Seaborn
http://codereview.chromium.org/10681005/diff/23003/src/trusted/service_runtime/nacl_text.c File src/trusted/service_runtime/nacl_text.c (right): http://codereview.chromium.org/10681005/diff/23003/src/trusted/service_runtime/nacl_text.c#newcode982 src/trusted/service_runtime/nacl_text.c:982: return nap->dynamic_text_start != nap->dynamic_text_end; I would suggest checking whether ...
8 years, 5 months ago (2012-06-28 22:05:11 UTC) #6
jvoung (off chromium)
http://codereview.chromium.org/10681005/diff/23003/src/trusted/service_runtime/nacl_text.c File src/trusted/service_runtime/nacl_text.c (right): http://codereview.chromium.org/10681005/diff/23003/src/trusted/service_runtime/nacl_text.c#newcode982 src/trusted/service_runtime/nacl_text.c:982: return nap->dynamic_text_start != nap->dynamic_text_end; On 2012/06/28 22:05:11, Mark Seaborn ...
8 years, 5 months ago (2012-06-28 22:41:55 UTC) #7
Mark Seaborn
LGTM, thanks http://codereview.chromium.org/10681005/diff/19010/src/trusted/service_runtime/sel_main.c File src/trusted/service_runtime/sel_main.c (right): http://codereview.chromium.org/10681005/diff/19010/src/trusted/service_runtime/sel_main.c#newcode697 src/trusted/service_runtime/sel_main.c:697: * of a segment gap, to provide ...
8 years, 5 months ago (2012-06-28 22:50:55 UTC) #8
jvoung - send to chromium...
Thanks, cq'ing http://codereview.chromium.org/10681005/diff/19010/src/trusted/service_runtime/sel_main.c File src/trusted/service_runtime/sel_main.c (right): http://codereview.chromium.org/10681005/diff/19010/src/trusted/service_runtime/sel_main.c#newcode697 src/trusted/service_runtime/sel_main.c:697: * of a segment gap, to provide ...
8 years, 5 months ago (2012-06-28 23:02:50 UTC) #9
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://nativeclient-status.appspot.com/cq/jvoung@chromium.org/10681005/35006
8 years, 5 months ago (2012-06-28 23:26:58 UTC) #10
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://nativeclient-status.appspot.com/cq/jvoung@chromium.org/10681005/35006
8 years, 5 months ago (2012-06-29 00:03:48 UTC) #11
commit-bot: I haz the power
8 years, 5 months ago (2012-06-29 00:16:38 UTC) #12
The commit queue went berserk retrying too often for a
seemingly flaky test. Builder is nacl-lucid64-bare-shared, revision is 9053, job
name
was 10681005-35006 (retry) (retry) (retry) (retry).

Powered by Google App Engine
This is Rietveld 408576698