summaryrefslogtreecommitdiff
path: root/ld/scripttempl
diff options
context:
space:
mode:
authorNick Clifton <nickc@redhat.com>2013-04-26 15:27:55 +0000
committerNick Clifton <nickc@redhat.com>2013-04-26 15:27:55 +0000
commit1f7142b2412f977531489ab856a3492d7c93af11 (patch)
tree2b86e3b93685321918bb9f1334bebeffd6fdf0cd /ld/scripttempl
parent50bb7f530304591fa875fe76ef85635b127b3e4c (diff)
downloadbinutils-redhat-1f7142b2412f977531489ab856a3492d7c93af11.tar.gz
* scripttempl/avr.sc: Add ALIGN directive after *(.progmem*).
Diffstat (limited to 'ld/scripttempl')
-rw-r--r--ld/scripttempl/avr.sc2
1 files changed, 2 insertions, 0 deletions
diff --git a/ld/scripttempl/avr.sc b/ld/scripttempl/avr.sc
index fde65f612f..eac55b3e2c 100644
--- a/ld/scripttempl/avr.sc
+++ b/ld/scripttempl/avr.sc
@@ -94,6 +94,8 @@ SECTIONS
*(.progmem*)
+ ${RELOCATING+. = ALIGN(2);}
+
/* For future tablejump instruction arrays for 3 byte pc devices.
We don't relax jump/call instructions within these sections. */
*(.jumptables)