summaryrefslogtreecommitdiff
path: root/pokediamond.lcf
diff options
context:
space:
mode:
authorMartmists <martmists@gmail.com>2020-04-11 22:27:52 +0200
committerMartmists <martmists@gmail.com>2020-04-11 22:27:52 +0200
commit01801ea04f2a03a1fb9e9a6e08bcd00fa22a73c0 (patch)
tree397f9fd6ef52b05ea97900ad5feaa814a4869c11 /pokediamond.lcf
parent876d5c3812657b8723a684a41111cd8695eddc70 (diff)
Add buildable stuff
Diffstat (limited to 'pokediamond.lcf')
-rw-r--r--pokediamond.lcf16
1 files changed, 16 insertions, 0 deletions
diff --git a/pokediamond.lcf b/pokediamond.lcf
new file mode 100644
index 00000000..e398b286
--- /dev/null
+++ b/pokediamond.lcf
@@ -0,0 +1,16 @@
+/* Linker Script for Pokemon Diamond */
+
+MEMORY {
+ header (RWX) : ORIGIN=0, LENGTH=0
+ rom_main (RWX) : ORIGIN=512, LENGTH=0
+}
+
+SECTIONS {
+ .header:{
+ rom_header.o (.text)
+ } > header
+
+ .rom_main:{
+ rom.o (.text)
+ } > rom_main
+}