blob: 432656013ae5c767349030def8c80d110b773c30 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
|
# -*- 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
KLIBCARCHREQFLAGS += $(call cc-option, -mcall-aixdesc, )
KLIBCARCHREQFLAGS += $(call cc-option, -mcmodel=small, )
KLIBCOPTFLAGS += -Os
KLIBCBITSIZE = 64
# 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 = $(LD_IMAGE_BASE_OPT) 0x0f000000
# The asm include files live in asm-powerpc
KLIBCASMARCH = powerpc
# Kernel uses vDSO for signal return since 2.6.12
KLIBCEXECSTACK := n
|