[PATCH 1/6] s390: Position independent verification of relative addressing

Jens Remus jremus@linux.ibm.com
Thu Oct 24 14:16:35 GMT 2024


On 20.11.2023 15:06, Jens Remus wrote:
> Opcode test cases for z/Architecture instructions that use relative
> addressing contained hardcoded offsets in the test verification
> patterns. Inserting or reordering of instructions into those test cases
> therefore required updating of those hardcoded offsets.
> 
> Use regular expressions with backreferences to verify results of test
> cases containing instructions with relative addressing. This makes the
> verification position independent.
> 
> gas/
> 	* testsuite/gas/s390/esa-g5.d: Make opcode test verification
> 	  pattern position independent where possible.
> 	* testsuite/gas/s390/esa-z900.d: Likewise.
> 	* testsuite/gas/s390/zarch-z900.d: Likewise.
> 	* testsuite/gas/s390/zarch-z10.d: Likewise.
> 	* testsuite/gas/s390/zarch-z196.d: Likewise.
> 	* testsuite/gas/s390/zarch-zEC12.d: Likewise.
> 
> Signed-off-by: Jens Remus <jremus@linux.ibm.com>
> Reviewed-by: Andreas Krebbel <krebbel@linux.ibm.com>

Backported to binutils-2_41-branch with off-list approval from Andreas.

Regards,
Jens
-- 
Jens Remus
Linux on Z Development (D3303) and z/VSE Support
+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