Fix aliases on 64 bit
Use correct width ELF structure.
This commit is contained in:
@ -2962,6 +2962,7 @@ void __attribute__((weak)) weak_test(void)
|
||||
printf("weak_asm_f2=%d\n", weak_asm_f2 != NULL);
|
||||
printf("weak_asm_f3=%d\n", weak_asm_f3 != NULL);
|
||||
printf("weak_asm_v1=%d\n",&weak_asm_v1 != NULL);
|
||||
printf("weak_asm_v2=%d\n",&weak_asm_v2 != NULL);
|
||||
printf("weak_asm_v3=%d\n",&weak_asm_v3 != NULL);
|
||||
printf("some_lib_func=%d\n", &some_lib_func ? some_lib_func() : 0);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user