hppa: Fix register extraction logic for ldil instruction

This fixes two issues in the code to handle converting the relocation
in ldil+addl sequences.  I extracted the target address of the ldil
instruction from the wrong bit position.  Secondly as with addil, we
need to accept any base register in the R_PARISC_DLTIND21L conversion
to R_PARISC_DPREL21L.

2026-11-09  John David Anglin  <danglin@gcc.gnu.org>

bfd/ChangeLog:

	* elf32-hppa.c (final_link_relocate): Fix register extraction logic
	for ldil instruction by shifting to extract the source/base field
	instead of the lower bits.  Update addl instruction bitmask in
	DLTIND to DPREL relocation conversion path to support arbitrary
	target registers emitted under LRA.
1 file changed