Skip to content

Commit c5b7766

Browse files
authored
Merge pull request #242 from eatradish/cip/improve-mips-type
修复与调整 MIPS 类型相关的问题
2 parents 80213d1 + afe3707 commit c5b7766

4 files changed

Lines changed: 3 additions & 3 deletions

File tree

File renamed without changes.
File renamed without changes.

src/EIDEProjectModules.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1261,7 +1261,7 @@ export class MipsCompileConfigModel extends CompileConfigModel<MipsCompileData>
12611261

12621262
static getDefaultConfig(): MipsCompileData {
12631263
return {
1264-
linkerScriptPath: 'undefined.lds',
1264+
linkerScriptPath: '',
12651265
options: 'null'
12661266
};
12671267
}

src/ToolchainManager.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2358,7 +2358,7 @@ class MTI_GCC implements IToolchian {
23582358
"warnings": "all-warnings",
23592359
"one-elf-section-per-function": false,
23602360
"one-elf-section-per-data": false,
2361-
"C_FLAGS": "",
2361+
"C_FLAGS": "-EL",
23622362
"CXX_FLAGS": ""
23632363
},
23642364
'asm-compiler': {
@@ -2367,7 +2367,7 @@ class MTI_GCC implements IToolchian {
23672367
linker: {
23682368
"output-format": "elf",
23692369
"remove-unused-input-sections": true,
2370-
"LD_FLAGS": "-nostdlib -Wcast-align=strict",
2370+
"LD_FLAGS": "-EL",
23712371
"LIB_FLAGS": "-lm -lgcc"
23722372
}
23732373
};

0 commit comments

Comments
 (0)