* scripttempl/avr.sc: Add ALIGN directive after *(.progmem*).
authorNick Clifton <nickc@redhat.com>
Fri, 26 Apr 2013 15:27:55 +0000 (15:27 +0000)
committerNick Clifton <nickc@redhat.com>
Fri, 26 Apr 2013 15:27:55 +0000 (15:27 +0000)
ld/ChangeLog
ld/scripttempl/avr.sc

index 7f94840..05b5a3d 100644 (file)
@@ -1,3 +1,7 @@
+2013-04-26  Senthil Kumar Selvaraj  <senthil_kumar.selvaraj@atmel.com>
+
+       * scripttempl/avr.sc: Add ALIGN directive after *(.progmem*).
+
 2013-04-26  Alan Modra  <amodra@gmail.com>
 
        * emultempl/elf32.em (gld${EMULATION_NAME}_after_open): Test
index fde65f6..eac55b3 100644 (file)
@@ -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)