Remove use of the no longer needed -mminimal-toc option.
authorPeter Bergner <bergner@vnet.ibm.com>
Tue, 7 Mar 2017 15:39:13 +0000 (09:39 -0600)
committerPeter Bergner <bergner@vnet.ibm.com>
Tue, 7 Mar 2017 15:39:13 +0000 (09:39 -0600)
* config/powerpc/ppc64-linux.mh (MH_CFLAGS): Delete.

gdb/ChangeLog
gdb/config/powerpc/ppc64-linux.mh

index 8d6f9cc..f63c09c 100644 (file)
@@ -1,3 +1,7 @@
+2017-03-07  Peter Bergner  <bergner@vnet.ibm.com>
+
+       * config/powerpc/ppc64-linux.mh (MH_CFLAGS): Delete.
+
 2017-03-07  Pedro Alves  <palves@redhat.com>
 
        * tui/tui-regs.c (tui_restore_gdbout): Don't delete gdb_stdout.
index 580eb1f..8681d00 100644 (file)
@@ -10,12 +10,6 @@ NATDEPFILES= inf-ptrace.o fork-child.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)