summaryrefslogtreecommitdiffstats
path: root/usr/klibc/arch/m68k/MCONFIG
blob: 79bfbac655e74bf58164f8f168b87ce4ea3c1204 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
# -*- makefile -*-
#
# arch/m68k/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
# 2816 MB - normal binaries start at 2048 MB if I read the link
# script right.  Not sure if there is a fundamental reason
# to not duck below the halfway point...
KLIBCSHAREDFLAGS        = $(LD_IMAGE_BASE_OPT) 0xb0000000

# Kernel uses stack trampoline for signal return.  Also m68k
# page tables do not have an execute permission bit.
KLIBCEXECSTACK := y