Allow __je_bootstrap methods to not be compiled

The __je_bootstrap.. allocator methods can be specified that they
shouldn't  be compiled using NO_BOOTSTRAP_ALLOCATION.
This commit is contained in:
Matthew Parkinson
2019-01-23 11:05:50 +00:00
parent 8d074468ae
commit ef3a578503

View File

@@ -201,7 +201,7 @@ extern "C"
return ENOENT;
}
#ifndef __PIC__
#if !defined(__PIC__) && !defined(NO_BOOTSTRAP_ALLOCATOR)
// The following functions are required to work before TLS is set up, in
// statically-linked programs. These temporarily grab an allocator from the
// pool and return it.