binutils-gdb/ld/testsuite/ld-elfcomm/common1b.c
Jan Kratochvil 32649b97b9 Fix testcases compilation failures due to unused variables.
* ld-elfcomm/common1b.c (dummy1): Mark the variable for GCC as USED.
	* ld-shared/main.c (main): Move the P variable only to the places where
	it is used.
2008-09-17 07:43:49 +00:00

8 lines
196 B
C

static
#if __GNUC__ > 3 || (__GNUC__ == 3 && __GNUC_MINOR__ >= 3)
__attribute__((__used__))
#endif /* __GNUC__ */
char dummy1 = 'X';
char foo1 [] = "Aligned at odd byte.";
char foo2 [4];