Add __dso_handle to bootloader and kernel
Clang references these when building for x86_64.
This commit is contained in:
@@ -26,6 +26,9 @@
|
|||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
|
||||||
|
void *__dso_handle;
|
||||||
|
|
||||||
|
|
||||||
extern "C" int
|
extern "C" int
|
||||||
main(stage2_args *args)
|
main(stage2_args *args)
|
||||||
{
|
{
|
||||||
|
|||||||
@@ -65,6 +65,9 @@
|
|||||||
# define TRACE(x...) ;
|
# define TRACE(x...) ;
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
|
||||||
|
void *__dso_handle;
|
||||||
|
|
||||||
bool gKernelStartup = true;
|
bool gKernelStartup = true;
|
||||||
bool gKernelShutdown = false;
|
bool gKernelShutdown = false;
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user