projects
/
binutils-gdb.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Add separate debug info file section
[binutils-gdb.git]
/
ld
/
scripttempl
/
avrtiny.sc
diff --git
a/ld/scripttempl/avrtiny.sc
b/ld/scripttempl/avrtiny.sc
index 045bc4b26e0fe88fceb9ce2387595099050a3a9b..3f69e9abce4a54b90d55e3f74e0a82a8079e3050 100644
(file)
--- 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. */
.rela.plt ${RELOCATING-0} : { *(.rela.plt) }
/* Internal text space or external memory. */
- .text ${RELOCATING-0} :
${RELOCATING+ AT (0x0)}
+ .text ${RELOCATING-0} :
{
*(.vectors)
KEEP(*(.vectors))
{
*(.vectors)
KEEP(*(.vectors))
@@
-113,6
+113,10
@@
SECTIONS
${RELOCATING+ *(.trampolines*)}
${CONSTRUCTING+ __trampolines_end = . ; }
${RELOCATING+ *(.trampolines*)}
${CONSTRUCTING+ __trampolines_end = . ; }
+ /* avr-libc expects these data to reside in lower 64K. */
+ ${RELOCATING+ *libprintf_flt.a:*(.progmem.data)}
+ ${RELOCATING+ *libc.a:*(.progmem.data)}
+
${RELOCATING+ *(.progmem*)}
${RELOCATING+. = ALIGN(2);}
${RELOCATING+ *(.progmem*)}
${RELOCATING+. = ALIGN(2);}