lib/Kconfig.debug: Update AS_HAS_NON_CONST_LEB128 comment and name
authorNathan Chancellor <nathan@kernel.org>
Tue, 5 Dec 2023 23:53:52 +0000 (16:53 -0700)
committerPalmer Dabbelt <palmer@rivosinc.com>
Thu, 18 Jan 2024 02:08:28 +0000 (18:08 -0800)
commita4426641f00cd2c293c91e881ab31faaf76b20fb
treeb9be92ca1998bd9e31df0898ce676b97a3e31cfa
parentae84ff9a14a5a8d36a329a30626800155782e617
lib/Kconfig.debug: Update AS_HAS_NON_CONST_LEB128 comment and name

Fangrui noted that the comment around CONFIG_AS_HAS_NON_CONST_LEB128
could be made more accurate because explicit .sleb128 directives are not
emitted, only .uleb128 directives are. Rename the symbol to
CONFIG_AS_HAS_NON_CONST_ULEB128 as a result.

Further clarifications include replacing "symbol deltas" with the more
accurate "label differences", noting that this issue has been resolved
in newer binutils (2.41+), and it only occurs when a port uses RISC-V
style linker relaxation.

Suggested-by: Fangrui Song <maskray@google.com>
Signed-off-by: Nathan Chancellor <nathan@kernel.org>
Reviewed-by: Charlie Jenkins <charlie@rivosinc.com>
Link: https://lore.kernel.org/r/20231205-riscv-restrict-dwarf5-llvm-v2-3-aedf00a382ac@kernel.org
Signed-off-by: Palmer Dabbelt <palmer@rivosinc.com>
lib/Kconfig.debug