xref: /illumos-gate/usr/src/test/elf-tests/tests/resolution/mixed-hidden-comdat/hidden.s (revision ddb365bfc9e868ad24ccdcb0dc91af18b10df082)
1	.type	bss_symbol, @object
2	.section	.bss.bss_symbol,"awG",@nobits,bss_symbol,comdat
3	.hidden	bss_symbol
4	.weak	bss_symbol
5	.size	bss_symbol, 8
6bss_symbol:
7	.zero	8
8
9	.type	data_symbol, @object
10	.section	.data.data_symbol,"awG",@progbits,data_symbol,comdat
11	.hidden	data_symbol
12	.weak	data_symbol
13	.size	data_symbol, 8
14	/*
15	 * Intentionally break the COMDAT rules and give this a different
16	 * value, so we can assert that the value got from one place and the
17	 * visibility resolved from the other
18	 */
19data_symbol:
20	.zero	8
21