- Cleanup

- For simplicity we'll force using only insn common to 020 to 060, mostly to avoid unimplemented floating point ops in the kernel.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@26647 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
François Revol 2008-07-26 22:04:31 +00:00
parent ad50b122b9
commit 0f104a754b

View File

@ -278,15 +278,13 @@ if $(HAIKU_ARCH) = ppc {
HAIKU_KERNEL_PIC_LINKFLAGS = -shared -fPIE ;
}
if $(HAIKU_ARCH) = m68k {
# Build a position independent M68K kernel. We need to be able to relocate
# the kernel, since the virtual address space layout at boot time is not
# fixed.
#HAIKU_KERNEL_PIC_CCFLAGS = -mpcrel -Wa,--pcrel ;
#HAIKU_KERNEL_PIC_LINKFLAGS = -mpcrel ;
#HAIKU_KERNEL_PIC_CCFLAGS = -msep-data -Wa,--pcrel ;
#HAIKU_KERNEL_PIC_LINKFLAGS = -msep-data ;
# We don't need a PIC kernel as it's always at the same place.
# it's actually needed to not use pic, else linking fails due to too large pc refs.
HAIKU_KERNEL_PIC_CCFLAGS = -fno-pic ;
HAIKU_KERNEL_PIC_LINKFLAGS = ;
# we don't want to have to handle emulating missing FPU opcodes for 040 and 060 in the kernel
HAIKU_KERNEL_CCFLAGS += -m68020-60 ;
HAIKU_KERNEL_C++FLAGS += -m68020-60 ;
}
# If the environment variable DEBUG_PRINTF is defined we define an equally