diff options
author | Denis Vlasenko <vda.linux@googlemail.com> | 2009-01-04 21:19:43 +0000 |
---|---|---|
committer | Denis Vlasenko <vda.linux@googlemail.com> | 2009-01-04 21:19:43 +0000 |
commit | 350e4e14d811d6fcfff067989061309355ea8881 (patch) | |
tree | e24f63946ec57c7f15fa4ab566375f87f862db2b /ldso/ldso/avr32 | |
parent | 07fbe8979dec661379a7f5b3e87ed31c4a281a8c (diff) |
ldso/ldso/dl-startup.c: make _dl_elf_main static; remove one dead variable.
ldso/ldso/avr32/dl-startup.h: remove superfluous definition of START() macro.
ldso/ldso/*/dl-startup.h: fix a typo in comment
text data bss dec hex filename
- 16752 244 92 17088 42c0 lib/ld-uClibc.so
+ 16709 240 92 17041 4291 lib/ld-uClibc.so
Diffstat (limited to 'ldso/ldso/avr32')
-rw-r--r-- | ldso/ldso/avr32/dl-startup.h | 11 |
1 files changed, 1 insertions, 10 deletions
diff --git a/ldso/ldso/avr32/dl-startup.h b/ldso/ldso/avr32/dl-startup.h index 3b8bf4ce2..066f65fc2 100644 --- a/ldso/ldso/avr32/dl-startup.h +++ b/ldso/ldso/avr32/dl-startup.h @@ -41,7 +41,7 @@ __asm__(" .text\n" " .previous\n"); /* Get a pointer to the argv array. On many platforms this can be just - * the address if the first argument, on other platforms we need to + * the address of the first argument, on other platforms we need to * do something a little more subtle here. */ #define GET_ARGV(ARGVP, ARGS) ARGVP = ((unsigned long *)ARGS + 1) @@ -101,12 +101,3 @@ void PERFORM_BOOTSTRAP_RELOC(ELF_RELOC *rpnt, unsigned long *reloc_addr, _dl_exit(1); } } - -/* Transfer control to the user's application, once the dynamic loader - * is done. This routine has to exit the current function, then call - * the _dl_elf_main function. - * - * Since our _dl_boot will simply call whatever is returned by - * _dl_boot2, we can just return the address we're supposed to - * call. */ -#define START() return _dl_elf_main; |