diff options
author | Senthil Kumar Selvaraj <senthil_kumar.selvaraj@atmel.com> | 2016-04-25 13:14:10 +0100 |
---|---|---|
committer | Nick Clifton <nickc@redhat.com> | 2016-04-25 13:14:10 +0100 |
commit | 0e03d18a4eeb90d3dc17814d5e4c05c5812f50ba (patch) | |
tree | d7d32a48e9e9955de68752cd5afe02c671441b45 | |
parent | f3abeff575541dd80e1facd6d0f920e10f77fede (diff) | |
download | gdb-0e03d18a4eeb90d3dc17814d5e4c05c5812f50ba.zip gdb-0e03d18a4eeb90d3dc17814d5e4c05c5812f50ba.tar.gz gdb-0e03d18a4eeb90d3dc17814d5e4c05c5812f50ba.tar.bz2 |
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.
-rw-r--r-- | ld/ChangeLog | 4 | ||||
-rw-r--r-- | ld/scripttempl/avrtiny.sc | 2 |
2 files changed, 5 insertions, 1 deletions
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)) |