Index: test/asan/TestCases/Linux/odr_c_test.c =================================================================== --- test/asan/TestCases/Linux/odr_c_test.c +++ test/asan/TestCases/Linux/odr_c_test.c @@ -13,6 +13,9 @@ #if defined(FILE1) __attribute__((aligned(8))) int x; __attribute__((aligned(1))) char y; +// The gold linker puts ZZZ at the start of bss (where it is aligned) +// unless we have a large alternative like Displace: +__attribute__((aligned(1))) char Displace[105]; __attribute__((aligned(1))) char ZZZ[100]; #elif defined(FILE2) int ZZZ = 1;