From e20baa01295aa21711ce13196fce8e9a70ce319f Mon Sep 17 00:00:00 2001 From: midipix Date: Wed, 9 Jan 2019 04:06:56 -0500 Subject: mmglue: libc internals: provide a strongly defined ___errno_location(). --- src/errno/nt32/___errno_location.s | 8 ++++++++ src/errno/nt64/___errno_location.s | 8 ++++++++ 2 files changed, 16 insertions(+) create mode 100644 src/errno/nt32/___errno_location.s create mode 100644 src/errno/nt64/___errno_location.s (limited to 'src') 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 -- cgit v1.2.3