From: Richard Kenner Date: Sun, 26 May 1996 12:30:16 +0000 (-0400) Subject: (WINDOWS_NT): No longer defined and used. X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=e7a2eff86df8f8c137be800af0c1dc68f3e80071;p=gcc.git (WINDOWS_NT): No longer defined and used. (MASK_WINDOWS_NT, TARGET_WINDOWS_NT): New macros. (ASM_OUTPUT_ADDR_DIFF_ELT): Use TARGET_WINDOWS_NT. From-SVN: r12110 --- diff --git a/gcc/config/alpha/alpha.h b/gcc/config/alpha/alpha.h index 07b6d4574b0..d78cff92e7d 100644 --- a/gcc/config/alpha/alpha.h +++ b/gcc/config/alpha/alpha.h @@ -69,11 +69,6 @@ Boston, MA 02111-1307, USA. */ /* Print subsidiary information on the compiler version in use. */ #define TARGET_VERSION -/* Default this to not be compiling for Windows/NT. */ -#ifndef WINDOWS_NT -#define WINDOWS_NT 0 -#endif - /* Define the location for the startup file on OSF/1 for Alpha. */ #define MD_STARTFILE_PREFIX "/usr/lib/cmplrs/cc/" @@ -142,6 +137,10 @@ extern enum alpha_fp_trap_mode alpha_fptm; #define MASK_IEEE_WITH_INEXACT 32 #define TARGET_IEEE_WITH_INEXACT (target_flags & MASK_IEEE_WITH_INEXACT) +/* This means we are compiling for Windows NT. */ +#define MASK_WINDOWS_NT 64 +#define TARGET_WINDOWS_NT (target_flags & MASK_WINDOWS_NT) + /* Macro to define tables used to set the flags. This is a list in braces of pairs in braces, each pair being { "NAME", VALUE } @@ -1850,13 +1849,9 @@ literal_section () \ /* This is how to output an element of a case-vector that is relative. */ -#if WINDOWS_NT #define ASM_OUTPUT_ADDR_DIFF_ELT(FILE, VALUE, REL) \ - fprintf (FILE, "\t.long $%d\n", (VALUE) + 32) -#else -#define ASM_OUTPUT_ADDR_DIFF_ELT(FILE, VALUE, REL) \ - fprintf (FILE, "\t.gprel32 $%d\n", (VALUE) + 32) -#endif + fprintf (FILE, "\t.%s $%d\n", TARGET_WINDOWS_NT ? "long" : "gprel32", \ + (VALUE) + 32) /* This is how to output an assembler line that says to advance the location counter