/usr/share/tau/utils/archfind.c is in tau-racy 2.16.4-1.5.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 231 232 233 234 235 236 237 238 239 240 241 242 243 244 245 246 247 248 249 250 251 252 253 254 255 256 257 258 259 260 261 262 263 264 265 266 267 268 269 270 271 272 273 274 275 276 277 278 279 280 281 282 283 284 285 286 287 288 289 290 291 292 293 294 295 296 297 298 299 300 301 302 303 304 305 306 307 308 309 310 311 312 313 314 315 316 317 318 319 320 321 322 323 324 325 326 327 328 329 330 331 332 333 334 335 336 337 338 339 340 341 342 343 344 345 346 347 348 349 350 351 352 353 354 355 356 357 358 359 360 361 362 363 364 365 366 367 368 369 370 371 372 373 374 375 376 377 378 379 380 381 382 383 384 385 386 387 388 389 390 391 392 393 394 395 396 397 398 399 400 401 402 403 404 405 406 407 408 409 410 411 412 413 414 415 416 417 418 419 420 421 422 423 424 425 426 427 428 429 430 431 432 433 434 435 436 437 438 439 440 441 442 443 444 445 446 447 448 449 450 451 452 453 454 455 456 457 458 459 460 461 462 463 464 465 466 467 468 469 470 471 472 473 474 475 476 477 478 479 480 481 482 483 484 485 486 487 488 489 490 491 492 493 | /*********************************************************************/
/* pC++/Sage++ Copyright (C) 1993,1995 */
/* Indiana University University of Oregon University of Rennes */
/*********************************************************************/
# ifdef AMIX /* Amiga UNIX */
# define _havehosttype_
ARCHamiga
# endif /* AMIX */
# ifdef __PARAGON__
# define _havehosttype_
ARCHparagon
# endif
# ifdef _VMS_POSIX
# define _havehosttype_
ARCHvms_posix
# endif /* _VMS_POSIX */
# if (defined(vax) || defined(__vax)) && !defined(_havehosttype_)
# define _havehosttype_
ARCHvax
# endif /* vax || __vax && !_havehosttype_ */
# ifdef hp9000 /* hp9000 running MORE/bsd */
# ifdef hp300
# define _havehosttype_
ARCHhp300
# endif
# ifdef hp800
# define _havehosttype_
ARCHhp800
# endif
# ifndef _havehosttype_
# define _havehosttype_
ARCHhp9000
# endif
# endif /* hp9000 */
# if defined(sun) || defined(__sun__)
# if defined(mc68010) || defined(__mc68010__)
# define _havehosttype_
ARCHsun2
# endif /* mc68010 */
# if defined(mc68020) || defined(__mc68010__)
# define _havehosttype_
ARCHsun3
# endif /* mc68020 */
# if defined(__svr4__) && (defined(sparc) && defined(__sparc__))
# define _havehosttype_
ARCHsolaris2
# endif /* solaris */
# if (defined(sparc) || defined(__sparc__)) && !defined(__svr4__)
# define _havehosttype_
ARCHsun4
# endif /* sparc */
# if defined(i386) || defined(__i386__)
# define _havehosttype_
ARCHsun386i
# endif /* i386 */
# ifndef _havehosttype_
# define _havehosttype_
ARCHsun
# endif
# endif /* sun */
# ifdef pyr /* pyramid */
# define _havehosttype_
ARCHpyramid
# endif /* pyr */
# ifdef tahoe /* tahoe */
# define _havehosttype_
ARCHtahoe
# endif /* tahoe */
# ifdef ibm032 /* from Jak Kirman */
# define _havehosttype_
ARCHrt
# endif /* ibm032 */
# ifdef aiws /* not to be confused with the above */
# define _havehosttype_
ARCHrtpc
# endif /* aiws */
# ifdef _AIX370
# define _havehosttype_
ARCHaix370
# endif /* _AIX370 */
# ifdef _IBMESA
# define _havehosttype_
ARCHaixESA
# endif /* _IBMESA */
# if (defined( _IBMR2) || defined( _AIX ))
# define _havehosttype_
ARCHrs6000
# endif /* _IBMR2 */
# ifdef _AIXPS2 /* AIX on a PS/2 */
# define _havehosttype_
ARCHps2
# endif /* _AIXPS2 */
# ifdef OREO
# define _havehosttype_
ARCHmac2
# endif /* OREO */
# ifdef __hpux
# if defined(__hp9000s700) && !defined(_havehosttype_)
# define _havehosttype_
ARCHhp9000s700
# endif /* __hp9000s700 */
# if (defined(__hp9000s800) || defined(hp9000s800)) && !defined(_havehosttype_)
# define _havehosttype_
ARCHhp9000s800
# endif /* __hp9000s800 || hp9000s800 */
# if (defined(__hp9000s300) || defined(hp9000s300)) && !defined(_havehosttype_)
# define _havehosttype_
ARCHhp9000s300
# endif /* __hp9000s800 || hp9000s300 */
# if defined(hp9000s500) && !defined(_havehosttype_)
# define _havehosttype_
ARCHhp9000s500
# endif /* hp9000s500 */
# ifndef _havehosttype_
# define _havehosttype_
ARCHhp
# endif /* _havehosttype_ */
# endif /* __hpux */
# ifdef apollo
# define _havehosttype_
ARCHapollo
# endif
# ifdef u3b20d
# define _havehosttype_
ARCHatt3b20
# endif /* u3b20d */
# ifdef u3b15
# define _havehosttype_
ARCHatt3b15
# endif /* u3b15 */
# ifdef u3b5
# define _havehosttype_
ARCHatt3b5
# endif /* u3b5 */
# ifdef u3b2
# define _havehosttype_
ARCHatt3b2
# endif /* u3b2 */
#ifdef _MINIX
# define _havehosttype_
# ifdef i386
ARCHminix386
# else /* minix ? amoeba or mac? */
ARCHminix
# endif /* i386 */
#endif /* _MINIX */
#if defined(i386) && defined(linux)
# define _havehosttype_
ARCHi386_linux
#endif
#if defined(i386) && defined(__EMX__)
# define _havehosttype_
ARCHi386_emx
#endif /* i386 && __EMX__ */
# ifdef __386BSD__
# define _havehosttype_
ARCH386BSD
# endif /* __386BSD__ */
# if defined(i386) && defined(bsdi)
# define _havehosttype_
ARCHbsd386
# endif /* i386 && bsdi */
# ifdef COHERENT
# define _havehosttype_
# ifdef _I386
ARCHcoh386
# else
ARCHcoherent
# endif /* _I386 */
# endif /* COHERENT */
# if defined(i386) && SYSVREL > 0
# if !defined(_havehosttype_) && (defined(ISC) || defined(ISC202))
# define _havehosttype_
ARCHisc386
# endif /* !_havehosttype_ && (ISC || ISC202) */
# if !defined(_havehosttype_) && defined(SCO)
# define _havehosttype_
ARCHsco386
# endif /* !_havehosttype_ && SCO */
# if !defined(_havehosttype_) && defined(INTEL)
# define _havehosttype_
ARCHintel386
# endif /* !_havehosttype_ && INTEL */
# ifndef _havehosttype_
# define _havehosttype_
ARCHi386
# endif /* _havehosttype_ */
# endif
#ifdef UNIXPC
# define _havehosttype_
ARCHunixpc
#endif /* UNIXPC/att3b1/att7300 */
#ifdef alliant
# ifdef mc68000
# define _havehosttype_
ARCHalliant_fx80
# endif /* mc68000 */
# ifdef i860
# define _havehosttype_
ARCHalliant_fx2800
# endif /* i860 */
# ifndef _havehosttype_
# define _havehosttype_
ARCHalliant
# endif /* _havehosttype_ */
#endif /* alliant */
# if defined(i386) && defined(MACH)
# define _havehosttype_
ARCHi386_mach
# endif
# if defined(sequent) || defined(_SEQUENT_)
# define _havehosttype_
# ifdef i386
# ifdef sequent
ARCHsymmetry
# ifndef LOCALSTR
# define LOCALSTR " (Dynix/3)"
# endif /* LOCALSTR */
# else
ARCHptx
# ifndef LOCALSTR
# define LOCALSTR " (Dynix/ptx)"
# endif /* LOCALSTR */
# endif
# else
ARCHbalance
# ifndef LOCALSTR
# define LOCALSTR " (Dynix/3)"
# endif /* LOCALSTR */
# endif
# else /* !sequent */
# ifdef ns32000
# define _havehosttype_
# ifdef CMUCS /* hack for Mach (in the true spirit of CMU) */
ARCHmultimax
# else /* CMUCS */
ARCHns32000
# endif /* CMUCS */
# endif /* ns32000 */
# endif /* sequent */
# ifdef convex
# define _havehosttype_
ARCHconvex
# endif /* convex */
# ifdef butterfly
# define _havehosttype_
# if defined(BFLY2) || defined(__BFLY2__)
ARCHtc2000
# else
ARCHgp1000
# endif
# endif /* butterfly */
# ifdef NeXT
# define _havehosttype_
ARCHnext
# endif /* NeXT */
/* From Kazuhiro Honda <honda@mt.cs.keio.ac.jp> */
# ifdef sony_news
# define _havehosttype_
# ifdef mips /* Sony NEWS based on a r3000 */
ARCHnews_mips
# else
ARCHnews
# endif
# endif /* sony_news */
# if defined(mips) || defined(__mips)
# define _havehosttype_
# if defined(MIPSEL) || defined(__MIPSEL)
# if defined(ultrix) || defined(__ultrix)
ARCHdecstation
# else
ARCHmips
# endif /* ultrix || __ultrix */
# endif /* MIPSEL || __MIPSEL */
# if defined(MIPSEB) || defined(__MIPSEB)
# if defined(ultrix) || defined(__ultrix)
ARCHdecmips
# else
# ifdef sgi /* sgi */
/* old code # if ((__mips == 1) || (__mips == 2)) */
#if (_MIPS_ISA == _MIPS_ISA_MIPS1 || _MIPS_ISA == _MIPS_ISA_MIPS2)
ARCHsgi4k
# else
ARCHsgi8k
# endif /* __mips */
# else
# ifdef sony_news
ARCHnews_mips
# else
ARCHmips
# endif /* sony_news */
# endif /* sgi */
# endif /* ultrix || __ultrix */
# endif /* MIPSEB || __MIPSEB */
# endif /* mips || __mips */
#if defined(__alpha)
# define _havehosttype_
ARCHalpha
#endif
#if defined(__APPLE__)
# define _havehosttype_
ARCHapple
# endif
#if defined(__hiuxmpp)
# define _havehosttype_
ARCHhitachi
# endif
#if defined(_SX)
# define _havehosttype_
ARCHnec
# endif
# if defined(m88k) || defined(__m88k__)
# ifndef _havehosttype_
# define _havehosttype_
ARCHm88k
# endif
# endif
# ifdef masscomp /* Added, DAS DEC-90. */
# define _havehosttype_
ARCHmasscomp
# endif /* masscomp */
# ifdef GOULD_NP1
# define _havehosttype_
ARCHgould_np1
# endif /* GOULD_NP1 */
# ifdef SXA
# define _havehosttype_
ARCHpfa50
# ifdef _BSDX_
# ifndef LOCALSTR
# define LOCALSTR " (SX/A E60+BSDX)"
# endif /* LOCALSTR */
# else
# ifndef LOCALSTR
# define LOCALSTR " (SX/A E60)"
# endif /* LOCALSTR */
# endif
# endif /* PFU/Fujitsu A-xx computer */
# ifdef titan
# define _havehosttype_
/* Ken Laprade <laprade@trantor.harris-atd.com> */
ARCHtitan
# endif /* titan */
# ifdef stellar
# define _havehosttype_
ARCHstellar
# endif /* stellar */
# ifdef sgi
/* Iris 4D is in the mips section; these are the 68k machines. */
# ifdef m68000
# define _havehosttype_
/* Vince Del Vecchio <vd09@andrew.cmu.edu> */
ARCHiris3d
# endif
# endif /* sgi */
# ifdef uts
# define _havehosttype_
ARCHamdahl
# endif /* uts */
# ifdef UTek
# define _havehosttype_
ARCHtek4300
# endif /* UTek */
# ifdef UTekV
# define _havehosttype_
ARCHtekXD88
# endif /* UTekV */
# ifdef OPUS
# define _havehosttype_
ARCHopus
# endif /* OPUS */
# ifdef eta10
# define _havehosttype_
/* Bruce Woodcock <woodcock@mentor.cc.purdue.edu> */
ARCHeta10
# endif /* eta10 */
# ifdef cray /* CRAYTEST */
# include "archcray.h"
# endif /* cray */ /* CRAYTEST */
# ifdef NDIX
# define _havehosttype_
/* B|rje Josefsson <bj@dc.luth.se> */
ARCHnd500
# endif /* NDIX */
# if defined(sysV68)
# define _havehosttype_
ARCHsysV68
# endif /* sysV68 */
# if defined(sysV88)
# define _havehosttype_
ARCHsysV88
# endif /* sysV88 */
# if defined(i860) && !defined(_havehosttype_)
# define _havehosttype_
/* Tasos Kotsikonas <tasos@avs.com> */
ARCHvistra800 /* Stardent Vistra */
# endif /* i860 && !_havehosttype_ */
# ifndef _havehosttype_
# if defined(mc68000) || defined(__mc68000__) || defined(mc68k32)
# define _havehosttype_
ARCHm68k
# endif
# endif
# ifndef _havehosttype
# if defined (__ksr__)
# define _havehosttype_
ARCHksr1
# endif
# endif
# ifndef _havehosttype
# if defined (__CYGWIN__)
# define _havehosttype_
ARCHcygwin
# endif
# endif
# ifndef _havehosttype_
# define _havehosttype_
/* Default to something reasonable */
ARCHunknown
# endif
# undef _havehosttype_
|