summaryrefslogtreecommitdiff
path: root/gdb/config/powerpc/ppc64-linux.mh
blob: 4b91408fbe678ef51b8af6c936d3542e61c3f5d2 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
# 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
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)