[PATCH v6 4/4] gas: sframe: Represent .cfi_undefined RA as FRE without offsets

Jens Remus jremus@linux.ibm.com
Fri Sep 19 16:13:44 GMT 2025


Hello Indu,

the s390x test needs the following minor fixup, so that the assembler
instructions make more sense and match with the CFI.  I missed to
update the code when copypasting from other tests.

On 9/15/2025 1:05 PM, Jens Remus wrote:

> diff --git a/gas/testsuite/gas/cfi-sframe/cfi-sframe-s390x-ra-undefined-1.s b/gas/testsuite/gas/cfi-sframe/cfi-sframe-s390x-ra-undefined-1.s
> new file mode 100644
> index 000000000000..dda7abcdf4d7
> --- /dev/null
> +++ b/gas/testsuite/gas/cfi-sframe/cfi-sframe-s390x-ra-undefined-1.s
> @@ -0,0 +1,11 @@
> +	.cfi_startproc
> +	stmg	%r11,%r15,48(%r15)

	stmg	%r14,%r15,112(%r15)

> +	.cfi_offset 14, -48
> +	.cfi_offset 15, -40
> +	nop
> +	.cfi_undefined 14
> +	lmg	%r14,%r15,160+48(%r11)

	lmg	%r14,%r15,112(%r15)

> +	.cfi_restore 15
> +	.cfi_restore 14
> +	br	%r14
> +	.cfi_endproc
Regards,
Jens
-- 
Jens Remus
Linux on Z Development (D3303)
+49-7031-16-1128 Office
jremus@de.ibm.com

IBM

IBM Deutschland Research & Development GmbH; Vorsitzender des Aufsichtsrats: Wolfgang Wendt; Geschäftsführung: David Faller; Sitz der Gesellschaft: Böblingen; Registergericht: Amtsgericht Stuttgart, HRB 243294
IBM Data Privacy Statement: https://www.ibm.com/privacy/



More information about the Binutils mailing list