arm/build/ldscript: import ld script and build paras from riscv64
- This will fix page translation fault when accessing static variables. - Now with this patch, we made uart pl011 works for qemu. Change-Id: I8eecc18ad05bd950768b49d9ed268c4c2a3baf25 Signed-off-by: Han Pengfei <[email protected]> Reviewed-on: https://review.haiku-os.org/c/haiku/+/4123 Reviewed-by: Adrien Destugues <[email protected]> Reviewed-by: X512 <[email protected]> Tested-by: Commit checker robot <[email protected]>
This commit is contained in:
committed by
Adrien Destugues
parent
bd76cde0fa
commit
5a1731bcbc
@@ -399,7 +399,8 @@ rule KernelArchitectureSetup architecture
|
||||
case arm :
|
||||
HAIKU_KERNEL_PIC_LINKFLAGS += -z max-page-size=0x1000 ;
|
||||
HAIKU_KERNEL_ADDON_LINKFLAGS += -z max-page-size=0x1000 ;
|
||||
HAIKU_KERNEL_PIC_CCFLAGS = -fno-pic ;
|
||||
HAIKU_KERNEL_PIC_CCFLAGS = -fpic ;
|
||||
HAIKU_KERNEL_PIC_LINKFLAGS = -shared ;
|
||||
|
||||
case arm64 :
|
||||
HAIKU_KERNEL_PIC_LINKFLAGS += -z max-page-size=0x1000 ;
|
||||
|
||||
Reference in New Issue
Block a user