aboutsummaryrefslogtreecommitdiff
path: root/ld
diff options
context:
space:
mode:
Diffstat (limited to 'ld')
-rw-r--r--ld/emulparams/.Sanitize8
-rwxr-xr-xld/emulparams/txvuelf.sh8
2 files changed, 16 insertions, 0 deletions
diff --git a/ld/emulparams/.Sanitize b/ld/emulparams/.Sanitize
index 2125b49..1187e9a 100644
--- a/ld/emulparams/.Sanitize
+++ b/ld/emulparams/.Sanitize
@@ -31,6 +31,14 @@ else
lose_these_too="${tic80_files} ${lose_these_too}"
fi
+sky_files="txvuelf.sh"
+
+if ( echo $* | grep keep\-sky > /dev/null ) ; then
+ keep_these_too="${sky_files} ${keep_these_too}"
+else
+ lose_these_too="${sky_files} ${lose_these_too}"
+fi
+
# All files listed between the "Things-to-keep:" line and the
# "Do-last:" line will be kept. All other files will be removed.
# Directories listed in this section will have their own Sanitize
diff --git a/ld/emulparams/txvuelf.sh b/ld/emulparams/txvuelf.sh
new file mode 100755
index 0000000..c98a878
--- /dev/null
+++ b/ld/emulparams/txvuelf.sh
@@ -0,0 +1,8 @@
+MACHINE=
+SCRIPT_NAME=elf
+OUTPUT_FORMAT="elf32-txvu"
+TEXT_START_ADDR=0x100
+ARCH=txvu
+MACHINE=
+MAXPAGESIZE=32
+EMBEDDED=yes