Fixes for gcc 3.4 (-funit-at-a-time). Reduced size of stubs a little bit.

committer: mfx <mfx> 1084323518 +0000
This commit is contained in:
Markus F.X.J. Oberhumer
2004-05-12 00:58:38 +00:00
parent 55cde23f10
commit 7ce85ab712
6 changed files with 34 additions and 9 deletions
+2 -2
View File
@@ -94,7 +94,7 @@ do_brk(void *addr)
}
static char *
__attribute__((cdecl))
__attribute_cdecl
do_mmap(void *addr, size_t len, int prot, int flags, int fd, off_t offset)
{
(void)len; (void)prot; (void)flags; (void)fd; (void)offset;
@@ -251,7 +251,7 @@ ERR_LAB
}
Elf32_Addr // entry address
static Elf32_Addr // entry address
getexec(char const *const fname, Elf32_Ehdr *const ehdr, Elf32_auxv_t *const av)
{
int const fdi = open(fname, O_RDONLY, 0);