diff options
author | law <law@138bc75d-0d04-0410-961f-82ee72b054a4> | 1997-12-07 00:31:01 +0000 |
---|---|---|
committer | law <law@138bc75d-0d04-0410-961f-82ee72b054a4> | 1997-12-07 00:31:01 +0000 |
commit | ad87de1ece2f52d260b582709751ab9f315ab349 (patch) | |
tree | ec80f8d1e46852ac1ba45aecdcda7201c302ac6f /gcc/dwarfout.c | |
parent | 8098b1a5d828997acb2555106b3edccc0b43b661 (diff) | |
download | gcc-ad87de1ece2f52d260b582709751ab9f315ab349.tar.gz |
Merge from gcc-2.8
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@16987 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/dwarfout.c')
-rw-r--r-- | gcc/dwarfout.c | 23 |
1 files changed, 20 insertions, 3 deletions
diff --git a/gcc/dwarfout.c b/gcc/dwarfout.c index 77248f6d436..d7eef70444c 100644 --- a/gcc/dwarfout.c +++ b/gcc/dwarfout.c @@ -46,10 +46,27 @@ extern time_t time (); #endif /* !defined(POSIX) */ #endif /* defined(DWARF_TIMESTAMPS) */ +#ifdef HAVE_STDLIB_H +#include <stdlib.h> +#endif + +#ifdef HAVE_STRING_H +#include <string.h> +#else +#ifdef HAVE_STRINGS_H +#include <strings.h> +#endif +#endif + extern char *getpwd (); +#ifdef NEED_DECLARATION_INDEX extern char *index (); +#endif + +#ifdef NEED_DECLARATION_RINDEX extern char *rindex (); +#endif /* IMPORTANT NOTE: Please see the file README.DWARF for important details regarding the GNU implementation of Dwarf. */ @@ -354,7 +371,7 @@ static inline void low_pc_attribute PROTO((char *)); static inline void high_pc_attribute PROTO((char *)); static inline void body_begin_attribute PROTO((char *)); static inline void body_end_attribute PROTO((char *)); -static inline void langauge_attribute PROTO((unsigned)); +static inline void language_attribute PROTO((unsigned)); static inline void member_attribute PROTO((tree)); static inline void string_length_attribute PROTO((tree)); static inline void comp_dir_attribute PROTO((char *)); @@ -414,7 +431,7 @@ static void output_block PROTO((tree, int)); static void output_decls_for_scope PROTO((tree, int)); static void output_decl PROTO((tree, tree)); static void shuffle_filename_entry PROTO((filename_entry *)); -static void geneate_new_sfname_entry PROTO((void)); +static void generate_new_sfname_entry PROTO((void)); static unsigned lookup_filename PROTO((char *)); static void generate_srcinfo_entry PROTO((unsigned, unsigned)); static void generate_macinfo_entry PROTO((char *, char *)); @@ -2364,7 +2381,7 @@ location_or_const_value_attribute (decl) shouldn't be happening. All PARM_DECL nodes should get valid non-NULL DECL_INCOMING_RTL values, but integrate.c doesn't currently generate these values for inlined instances of inline function parameters, so - when we see such cases, we are just SOL (shit-out-of-luck) for the time + when we see such cases, we are just out-of-luck for the time being (until integrate.c gets fixed). */ |