Philip Reames 631769f2a0
[LLD][RISCV] Add relaxation for absolute int12 Hi20Lo12 (#86124)
If we have an absolute address whose high bits are known to be a sign
extend of the low 12 bits, we can avoid emitting the LUI entirely. This
is implemented in an analogous manner to the gp relative relocations -
defining an internal usage relocation type.

Since 12 bits (really 11 since the high bit must be zero in user code)
is less than one page, all of these offsets fit in the null page. As
such, the only application of these is likely to be undefined weak
symbols except for embedded use cases. I'm mostly posting this for
completeness sake.
2025-03-20 18:56:56 -07:00
..
2024-10-05 09:37:27 -07:00
2024-10-06 00:31:51 -07:00
2024-11-14 22:17:10 -08:00
2024-10-10 22:22:25 -07:00
2024-09-29 14:45:00 -07:00
2025-01-03 09:38:04 -08:00
2024-09-29 15:39:52 -07:00
2024-09-29 15:32:16 -07:00
2024-10-11 23:34:43 -07:00

See docs/NewLLD.rst