1#source: start3.s
2#source: bpo-6.s
3#source: bpo-2.s
4#source: bpo-5.s
5#as: -linker-allocated-gregs
6#ld: -m elf64mmix --gc-sections
7#objdump: -st
8
9# Check that GC removes one of the three BPO:s, for the collected section.
10
11.*:     file format elf64-mmix
12
13SYMBOL TABLE:
140+ l    d  \.init	0+ (|\.init)
150+10 l    d  \.text	0+ (|\.text)
160+7e8 l    d  \.MMIX\.reg_contents	0+ (|\.MMIX\.reg_contents)
170+ l    d  \*ABS\*	0+ (|\.shstrtab)
180+ l    d  \*ABS\*	0+ (|\.symtab)
190+ l    d  \*ABS\*	0+ (|\.strtab)
200+ l       \.init	0+ _start
210+14 g       \.text	0+ x
220+10 g       \.text	0+ x2
232000000000000000 g       \*ABS\*	0+ __bss_start
242000000000000000 g       \*ABS\*	0+ _edata
252000000000000000 g       \*ABS\*	0+ _end
260+10 g       \.text	0+ _start\.
27
28
29Contents of section \.init:
30 0000 00000000 0000003d 00000000 0000003a  .*
31Contents of section \.text:
32 0010 232dfe00 232dfd00                    .*
33Contents of section \.MMIX\.reg_contents:
34 07e8 00000000 0000107c 00000000 0000a420  .*
35