X-Git-Url: http://www.chiark.greenend.org.uk/ucgi/~ianmdlvl/git?p=elogind.git;a=blobdiff_plain;f=klibc%2Fklibc%2Farch%2Fppc64%2FMCONFIG;h=9aba2ddbb617a79d5b6bade67ba43bbbdfa2146e;hp=6997693e99bb5958c3c3c5bfa810c234888c7d99;hb=54eb6a122fc6d2d765b9f71f9b47d529c1acf30f;hpb=a41a0e28c2ba0abf99b5e7ea17645ae0e4f05758 diff --git a/klibc/klibc/arch/ppc64/MCONFIG b/klibc/klibc/arch/ppc64/MCONFIG index 6997693e9..9aba2ddbb 100644 --- a/klibc/klibc/arch/ppc64/MCONFIG +++ b/klibc/klibc/arch/ppc64/MCONFIG @@ -7,5 +7,14 @@ # accordingly. # -OPTFLAGS = -Os -fomit-frame-pointer -BITSIZE = 64 +ARCHREQFLAGS = -m64 -mcall-aixdesc +OPTFLAGS = -Os +BITSIZE = 64 +LDFLAGS = -m elf64ppc + +# Extra linkflags when building the shared version of the library +# This address needs to be reachable using normal inter-module +# calls, and work on the memory models for this architecture +# 256-16 MB - normal binaries start at 256 MB, and jumps are limited +# to +/- 16 MB +SHAREDFLAGS = -Ttext 0x0f000200