aboutsummaryrefslogtreecommitdiff
path: root/gdb/config/powerpc/ppc64-linux.mh
blob: 7eb6507d9423b1119533387da2806b8f4001e0ec (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 ppc-linux.o linux-personality.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)