Skip to content

Commit

Permalink
Mention linker should report error if data size is extended
Browse files Browse the repository at this point in the history
  • Loading branch information
kito-cheng committed Jan 31, 2023
1 parent fcac4ca commit 333012a
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion riscv-elf.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -1172,7 +1172,9 @@ Linker should adjust relocations which refer to those symbol has updated the
address.

ULEB128 value with relocation must be padding to the same length even if the
data can be encoded with a shorter byte sequence after linker relaxation.
data can be encoded with a shorter byte sequence after linker relaxation, The
linker should report errors if the length of ULEB128 byte sequence is more
extended than the current byte sequence.

=== Linker Relaxation Types

Expand Down

0 comments on commit 333012a

Please sign in to comment.