[PATCH v6 4/4] gas: sframe: Represent .cfi_undefined RA as FRE without offsets
Indu Bhagat
indu.bhagat@oracle.com
Fri Oct 3 20:46:38 GMT 2025
On 9/19/25 9:13 AM, Jens Remus wrote:
> 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.
>
Hi Jens,
The series looks good to me.
Reviewed-by: Indu Bhagat <indu.bhagat@oracle.com>
Thanks
Indu
> 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
More information about the Binutils
mailing list