From 902e414fbe1acc6430a762f2ac8956e73a578027 Mon Sep 17 00:00:00 2001 From: Debian Science Team Date: Thu, 25 Aug 2016 08:30:34 +0000 Subject: [PATCH] _hppa Gbp-Pq: Name 17_hppa.diff --- CONFIG/include/atlconf.h | 8 +++++++- CONFIG/src/SpewMakeInc.c | 2 ++ CONFIG/src/probe_comp.c | 2 ++ 3 files changed, 11 insertions(+), 1 deletion(-) diff --git a/CONFIG/include/atlconf.h b/CONFIG/include/atlconf.h index e51d56d..814e9a3 100644 --- a/CONFIG/include/atlconf.h +++ b/CONFIG/include/atlconf.h @@ -83,7 +83,13 @@ enum MACHTYPE {MACHOther, PPCG4, PPCG5, IbmPwr3, IbmPwr4, IbmPwr5, ( (mach_) >= ARM64xg && || (mach_) <= ARM64a57) #define MachIsS390(mach_) \ ( (mach_) >= IbmZ9 && (mach_) <= IbmZ13 ) - +#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 0be92db..a9edac4 100644 --- a/CONFIG/src/SpewMakeInc.c +++ b/CONFIG/src/SpewMakeInc.c @@ -401,6 +401,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 d1ae621..cf506fc 100644 --- a/CONFIG/src/probe_comp.c +++ b/CONFIG/src/probe_comp.c @@ -595,6 +595,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)) -- 2.30.2