X-Git-Url: https://oss.titaniummirror.com/gitweb?p=msp430-binutils.git;a=blobdiff_plain;f=ld%2Femultempl%2Flinux.em;fp=ld%2Femultempl%2Flinux.em;h=2a2a960a49fed9e6bed35f4703622ce6cf8952f2;hp=aa4a088b1228036005174717b14fcb782dfbae8b;hb=d5da4f291af551c0b8b79e1d4a9b173d60e5c10e;hpb=7b5ea4fcdf2819e070665ab5610f8b48e3867c10 diff --git a/ld/emultempl/linux.em b/ld/emultempl/linux.em index aa4a088..2a2a960 100644 --- a/ld/emultempl/linux.em +++ b/ld/emultempl/linux.em @@ -10,7 +10,7 @@ fragment < Linux support by Eric Youngdale @@ -120,7 +120,8 @@ gld${EMULATION_NAME}_before_allocation (void) /* Let the backend work out the sizes of any sections required by dynamic linking. */ - if (! bfd_${EMULATION_NAME}_size_dynamic_sections (output_bfd, &link_info)) + if (! bfd_${EMULATION_NAME}_size_dynamic_sections (link_info.output_bfd, + &link_info)) einfo ("%P%F: failed to set dynamic section sizes: %E\n"); before_allocation_default ();