Commit b4f32d7b by Jim Wilson Committed by Jim Wilson

Fix alpha OSF 1.x/2.x/3.x build problems.

	* alpha.h (ARCH_ASM_FILE_START): Define.
	(ASM_FILE_START): Use ARCH_ASM_FILE_START.
	* osf12.h, osf2or3.h (ARCH_ASM_FILE_START): Redefine to null string.

From-SVN: r14884
parent fb52f6de
Thu Aug 21 17:28:00 1997 Jim Wilson <wilson@cygnus.com>
* alpha.h (ARCH_ASM_FILE_START): Define.
(ASM_FILE_START): Use ARCH_ASM_FILE_START.
* osf12.h, osf2or3.h (ARCH_ASM_FILE_START): Redefine to null string.
Thu Aug 21 10:22:19 1997 Jeffrey A Law (law@cygnus.com)
* version.c: Bump for new snapshot.
......
......@@ -1716,6 +1716,14 @@ extern void final_prescan_insn ();
/* Control the assembler format that we output. */
/* Emit the .arch pseudo op. This is separated out, because versions of
OSF before 4.0 do not support it. */
#define ARCH_ASM_FILE_START(FILE) \
fprintf (FILE, "\t.arch %s\n", \
(TARGET_BYTE_OPS ? "ev56" \
: alpha_cpu == PROCESSOR_EV4 ? "ev4" : "ev5"));
/* Output at beginning of assembler file. */
#define ASM_FILE_START(FILE) \
......@@ -1724,9 +1732,7 @@ extern void final_prescan_insn ();
fprintf (FILE, "\t.set noreorder\n"); \
fprintf (FILE, "\t.set volatile\n"); \
fprintf (FILE, "\t.set noat\n"); \
fprintf (FILE, "\t.arch %s\n", \
(TARGET_BYTE_OPS ? "ev56" \
: alpha_cpu == PROCESSOR_EV4 ? "ev4" : "ev5")); \
ARCH_ASM_FILE_START (FILE); \
ASM_OUTPUT_SOURCE_FILENAME (FILE, main_input_filename); \
}
......
......@@ -31,3 +31,7 @@ Boston, MA 02111-1307, USA. */
#define WCHAR_TYPE "short unsigned int"
#undef WCHAR_TYPE_SIZE
#define WCHAR_TYPE_SIZE 16
/* The .arch pseudo op is not supported. */
#undef ARCH_ASM_FILE_START
#define ARCH_ASM_FILE_START(FILE)
......@@ -21,4 +21,8 @@ Boston, MA 02111-1307, USA. */
/* In OSF 2 or 3, linking with -lprof1 doesn't require -lpdf. */
#undef LIB_SPEC
/* The .arch pseudo op is not supported. */
#undef ARCH_ASM_FILE_START
#define ARCH_ASM_FILE_START(FILE)
#define LIB_SPEC "%{p:-lprof1} %{pg:-lprof1} %{a:-lprof2} -lc"
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment