mirror of
https://github.com/zeldaret/tp
synced 2026-07-08 14:36:36 -04:00
moved strings + decompile simple store functions
This commit is contained in:
@@ -22,6 +22,7 @@
|
||||
#define SECTION_DTORS15 __declspec(section ".dtors$15")
|
||||
#define COMPILER_STRIP_GATE(NAME, VALUE) SECTION_DEAD void* const cg_##NAME = (void*)(VALUE)
|
||||
#define ALIGN_DECL(ALIGNMENT) __attribute__((aligned(ALIGNMENT)))
|
||||
#define REGISTER_CTORS(ADDR, FUNCTION) SECTION_CTORS void* const _ctors_##ADDR = (void*)(FUNCTION);
|
||||
#else
|
||||
#define SECTION_INIT
|
||||
#define SECTION_RODATA
|
||||
@@ -42,6 +43,7 @@
|
||||
#define SECTION_DTORS15
|
||||
#define COMPILER_STRIP_GATE(...)
|
||||
#define ALIGN_DECL(...)
|
||||
#define REGISTER_CTORS(...)
|
||||
|
||||
// vscode doesn't like asm and nofralloc very much
|
||||
#define asm
|
||||
|
||||
Reference in New Issue
Block a user