AVR: Allow the start address of the .text section to be set by --section-start.

* scripttempl/avrtiny.sc (.text): Do not set LMA to zero.
This commit is contained in:
Senthil Kumar Selvaraj 2016-04-25 13:14:10 +01:00 committed by Nick Clifton
parent f3abeff575
commit 0e03d18a4e
2 changed files with 5 additions and 1 deletions

View File

@ -1,3 +1,7 @@
2016-04-25 Senthil Kumar Selvaraj <senthil_kumar.selvaraj@atmel.com>
* scripttempl/avrtiny.sc (.text): Do not set LMA to zero.
2016-04-21 Nick Clifton <nickc@redhat.com> 2016-04-21 Nick Clifton <nickc@redhat.com>
* ldlang.c (lang_check_relocs): Use bfd_link_check_relocs in * ldlang.c (lang_check_relocs): Use bfd_link_check_relocs in

View File

@ -96,7 +96,7 @@ SECTIONS
.rela.plt ${RELOCATING-0} : { *(.rela.plt) } .rela.plt ${RELOCATING-0} : { *(.rela.plt) }
/* Internal text space or external memory. */ /* Internal text space or external memory. */
.text ${RELOCATING-0} : ${RELOCATING+ AT (0x0)} .text ${RELOCATING-0} :
{ {
*(.vectors) *(.vectors)
KEEP(*(.vectors)) KEEP(*(.vectors))