Revert "wutstdc++: Move __gxx_personality to dedicated Assembly file"

This reverts commit 370eeb28e9.
I didn't know what this did, sorry.
This commit is contained in:
Ash Logan 2019-04-09 20:26:35 +10:00
parent 81285c71f6
commit 869fe709ea
2 changed files with 11 additions and 10 deletions

View File

@ -1,5 +1,16 @@
#include "wut_gthread.h"
__asm__ __volatile__(
"\t.section\t.text.__wrap___gxx_personality_v0,\"ax\",@progbits\n"
"\t.align\t2\n"
"\t.globl\t__wrap___gxx_personality_v0\n"
"\t.type\t__wrap___gxx_personality_v0, @function\n"
"__wrap___gxx_personality_v0:\n"
"\t.cfi_startproc\n"
"\tb\t__real___gxx_personality_v0\n"
"\t.cfi_endproc"
);
extern "C" void
__init_wut_stdcpp()
{

View File

@ -1,10 +0,0 @@
.section .text.__wrap___gxx_personality_v0,"ax",@progbits
.align 2
.globl __wrap___gxx_personality_v0
.type __wrap___gxx_personality_v0, @function
__wrap___gxx_personality_v0:
.cfi_startproc
b __real___gxx_personality_v0
.cfi_endproc