aboutsummaryrefslogtreecommitdiff
path: root/gdb/config/powerpc/ppc64-linux.mh
blob: 580eb1f773fe65221554b2f6023c36e089ee488c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
# Host: PowerPC64, running Linux

XM_CLIBS=

NAT_FILE= config/nm-linux.h
NATDEPFILES= inf-ptrace.o fork-child.o \
	ppc-linux-nat.o proc-service.o linux-thread-db.o \
	linux-nat.o linux-osdata.o linux-fork.o linux-procfs.o linux-ptrace.o \
	linux-waitpid.o ppc-linux.o linux-personality.o \
	linux-namespaces.o
NAT_CDEPS = $(srcdir)/proc-service.list

# The PowerPC has severe limitations on TOC size, and uses them even
# for non-PIC code.  GDB overflows those tables when compiling with
# -mfull-toc (the default), so we need to ask GCC to use as few TOC
# entries as possible.
MH_CFLAGS= -mminimal-toc

# The dynamically loaded libthread_db needs access to symbols in the
# gdb executable.
LOADLIBES= -ldl $(RDYNAMIC)