blob: 6d8e1361ec734d21581f788a985d0f3612f1304c [file] [log] [blame]
# -*- makefile -*-
#
# arch/ppc64/MCONFIG
#
# Special rules for this architecture. Note that this is actually
# included from the main Makefile, and that pathnames should be
# accordingly.
#
KLIBCARCHREQFLAGS = -m64 -mcall-aixdesc
KLIBCOPTFLAGS = -Os
KLIBCBITSIZE = 64
KLIBCLDFLAGS = -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
KLIBCSHAREDFLAGS = -Ttext 0x0f000200
# The kernel so far has both asm-ppc* and asm-powerpc.
KLIBCARCHINCFLAGS = -I$(KLIBCKERNELOBJ)arch/$(KLIBCARCH)/include
# The asm include files live in asm-powerpc
KLIBCASMARCH = powerpc