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

Side by Side Diff: sysdeps/nacl/dl-sysdep.c

Issue 7282019: Adjust for new NaCl startup ABI (Closed) Base URL: http://git.chromium.org/native_client/nacl-glibc.git@master
Patch Set: Created 9 years, 5 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 unified diff | Download patch
OLDNEW
(Empty)
1 /* The COOKIE is the argument to _dl_start, which is passed through from
2 the first C function argument set up by the NaCl trusted runtime's
3 startup sequence. We extract the arguments et al from here rather
4 than from the traditional Unix/ELF stack setup. */
5
6 #define DL_FIND_ARG_COMPONENTS(cookie, argc, argv, envp, auxp) \
7 do { \
8 uint32_t *_info = (void *) (cookie); \
9 int _envc = _info[1]; \
10 (argc) = _info[2]; \
11 (argv) = (void *) &_info[3]; \
12 (envp) = &(argv)[(argc) + 1]; \
13 (auxp) = (void *) &(envp)[_envc + 1]; \
14 } while (0)
15
16 #include <sysdeps/unix/sysv/linux/dl-sysdep.c>
OLDNEW
« make_sysd_rules.py ('K') | « sysdeps/nacl/Makefile ('k') | sysdeps/nacl/receive_args.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698