Skip to content

Commit cd11cdb

Browse files
committed
msp430 linker does not accept -znoexecstack. Set linker_is_gnu to false as workaround for now.
1 parent da86509 commit cd11cdb

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

compiler/rustc_target/src/spec/msp430_none_elf.rs

+1
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,7 @@ pub fn target() -> Target {
1717
// dependency on this specific gcc.
1818
asm_args: vec!["-mcpu=msp430".to_string()],
1919
linker: Some("msp430-elf-gcc".to_string()),
20+
linker_is_gnu: false,
2021

2122
// There are no atomic CAS instructions available in the MSP430
2223
// instruction set, and the LLVM backend doesn't currently support

0 commit comments

Comments
 (0)