aboutsummaryrefslogtreecommitdiff
path: root/ld/emulparams
diff options
context:
space:
mode:
Diffstat (limited to 'ld/emulparams')
-rw-r--r--ld/emulparams/avr25.sh11
-rw-r--r--ld/emulparams/avr31.sh11
-rw-r--r--ld/emulparams/avr35.sh11
-rw-r--r--ld/emulparams/avr51.sh11
4 files changed, 44 insertions, 0 deletions
diff --git a/ld/emulparams/avr25.sh b/ld/emulparams/avr25.sh
new file mode 100644
index 0000000..12a0023
--- /dev/null
+++ b/ld/emulparams/avr25.sh
@@ -0,0 +1,11 @@
+ARCH=avr:25
+MACHINE=
+SCRIPT_NAME=avr
+OUTPUT_FORMAT="elf32-avr"
+MAXPAGESIZE=1
+EMBEDDED=yes
+TEMPLATE_NAME=elf32
+
+TEXT_LENGTH=8K
+DATA_LENGTH=0xffa0
+EXTRA_EM_FILE=avrelf
diff --git a/ld/emulparams/avr31.sh b/ld/emulparams/avr31.sh
new file mode 100644
index 0000000..e548181
--- /dev/null
+++ b/ld/emulparams/avr31.sh
@@ -0,0 +1,11 @@
+ARCH=avr:31
+MACHINE=
+SCRIPT_NAME=avr
+OUTPUT_FORMAT="elf32-avr"
+MAXPAGESIZE=1
+EMBEDDED=yes
+TEMPLATE_NAME=elf32
+
+TEXT_LENGTH=128K
+DATA_LENGTH=0xffa0
+EXTRA_EM_FILE=avrelf
diff --git a/ld/emulparams/avr35.sh b/ld/emulparams/avr35.sh
new file mode 100644
index 0000000..6186186
--- /dev/null
+++ b/ld/emulparams/avr35.sh
@@ -0,0 +1,11 @@
+ARCH=avr:35
+MACHINE=
+SCRIPT_NAME=avr
+OUTPUT_FORMAT="elf32-avr"
+MAXPAGESIZE=1
+EMBEDDED=yes
+TEMPLATE_NAME=elf32
+
+TEXT_LENGTH=64K
+DATA_LENGTH=0xffa0
+EXTRA_EM_FILE=avrelf
diff --git a/ld/emulparams/avr51.sh b/ld/emulparams/avr51.sh
new file mode 100644
index 0000000..be8e8f5
--- /dev/null
+++ b/ld/emulparams/avr51.sh
@@ -0,0 +1,11 @@
+ARCH=avr:51
+MACHINE=
+SCRIPT_NAME=avr
+OUTPUT_FORMAT="elf32-avr"
+MAXPAGESIZE=1
+EMBEDDED=yes
+TEMPLATE_NAME=elf32
+
+TEXT_LENGTH=128K
+DATA_LENGTH=0xffa0
+EXTRA_EM_FILE=avrelf