* emultempl/ppc64elf.em (gld${EMULATION_NAME}_finish): Remove toc check.
authorAlan Modra <amodra@gmail.com>
Sat, 15 Oct 2011 09:22:42 +0000 (09:22 +0000)
committerAlan Modra <amodra@gmail.com>
Sat, 15 Oct 2011 09:22:42 +0000 (09:22 +0000)
ld/ChangeLog
ld/emultempl/ppc64elf.em

index 4a3eb3bf12de77e2d22c00b309e34c98bae32f98..2fbd8d1d4e0c7da7ad1eadded67c1ecbc1584be4 100644 (file)
@@ -1,3 +1,7 @@
+2011-10-15  Alan Modra  <amodra@gmail.com>
+
+       * emultempl/ppc64elf.em (gld${EMULATION_NAME}_finish): Remove toc check.
+
 2011-10-13  Dave Korn  <dave.korn.cygwin@gmail.com>
 
        * pe-dll.c (generate_reloc): Don't emit a base reloc for an
index 0a49c5ba4cf8dc0c9d3899840379d5ab3559f8c0..80143a85257c74d25071fa344251ae0855a90c40 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;