Yanked out the 8 'addb %al,%al' (0xc000)'s out of the start of the
program. The idea was that these are 'alignment' crap, but the image is 16byte-aligned without these. Location 0 still doesn't have a 0, but who cares, binaries wil be built with page zero unmapped in the near future.
This commit is contained in:
parent
2442e5c854
commit
db5c3ded26
@ -54,14 +54,6 @@ static char empty[1];
|
||||
char *__progname = empty;
|
||||
int errno = 0;
|
||||
|
||||
asm(".text");
|
||||
asm(".long 0xc000c000");
|
||||
#if 1 /* more needed for alignment on i486/gcc-2.3.3 */
|
||||
asm(".long 0xc000c000");
|
||||
asm(".long 0xc000c000");
|
||||
asm(".long 0xc000c000");
|
||||
#endif
|
||||
|
||||
extern unsigned char etext;
|
||||
extern unsigned char eprol asm ("eprol");
|
||||
extern start() asm("start");
|
||||
|
Loading…
Reference in New Issue
Block a user