AVR: Allow the start address of the .text section to be set by --section-start.
authorSenthil Kumar Selvaraj <senthil_kumar.selvaraj@atmel.com>
Mon, 25 Apr 2016 12:14:10 +0000 (13:14 +0100)
committerNick Clifton <nickc@redhat.com>
Mon, 25 Apr 2016 12:14:10 +0000 (13:14 +0100)
* scripttempl/avrtiny.sc (.text): Do not set LMA to zero.

ld/ChangeLog
ld/scripttempl/avrtiny.sc

index 8bb2be1..4f20b5c 100644 (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>
 
        * ldlang.c (lang_check_relocs): Use bfd_link_check_relocs in
index 045bc4b..0441dcb 100644 (file)
@@ -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))