diff options
author | Mark Mitchell <mark@codesourcery.com> | 1999-11-06 18:00:18 +0000 |
---|---|---|
committer | Mark Mitchell <mmitchel@gcc.gnu.org> | 1999-11-06 18:00:18 +0000 |
commit | 951a525fefc72be228eb70c7fd1586be9235afab (patch) | |
tree | c0d4b74c0177a02d70e723b24982d68c7838cffb /gcc/dbxout.c | |
parent | e06981b09a2f0607cb85f692cb8b9fd89a72de32 (diff) | |
download | gcc-951a525fefc72be228eb70c7fd1586be9235afab.tar.gz |
Makefile.in (dbxout.o): Depend on ggc.h.
* Makefile.in (dbxout.o): Depend on ggc.h.
(dwarf2out.o): Likewise.
(xcoffout.o): Likewise.
* dbxout.c: Include ggc.h.
(dbxout_init): Register lastfile as a root.
* dwarf2out.c: Include ggc.h.
(dwarf2out_line): Register lastfile as a root.
* xcoffout.c: Include ggc.h.
(xcoffout_source_line): Register xcoff_lastfile as a root.
From-SVN: r30433
Diffstat (limited to 'gcc/dbxout.c')
-rw-r--r-- | gcc/dbxout.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/gcc/dbxout.c b/gcc/dbxout.c index 5357b02338c..70051944ca3 100644 --- a/gcc/dbxout.c +++ b/gcc/dbxout.c @@ -81,6 +81,7 @@ Boston, MA 02111-1307, USA. */ #include "dbxout.h" #include "toplev.h" #include "tm_p.h" +#include "ggc.h" #ifdef XCOFF_DEBUGGING_INFO #include "xcoffout.h" @@ -463,6 +464,8 @@ dbxout_init (asm_file, input_file_name, syms) and output them all, except for those already output. */ dbxout_typedefs (syms); + + ggc_add_string_root ((char **) &lastfile, 1); } /* Output any typedef names for types described by TYPE_DECLs in SYMS, |