From f5c4bc60df7a7a4f5c5c2b2d863bb5fc0fb95673 Mon Sep 17 00:00:00 2001 From: Bill Moyer Date: Wed, 17 Dec 1997 16:05:51 +0000 Subject: [PATCH] Adjusted egcs m68k-coff files to look like gcc2 m68k-coff files. From-SVN: r17125 --- gcc/ChangeLog | 6 ++++++ gcc/config/m68k/m68k.c | 10 +++++----- gcc/config/m68k/m68kemb.h | 2 ++ 3 files changed, 13 insertions(+), 5 deletions(-) diff --git a/gcc/ChangeLog b/gcc/ChangeLog index a7279290faf..60e22b59300 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,9 @@ +Tue Dec 16 18:51:00 1997 Bill Moyer + + * config/m68k/m68k.c (output_function_prologue): Typecast + dwarf2out_cfi_label to (char *). + * config/m68k/m68kemb.h (STARTFILE_SPEC): Redefined to "". + Wed Dec 17 15:06:04 1997 Richard Henderson * sparc.md (jump): Don't use the annul bit around an empty loop. diff --git a/gcc/config/m68k/m68k.c b/gcc/config/m68k/m68k.c index a59942186bf..32fc8c0c0ba 100644 --- a/gcc/config/m68k/m68k.c +++ b/gcc/config/m68k/m68k.c @@ -216,8 +216,8 @@ output_function_prologue (stream, size) } if (dwarf2out_do_frame ()) { - char *l = dwarf2out_cfi_label (); - + char *l; + l = (char *) dwarf2out_cfi_label (); cfa_store_offset += 4; cfa_offset = cfa_store_offset; dwarf2out_def_cfa (l, FRAME_POINTER_REGNUM, cfa_offset); @@ -343,7 +343,7 @@ output_function_prologue (stream, size) #endif if (dwarf2out_do_frame ()) { - char *l = dwarf2out_cfi_label (); + char *l = (char *) dwarf2out_cfi_label (); int n_regs; cfa_store_offset += num_saved_regs * 12; @@ -407,7 +407,7 @@ output_function_prologue (stream, size) reg_names[15 - i]); if (dwarf2out_do_frame ()) { - char *l = dwarf2out_cfi_label (); + char *l = (char *) dwarf2out_cfi_label (); cfa_store_offset += 4; if (! frame_pointer_needed) @@ -458,7 +458,7 @@ output_function_prologue (stream, size) } if (dwarf2out_do_frame ()) { - char *l = dwarf2out_cfi_label (); + char *l = (char *) dwarf2out_cfi_label (); int n_regs; cfa_store_offset += num_saved_regs * 4; diff --git a/gcc/config/m68k/m68kemb.h b/gcc/config/m68k/m68kemb.h index 4c02e1be6e6..9fa0c6923bc 100644 --- a/gcc/config/m68k/m68kemb.h +++ b/gcc/config/m68k/m68kemb.h @@ -45,9 +45,11 @@ /* Override the default LIB_SPEC from gcc.c. We don't currently support profiling, or libg.a. */ +#undef LIB_SPEC #define LIB_SPEC "-lc" /* Make this be null, since we want the crt0.o to come from the linker script */ +#undef STARTFILE_SPEC #define STARTFILE_SPEC "" -- 2.30.2