summaryrefslogtreecommitdiff
path: root/libc/misc/internals/__uClibc_main.c
AgeCommit message (Collapse)Author
2006-01-26Some more prototypes, enable missing-prototypes/declarations warnings for nowPeter S. Mazinger
2006-01-23Guard hidden prototypes accordinglyPeter S. Mazinger
2006-01-21Use __typeof instead of adding full prototypesPeter S. Mazinger
2006-01-16Last relocs jump and global data, (even locales) that I could remove are ↵Peter S. Mazinger
gone from libc. The remaining are left as exercise for others ;-)
2006-01-14make DODEBUG=y happy, update sysdeps/common/* copyrightPeter S. Mazinger
2006-01-14hidden_def/hidden_proto: convert all users (I hope) termios split, add some ↵Peter S. Mazinger
missing headers, other jump relocs removed
2006-01-08create & use an internal alias to __uClibc_init()Mike Frysinger
2006-01-08create a hidden internal pagesize symbol for libc usageMike Frysinger
2006-01-04tweak __progname handling some more since some [bad] apps actually try and ↵Mike Frysinger
use it
2006-01-03tweak what is likely() in the argv[0] parsingMike Frysinger
2006-01-03add optional support for program_invocation_name/program_invocation_short_nameMike Frysinger
2006-01-03we dont need to loop calling abort() because abort() already loops for usMike Frysinger
2006-01-03fix previous commit so that __uClibc_init() is run for non-mmu cases again ↵Mike Frysinger
as report by Thomas in Bug 618
2006-01-02Use attribute_noreturnPeter S. Mazinger
2006-01-02Remove -unhonoured- commentPeter S. Mazinger
2005-12-28typecast away signed/unsigned warningsMike Frysinger
2005-12-16Remove all trailing ; after *_alias and change 2 to use weak_alias instead ↵Peter S. Mazinger
of __attribute__ ...
2005-12-16Convert usersPeter S. Mazinger
2005-12-14Hide _stdio_init/term, sorry, one change went mistakenly into the earlier commitPeter S. Mazinger
2005-12-13Convert all users of earlier hiddensPeter S. Mazinger
2005-12-13Convert internal users of chmod/*stat*, minimize change for __strsepPeter S. Mazinger
2005-12-04More hiding, 300 leftPeter S. Mazinger
2005-12-01Hide mostly used functionsPeter S. Mazinger
2005-11-29Paul Brook writes:Mike Frysinger
The functions __check_one_fd and __check_suid in libc/misc/internals/__uClibc_main.c are only used used when __ARCH_HAS_MMU__. The patch below surrounds them with the appropriate #ifdef.
2005-11-29Hiding againPeter S. Mazinger
2005-11-15Undo hiding __libc_fcntl[64], CANCELABLE_SYSCALL is not grep friendly ;-(, ↵Peter S. Mazinger
have to find some other way to make it internal to libc and libpthread
2005-11-15Update copyright noticePeter S. Mazinger
2005-11-15Hide __libc_fcntl[64]. Change weak __libc_fcntl* fcntl* to strongPeter S. Mazinger
2005-10-29Hopefully correct undefined __libc_stack_end issuePeter S. Mazinger
2005-10-27Moved guard_setup to dl-osinfo.h (used commonly by ldso and libc). Renamed ↵Peter S. Mazinger
to _dl_setup_stack_chk_guard, as in glibc. SSP requires now binutils-2.16.1 and newer. Add NOT_IN_libc/IS_IN_libc. Began using -DSHARED in uClibc_main.c, there are more candidates in there. Move back dl_protect_relro to it's earlier place.
2005-10-12Remove /dev/erandom support, as [h]lfs does not use it in this form.Peter S. Mazinger
2005-10-08User strong_alias instead of initializing __guard separatelyPeter S. Mazinger
2005-10-03Enable attribute_relro on __guard and __stack_chk_guard now that ld.so ↵Peter S. Mazinger
supports it
2005-10-01Change the order in which '__uClibc_init' is called. In the case of NPTL, ↵"Steven J. Hill"
some auxillary TLS set up has to happen beforehand. This has been tested for almost two months now and I am tired of chasing it around in my merges. Look in the NPTL trunk if you want more information.
2005-10-01Add gcc-4.1 non-TLS __stack_chk_guard support. Run the guard setup only once.Peter S. Mazinger
2005-09-23New ssp code using syscalls where possible.Peter S. Mazinger
Moved guard_setup to __uClibc_main.c, the only place where it is called. Removed SIGKILL option, not usable with sigaction.
2005-09-21correct some typosPeter S. Mazinger
2005-09-08punt _DL_FINI_CRT_COMPAT option now that 0.9.28 has been releasedMike Frysinger
2005-09-08Fix by Martin Schlemmer:Mike Frysinger
If _DL_FINI_CRT_COMPAT is defined, _dl_fini is setup to run at exit via atexit(), but this makes it run _before_ the fini (__app_fini()) of the app, causing stuff like sandbox that frees structs, etc via its fini to segfault. http://bugs.gentoo.org/98187
2005-08-29anemo writes in Bug 9: use ElfW(auxv_t) instead of Elf32_auxv_tMike Frysinger
2005-06-29Add __libc_stack_end to libc.Joakim Tjernlund
2005-05-28Add Peter Mazinger fini/crt compat patch. Select DL_FINI_CRT_COMPAT toJoakim Tjernlund
be able to run apps built with 0.9.27. This also renames __uClibc_start_main to __uClibc_main. This compat option should be removed some time after 0.9.28 is released. Let me know if you don't like this change.
2005-05-26This commit breaks the entire world (yet again). Calculate theEric Andersen
position of envp in C code based on argv and argp. No need to caclulate that in asm for N arches. This way, we better match what glibc does. All arches will need to be fixed to match up with this change.
2005-05-25Adapt startup code in x86 and PPC to almost match glibc. _init vs. ↵Joakim Tjernlund
__libc_csu_init and _fini vs. __libc_csu_fini remains to do.
2005-05-21Pass main function ptr from crt1 to __uClibc_start_main.Joakim Tjernlund
Kill old crt0/__uClibc_main. This breaks ABI. All apps and toolchain needs to be recompiled. All archs except x86 are now broken and need to be fixed as x86. PPC will be fixed shortly by me, the rest is left to the arch maintainers.
2005-03-20Prepare for moving ldso FINI handling into libc.Joakim Tjernlund
#define _DL_DO_FINI_IN_LIBC to enable(the arch specific part needs to be in place first).
2004-12-22Patch from Peter S. Mazinger:Eric Andersen
rename UCLIBC_PROPOLICE to UCLIBC_HAS_SSP
2004-10-27Fix up __uClibc_init() for so that we prevent starting SUIDEric Andersen
binaries where the standard file descriptors are not opened. -Erik
2004-08-16I will always test before I commit.Eric Andersen
I will always test before I commit. I will always test before I commit. -Erik
2004-08-16Setup __pagesize from inside __uClibc_init(), or else when registeringEric Andersen
dtors via atexit(), atexit may need to call realloc with __pagesize still set to 0. ugh. -Erik