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