Clean up the argc/argv/envp/auxv handling.
There's now only one place where we deal with this stuff, it only needs to be parsed once by the dynamic linker (rather than by each recipient), and it's now easier for us to get hold of auxv data early on. Change-Id: I6314224257c736547aac2e2a650e66f2ea53bef5
This commit is contained in:
@@ -44,8 +44,12 @@ struct atexit {
|
||||
} fns[1]; /* the table itself */
|
||||
};
|
||||
|
||||
__BEGIN_DECLS
|
||||
|
||||
extern int __atexit_invalid;
|
||||
extern struct atexit *__atexit; /* points to head of LIFO stack */
|
||||
|
||||
int __cxa_atexit(void (*)(void *), void *, void *);
|
||||
void __cxa_finalize(void *);
|
||||
|
||||
__END_DECLS
|
||||
|
Reference in New Issue
Block a user