3 #ifdef CHECK_STACK_ALIGNMENT
6 extern "C" int check_stack_alignment(void);
13 static const char msg[] = "constructor2 executed\n";
14 write(STDOUT_FILENO, msg, sizeof(msg) - 1);
15 #ifdef CHECK_STACK_ALIGNMENT
16 if (!check_stack_alignment()) {
17 static const char msg2[] = "stack unaligned \n";
18 write(STDOUT_FILENO, msg2, sizeof(msg2) - 1);
25 static const char msg[] = "destructor2 executed\n";
26 write(STDOUT_FILENO, msg, sizeof(msg) - 1);
27 #ifdef CHECK_STACK_ALIGNMENT
28 if (!check_stack_alignment()) {
29 static const char msg2[] = "stack unaligned \n";
30 write(STDOUT_FILENO, msg2, sizeof(msg2) - 1);