diff options
author | midipix <writeonce@midipix.org> | 2019-03-12 21:47:51 +0000 |
---|---|---|
committer | midipix <writeonce@midipix.org> | 2019-03-12 18:47:12 -0400 |
commit | 4bf522056c56b54149e69065cd2627fdd61472c3 (patch) | |
tree | b3ac31b7c4957db5951200772b4563d0fc5b4508 /crt | |
parent | d293463f416a242c4a6e6c28d593fd3955112be5 (diff) | |
download | mmglue-4bf522056c56b54149e69065cd2627fdd61472c3.tar.bz2 mmglue-4bf522056c56b54149e69065cd2627fdd61472c3.tar.xz |
nt64 toolchain: added assembly sources for the crtbegin & crtend objects.
Diffstat (limited to 'crt')
-rw-r--r-- | crt/nt64/crtbegin.s | 0 | ||||
-rw-r--r-- | crt/nt64/crtend.s | 78 |
2 files changed, 78 insertions, 0 deletions
diff --git a/crt/nt64/crtbegin.s b/crt/nt64/crtbegin.s new file mode 100644 index 0000000..e69de29 --- /dev/null +++ b/crt/nt64/crtbegin.s diff --git a/crt/nt64/crtend.s b/crt/nt64/crtend.s new file mode 100644 index 0000000..147781a --- /dev/null +++ b/crt/nt64/crtend.s @@ -0,0 +1,78 @@ + .file "crtend.s" + + .cfi_sections .debug_frame + + # C + .section .dsosyms$__gcc_personality_seh0 + .linkonce discard + .balign 8 + + .weak __imp___gcc_personality_seh0 + .quad 0 + .long 0 + .long 0 + + .text + .def .__gcc_personality_seh0; .scl 2; .type 32; .endef + .global .__gcc_personality_seh0 + + .cfi_startproc +.__gcc_personality_seh0: + movq __imp___gcc_personality_seh0(%rip), %rax + rex.W jmp *%rax + .cfi_endproc + + + + # C++ + .section .dsosyms$__gxx_personality_seh0 + .linkonce discard + .balign 8 + + .weak __imp___gxx_personality_seh0 + .quad 0 + .long 0 + .long 0 + + .text + .def .__gxx_personality_seh0; .scl 2; .type 32; .endef + .global .__gxx_personality_seh0 + + .cfi_startproc +.__gxx_personality_seh0: + movq __imp___gxx_personality_seh0(%rip), %rax + rex.W jmp *%rax + .cfi_endproc + + + + # OBJC + .section .dsosyms$__gnu_objc_personality_seh0 + .linkonce discard + .balign 8 + + .weak __imp___gnu_objc_personality_seh0 + .quad 0 + .long 0 + .long 0 + + .text + .def .__gnu_objc_personality_seh0; .scl 2; .type 32; .endef + .global .__gnu_objc_personality_seh0 + + .cfi_startproc +.__gnu_objc_personality_seh0: + movq __imp___gnu_objc_personality_seh0(%rip), %rax + rex.W jmp *%rax + .cfi_endproc + + # DSO REFERENCE COUNTING + .data + .global __dso_handle +__dso_handle: + .long 0 + + .section .midipix + .global __imp___dso_handle +__imp___dso_handle: + .quad __dso_handle |