diff mbox series

[v2,07/12] arch: (almost) all platforms simply use int for int32

Message ID 20191127020643.68629-8-luc.vanoostenryck@gmail.com (mailing list archive)
State Mainlined, archived
Headers show
Series Miscellaneous arch specific fixes | expand

Commit Message

Luc Van Oostenryck Nov. 27, 2019, 2:06 a.m. UTC
The known execptions are:
* ARM with the bare-metal eabi
* MIPS64 with the n32 ABI

But these two are not really supported yet.
So, for now, int32 & uint32 can siply be set to int & uint.

Signed-off-by: Luc Van Oostenryck <luc.vanoostenryck@gmail.com>
---
 target.c | 13 -------------
 1 file changed, 13 deletions(-)
diff mbox series

Patch

diff --git a/target.c b/target.c
index 146c4125d..d03b179be 100644
--- a/target.c
+++ b/target.c
@@ -104,19 +104,6 @@  void init_target(void)
 		break;
 	}
 
-	switch (arch_mach) {
-	case MACH_M68K:
-	case MACH_SPARC32:
-	case MACH_PPC32:
-	case MACH_MIPS32:
-	case MACH_RISCV32:
-		int32_ctype = &long_ctype;
-		uint32_ctype = &ulong_ctype;
-		break;
-	default:
-		break;
-	}
-
 	switch (arch_mach) {
 	case MACH_ARM:
 	case MACH_MIPS32: