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
03b15f1934
commit
cd11d97905
@ -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