aboutsummaryrefslogtreecommitdiff
path: root/ld
diff options
context:
space:
mode:
authorEric B. Weddington <eric.weddington@atmel.com>2012-07-24 22:23:21 +0000
committerEric B. Weddington <eric.weddington@atmel.com>2012-07-24 22:23:21 +0000
commit43315eb701fa09768ae00b243fdc3c51af493109 (patch)
tree6dc8aa6771e449da2717bf86958c947dea0fbcd7 /ld
parent6aa82b649b1352d7c6c0132f2ba631f5e7bde6f3 (diff)
downloadgdb-43315eb701fa09768ae00b243fdc3c51af493109.zip
gdb-43315eb701fa09768ae00b243fdc3c51af493109.tar.gz
gdb-43315eb701fa09768ae00b243fdc3c51af493109.tar.bz2
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.
Diffstat (limited to 'ld')
-rw-r--r--ld/ChangeLog6
-rw-r--r--ld/emultempl/avrelf.em2
2 files changed, 7 insertions, 1 deletions
diff --git a/ld/ChangeLog b/ld/ChangeLog
index a6c9665..7ff73b3 100644
--- a/ld/ChangeLog
+++ b/ld/ChangeLog
@@ -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.
diff --git a/ld/emultempl/avrelf.em b/ld/emultempl/avrelf.em
index 7f8c05e..bfb9d5c 100644
--- a/ld/emultempl/avrelf.em
+++ b/ld/emultempl/avrelf.em
@@ -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");
}