diff options
Diffstat (limited to 'ld/emultempl/ppc64elf.em')
-rw-r--r-- | ld/emultempl/ppc64elf.em | 11 |
1 files changed, 5 insertions, 6 deletions
diff --git a/ld/emultempl/ppc64elf.em b/ld/emultempl/ppc64elf.em index 6df2a20..ee71f25 100644 --- a/ld/emultempl/ppc64elf.em +++ b/ld/emultempl/ppc64elf.em @@ -421,12 +421,11 @@ ppc_add_stub_section (const char *stub_sec_name, asection *input_section) stub_sec = bfd_make_section_anyway_with_flags (stub_file->the_bfd, stub_sec_name, flags); if (stub_sec == NULL - || !bfd_set_section_alignment (stub_file->the_bfd, stub_sec, - (params.plt_stub_align > 5 - ? params.plt_stub_align - : params.plt_stub_align < -5 - ? -params.plt_stub_align - : 5))) + || !bfd_set_section_alignment (stub_sec, (params.plt_stub_align > 5 + ? params.plt_stub_align + : params.plt_stub_align < -5 + ? -params.plt_stub_align + : 5))) goto err_ret; output_section = input_section->output_section; |