Adjusted egcs m68k-coff files to look like gcc2 m68k-coff files.
authorBill Moyer <billm@cygnus.com>
Wed, 17 Dec 1997 16:05:51 +0000 (16:05 +0000)
committerBill Moyer <billm@gcc.gnu.org>
Wed, 17 Dec 1997 16:05:51 +0000 (16:05 +0000)
From-SVN: r17125

gcc/ChangeLog
gcc/config/m68k/m68k.c
gcc/config/m68k/m68kemb.h

index a7279290faf3250ad727b464d168dd3c2ce5b1ff..60e22b59300a010283ca5e4c8a3ada4f431debf8 100644 (file)
@@ -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.
index a59942186bfeac92937a3ec171427c5ef9f2a64e..32fc8c0c0ba800f384845decd6c01fd6dedd5728 100644 (file)
@@ -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;
index 4c02e1be6e68ae35c540b6e7d6d9427e99c0a560..9fa0c6923bc0b143ff736a6c37e90de482fe0248 100644 (file)
 /* 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 ""