aboutsummaryrefslogtreecommitdiff
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
commit778ee4a6f2f18eaf3a59a3bb950ed97ae892ed2a (patch)
tree6d69db86edf9078f933cee198620a831c2b4435c /ld/scripttempl
parent2260af53bec484b30834ed7536dcec12451083ad (diff)
downloadgdb-778ee4a6f2f18eaf3a59a3bb950ed97ae892ed2a.zip
gdb-778ee4a6f2f18eaf3a59a3bb950ed97ae892ed2a.tar.gz
gdb-778ee4a6f2f18eaf3a59a3bb950ed97ae892ed2a.tar.bz2
* 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 fde65f6..eac55b3 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)