From dda078832c4a1fd9f51685627388a7f8e1427d6a Mon Sep 17 00:00:00 2001 From: Debian Science Team Date: Sat, 6 Aug 2016 18:27:27 +0000 Subject: [PATCH] _armel Gbp-Pq: Name 20_armel.diff --- CONFIG/include/atlconf.h | 8 ++++++++ CONFIG/src/SpewMakeInc.c | 2 ++ CONFIG/src/probe_comp.c | 2 ++ 3 files changed, 12 insertions(+) diff --git a/CONFIG/include/atlconf.h b/CONFIG/include/atlconf.h index 9a7e909..28c08f9 100644 --- a/CONFIG/include/atlconf.h +++ b/CONFIG/include/atlconf.h @@ -97,6 +97,14 @@ enum MACHTYPE {MACHOther, PPCG4, PPCG5, IbmPwr3, IbmPwr4, IbmPwr5, #define MachIsALPHA(mach_) \ ( 0 ) #endif +#ifdef __ARMEL__ +#define MachIsARMEL(mach_) \ + ( __ARMEL__ ) +#else +#define MachIsARMEL(mach_) \ + ( 0 ) +#endif + static char *f2c_namestr[5] = {"UNKNOWN","Add_", "Add__", "NoChange", "UpCase"}; static char *f2c_intstr[5] = diff --git a/CONFIG/src/SpewMakeInc.c b/CONFIG/src/SpewMakeInc.c index 964247a..d767342 100644 --- a/CONFIG/src/SpewMakeInc.c +++ b/CONFIG/src/SpewMakeInc.c @@ -405,6 +405,8 @@ char *GetPtrbitsFlag(enum OSTYPE OS, enum MACHTYPE arch, int ptrbits, return(sp); if (MachIsALPHA(arch)) return(sp); + if (MachIsARMEL(arch)) + return(sp); if (MachIsMIPS(arch)) return((ptrbits == 64) ? "-mabi=64" : "-mabi=n32"); if (MachIsS390(arch)) diff --git a/CONFIG/src/probe_comp.c b/CONFIG/src/probe_comp.c index 81cf4f1..7bceefc 100644 --- a/CONFIG/src/probe_comp.c +++ b/CONFIG/src/probe_comp.c @@ -599,6 +599,8 @@ char *GetPtrbitsFlag(enum OSTYPE OS, enum MACHTYPE arch, int ptrbits, return(sp); if (MachIsALPHA(arch)) return(sp); + if (MachIsARMEL(arch)) + return(sp); if (MachIsMIPS(arch)) return((ptrbits == 64) ? "-mabi=64" : "-mabi=n32"); if (MachIsS390(arch)) -- 2.30.2