binutils-gdb/binutils/testsuite/binutils-all/retain1a.d
H.J. Lu 5424d7ed94 readelf: Add 'R' and 'D' to "Key to Flags:"
Add "R (retain)" and "D (mbind)" to "Key to Flags:".

	PR binutils/27281
	* readelf.c (process_section_headers): Add 'R' and 'D' to
	"Key to Flags:".
	* testsuite/binutils-all/retain1a.d: Updated.
2021-02-02 05:15:05 -08:00

21 lines
508 B
Makefile

#name: readelf SHF_GNU_RETAIN
#source: retain1.s
#target: [supports_gnu_osabi]
#readelf: -S --wide
#...
\[[ 0-9]+\] .bss.retain0.*WAR.*
\[[ 0-9]+\] .bss.retain1.*WAR.*
\[[ 0-9]+\] .data.retain2.*WAR.*
\[[ 0-9]+\] .bss.sretain0.*WAR.*
\[[ 0-9]+\] .bss.sretain1.*WAR.*
\[[ 0-9]+\] .data.sretain2.*WAR.*
\[[ 0-9]+\] .text.fnretain1.*AXR.*
#...
\[[ 0-9]+\] .bss.lsretain0.*WAR.*
\[[ 0-9]+\] .bss.lsretain1.*WAR.*
\[[ 0-9]+\] .data.lsretain2.*WAR.*
#...
R \(retain\), D \(mbind\), .*
#pass