aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBill Moyer <billm@cygnus.com>1997-12-17 16:05:51 +0000
committerBill Moyer <billm@gcc.gnu.org>1997-12-17 16:05:51 +0000
commitf5c4bc60df7a7a4f5c5c2b2d863bb5fc0fb95673 (patch)
tree3f1a6a192ce787af64acbc9e20eee53c0d4d2d86
parent8dcb529511c71f818cf107964ce568b521dcb025 (diff)
downloadgcc-f5c4bc60df7a7a4f5c5c2b2d863bb5fc0fb95673.zip
gcc-f5c4bc60df7a7a4f5c5c2b2d863bb5fc0fb95673.tar.gz
gcc-f5c4bc60df7a7a4f5c5c2b2d863bb5fc0fb95673.tar.bz2
Adjusted egcs m68k-coff files to look like gcc2 m68k-coff files.
From-SVN: r17125
-rw-r--r--gcc/ChangeLog6
-rw-r--r--gcc/config/m68k/m68k.c10
-rw-r--r--gcc/config/m68k/m68kemb.h2
3 files changed, 13 insertions, 5 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog
index a727929..60e22b5 100644
--- a/gcc/ChangeLog
+++ b/gcc/ChangeLog
@@ -1,3 +1,9 @@
+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>
* 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 a599421..32fc8c0 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 4c02e1b..9fa0c69 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 ""