Skip to content

Commit 02f4770

Browse files
committed
Mention linker should report error if data size is extended
1 parent 6a08e3c commit 02f4770

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

riscv-elf.adoc

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1172,7 +1172,9 @@ Linker should adjust relocations which refer to those symbol has updated the
11721172
address.
11731173

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

11771179
=== Linker Relaxation Types
11781180

0 commit comments

Comments
 (0)