# -*- 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        = -Ttext-segment 0xb0000000

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