diff options
| author | Michael Matz <matz@suse.de> | 2016-09-04 00:19:47 +0200 |
|---|---|---|
| committer | Michael Matz <matz@suse.de> | 2016-12-15 17:47:11 +0100 |
| commit | f2a071e808db2896823463089531e08d0b2d0ee8 (patch) | |
| tree | f5da272a4460b73d98561e1788fbda60f8adb09f /tests/tcctest.c | |
| parent | 9656560f144380bcebade03a6c10b8c186ad3874 (diff) | |
| download | tinycc-f2a071e808db2896823463089531e08d0b2d0ee8.tar.gz tinycc-f2a071e808db2896823463089531e08d0b2d0ee8.tar.bz2 | |
Fix aliases on 64 bit
Use correct width ELF structure.
Diffstat (limited to 'tests/tcctest.c')
| -rw-r--r-- | tests/tcctest.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/tests/tcctest.c b/tests/tcctest.c index 4e51ea1..d1f6c9b 100644 --- a/tests/tcctest.c +++ b/tests/tcctest.c @@ -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; } |
