Skip to content

Commit f117e5c

Browse files
committed
cmake: NUKE mipsel
1 parent 3164ea1 commit f117e5c

7 files changed

Lines changed: 0 additions & 62 deletions

File tree

‎CMakeLists.txt‎

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -61,8 +61,6 @@ elseif (YOKAI_TARGET_ARCH_AMD64)
6161
set(VALIDATOR_ARCH_SUFFIX "_x86_64")
6262
elseif (YOKAI_TARGET_ARCH_ARMHF OR YOKAI_TARGET_ARCH_ARMEL)
6363
set(VALIDATOR_ARCH_SUFFIX "_arm")
64-
elseif (YOKAI_TARGET_ARCH_MIPSEL)
65-
set(VALIDATOR_ARCH_SUFFIX "_mips32")
6664
endif()
6765

6866
if (BUILD_NACL_LOADER)
@@ -84,8 +82,6 @@ if (BUILD_NACL_LOADER)
8482
add_subdirectory(src/trusted/validator_ragel)
8583
elseif (YOKAI_TARGET_ARCH_ARMHF OR YOKAI_TARGET_ARCH_ARMEL)
8684
add_subdirectory(src/trusted/validator_arm)
87-
elseif (YOKAI_TARGET_ARCH_MIPSEL)
88-
add_subdirectory(src/trusted/validator_mips)
8985
endif()
9086
endif()
9187

‎cmake/NaClFlags.cmake‎

Lines changed: 0 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -300,17 +300,6 @@ if (YOKAI_TARGET_SYSTEM_ANDROID)
300300
# Already done by the toolchain, same for crtend_so.o.
301301
endif()
302302

303-
# From SetUpLinuxEnvMips() from (root)/SConstruct.
304-
if (YOKAI_TARGET_SYSTEM_LINUX_COMPATIBILITY AND YOKAI_TARGET_ARCH_MIPSEL)
305-
#TODO: env.Append(LIBS=['rt', 'dl', 'pthread']
306-
set_compiler_flag("-march=mips32r2")
307-
# Because of:
308-
# src/trusted/service_runtime/arch/mips/nacl_switch.S: Assembler messages:
309-
# src/trusted/service_runtime/arch/mips/nacl_switch.S:38: Error: float register should be even, was 1
310-
# src/trusted/service_runtime/arch/mips/nacl_switch.S:72: Error: float register should be even, was 1
311-
set_compiler_flag("-mfp32")
312-
endif()
313-
314303
# From MakeGenericLinuxEnv() from (root)/SConstruct.
315304
if (YOKAI_TARGET_SYSTEM_LINUX_COMPATIBILITY)
316305
add_definitions(-D_POSIX_C_SOURCE=199506)

‎src/trusted/cpu_features/CMakeLists.txt‎

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -6,9 +6,6 @@ if (YOKAI_TARGET_ARCH_I686 OR YOKAI_TARGET_ARCH_AMD64)
66
elseif (YOKAI_TARGET_ARCH_ARMHF OR YOKAI_TARGET_ARCH_ARMEL)
77
# For unkown reasons src/trusted/cpu_features/build.scons was building that on every architecture.
88
list(APPEND CPU_FEATURES_INPUTS "arch/arm/cpu_arm.c")
9-
elseif (YOKAI_TARGET_ARCH_MIPSEL)
10-
# For unkown reasons src/trusted/cpu_features/build.scons was building that on every architecture.
11-
list(APPEND CPU_FEATURES_INPUTS "arch/mips/cpu_mips.c")
129
endif()
1310

1411
add_library(cpu_features STATIC ${CPU_FEATURES_INPUTS})

‎src/trusted/platform_qualify/CMakeLists.txt‎

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -43,8 +43,6 @@ elseif (YOKAI_TARGET_ARCH_ARMHF OR YOKAI_TARGET_ARCH_ARMEL)
4343
# Compile ARM primitives for checking alignment features.
4444
"arch/arm/nacl_qualify_unaligned.c"
4545
)
46-
elseif (YOKAI_TARGET_ARCH_MIPSEL)
47-
list(APPEND PQL_INPUTS "arch/mips/nacl_qualify_fpu.c")
4846
endif()
4947

5048
add_library(platform_qual_lib STATIC ${PQL_INPUTS})

‎src/trusted/service_runtime/CMakeLists.txt‎

Lines changed: 0 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -115,18 +115,6 @@ elseif (YOKAI_TARGET_ARCH_ARMHF OR YOKAI_TARGET_ARCH_ARMEL)
115115
"arch/arm/nacl_syscall.S"
116116
"arch/arm/tramp_arm.S"
117117
)
118-
elseif (YOKAI_TARGET_ARCH_MIPSEL)
119-
list(APPEND LDR_INPUTS
120-
"arch/mips/nacl_app.c"
121-
"arch/mips/nacl_switch_to_app_mips.c"
122-
"arch/mips/sel_rt.c"
123-
"arch/mips/nacl_tls.c"
124-
"arch/mips/sel_ldr_mips.c"
125-
"arch/mips/sel_addrspace_mips.c"
126-
"arch/mips/nacl_switch.S"
127-
"arch/mips/nacl_syscall.S"
128-
"arch/mips/tramp_mips.S"
129-
)
130118
endif()
131119

132120
if (YOKAI_TARGET_SYSTEM_WINDOWS)
@@ -196,8 +184,6 @@ elseif (YOKAI_TARGET_SYSTEM_LINUX_COMPATIBILITY)
196184
)
197185
elseif (YOKAI_TARGET_ARCH_ARMHF OR YOKAI_TARGET_ARCH_ARMEL)
198186
list(APPEND LDR_INPUTS "linux/arm/sel_segments.c")
199-
elseif (YOKAI_TARGET_ARCH_MIPSEL)
200-
list(APPEND LDR_INPUTS "linux/mips/sel_segments.c")
201187
endif()
202188
endif()
203189

@@ -237,8 +223,6 @@ if (YOKAI_TARGET_SYSTEM_LINUX_COMPATIBILITY)
237223

238224
if (YOKAI_TARGET_ARCH_ARMHF OR YOKAI_TARGET_ARCH_ARMEL)
239225
list(APPEND LDR_INPUTS "linux/nacl_signal_arm.c")
240-
elseif (YOKAI_TARGET_ARCH_MIPSEL)
241-
list(APPEND LDR_INPUTS "linux/nacl_signal_mips.c")
242226
elseif (YOKAI_TARGET_ARCH_I686)
243227
list(APPEND LDR_INPUTS "linux/nacl_signal_32.c")
244228
elseif (YOKAI_TARGET_ARCH_AMD64)
@@ -315,8 +299,6 @@ if (YOKAI_TARGET_ARCH_I686 OR YOKAI_TARGET_ARCH_AMD64)
315299
elseif (YOKAI_TARGET_ARCH_ARMHF OR YOKAI_TARGET_ARCH_ARMEL)
316300
list(APPEND LDR_LIBS ncvalidate_arm_v2)
317301
list(APPEND LDR_LIBS arm_validator_reporters)
318-
elseif (YOKAI_TARGET_ARCH_MIPSEL)
319-
list(APPEND LDR_LIBS ncvalidate_mips)
320302
endif()
321303

322304
if (YOKAI_TARGET_ARCH_I686 OR YOKAI_TARGET_ARCH_AMD64)

‎src/trusted/service_runtime/linux/CMakeLists.txt‎

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -62,9 +62,6 @@ elseif (YOKAI_TARGET_ARCH_ARMHF OR YOKAI_TARGET_ARCH_ARMEL)
6262
endif()
6363
endif()
6464
endif()
65-
elseif (YOKAI_TARGET_ARCH_MIPSEL)
66-
set(LD_EMUL "elf32ltsmip")
67-
set(RESERVE_TOP "0x40008000")
6865
endif()
6966

7067
string(REPLACE ";" " " BOOTSTRAP_FLAGS_STRING "${BOOTSTRAP_FLAGS}")

‎src/trusted/validator_mips/CMakeLists.txt‎

Lines changed: 0 additions & 21 deletions
This file was deleted.

0 commit comments

Comments
 (0)