https://github.com/torvalds/linux
Revision 8f79125d285d2d71ed110e875754942256efa51d authored by Zong Li on 25 June 2018, 08:49:38 UTC, committed by Palmer Dabbelt on 04 July 2018, 20:53:33 UTC
On 32-bit, it need to use __ucmpdi2, otherwise, it can't find the __ucmpdi2
symbol.

Signed-off-by: Zong Li <zong@andestech.com>
Reviewed-by: Christoph Hellwig <hch@lst.de>
Signed-off-by: Palmer Dabbelt <palmer@sifive.com>
1 parent d5fad48
Raw File
Tip revision: 8f79125d285d2d71ed110e875754942256efa51d authored by Zong Li on 25 June 2018, 08:49:38 UTC
RISC-V: Select GENERIC_UCMPDI2 on RV32I
Tip revision: 8f79125
gcc-x86_64-has-stack-protector.sh
#!/bin/sh
# SPDX-License-Identifier: GPL-2.0

echo "int foo(void) { char X[200]; return 3; }" | $* -S -x c -c -m64 -O0 -mcmodel=kernel -fno-PIE -fstack-protector - -o - 2> /dev/null | grep -q "%gs"
back to top