diff options
author | Nick Clifton <nickc@redhat.com> | 2006-05-24 07:36:12 +0000 |
---|---|---|
committer | Nick Clifton <nickc@redhat.com> | 2006-05-24 07:36:12 +0000 |
commit | 28c9d252b48e5c262359910389f157de087060d6 (patch) | |
tree | 8a03a8b466f84f1857399df1447d6f74e5a1cd5e /ld/emulparams | |
parent | f607ec8858a8ce6a1a821257d657db95ee47af2a (diff) | |
download | gdb-28c9d252b48e5c262359910389f157de087060d6.zip gdb-28c9d252b48e5c262359910389f157de087060d6.tar.gz gdb-28c9d252b48e5c262359910389f157de087060d6.tar.bz2 |
Add support for AVR6 family
Diffstat (limited to 'ld/emulparams')
-rw-r--r-- | ld/emulparams/avr1.sh | 3 | ||||
-rw-r--r-- | ld/emulparams/avr2.sh | 3 | ||||
-rw-r--r-- | ld/emulparams/avr3.sh | 3 | ||||
-rw-r--r-- | ld/emulparams/avr4.sh | 3 | ||||
-rw-r--r-- | ld/emulparams/avr5.sh | 3 | ||||
-rw-r--r-- | ld/emulparams/avr6.sh | 11 |
6 files changed, 21 insertions, 5 deletions
diff --git a/ld/emulparams/avr1.sh b/ld/emulparams/avr1.sh index 4ccc9ed..7d907fe 100644 --- a/ld/emulparams/avr1.sh +++ b/ld/emulparams/avr1.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=0 +EXTRA_EM_FILE=avrelf diff --git a/ld/emulparams/avr2.sh b/ld/emulparams/avr2.sh index 9c98ce1..2bd677b 100644 --- a/ld/emulparams/avr2.sh +++ b/ld/emulparams/avr2.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 diff --git a/ld/emulparams/avr3.sh b/ld/emulparams/avr3.sh index 0434d07..ff559e6 100644 --- a/ld/emulparams/avr3.sh +++ b/ld/emulparams/avr3.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 diff --git a/ld/emulparams/avr4.sh b/ld/emulparams/avr4.sh index 33fc83a..2f57cb0 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 diff --git a/ld/emulparams/avr5.sh b/ld/emulparams/avr5.sh index 5b175b8..69090be 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 diff --git a/ld/emulparams/avr6.sh b/ld/emulparams/avr6.sh new file mode 100644 index 0000000..5326488 --- /dev/null +++ b/ld/emulparams/avr6.sh @@ -0,0 +1,11 @@ +ARCH=avr:6 +MACHINE= +SCRIPT_NAME=avr +OUTPUT_FORMAT="elf32-avr" +MAXPAGESIZE=1 +EMBEDDED=yes +TEMPLATE_NAME=elf32 + +TEXT_LENGTH=1024K +DATA_LENGTH=0xffa0 +EXTRA_EM_FILE=avrelf |