From 778ee4a6f2f18eaf3a59a3bb950ed97ae892ed2a Mon Sep 17 00:00:00 2001 From: Nick Clifton Date: Fri, 26 Apr 2013 15:27:55 +0000 Subject: * scripttempl/avr.sc: Add ALIGN directive after *(.progmem*). --- ld/ChangeLog | 4 ++++ ld/scripttempl/avr.sc | 2 ++ 2 files changed, 6 insertions(+) (limited to 'ld') diff --git a/ld/ChangeLog b/ld/ChangeLog index 7f94840..05b5a3d 100644 --- a/ld/ChangeLog +++ b/ld/ChangeLog @@ -1,3 +1,7 @@ +2013-04-26 Senthil Kumar Selvaraj + + * scripttempl/avr.sc: Add ALIGN directive after *(.progmem*). + 2013-04-26 Alan Modra * emultempl/elf32.em (gld${EMULATION_NAME}_after_open): Test 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) -- cgit v1.1