1 #source: compress1.s
2 #as: --compress-debug-sections=none
3 #ld: -r --compress-debug-sections=zlib-gnu
4 #readelf: -SW
5 #xfail: [uses_genelf]
6 #xfail: riscv*-*-*
7 # Not all ELF targets use the elf.em emulation...
8 # RISC-V has linker relaxations that delete code, so text label subtractions
9 # do not get resolved at assembly time, which results in a compressed section.
10 
11 #failif
12 #...
13   \[[ 0-9]+\] \.zdebug_aranges[ 	]+(PROGBITS|MIPS_DWARF)[ 	0-9a-z]+ .*
14 #...
15