blob: 618157672a49eeb657a9e1c99a6de84352dfcd7e [file] [log] [blame]
# -*- makefile -*-
#
# arch/cris/MCONFIG
#
# Special rules for this architecture. Note that this is actually
# included from the main Makefile, and that pathnames should be
# accordingly.
#
OPTFLAGS = -Os -fomit-frame-pointer
BITSIZE = 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
# 1008 MB - normal binaries start at 0
SHAREDFLAGS = -Ttext 0x3f000200
# How to tell the linker main() is the entrypoint
EMAIN := -e _main