Subversion Repositories HelenOS

Compare Revisions

Ignore whitespace Rev 420 → Rev 418

/SPARTAN/trunk/arch/sparc64/boot/_link.ld
File deleted
/SPARTAN/trunk/arch/sparc64/boot/boot.S
File deleted
/SPARTAN/trunk/arch/sparc64/boot/Makefile
1,30 → 1,9
BINUTILS_DIR=/usr/local/sparc64/bin
TARGET=sparc64-linux-gnu
.PHONY: nothing build clean
 
.PHONY: nothing build
 
nothing:
 
build: boot.bin
cp boot.bin ../../../load.bin
build:
touch boot.bin
 
CC=$(BINUTILS_DIR)/$(TARGET)-gcc
AS=$(BINUTILS_DIR)/$(TARGET)-as
LD=$(BINUTILS_DIR)/$(TARGET)-ld
 
CPPFLAGS=$(DEFS) -nostdinc -I../include
CFLAGS=$(CPPFLAGS) -nostdlib -fno-builtin -Werror-implicit-function-declaration -Wmissing-prototypes -Werror -O2
LFLAGS=-no-check-sections -N -T _link.ld -s
 
boot.bin: boot.aout
dd if=/dev/zero of=$@ bs=512 count=16
dd if=boot.aout of=$@ bs=512 seek=1 conv=notrunc
 
boot.aout: boot.o
$(LD) $(LFLAGS) boot.o -o $@
 
boot.o: boot.S
$(CC) $(CFLAGS) -c boot.S -o $@
 
clean:
-rm *.o *.bin *.aout
-rm *.bin
/SPARTAN/trunk/arch/sparc64/include/context.h
33,7 → 33,7
#include <typedefs.h>
#include <align.h>
 
#define STACK_ITEM_SIZE 8
#define STACK_ITEM_SIZE 16
 
/*
* One item is put onto the stack to support get_stack_base().
/SPARTAN/trunk/arch/sparc64/src/dummy.s
93,5 → 93,5
 
dummy:
0:
b 0b
ba,pt %xcc, 0b
nop
/SPARTAN/trunk/arch/sparc64/src/start.S
31,5 → 31,5
.global kernel_image_start
kernel_image_start:
0:
b 0b
ba 0b
nop
/SPARTAN/trunk/arch/sparc64/_link.ld
39,10 → 39,4
 
kdata_end = .;
}
/DISCARD/ : {
*(.comment);
*(.note*);
}
 
}