hello updated to use new baremetal environment

This commit is contained in:
Steven James 2003-05-17 13:22:12 +00:00
parent c5fff88e6c
commit 70c2b7512d
2 changed files with 2 additions and 2 deletions

View file

@ -1,7 +1,7 @@
CC = gcc
CFLAGS = -I ../include -O2
DEPS = hello.o ../lib/baremetal.a
DEPS = ../lib/_main.o hello.o ../lib/baremetal.a
hello.elf: $(DEPS)
ld -defsym HEAPSIZE=0x100 -T elfImage.lds $(DEPS) -o hello.elf

View file

@ -21,7 +21,7 @@ OUTPUT_ARCH(i386)
HEAPSIZE = DEFINED(HEAPSIZE) ? HEAPSIZE : 0x8000;
ENTRY(main)
ENTRY(_main)
SECTIONS
{
/* . = 0x10000 - (elf_note - elf_header); */