blob: a8a742412ee3522a65f18a40208b6540d773ca90 [file] [log] [blame]
# -*- makefile -*-
#
# arch/sparc64/MCONFIG
#
# Special rules for this architecture. Note that this is actually
# included from the main Makefile, and that pathnames should be
# accordingly.
#
ARCHREQFLAGS = -m64 -mptr64
OPTFLAGS = -Os
BITSIZE = 64
LDFLAGS = -m elf64_sparc
# 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
# Normal binaries start at 1 MB; the linker wants 1 MB alignment,
# and call instructions have a 30-bit signed offset, << 2.
SHAREDFLAGS = -Ttext 0x80000200