diff options
author | midipix <writeonce@midipix.org> | 2019-01-09 04:06:56 -0500 |
---|---|---|
committer | midipix <writeonce@midipix.org> | 2019-01-09 22:43:17 -0500 |
commit | e20baa01295aa21711ce13196fce8e9a70ce319f (patch) | |
tree | ff0a38fcf51f46a3831610fab4febce4afaba840 /src | |
parent | ddbccbc6b51002739c3b61ff23ec13a758bd7c30 (diff) | |
download | mmglue-e20baa01295aa21711ce13196fce8e9a70ce319f.tar.bz2 mmglue-e20baa01295aa21711ce13196fce8e9a70ce319f.tar.xz |
mmglue: libc internals: provide a strongly defined ___errno_location().
Diffstat (limited to 'src')
-rw-r--r-- | src/errno/nt32/___errno_location.s | 8 | ||||
-rw-r--r-- | src/errno/nt64/___errno_location.s | 8 |
2 files changed, 16 insertions, 0 deletions
diff --git a/src/errno/nt32/___errno_location.s b/src/errno/nt32/___errno_location.s new file mode 100644 index 0000000..9432d1c --- /dev/null +++ b/src/errno/nt32/___errno_location.s @@ -0,0 +1,8 @@ +.text + +.global ____errno_location + +.def ____errno_location; .scl 2; .type 32; .endef + +____errno_location: + jmp ___errno_location diff --git a/src/errno/nt64/___errno_location.s b/src/errno/nt64/___errno_location.s new file mode 100644 index 0000000..39da447 --- /dev/null +++ b/src/errno/nt64/___errno_location.s @@ -0,0 +1,8 @@ +.text + +.global ___errno_location + +.def ___errno_location; .scl 2; .type 32; .endef + +___errno_location: + jmp __errno_location |