Fix aliases on 64 bit

Use correct width ELF structure.
This commit is contained in:
Michael Matz
2016-12-15 17:47:11 +01:00
parent 9656560f14
commit f2a071e808
2 changed files with 3 additions and 2 deletions
+1
View File
@@ -2962,6 +2962,7 @@ void __attribute__((weak)) weak_test(void)
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);
}
int __attribute__((weak)) weak_f2() { return 222; }