From 4fc89632580d99f45565dc038a4c5d895f73d5cd Mon Sep 17 00:00:00 2001 From: Alan Modra Date: Sat, 15 Oct 2011 09:22:42 +0000 Subject: * emultempl/ppc64elf.em (gld${EMULATION_NAME}_finish): Remove toc check. --- ld/ChangeLog | 4 ++++ ld/emultempl/ppc64elf.em | 8 -------- 2 files changed, 4 insertions(+), 8 deletions(-) (limited to 'ld') diff --git a/ld/ChangeLog b/ld/ChangeLog index 4a3eb3b..2fbd8d1 100644 --- a/ld/ChangeLog +++ b/ld/ChangeLog @@ -1,3 +1,7 @@ +2011-10-15 Alan Modra + + * emultempl/ppc64elf.em (gld${EMULATION_NAME}_finish): Remove toc check. + 2011-10-13 Dave Korn * pe-dll.c (generate_reloc): Don't emit a base reloc for an 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; -- cgit v1.1