Commit f5c4bc60 by Bill Moyer Committed by Bill Moyer

Adjusted egcs m68k-coff files to look like gcc2 m68k-coff files.

From-SVN: r17125
parent 8dcb5295
Tue Dec 16 18:51:00 1997 Bill Moyer <billm@cygnus.com>
* 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 <rth@cygnus.com> Wed Dec 17 15:06:04 1997 Richard Henderson <rth@cygnus.com>
* sparc.md (jump): Don't use the annul bit around an empty loop. * sparc.md (jump): Don't use the annul bit around an empty loop.
......
...@@ -216,8 +216,8 @@ output_function_prologue (stream, size) ...@@ -216,8 +216,8 @@ output_function_prologue (stream, size)
} }
if (dwarf2out_do_frame ()) if (dwarf2out_do_frame ())
{ {
char *l = dwarf2out_cfi_label (); char *l;
l = (char *) dwarf2out_cfi_label ();
cfa_store_offset += 4; cfa_store_offset += 4;
cfa_offset = cfa_store_offset; cfa_offset = cfa_store_offset;
dwarf2out_def_cfa (l, FRAME_POINTER_REGNUM, cfa_offset); dwarf2out_def_cfa (l, FRAME_POINTER_REGNUM, cfa_offset);
...@@ -343,7 +343,7 @@ output_function_prologue (stream, size) ...@@ -343,7 +343,7 @@ output_function_prologue (stream, size)
#endif #endif
if (dwarf2out_do_frame ()) if (dwarf2out_do_frame ())
{ {
char *l = dwarf2out_cfi_label (); char *l = (char *) dwarf2out_cfi_label ();
int n_regs; int n_regs;
cfa_store_offset += num_saved_regs * 12; cfa_store_offset += num_saved_regs * 12;
...@@ -407,7 +407,7 @@ output_function_prologue (stream, size) ...@@ -407,7 +407,7 @@ output_function_prologue (stream, size)
reg_names[15 - i]); reg_names[15 - i]);
if (dwarf2out_do_frame ()) if (dwarf2out_do_frame ())
{ {
char *l = dwarf2out_cfi_label (); char *l = (char *) dwarf2out_cfi_label ();
cfa_store_offset += 4; cfa_store_offset += 4;
if (! frame_pointer_needed) if (! frame_pointer_needed)
...@@ -458,7 +458,7 @@ output_function_prologue (stream, size) ...@@ -458,7 +458,7 @@ output_function_prologue (stream, size)
} }
if (dwarf2out_do_frame ()) if (dwarf2out_do_frame ())
{ {
char *l = dwarf2out_cfi_label (); char *l = (char *) dwarf2out_cfi_label ();
int n_regs; int n_regs;
cfa_store_offset += num_saved_regs * 4; cfa_store_offset += num_saved_regs * 4;
......
...@@ -45,9 +45,11 @@ ...@@ -45,9 +45,11 @@
/* Override the default LIB_SPEC from gcc.c. We don't currently support /* Override the default LIB_SPEC from gcc.c. We don't currently support
profiling, or libg.a. */ profiling, or libg.a. */
#undef LIB_SPEC
#define LIB_SPEC "-lc" #define LIB_SPEC "-lc"
/* Make this be null, since we want the crt0.o to come from the linker /* Make this be null, since we want the crt0.o to come from the linker
script */ script */
#undef STARTFILE_SPEC
#define STARTFILE_SPEC "" #define STARTFILE_SPEC ""
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