aboutsummaryrefslogtreecommitdiff
path: root/ld/emultempl
diff options
context:
space:
mode:
authorAlan Modra <amodra@gmail.com>2011-10-15 09:22:42 +0000
committerAlan Modra <amodra@gmail.com>2011-10-15 09:22:42 +0000
commit4fc89632580d99f45565dc038a4c5d895f73d5cd (patch)
treed6e1536fb036444a9ba0288dbdb2c1a5e3b1902f /ld/emultempl
parent657368002b8118b4a0207f9367e776f77bf4419a (diff)
downloadgdb-4fc89632580d99f45565dc038a4c5d895f73d5cd.zip
gdb-4fc89632580d99f45565dc038a4c5d895f73d5cd.tar.gz
gdb-4fc89632580d99f45565dc038a4c5d895f73d5cd.tar.bz2
* emultempl/ppc64elf.em (gld${EMULATION_NAME}_finish): Remove toc check.
Diffstat (limited to 'ld/emultempl')
-rw-r--r--ld/emultempl/ppc64elf.em8
1 files changed, 0 insertions, 8 deletions
diff --git a/ld/emultempl/ppc64elf.em b/ld/emultempl/ppc64elf.em
index 0a49c5b..80143a8 100644
--- a/ld/emultempl/ppc64elf.em
+++ b/ld/emultempl/ppc64elf.em
@@ -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;