summaryrefslogtreecommitdiff
path: root/src/process/execvp.c
diff options
context:
space:
mode:
authorLuís Marques <luismarques@lowrisc.org>2020-01-15 13:24:41 +0000
committerRich Felker <dalias@aerifal.cx>2020-01-22 14:57:16 -0500
commit83350eb17b9cb355e3f08b0340c4f1e8c437fac9 (patch)
tree5e75c517d1c19035dc03373503f58b2febff0c2c /src/process/execvp.c
parenta2e71304f358c5dbaf44e0b4c6fd343e8cd236e2 (diff)
downloadmusl-83350eb17b9cb355e3f08b0340c4f1e8c437fac9.tar.gz
fix riscv64 a_cas inline asm operand sign extension
This patch adds an explicit cast to the int arguments passed to the inline asm used in the RISC-V's implementation of `a_cas`, to ensure that they are properly sign extended to 64 bits. They aren't automatically sign extended by Clang, and GCC technically also doesn't guarantee that they will be sign extended.
Diffstat (limited to 'src/process/execvp.c')
0 files changed, 0 insertions, 0 deletions