5 # Special rules for this architecture. Note that this is actually
6 # included from the main Makefile, and that pathnames should be
9 # Blatantly copied and modified from i386 version by Mats Petersson, AMD.
13 # NOTE: -fno-asynchronous-unwind-tables produce significantly smaller
14 # binaries (20% smaller), but makes the code completely useless for
15 # debugging using gdb.
19 OPTFLAGS = -Os -fomit-frame-pointer \
20 -falign-functions=0 -falign-jumps=0 -falign-loops=0
22 OPTFLAGS = -Os -fno-asynchronous-unwind-tables -fomit-frame-pointer \
23 -falign-functions=0 -falign-jumps=0 -falign-loops=0
26 LDFLAGS = -m elf_x86_64
28 # Extra linkflags when building the shared version of the library
29 # This address needs to be reachable using normal inter-module
30 # calls, and work on the memory models for this architecture
31 # 2 MB - normal binaries start at 4 MB
32 SHAREDFLAGS = -Ttext 0x00200200
34 # Additional asm- directories needed during installation