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 Mar 29, 2023
1 parent f48ad9e commit bf3e94b
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 @@ -1236,7 +1236,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 bf3e94b

Please sign in to comment.