summaryrefslogtreecommitdiffstats
path: root/usr/klibc/arch/sh/MCONFIG
blob: 43d608c28fc038f4abaa987be7eee3c41f99eeac (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
# -*- makefile -*-
#
# arch/sh/MCONFIG
#
# Special rules for this architecture.  Note that this is actually
# included from the main Makefile, and that pathnames should be
# accordingly.
#

KLIBCOPTFLAGS     += -Os -fomit-frame-pointer
KLIBCBITSIZE      = 32

# 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
# 2 MB -- the normal starting point for text is 4 MB.
KLIBCSHAREDFLAGS	= $(LD_IMAGE_BASE_OPT) 0x00200000

# Kernel uses vDSO for signal return since 2.6.19
KLIBCEXECSTACK := n