summaryrefslogtreecommitdiff
path: root/ld/emulparams/avr5.sh
diff options
context:
space:
mode:
Diffstat (limited to 'ld/emulparams/avr5.sh')
-rw-r--r--ld/emulparams/avr5.sh3
1 files changed, 2 insertions, 1 deletions
diff --git a/ld/emulparams/avr5.sh b/ld/emulparams/avr5.sh
index 5b175b82f04..69090beedef 100644
--- a/ld/emulparams/avr5.sh
+++ b/ld/emulparams/avr5.sh
@@ -4,7 +4,8 @@ SCRIPT_NAME=avr
OUTPUT_FORMAT="elf32-avr"
MAXPAGESIZE=1
EMBEDDED=yes
-TEMPLATE_NAME=generic
+TEMPLATE_NAME=elf32
TEXT_LENGTH=128K
DATA_LENGTH=0xffa0
+EXTRA_EM_FILE=avrelf