]> git.ipfire.org Git - thirdparty/glibc.git/blame - sysdeps/stub/start.c
update from main archive
[thirdparty/glibc.git] / sysdeps / stub / start.c
CommitLineData
28f540f4
RM
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));
5
6 This file should be prepared to be the first thing in the text section (on
7 Unix systems), or otherwise appropriately special. */
8
5f9e57ba
RM
9/* The first piece of initialized data. */
10int __data_start = 0;
11#ifdef HAVE_WEAK_SYMBOLS
12weak_alias (__data_start, data_start)
28f540f4
RM
13#endif
14
c4029823
UD
15volatile int __errno;
16string_alias (__errno, errno)