From: Debian Science Team Date: Sat, 24 Jan 2015 22:06:27 +0000 (+0000) Subject: _hppa X-Git-Tag: archive/raspbian/3.10.3-3+rpi1~2^2^2~12 X-Git-Url: https://dgit.raspbian.org/?a=commitdiff_plain;h=587b5d0147556386bb8533e37c9b0d2de1a2a1a1;p=atlas.git _hppa Gbp-Pq: Name 17_hppa.diff --- diff --git a/CONFIG/include/atlconf.h b/CONFIG/include/atlconf.h index ef9dd01..5128020 100644 --- a/CONFIG/include/atlconf.h +++ b/CONFIG/include/atlconf.h @@ -63,7 +63,13 @@ enum MACHTYPE {MACHOther, IbmPwr3, IbmPwr4, IbmPwr5, PPCG4, PPCG5, ( (mach_) == ARMv7 ) #define MachIsS390(mach_) \ ( (mach_) >= IbmZ9 && (mach_) <= IbmZ196 ) - +#ifdef __hppa__ +#define MachIsHPPA(mach_) \ + ( __hppa__ ) +#else +#define MachIsHPPA(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 7b9822e..dda669f 100644 --- a/CONFIG/src/SpewMakeInc.c +++ b/CONFIG/src/SpewMakeInc.c @@ -391,6 +391,8 @@ char *GetPtrbitsFlag(enum OSTYPE OS, enum MACHTYPE arch, int ptrbits, if (MachIsIA64(arch)) return(sp); + if (MachIsHPPA(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 e6c4346..13bcdc9 100644 --- a/CONFIG/src/probe_comp.c +++ b/CONFIG/src/probe_comp.c @@ -584,6 +584,8 @@ char *GetPtrbitsFlag(enum OSTYPE OS, enum MACHTYPE arch, int ptrbits, if (MachIsIA64(arch)) return(sp); + if (MachIsHPPA(arch)) + return(sp); if (MachIsMIPS(arch)) return((ptrbits == 64) ? "-mabi=64" : "-mabi=n32"); if (MachIsS390(arch))