Commit d63ee3e4 authored by Darshit Shah's avatar Darshit Shah
Browse files

Modify the linker script to match the generated binary

parent 050f727d
......@@ -33,7 +33,7 @@ endif
# Compiler and assembler invocation.
DEFINES =
WARNINGS = -Wall -W -Wstrict-prototypes -Wmissing-prototypes -Wsystem-headers
CFLAGS = -g -msoft-float -O
CFLAGS = -g -msoft-float -O -march=i686
CPPFLAGS = -nostdinc -I$(SRCDIR) -I$(SRCDIR)/lib
ASFLAGS = -Wa,--gstabs
LDFLAGS =
......
......@@ -16,9 +16,12 @@ SECTIONS
.rodata : { *(.rodata) *(.rodata.*)
. = ALIGN(0x1000);
_end_kernel_text = .; }
.eh_frame : { *(.eh_frame) }
.data : { *(.data)
_signature = .; LONG(0xaa55aa55) }
.plt : { *(.plt*) }
/* BSS (zero-initialized data) is after everything else. */
_start_bss = .;
.bss : { *(.bss) }
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment