]> git.ipfire.org Git - thirdparty/binutils-gdb.git/commitdiff
2011-10-15 Alan Modra <amodra@gmail.com>
authorAlan Modra <amodra@gmail.com>
Tue, 25 Oct 2011 03:07:19 +0000 (03:07 +0000)
committerAlan Modra <amodra@gmail.com>
Tue, 25 Oct 2011 03:07:19 +0000 (03:07 +0000)
* emultempl/ppc64elf.em (gld${EMULATION_NAME}_finish): Remove toc check.

ld/ChangeLog
ld/emultempl/ppc64elf.em

index ffe7f2ab014a23c6a178b77330ee904efa6d20d2..8a49cf6dd9d0ddd7089d52c5355cad574776f997 100644 (file)
@@ -1,6 +1,9 @@
 2011-10-25  Alan Modra  <amodra@gmail.com>
 
        Apply mainline patches
+       2011-10-15  Alan Modra  <amodra@gmail.com>
+       * emultempl/ppc64elf.em (gld${EMULATION_NAME}_finish): Remove toc check.
+
        2011-10-10  Alan Modra  <amodra@gmail.com>
        * ldmain.c (main): Move code twiddling various config and link_info
        bits to..
index 0ea93b73634711e82e31bf46548d21cb3ea1ae47..92a468fb6681b069bd9844471c4d9c45906a7c44 100644 (file)
@@ -530,14 +530,6 @@ gld${EMULATION_NAME}_finish (void)
      descriptor in the .opd section.  */
   entry_section = ".opd";
 
-  if (link_info.relocatable)
-    {
-      asection *toc = bfd_get_section_by_name (link_info.output_bfd, ".toc");
-      if (toc != NULL
-         && bfd_section_size (link_info.output_bfd, toc) > 0x10000)
-       einfo ("%X%P: TOC section size exceeds 64k\n");
-    }
-
   if (stub_added)
     {
       char *msg = NULL;