Remove use of the no longer needed -mminimal-toc option.

* config/powerpc/ppc64-linux.mh (MH_CFLAGS): Delete.
This commit is contained in:
Peter Bergner 2017-03-07 09:39:13 -06:00
parent 5f6fd32191
commit e45ced6c5e
2 changed files with 4 additions and 6 deletions

View 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.

View 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)