This is the mail archive of the
binutils-cvs@sourceware.org
mailing list for the binutils project.
[binutils-gdb] AVR: Allow the start address of the .text section to be set by --section-start.
- From: Nick Clifton <nickc at sourceware dot org>
- To: bfd-cvs at sourceware dot org
- Date: 25 Apr 2016 12:15:23 -0000
- Subject: [binutils-gdb] AVR: Allow the start address of the .text section to be set by --section-start.
https://sourceware.org/git/gitweb.cgi?p=binutils-gdb.git;h=0e03d18a4eeb90d3dc17814d5e4c05c5812f50ba
commit 0e03d18a4eeb90d3dc17814d5e4c05c5812f50ba
Author: Senthil Kumar Selvaraj <senthil_kumar.selvaraj@atmel.com>
Date: Mon Apr 25 13:14:10 2016 +0100
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:
---
ld/ChangeLog | 4 ++++
ld/scripttempl/avrtiny.sc | 2 +-
2 files changed, 5 insertions(+), 1 deletion(-)
diff --git a/ld/ChangeLog b/ld/ChangeLog
index 8bb2be1..4f20b5c 100644
--- a/ld/ChangeLog
+++ b/ld/ChangeLog
@@ -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
diff --git a/ld/scripttempl/avrtiny.sc b/ld/scripttempl/avrtiny.sc
index 045bc4b..0441dcb 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))