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

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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@xxxxxxxxx>
---
 target.c | 13 -------------
 1 file changed, 13 deletions(-)

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:
-- 
2.24.0




[Index of Archives]     [Newbies FAQ]     [LKML]     [IETF Annouce]     [DCCP]     [Netdev]     [Networking]     [Security]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux SCSI]     [Trinity Fuzzer Tool]

  Powered by Linux