aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--gcc/ChangeLog14
-rw-r--r--gcc/config/h8300/lib1funcs.asm24
-rw-r--r--gcc/config/mcore/mcore-protos.h4
-rw-r--r--gcc/config/mcore/mcore.c8
-rw-r--r--gcc/real.h2
5 files changed, 29 insertions, 23 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog
index 7ba1f72..700cbb4 100644
--- a/gcc/ChangeLog
+++ b/gcc/ChangeLog
@@ -31,6 +31,20 @@
* 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
diff --git a/gcc/config/h8300/lib1funcs.asm b/gcc/config/h8300/lib1funcs.asm
index 4eb05a2..312e21d 100644
--- a/gcc/config/h8300/lib1funcs.asm
+++ b/gcc/config/h8300/lib1funcs.asm
@@ -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
diff --git a/gcc/config/mcore/mcore-protos.h b/gcc/config/mcore/mcore-protos.h
index 5069a62..8dc1b09 100644
--- a/gcc/config/mcore/mcore-protos.h
+++ b/gcc/config/mcore/mcore-protos.h
@@ -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
diff --git a/gcc/config/mcore/mcore.c b/gcc/config/mcore/mcore.c
index 85458fb..4622ade 100644
--- a/gcc/config/mcore/mcore.c
+++ b/gcc/config/mcore/mcore.c
@@ -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;
diff --git a/gcc/real.h b/gcc/real.h
index a85ca74..ccd0541 100644
--- a/gcc/real.h
+++ b/gcc/real.h
@@ -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. */