aboutsummaryrefslogtreecommitdiff
path: root/gdb/config/powerpc/ppc64-linux.mh
diff options
context:
space:
mode:
authorJim Blandy <jimb@codesourcery.com>2003-06-12 23:30:39 +0000
committerJim Blandy <jimb@codesourcery.com>2003-06-12 23:30:39 +0000
commit8fbb30b1240c0eeb5d73c92f73731a788a72fea2 (patch)
treec553a8b44158ac1b2e9c105efdb2722ab5af2970 /gdb/config/powerpc/ppc64-linux.mh
parent1fd355687c42efaded7a5bd426dc0e86dfc2883a (diff)
downloadgdb-8fbb30b1240c0eeb5d73c92f73731a788a72fea2.zip
gdb-8fbb30b1240c0eeb5d73c92f73731a788a72fea2.tar.gz
gdb-8fbb30b1240c0eeb5d73c92f73731a788a72fea2.tar.bz2
* configure.host, configure.tgt: Add entries for
powerpc64-*-linux, selecting powerpc/ppc64-linux.mh and powerpc/linux.mt. * config/powerpc/ppc64-linux.mh, config/powerpc/nm-ppc64-linux.mh: New files.
Diffstat (limited to 'gdb/config/powerpc/ppc64-linux.mh')
-rw-r--r--gdb/config/powerpc/ppc64-linux.mh19
1 files changed, 19 insertions, 0 deletions
diff --git a/gdb/config/powerpc/ppc64-linux.mh b/gdb/config/powerpc/ppc64-linux.mh
new file mode 100644
index 0000000..c7a69ea
--- /dev/null
+++ b/gdb/config/powerpc/ppc64-linux.mh
@@ -0,0 +1,19 @@
+# Host: PowerPC64, running Linux
+
+XM_FILE= xm-linux.h
+XM_CLIBS=
+
+NAT_FILE= nm-ppc64-linux.h
+NATDEPFILES= infptrace.o inftarg.o fork-child.o linux-proc.o \
+ ppc-linux-nat.o proc-service.o thread-db.o lin-lwp.o \
+ gcore.o
+
+# 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