msp430 linker does not accept -znoexecstack. Set linker_is_gnu to false as workaround for now.

This commit is contained in:
William D. Jones 2021-06-04 20:37:53 -04:00
parent da865095cf
commit cd11cdb88c

View file

@ -17,6 +17,7 @@ pub fn target() -> Target {
// dependency on this specific gcc.
asm_args: vec!["-mcpu=msp430".to_string()],
linker: Some("msp430-elf-gcc".to_string()),
linker_is_gnu: false,
// There are no atomic CAS instructions available in the MSP430
// instruction set, and the LLVM backend doesn't currently support