From f700ba6668dbdb91a03b2c5aa387eb4cabae8fcd Mon Sep 17 00:00:00 2001 From: Marvin Borner Date: Fri, 21 Aug 2020 20:39:48 +0200 Subject: Some things here and some things there --- apps/link.ld | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'apps/link.ld') diff --git a/apps/link.ld b/apps/link.ld index 84b2e2f..2b9599a 100644 --- a/apps/link.ld +++ b/apps/link.ld @@ -1,14 +1,14 @@ OUTPUT_FORMAT("elf32-i386") OUTPUT_ARCH(i386) -ENTRY(main) +STARTUP(libc.a) /* HUH */ +ENTRY(_start) SECTIONS { . = 0x00000000; .text : { - *(.text.main) - *(.text*) + *(.text) } .rodata : { -- cgit v1.2.3