From e45ced6c5e06b0092ac9f5497aa580cfad0c953c Mon Sep 17 00:00:00 2001 From: Peter Bergner Date: Tue, 7 Mar 2017 09:39:13 -0600 Subject: [PATCH] Remove use of the no longer needed -mminimal-toc option. * config/powerpc/ppc64-linux.mh (MH_CFLAGS): Delete. --- gdb/ChangeLog | 4 ++++ gdb/config/powerpc/ppc64-linux.mh | 6 ------ 2 files changed, 4 insertions(+), 6 deletions(-) diff --git a/gdb/ChangeLog b/gdb/ChangeLog index 8d6f9cc9812..f63c09cc80e 100644 --- a/gdb/ChangeLog +++ b/gdb/ChangeLog @@ -1,3 +1,7 @@ +2017-03-07 Peter Bergner + + * config/powerpc/ppc64-linux.mh (MH_CFLAGS): Delete. + 2017-03-07 Pedro Alves * tui/tui-regs.c (tui_restore_gdbout): Don't delete gdb_stdout. diff --git a/gdb/config/powerpc/ppc64-linux.mh b/gdb/config/powerpc/ppc64-linux.mh index 580eb1f773f..8681d0057df 100644 --- a/gdb/config/powerpc/ppc64-linux.mh +++ b/gdb/config/powerpc/ppc64-linux.mh @@ -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) -- 2.30.2