From 528f534e3c742531babcee32d2e22efebb9761ef Mon Sep 17 00:00:00 2001 From: Debian Science Team Date: Sat, 24 Jan 2015 22:06: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 a669654..baf3a4d 100644 --- a/CONFIG/include/atlconf.h +++ b/CONFIG/include/atlconf.h @@ -77,6 +77,14 @@ enum MACHTYPE {MACHOther, IbmPwr3, IbmPwr4, IbmPwr5, PPCG4, PPCG5, #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 0cc108a..75074ab 100644 --- a/CONFIG/src/SpewMakeInc.c +++ b/CONFIG/src/SpewMakeInc.c @@ -395,6 +395,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 9e57cca..7179ea2 100644 --- a/CONFIG/src/probe_comp.c +++ b/CONFIG/src/probe_comp.c @@ -588,6 +588,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