2 #as
: --compress
-debug-sections
=none
3 #ld
: -r
--compress
-debug-sections
=zlib
-gnu
6 #xfail
: [riscv_little_endian
]
8 # Not all ELF targets use the elf
.em emulation
...
9 # RISC
-V has linker relaxations that
delete code
, so text label subtractions
10 #
do not get resolved at assembly time
, which results
in a compressed section
11 #
for little endian targets
; but it
is uncompressed
for big endian targets
.
12 # LoongArch has linker relaxations that
delete code
, so text label subtractions
13 #
do not get resolved at assembly time
, which results
in a compressed section
.
17 \
[[ 0-9]+\
] \
.zdebug_aranges
[ ]+(PROGBITS|MIPS_DWARF
)[ 0-9a
-z
]+ .*