summaryrefslogtreecommitdiff
path: root/asm/libstdc++/misc_io.s
diff options
context:
space:
mode:
authorRevo <projectrevotpp@hotmail.com>2020-09-29 12:50:12 -0400
committerGitHub <noreply@github.com>2020-09-29 12:50:12 -0400
commitbb28572125c45ec20f5fbf85120cd71fb2486bac (patch)
tree7847f3008d5208a45460af5805087f21b7613a4f /asm/libstdc++/misc_io.s
parent1cc68edd6a6967c661579858ec0c1cf1d6d644d5 (diff)
parentc285b7af502dfe463479cecfbb26313be3e5f5f4 (diff)
Merge pull request #106 from mparisi20/master
Finish splitting nw4r::lyt and split more standard library modules
Diffstat (limited to 'asm/libstdc++/misc_io.s')
-rw-r--r--asm/libstdc++/misc_io.s10
1 files changed, 10 insertions, 0 deletions
diff --git a/asm/libstdc++/misc_io.s b/asm/libstdc++/misc_io.s
new file mode 100644
index 0000000..1ccfb0c
--- /dev/null
+++ b/asm/libstdc++/misc_io.s
@@ -0,0 +1,10 @@
+.include "macros.inc"
+
+.section .text, "ax" # 0x80006980 - 0x803E1E60
+
+.global __stdio_atexit
+__stdio_atexit:
+/* 801CA7B0 001C6410 3C 60 80 1C */ lis r3, __close_all@ha
+/* 801CA7B4 001C6414 38 63 78 94 */ addi r3, r3, __close_all@l
+/* 801CA7B8 001C6418 90 6D 9F D8 */ stw r3, lbl_8063F298-_SDA_BASE_(r13)
+/* 801CA7BC 001C641C 4E 80 00 20 */ blr