Files
binutils-gdb/gas/config
Jens Remus cf312b990e s390: Emit relocation for 32-bit immediate operand
IBM Z instruction format RIL-a has a 32-bit immediate operand in
instruction bits 16 to 47.  Enable the assembler to emit a 32-bit
direct or PC-relative relocation when processing a fixup, similar
as it is already done for 16-bit immediate operands in bits 16-31.

This enables to assemble the following:

	lgfi	%r1,symbol	# R_390_32
	lgfi	%r1,symbol-.	# R_390_PC32

Furthermore it brings GNU assembler on par with LLVM assembler in
that regard.

gas/
	* config/tc-s390.c (md_apply_fix): Emit 32-bit direct or
	PC-relative relocation for 32-bit immediate operand in
	instruction bits 16-47.

gas/testsuite/
	* gas/s390/zarch-reloc.d: Add tests for relocation of RIL-a
	32-bit immediate operand.
	* gas/s390/zarch-reloc.s: Likewise.

Signed-off-by: Jens Remus <jremus@linux.ibm.com>
2025-11-04 11:51:07 +01:00
..
2025-02-03 12:06:34 +01:00
2025-07-09 09:35:06 +09:30
2025-07-09 09:35:06 +09:30
2025-02-14 08:26:42 +10:30
2025-10-10 15:58:03 +02:00
2025-05-02 10:07:53 +02:00
2025-05-30 10:16:19 +09:30
2025-07-09 09:35:07 +09:30
2025-07-09 09:35:06 +09:30
2025-02-03 12:19:17 +01:00
2025-02-03 12:19:26 +01:00
2025-10-04 09:39:02 +09:30
2025-09-02 16:12:12 +01:00
2025-07-09 09:35:07 +09:30
2025-01-16 19:57:19 +10:30
2025-07-09 09:35:07 +09:30
2025-07-09 09:35:07 +09:30
2025-07-18 17:24:51 +09:30
2025-07-09 09:35:07 +09:30
2025-07-11 08:23:40 +09:30
2025-07-09 09:35:07 +09:30
2025-07-09 09:35:07 +09:30
2025-07-09 09:35:07 +09:30
2025-07-09 09:35:07 +09:30
2025-07-09 09:35:07 +09:30
2025-07-09 09:35:07 +09:30
2025-07-09 09:35:07 +09:30
2025-07-09 09:35:07 +09:30
2025-07-09 09:35:07 +09:30
2025-06-11 07:26:07 +09:30
2025-07-09 09:35:07 +09:30
2025-05-23 08:26:08 +09:30
2025-07-09 09:35:07 +09:30
2025-07-09 09:35:07 +09:30
2025-07-09 09:35:06 +09:30
2025-08-15 12:18:34 +02:00
2025-07-09 09:35:07 +09:30
2025-07-18 17:24:51 +09:30
2025-07-11 08:23:40 +09:30
2025-01-16 19:57:19 +10:30
2025-07-09 09:35:07 +09:30
2025-07-09 09:35:07 +09:30
2025-07-09 09:35:07 +09:30
2025-07-09 09:35:07 +09:30
2025-07-09 09:35:07 +09:30
2025-06-11 07:45:18 +09:30
2025-06-09 12:46:23 +09:30
2025-10-04 09:39:02 +09:30
2025-07-09 09:35:07 +09:30
2025-05-30 10:16:19 +09:30
2025-07-09 09:35:07 +09:30
2025-07-09 09:35:07 +09:30
2025-10-10 16:00:44 +02:00
2025-07-09 09:35:07 +09:30
2025-07-09 09:35:07 +09:30
2025-07-18 17:24:51 +09:30
2025-01-16 19:57:19 +10:30
2025-07-09 09:35:07 +09:30
2025-09-03 10:28:17 +09:30
2025-07-09 09:35:07 +09:30
2025-05-23 08:26:08 +09:30
2025-07-18 17:24:51 +09:30
2025-07-09 09:35:07 +09:30
2025-07-18 17:24:51 +09:30
2025-07-09 09:35:06 +09:30