Building the Linux stub is now completely freestanding of any libc/kernel headers.

committer: mfx <mfx> 1080194907 +0000
This commit is contained in:
Markus F.X.J. Oberhumer
2004-03-25 06:08:27 +00:00
parent 23db1d375c
commit a5d8e575bd
4 changed files with 265 additions and 110 deletions
+2 -2
View File
@@ -208,7 +208,7 @@ make_hatch(Elf32_Phdr const *const phdr)
}
static void
__attribute__ ((regparm(2), stdcall))
__attribute__((regparm(2), stdcall))
upx_bzero(char *p, size_t len)
{
if (len) do {
@@ -219,7 +219,7 @@ upx_bzero(char *p, size_t len)
static void
__attribute__ ((regparm(3), stdcall))
__attribute__((regparm(3), stdcall))
auxv_up(Elf32_auxv_t *av, int const type, unsigned const value)
{
if (av && 0==(1&(int)av)) /* PT_INTERP usually inhibits, except for hatch */