From: Debian Science Team Date: Sat, 24 Jan 2015 22:06:27 +0000 (+0000) Subject: _armel X-Git-Tag: archive/raspbian/3.10.3-3+rpi1~2^2^2~10 X-Git-Url: https://dgit.raspbian.org/?a=commitdiff_plain;h=528f534e3c742531babcee32d2e22efebb9761ef;p=atlas.git _armel Gbp-Pq: Name 20_armel.diff --- 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))