From ab122c4c5be7f1ecf55258b2ae1af4c93a8869f8 Mon Sep 17 00:00:00 2001 From: Debian Science Team Date: Sat, 24 Jan 2015 22:06: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 5128020..a669654 100644 --- a/CONFIG/include/atlconf.h +++ b/CONFIG/include/atlconf.h @@ -70,6 +70,13 @@ enum MACHTYPE {MACHOther, IbmPwr3, IbmPwr4, IbmPwr5, PPCG4, PPCG5, #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 dda669f..0cc108a 100644 --- a/CONFIG/src/SpewMakeInc.c +++ b/CONFIG/src/SpewMakeInc.c @@ -393,6 +393,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 13bcdc9..9e57cca 100644 --- a/CONFIG/src/probe_comp.c +++ b/CONFIG/src/probe_comp.c @@ -586,6 +586,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