summaryrefslogtreecommitdiffstats
path: root/ld
diff options
context:
space:
mode:
Diffstat (limited to 'ld')
-rw-r--r--ld/ChangeLog5
-rw-r--r--ld/emultempl/ppc64elf.em10
2 files changed, 9 insertions, 6 deletions
diff --git a/ld/ChangeLog b/ld/ChangeLog
index a6c47638a7..f78771a1c2 100644
--- a/ld/ChangeLog
+++ b/ld/ChangeLog
@@ -1,3 +1,8 @@
+2010-02-09 Alan Modra <amodra@gmail.com>
+
+ * emultempl/ppc64elf.em (ppc_before_allocation): Update for changed
+ function parameters.
+
2010-02-05 Nick Clifton <nickc@redhat.com>
* configure.in (ALL_LIBGUAS): Add bg.
diff --git a/ld/emultempl/ppc64elf.em b/ld/emultempl/ppc64elf.em
index 9532b29217..2e6c8052f4 100644
--- a/ld/emultempl/ppc64elf.em
+++ b/ld/emultempl/ppc64elf.em
@@ -103,12 +103,10 @@ ppc_before_allocation (void)
if (stub_file != NULL)
{
if (!no_opd_opt
- && !ppc64_elf_edit_opd (link_info.output_bfd, &link_info,
- non_overlapping_opd))
+ && !ppc64_elf_edit_opd (&link_info, non_overlapping_opd))
einfo ("%X%P: can not edit %s %E\n", "opd");
- if (ppc64_elf_tls_setup (link_info.output_bfd, &link_info,
- no_tls_get_addr_opt)
+ if (ppc64_elf_tls_setup (&link_info, no_tls_get_addr_opt, &no_multi_toc)
&& !no_tls_opt)
{
/* Size the sections. This is premature, but we want to know the
@@ -117,7 +115,7 @@ ppc_before_allocation (void)
expld.dataseg.phase = exp_dataseg_none;
one_lang_size_sections_pass (NULL, TRUE);
- if (!ppc64_elf_tls_optimize (link_info.output_bfd, &link_info))
+ if (!ppc64_elf_tls_optimize (&link_info))
einfo ("%X%P: TLS problem %E\n");
/* We must not cache anything from the preliminary sizing. */
@@ -126,7 +124,7 @@ ppc_before_allocation (void)
if (!no_toc_opt
&& !link_info.relocatable
- && !ppc64_elf_edit_toc (link_info.output_bfd, &link_info))
+ && !ppc64_elf_edit_toc (&link_info))
einfo ("%X%P: can not edit %s %E\n", "toc");
}
OpenPOWER on IntegriCloud