aboutsummaryrefslogtreecommitdiff
path: root/gdb/python/py-param.c
diff options
context:
space:
mode:
authorMark Goncharov <mark.goncharov@syntacore.com>2025-07-01 08:57:51 +0300
committerNelson Chu <nelson@rivosinc.com>2025-07-08 18:35:19 +0800
commit6589a725f0e4109e033976e15d1c3d61d96438df (patch)
tree674a2f59cd3c981aaefded2e173af9ce5cba55ff /gdb/python/py-param.c
parent1edefea39ff27ed2d4aed4e45ed416f3fbaf6098 (diff)
downloadbinutils-6589a725f0e4109e033976e15d1c3d61d96438df.zip
binutils-6589a725f0e4109e033976e15d1c3d61d96438df.tar.gz
binutils-6589a725f0e4109e033976e15d1c3d61d96438df.tar.bz2
RISC-V: Fix libpath_suffix selection for ldscript
When building a cross-compiler ld for RISC-V Linux systems, you can specify target=riscv64*-linux* to create a linker that supports both 32-bit (-march=rv32*) and 64-bit (-march=rv64*) architectures. The specified -march value populates the EMULATION_NAME variable, which determines the default linker script selection. For proper riscv64 target support, the build process must prepare both elf32lriscv* and elf64lriscv* linker scripts. These should align with the standard RISC-V Linux sysroot directory structure. Signed-off-by: Mark Goncharov <mark.goncharov@syntacore.com>
Diffstat (limited to 'gdb/python/py-param.c')
0 files changed, 0 insertions, 0 deletions