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

Issue 1743893002: PNaCl dynamic linking: Build an initial dynamically-linked newlib-based libc (Closed)

Created:
4 years, 9 months ago by Mark Seaborn
Modified:
4 years, 9 months ago
Reviewers:
Sean Klein
CC:
native-client-reviews_googlegroups.com, Petr Hosek
Base URL:
https://chromium.googlesource.com/native_client/src/native_client.git@master
Target Ref:
refs/heads/master
Project:
nacl
Visibility:
Public.

Description

PNaCl dynamic linking: Build an initial dynamically-linked newlib-based libc * Add libc_entry.c: entry-point/startup code for this libc. This replaces _start() (from src/untrusted/nacl/start.c). * Add a pll_loader executable that is able to load and run an executable that's dynamically linked against a libc PLL. Also rename the "pll_loader" library target to "pll_loader_lib" so that people don't confuse it with the executable. * Add Scons plumbing for building the libc PLL, etc. For now, it's easier to do this inside of tests/, but this logic should eventually move into toolchain_build/ and the PNaCl driver scripts. * Move the declaration of main() to start.h so that the new code can reuse it. BUG=https://bugs.chromium.org/p/nativeclient/issues/detail?id=4351 TEST=run_pll_hello_world_test_irt Committed: https://chromium.googlesource.com/native_client/src/native_client/+/8d5af2ed9c63eb74c495f04b4951c0bf6ae321aa

Patch Set 1 #

Total comments: 4

Patch Set 2 : Review: rename library #

Unified diffs Side-by-side diffs Delta from patch set Stats (+167 lines, -7 lines) Patch
M site_scons/site_tools/library_deps.py View 1 1 chunk +1 line, -1 line 0 comments Download
M src/untrusted/nacl/start.h View 1 chunk +2 lines, -0 lines 0 comments Download
M src/untrusted/nacl/start.c View 1 chunk +0 lines, -2 lines 0 comments Download
M src/untrusted/pll_loader/nacl.scons View 1 1 chunk +7 lines, -1 line 0 comments Download
A src/untrusted/pll_loader/pll_loader_main.cc View 1 chunk +46 lines, -0 lines 0 comments Download
A tests/pnacl_dynamic_loading/libc_entry.c View 1 chunk +57 lines, -0 lines 0 comments Download
M tests/pnacl_dynamic_loading/nacl.scons View 1 4 chunks +54 lines, -3 lines 0 comments Download

Messages

Total messages: 13 (6 generated)
Mark Seaborn
4 years, 9 months ago (2016-02-27 01:17:50 UTC) #3
Sean Klein
lgtm https://codereview.chromium.org/1743893002/diff/1/tests/pnacl_dynamic_loading/nacl.scons File tests/pnacl_dynamic_loading/nacl.scons (right): https://codereview.chromium.org/1743893002/diff/1/tests/pnacl_dynamic_loading/nacl.scons#newcode158 tests/pnacl_dynamic_loading/nacl.scons:158: pll_loader = env.ComponentProgram( So pll_loader is a library ...
4 years, 9 months ago (2016-02-29 18:18:08 UTC) #4
Mark Seaborn
https://codereview.chromium.org/1743893002/diff/1/tests/pnacl_dynamic_loading/nacl.scons File tests/pnacl_dynamic_loading/nacl.scons (right): https://codereview.chromium.org/1743893002/diff/1/tests/pnacl_dynamic_loading/nacl.scons#newcode158 tests/pnacl_dynamic_loading/nacl.scons:158: pll_loader = env.ComponentProgram( On 2016/02/29 18:18:07, Sean Klein wrote: ...
4 years, 9 months ago (2016-02-29 20:08:44 UTC) #5
Sean Klein
https://codereview.chromium.org/1743893002/diff/1/tests/pnacl_dynamic_loading/nacl.scons File tests/pnacl_dynamic_loading/nacl.scons (right): https://codereview.chromium.org/1743893002/diff/1/tests/pnacl_dynamic_loading/nacl.scons#newcode158 tests/pnacl_dynamic_loading/nacl.scons:158: pll_loader = env.ComponentProgram( I know it's not a technical ...
4 years, 9 months ago (2016-02-29 20:10:39 UTC) #6
Mark Seaborn
https://codereview.chromium.org/1743893002/diff/1/tests/pnacl_dynamic_loading/nacl.scons File tests/pnacl_dynamic_loading/nacl.scons (right): https://codereview.chromium.org/1743893002/diff/1/tests/pnacl_dynamic_loading/nacl.scons#newcode158 tests/pnacl_dynamic_loading/nacl.scons:158: pll_loader = env.ComponentProgram( On 2016/02/29 20:10:39, Sean Klein wrote: ...
4 years, 9 months ago (2016-02-29 22:26:12 UTC) #7
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1743893002/20001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1743893002/20001
4 years, 9 months ago (2016-02-29 23:21:47 UTC) #11
commit-bot: I haz the power
4 years, 9 months ago (2016-02-29 23:23:26 UTC) #13
Message was sent while issue was closed.
Committed patchset #2 (id:20001) as
https://chromium.googlesource.com/native_client/src/native_client/+/8d5af2ed9...

Powered by Google App Engine
This is Rietveld 408576698