|
@@ -9,14 +9,14 @@
|
|
|
|
|
|
int constructed_value = 0;
|
|
|
|
|
|
-static void __attribute__((__constructor__)) ctor(void)
|
|
|
+static void __attribute__((__constructor__)) EFI_NO_TAIL_CALL ctor(void)
|
|
|
{
|
|
|
Print(L"%a:%d:%a() constructed_value:%d\n", __FILE__, __LINE__, __func__, constructed_value);
|
|
|
constructed_value = 1;
|
|
|
Print(L"%a:%d:%a() constructed_value:%d\n", __FILE__, __LINE__, __func__, constructed_value);
|
|
|
}
|
|
|
|
|
|
-static void __attribute__((__destructor__)) dtor(void)
|
|
|
+static void __attribute__((__destructor__)) EFI_NO_TAIL_CALL dtor(void)
|
|
|
{
|
|
|
Print(L"%a:%d:%a() constructed_value:%d\n", __FILE__, __LINE__, __func__, constructed_value);
|
|
|
constructed_value = 0;
|