From d3a97d9e4b84bf69e5c50f2a5e18d98ae3bd1c77 Mon Sep 17 00:00:00 2001 From: Debian Science Team Date: Sat, 6 Aug 2016 18:27:27 +0000 Subject: [PATCH] _alpha Gbp-Pq: Name 18_alpha.diff --- CONFIG/include/atlconf.h | 7 +++++++ CONFIG/src/SpewMakeInc.c | 2 ++ CONFIG/src/probe_comp.c | 2 ++ 3 files changed, 11 insertions(+) diff --git a/CONFIG/include/atlconf.h b/CONFIG/include/atlconf.h index 814e9a3..9a7e909 100644 --- a/CONFIG/include/atlconf.h +++ b/CONFIG/include/atlconf.h @@ -90,6 +90,13 @@ enum MACHTYPE {MACHOther, PPCG4, PPCG5, IbmPwr3, IbmPwr4, IbmPwr5, #define MachIsHPPA(mach_) \ ( 0 ) #endif +#ifdef __alpha__ +#define MachIsALPHA(mach_) \ + ( __alpha__ ) +#else +#define MachIsALPHA(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 a9edac4..964247a 100644 --- a/CONFIG/src/SpewMakeInc.c +++ b/CONFIG/src/SpewMakeInc.c @@ -403,6 +403,8 @@ char *GetPtrbitsFlag(enum OSTYPE OS, enum MACHTYPE arch, int ptrbits, return(sp); if (MachIsHPPA(arch)) return(sp); + if (MachIsALPHA(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 cf506fc..81cf4f1 100644 --- a/CONFIG/src/probe_comp.c +++ b/CONFIG/src/probe_comp.c @@ -597,6 +597,8 @@ char *GetPtrbitsFlag(enum OSTYPE OS, enum MACHTYPE arch, int ptrbits, return(sp); if (MachIsHPPA(arch)) return(sp); + if (MachIsALPHA(arch)) + return(sp); if (MachIsMIPS(arch)) return((ptrbits == 64) ? "-mabi=64" : "-mabi=n32"); if (MachIsS390(arch)) -- 2.30.2