chiark / gitweb /
[PATCH] klibc v0.199
[elogind.git] / klibc / klibc / arch / sparc64 / MCONFIG
1 # -*- makefile -*-
2 #
3 # arch/sparc64/MCONFIG
4 #
5 # Special rules for this architecture.  Note that this is actually
6 # included from the main Makefile, and that pathnames should be
7 # accordingly.
8 #
9
10 ARCHREQFLAGS = -m64 -mptr64
11 OPTFLAGS     = -Os
12 BITSIZE      = 64
13
14 LDFLAGS      = -m elf64_sparc
15
16 # Extra linkflags when building the shared version of the library
17 # This address needs to be reachable using normal inter-module
18 # calls, and work on the memory models for this architecture
19 # Normal binaries start at 1 MB; the linker wants 1 MB alignment,
20 # and call instructions have a 30-bit signed offset, << 2.
21 SHAREDFLAGS     = -Ttext 0x80000200