Update.
[glibc.git] / sysdeps / generic / start.c
blobcf7efc931a8b233b4e6c3e428b0d204f3d58b7ab
1 /* This file should define the low-level program entry point,
2 which should set up `__environ', and then do:
3 __libc_init(argc, argv, __environ);
4 exit(main(argc, argv, __environ));
6 This file should be prepared to be the first thing in the text section (on
7 Unix systems), or otherwise appropriately special. */
9 /* The first piece of initialized data. */
10 int __data_start = 0;
11 #ifdef HAVE_WEAK_SYMBOLS
12 weak_alias (__data_start, data_start)
13 #endif
15 volatile int __errno;
16 strong_alias (__errno, errno)