aboutsummaryrefslogtreecommitdiff
path: root/lib/csu
diff options
context:
space:
mode:
authorDavid Greenman <dg@FreeBSD.org>1993-10-26 09:04:13 +0000
committerDavid Greenman <dg@FreeBSD.org>1993-10-26 09:04:13 +0000
commitcd11d97905b0f0ccea7a11539070b445b935748a (patch)
treefea44dc6fe9b46d2e27264ae3bca3aff31b23ef1 /lib/csu
parent03b15f193436d3ae04a1a99cad6506aa5bc6ecd8 (diff)
downloadsrc-cd11d97905b0f0ccea7a11539070b445b935748a.tar.gz
src-cd11d97905b0f0ccea7a11539070b445b935748a.zip
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.
Notes
Notes: svn path=/head/; revision=670
Diffstat (limited to 'lib/csu')
-rw-r--r--lib/csu/i386/crt0.c8
1 files changed, 0 insertions, 8 deletions
diff --git a/lib/csu/i386/crt0.c b/lib/csu/i386/crt0.c
index 7c3cef10e6d6..623cf6438b46 100644
--- a/lib/csu/i386/crt0.c
+++ b/lib/csu/i386/crt0.c
@@ -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");