diff --git a/ld/ChangeLog b/ld/ChangeLog index 8bb2be12fc..4f20b5c0f4 100644 --- a/ld/ChangeLog +++ b/ld/ChangeLog @@ -1,3 +1,7 @@ +2016-04-25 Senthil Kumar Selvaraj + + * scripttempl/avrtiny.sc (.text): Do not set LMA to zero. + 2016-04-21 Nick Clifton * ldlang.c (lang_check_relocs): Use bfd_link_check_relocs in diff --git a/ld/scripttempl/avrtiny.sc b/ld/scripttempl/avrtiny.sc index 045bc4b26e..0441dcba93 100644 --- a/ld/scripttempl/avrtiny.sc +++ b/ld/scripttempl/avrtiny.sc @@ -96,7 +96,7 @@ SECTIONS .rela.plt ${RELOCATING-0} : { *(.rela.plt) } /* Internal text space or external memory. */ - .text ${RELOCATING-0} : ${RELOCATING+ AT (0x0)} + .text ${RELOCATING-0} : { *(.vectors) KEEP(*(.vectors))