2012-07-24 Jan Waclawek <konfera@efton.sk>
authorEric B. Weddington <eric.weddington@atmel.com>
Tue, 24 Jul 2012 22:23:21 +0000 (22:23 +0000)
committerEric B. Weddington <eric.weddington@atmel.com>
Tue, 24 Jul 2012 22:23:21 +0000 (22:23 +0000)
PR ld/14058
* emultempl/avrelf.em (avr_elf_after_allocation): Call
elf32_avr_size_stubs with is_prealloc_run as TRUE.

ld/ChangeLog
ld/emultempl/avrelf.em

index a6c9665b34631728fedea4b9acccdfc9a6ba8eb5..7ff73b30e970b34f32c8abd3690a82d55af758da 100644 (file)
@@ -1,3 +1,9 @@
+2012-07-24  Jan Waclawek <konfera@efton.sk>
+
+       PR ld/14058
+       * emultempl/avrelf.em (avr_elf_after_allocation): Call
+       elf32_avr_size_stubs with is_prealloc_run as TRUE.
+
 2012-07-13  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
 
        * emulparams/elf_s390.sh (IREL_IN_PLT): Define.
index 7f8c05eae764632e39a6e2d8f2eb8e5bfa13cc8d..bfb9d5c4204a263446d09ba27b84b9792f569b0f 100644 (file)
@@ -152,7 +152,7 @@ avr_elf_after_allocation (void)
     {
       /* If relaxing, elf32_avr_size_stubs will be called from
         elf32_avr_relax_section.  */
-      if (!elf32_avr_size_stubs (link_info.output_bfd, &link_info, FALSE))
+      if (!elf32_avr_size_stubs (link_info.output_bfd, &link_info, TRUE))
        einfo ("%X%P: can not size stub section: %E\n");
     }