diff options
Diffstat (limited to 'ld/emulparams')
-rwxr-xr-x | ld/emulparams/elf32iq10.sh | 11 | ||||
-rwxr-xr-x | ld/emulparams/elf32iq2000.sh | 14 |
2 files changed, 25 insertions, 0 deletions
diff --git a/ld/emulparams/elf32iq10.sh b/ld/emulparams/elf32iq10.sh new file mode 100755 index 0000000..1721f52 --- /dev/null +++ b/ld/emulparams/elf32iq10.sh @@ -0,0 +1,11 @@ +MACHINE= +SCRIPT_NAME=iq2000 +OUTPUT_FORMAT="elf32-iq2000" +DATA_ADDR=0x1000 +TEXT_START_ADDR=0x80000000 +ARCH=iq2000 +ENTRY=_start +EMBEDDED=yes +ELFSIZE=32 +MAXPAGESIZE=256 +OTHER_RELOCATING_SECTIONS='PROVIDE (__stack = 0x1800);' diff --git a/ld/emulparams/elf32iq2000.sh b/ld/emulparams/elf32iq2000.sh new file mode 100755 index 0000000..18f239d --- /dev/null +++ b/ld/emulparams/elf32iq2000.sh @@ -0,0 +1,14 @@ +MACHINE= +SCRIPT_NAME=iq2000 +OUTPUT_FORMAT="elf32-iq2000" +DATA_ADDR=0x1000 +TEXT_START_ADDR=0x80000000 +ARCH=iq2000 +MAXPAGESIZE=256 +ENTRY=_start +EMBEDDED=yes +CTOR_START='__ctors = .;' +CTOR_END='__ctors_end = .;' +DTOR_START='__dtors = .;' +DTOR_END='__dtors_end = .;' +OTHER_RELOCATING_SECTIONS='PROVIDE (__stack = 0x1800);' |