- 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:
@@ -278,15 +278,13 @@ if $(HAIKU_ARCH) = ppc {
|
|||||||
HAIKU_KERNEL_PIC_LINKFLAGS = -shared -fPIE ;
|
HAIKU_KERNEL_PIC_LINKFLAGS = -shared -fPIE ;
|
||||||
}
|
}
|
||||||
if $(HAIKU_ARCH) = m68k {
|
if $(HAIKU_ARCH) = m68k {
|
||||||
# Build a position independent M68K kernel. We need to be able to relocate
|
# We don't need a PIC kernel as it's always at the same place.
|
||||||
# the kernel, since the virtual address space layout at boot time is not
|
# it's actually needed to not use pic, else linking fails due to too large pc refs.
|
||||||
# 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 ;
|
|
||||||
HAIKU_KERNEL_PIC_CCFLAGS = -fno-pic ;
|
HAIKU_KERNEL_PIC_CCFLAGS = -fno-pic ;
|
||||||
HAIKU_KERNEL_PIC_LINKFLAGS = ;
|
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
|
# If the environment variable DEBUG_PRINTF is defined we define an equally
|
||||||
|
|||||||
Reference in New Issue
Block a user