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

Side by Side Diff: pnacl/support/crt1.x

Issue 8437034: Roll UPSTREAM_REV and make other changes needed to bring in CL: (Closed) Base URL: svn://svn.chromium.org/native_client/trunk/src/native_client/
Patch Set: '' Created 9 years, 1 month 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 | Annotate | Revision Log
« no previous file with comments | « pnacl/driver/pnacl-ld.py ('k') | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 /* 1 /*
2 * This is a dummy linker script used as crt1.o. 2 * This is a dummy linker script used as crt1.o.
3 * The actual startup code is just the _start function defined in a library. 3 * The actual startup code is just the _start function defined in a library.
4 * We provide this file for two purposes: 4 * We provide this file for two purposes:
5 * 1. To keep with the traditional linking sequence that puts crt1.o first. 5 * 1. To keep with the traditional linking sequence that puts crt1.o first.
6 * 2. To generate references to the main and exit symbols like the real 6 * 2. To generate references to the main and exit symbols like the real
7 * startup code would, so that they will be brought in from libraries 7 * startup code would, so that they will be brought in from libraries
8 * before -lc is encountered in the link. Otherwise a main defined in 8 * before -lc is encountered in the link. Otherwise a main defined in
9 * a library wouldn't be referenced until after that library had already 9 * a library wouldn't be referenced until after that library had already
10 * been examined, and _start's call would get an undefined reference. 10 * been examined, and _start's call would get an undefined reference.
11 */ 11 */
12 12
13 EXTERN ( main exit _exit ) 13 EXTERN ( main exit _exit __nacl_read_tp )
OLDNEW
« no previous file with comments | « pnacl/driver/pnacl-ld.py ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698