From: Senthil Kumar Selvaraj Date: Mon, 25 Apr 2016 12:14:10 +0000 (+0100) Subject: AVR: Allow the start address of the .text section to be set by --section-start. X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=0e03d18a4eeb90d3dc17814d5e4c05c5812f50ba;p=binutils-gdb.git 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. --- diff --git a/ld/ChangeLog b/ld/ChangeLog index 8bb2be12fc7..4f20b5c0f43 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 045bc4b26e0..0441dcba930 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))