summaryrefslogtreecommitdiff
path: root/ld/emulparams/elf32mb_linux.sh
diff options
context:
space:
mode:
Diffstat (limited to 'ld/emulparams/elf32mb_linux.sh')
-rw-r--r--ld/emulparams/elf32mb_linux.sh17
1 files changed, 17 insertions, 0 deletions
diff --git a/ld/emulparams/elf32mb_linux.sh b/ld/emulparams/elf32mb_linux.sh
new file mode 100644
index 00000000000..3503bb1a7a5
--- /dev/null
+++ b/ld/emulparams/elf32mb_linux.sh
@@ -0,0 +1,17 @@
+SCRIPT_NAME=elf
+OUTPUT_FORMAT="elf32-microblaze"
+TEXT_START_ADDR=0x10000000
+NONPAGED_TEXT_START_ADDR=0x28
+ALIGNMENT=4
+MAXPAGESIZE=0x1000
+COMMONPAGESIZE=0x1000
+ARCH=microblaze
+
+NOP=0x80000000
+
+TEMPLATE_NAME=elf32
+GENERATE_SHLIB_SCRIPT=yes
+GENERATE_PIE_SCRIPT=yes
+NO_SMALL_DATA=yes
+SEPARATE_GOTPLT=12
+