summaryrefslogtreecommitdiffstats
path: root/lib/csu
diff options
context:
space:
mode:
authordg <dg@FreeBSD.org>1993-10-26 09:04:13 +0000
committerdg <dg@FreeBSD.org>1993-10-26 09:04:13 +0000
commitc06d5da754bec4abf58c1e0ac39cbe8f7d456c73 (patch)
treefea44dc6fe9b46d2e27264ae3bca3aff31b23ef1 /lib/csu
parentb7669e96a38c7bf2f3ab396dbbae7605b1018231 (diff)
downloadFreeBSD-src-c06d5da754bec4abf58c1e0ac39cbe8f7d456c73.zip
FreeBSD-src-c06d5da754bec4abf58c1e0ac39cbe8f7d456c73.tar.gz
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.
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 7c3cef1..623cf64 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");
OpenPOWER on IntegriCloud