OSDN Git Service

2000-06-09 Rodney Brown <RodneyBrown@mynd.com>
authorlaw <law@138bc75d-0d04-0410-961f-82ee72b054a4>
Sun, 11 Jun 2000 20:21:02 +0000 (20:21 +0000)
committerlaw <law@138bc75d-0d04-0410-961f-82ee72b054a4>
Sun, 11 Jun 2000 20:21:02 +0000 (20:21 +0000)
        * mcore-protos.h: discards const warning removal.
        * mcore.c: discards const warning removal.

2000-06-09  Kazu Hirata  <kazu@hxi.com>

        * config/h8300/lib1funcs.asm: Declare the machine architecture at
        the beginning of the file.

2000-06-09  J. David Anglin  <dave@hiauly1.hia.nrc.ca>

        * real.h:  Add prototype for ldexp.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@34496 138bc75d-0d04-0410-961f-82ee72b054a4

gcc/ChangeLog
gcc/config/h8300/lib1funcs.asm
gcc/config/mcore/mcore-protos.h
gcc/config/mcore/mcore.c
gcc/real.h

index 7ba1f72..700cbb4 100644 (file)
 
        * Makefile.in (c-parse.o): Also depend on output.h.
 
+2000-06-09  Rodney Brown  <RodneyBrown@mynd.com>
+
+        * mcore-protos.h: discards const warning removal.
+        * mcore.c: discards const warning removal.
+
+2000-06-09  Kazu Hirata  <kazu@hxi.com>
+
+       * config/h8300/lib1funcs.asm: Declare the machine architecture at
+       the beginning of the file.
+
+2000-06-09  J. David Anglin  <dave@hiauly1.hia.nrc.ca>
+
+       * real.h:  Add prototype for ldexp.
+
 2000-06-09  Zack Weinberg  <zack@wolery.cumb.org>
 
        * ggc-none.c, ggc-simple.c, ggc-page.c (ggc_alloc_obj): Rename
index 4eb05a2..312e21d 100644 (file)
@@ -95,6 +95,14 @@ Boston, MA 02111-1307, USA.  */
 #define A3E    e3
 #endif
 
+#ifdef __H8300H__
+       .h8300h
+#endif
+
+#ifdef __H8300S__
+       .h8300s
+#endif
+
 #ifdef L_cmpsi2
 #ifdef __H8300__
        .section .text
@@ -304,14 +312,6 @@ setbit:    inc     A0L             ; do insert bit
 ;; We bunch all of this into one object file since there are several
 ;; "supporting routines".
 
-#ifdef __H8300H__
-       .h8300h
-#endif
-
-#ifdef __H8300S__
-       .h8300s
-#endif
-
        .section .text
        .align 2
 
@@ -736,14 +736,6 @@ _done:
 
 #else /* __H8300H__ */
 
-#ifdef __H8300H__
-       .h8300h
-#endif
-
-#ifdef __H8300S__
-       .h8300s
-#endif
-
        .global ___mulsi3
 ___mulsi3:
        sub.l   A2P,A2P
index 5069a62..8dc1b09 100644 (file)
@@ -30,8 +30,8 @@ extern int    mcore_byte_offset               PARAMS ((unsigned int));
 extern int    mcore_halfword_offset            PARAMS ((unsigned int));
 extern int    mcore_const_trick_uses_not       PARAMS ((long));
 extern void   mcore_override_options           PARAMS ((void));
-extern int    mcore_dllexport_name_p           PARAMS ((char *));
-extern int    mcore_dllimport_name_p           PARAMS ((char *));
+extern int    mcore_dllexport_name_p           PARAMS ((const char *));
+extern int    mcore_dllimport_name_p           PARAMS ((const char *));
 extern int    mcore_naked_function_p           PARAMS ((void));
 
 #ifdef TREE_CODE
index 85458fb..4622ade 100644 (file)
@@ -3254,7 +3254,7 @@ mcore_function_arg_partial_nregs (cum, mode, type, named)
 /* Return non-zero if SYMBOL is marked as being dllexport'd.  */
 int
 mcore_dllexport_name_p (symbol)
-     char * symbol;
+     const char * symbol;
 {
   return symbol[0] == '@' && symbol[1] == 'e' && symbol[2] == '.';
 }
@@ -3262,7 +3262,7 @@ mcore_dllexport_name_p (symbol)
 /* Return non-zero if SYMBOL is marked as being dllimport'd.  */
 int
 mcore_dllimport_name_p (symbol)
-     char * symbol;
+     const char * symbol;
 {
   return symbol[0] == '@' && symbol[1] == 'i' && symbol[2] == '.';
 }
@@ -3272,7 +3272,7 @@ static void
 mcore_mark_dllexport (decl)
      tree decl;
 {
-  char * oldname;
+  const char * oldname;
   char * newname;
   rtx    rtlname;
   tree   idp;
@@ -3309,7 +3309,7 @@ static void
 mcore_mark_dllimport (decl)
      tree decl;
 {
-  char * oldname;
+  const char * oldname;
   char * newname;
   tree   idp;
   rtx    rtlname;
index a85ca74..ccd0541 100644 (file)
@@ -359,7 +359,7 @@ do {                                                                        \
 /* Scale X by Y powers of 2.  */
 #ifndef REAL_VALUE_LDEXP
 #define REAL_VALUE_LDEXP(x, y) ldexp (x, y)
-extern double ldexp ();
+extern double ldexp PARAMS ((double, int));
 #endif
 
 /* Convert the string X to a floating-point value.  */