From 778ee4a6f2f18eaf3a59a3bb950ed97ae892ed2a Mon Sep 17 00:00:00 2001 From: Nick Clifton Date: Fri, 26 Apr 2013 15:27:55 +0000 Subject: [PATCH] * scripttempl/avr.sc: Add ALIGN directive after *(.progmem*). --- ld/ChangeLog | 4 ++++ ld/scripttempl/avr.sc | 2 ++ 2 files changed, 6 insertions(+) diff --git a/ld/ChangeLog b/ld/ChangeLog index 7f94840db34..05b5a3dd286 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 fde65f612ff..eac55b3e2cc 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) -- 2.30.2