This is the mail archive of the gdb-cvs@sourceware.org mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[binutils-gdb] Remove use of the no longer needed -mminimal-toc option.


https://sourceware.org/git/gitweb.cgi?p=binutils-gdb.git;h=e45ced6c5e06b0092ac9f5497aa580cfad0c953c

commit e45ced6c5e06b0092ac9f5497aa580cfad0c953c
Author: Peter Bergner <bergner@vnet.ibm.com>
Date:   Tue Mar 7 09:39:13 2017 -0600

    Remove use of the no longer needed -mminimal-toc option.
    
    	* config/powerpc/ppc64-linux.mh (MH_CFLAGS): Delete.

Diff:
---
 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 8d6f9cc..f63c09c 100644
--- a/gdb/ChangeLog
+++ b/gdb/ChangeLog
@@ -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.
diff --git a/gdb/config/powerpc/ppc64-linux.mh b/gdb/config/powerpc/ppc64-linux.mh
index 580eb1f..8681d00 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)


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]