Commit 49691411 by Kaveh R. Ghazi Committed by Kaveh Ghazi

ChangeLog (configure.in): Don't include ansidecl.h in tconfig.h.

	* ChangeLog (configure.in): Don't include ansidecl.h in tconfig.h.
	* gcov-io.h (PARAMS, ATTRIBUTE_UNUSED: Define if IN_LIBGCC2.
	* unwind-dw2-fde.h (last_fde): Use __attribute__, not
	ATTRIBUTE_UNUSED.

	* configure: Regenerate.

From-SVN: r61692
parent ee42dd9d
2003-01-23 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
* ChangeLog (configure.in): Don't include ansidecl.h in tconfig.h.
* gcov-io.h (PARAMS, ATTRIBUTE_UNUSED: Define if IN_LIBGCC2.
* unwind-dw2-fde.h (last_fde): Use __attribute__, not
ATTRIBUTE_UNUSED.
* configure: Regenerate.
2003-01-23 Franz Sirl <Franz.Sirl-kernel@lauterbach.com> 2003-01-23 Franz Sirl <Franz.Sirl-kernel@lauterbach.com>
PR java/6748 PR java/6748
......
...@@ -1036,7 +1036,8 @@ tm_file="${tm_file} defaults.h" ...@@ -1036,7 +1036,8 @@ tm_file="${tm_file} defaults.h"
tm_p_file="${tm_p_file} tm-preds.h" tm_p_file="${tm_p_file} tm-preds.h"
host_xm_file="auto-host.h ansidecl.h ${host_xm_file}" host_xm_file="auto-host.h ansidecl.h ${host_xm_file}"
build_xm_file="${build_auto} ansidecl.h ${build_xm_file}" build_xm_file="${build_auto} ansidecl.h ${build_xm_file}"
xm_file="ansidecl.h ${xm_file}" # We don't want ansidecl.h in target files, write code there in ISO/GNU C.
#xm_file="ansidecl.h ${xm_file}"
# Truncate the target if necessary # Truncate the target if necessary
if test x$host_truncate_target != x; then if test x$host_truncate_target != x; then
......
...@@ -250,6 +250,15 @@ extern void __gcov_init (struct gcov_info *); ...@@ -250,6 +250,15 @@ extern void __gcov_init (struct gcov_info *);
/* Called before fork, to avoid double counting. */ /* Called before fork, to avoid double counting. */
extern void __gcov_flush (void); extern void __gcov_flush (void);
/* Since this file is used in both host and target files, and we don't
include ansidecl.h in target files, provide some necessary macros. */
#ifndef PARAMS
# define PARAMS(X) X
#endif
#ifndef ATTRIBUTE_UNUSED
# define ATTRIBUTE_UNUSED __attribute__ ((__unused__))
#endif
#endif /* IN_LIBGCC2 */ #endif /* IN_LIBGCC2 */
/* Functions for reading and writing gcov files. */ /* Functions for reading and writing gcov files. */
......
...@@ -166,7 +166,7 @@ next_fde (fde *f) ...@@ -166,7 +166,7 @@ next_fde (fde *f)
extern fde * _Unwind_Find_FDE (void *, struct dwarf_eh_bases *); extern fde * _Unwind_Find_FDE (void *, struct dwarf_eh_bases *);
static inline int static inline int
last_fde (struct object *obj ATTRIBUTE_UNUSED, fde *f) last_fde (struct object *obj __attribute__ ((__unused__)), fde *f)
{ {
#ifdef DWARF2_OBJECT_END_PTR_EXTENSION #ifdef DWARF2_OBJECT_END_PTR_EXTENSION
return (char *)f == obj->fde_end || f->length == 0; return (char *)f == obj->fde_end || f->length == 0;
......
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