From 43870aec5efd34c46f8d7d8422291030c5048fd8 Mon Sep 17 00:00:00 2001 From: Ian Lance Taylor Date: Tue, 28 Apr 1998 23:52:20 +0000 Subject: [PATCH] * corefile.c: Rename from core.c. * corefile.h: Rename from core.h. * Many .c files: Include corefile.h rather than core.h. * Makefile.am (sources): Change core.c to corefile.c. (noinst_HEADERS): Change core.h to corefile.h. ($(OBJECTS)): Depend upon corefile.h rather than core.h. (corefile.o): Rename target from core.o, depend upon corefile.c. * Makefile.in, po/POTFILES.in: Rebuild. --- gprof/.Sanitize | 4 ++-- gprof/ChangeLog | 11 +++++++++++ gprof/Makefile.am | 8 ++++---- gprof/Makefile.in | 10 +++++----- gprof/alpha.c | 2 +- gprof/basic_blocks.c | 2 +- gprof/call_graph.c | 2 +- gprof/{core.c => corefile.c} | 2 +- gprof/{core.h => corefile.h} | 6 +++--- gprof/gmon_io.c | 2 +- gprof/gprof.c | 2 +- gprof/hist.c | 2 +- gprof/i386.c | 2 +- gprof/po/POTFILES.in | 4 ++-- gprof/sparc.c | 2 +- gprof/symtab.c | 2 +- gprof/tahoe.c | 2 +- gprof/vax.c | 2 +- 18 files changed, 39 insertions(+), 28 deletions(-) rename gprof/{core.c => corefile.c} (99%) rename gprof/{core.h => corefile.h} (92%) diff --git a/gprof/.Sanitize b/gprof/.Sanitize index ac1ec54091..b5d3f3e632 100644 --- a/gprof/.Sanitize +++ b/gprof/.Sanitize @@ -50,8 +50,8 @@ cg_print.h configure configure.bat configure.in -core.c -core.h +corefile.c +corefile.h flat_bl.m fsf_callg_bl.m gconfig.in diff --git a/gprof/ChangeLog b/gprof/ChangeLog index 7d4d438086..e22276a5f8 100644 --- a/gprof/ChangeLog +++ b/gprof/ChangeLog @@ -1,3 +1,14 @@ +Tue Apr 28 19:50:09 1998 Ian Lance Taylor + + * corefile.c: Rename from core.c. + * corefile.h: Rename from core.h. + * Many .c files: Include corefile.h rather than core.h. + * Makefile.am (sources): Change core.c to corefile.c. + (noinst_HEADERS): Change core.h to corefile.h. + ($(OBJECTS)): Depend upon corefile.h rather than core.h. + (corefile.o): Rename target from core.o, depend upon corefile.c. + * Makefile.in, po/POTFILES.in: Rebuild. + Mon Apr 27 16:50:40 1998 Ian Lance Taylor * configure.in: Change version number to 2.9.4 diff --git a/gprof/Makefile.am b/gprof/Makefile.am index 7a3f73e29d..7ae149212a 100644 --- a/gprof/Makefile.am +++ b/gprof/Makefile.am @@ -12,7 +12,7 @@ bin_PROGRAMS = gprof ## Convenience var listing pure sources. sources = basic_blocks.c call_graph.c cg_arcs.c cg_dfn.c \ - cg_print.c core.c gmon_io.c gprof.c hertz.c hist.c source.c \ + cg_print.c corefile.c gmon_io.c gprof.c hertz.c hist.c source.c \ search_list.c symtab.c sym_ids.c utils.c \ i386.c alpha.c vax.c tahoe.c sparc.c gprof_SOURCES = $(sources) flat_bl.c bsd_callg_bl.c fsf_callg_bl.c @@ -21,7 +21,7 @@ gprof_LDADD = ../bfd/libbfd.la ../libiberty/libiberty.a $(INTLLIBS) noinst_HEADERS = \ basic_blocks.h call_graph.h cg_arcs.h cg_dfn.h cg_print.h \ - core.h gmon.h gmon_io.h gmon_out.h gprof.h hertz.h hist.h \ + corefile.h gmon.h gmon_io.h gmon_out.h gprof.h hertz.h hist.h \ search_list.h source.h sym_ids.h symtab.h utils.h EXTRA_DIST = flat_bl.c bsd_callg_bl.c fsf_callg_bl.c bbconv.pl @@ -45,7 +45,7 @@ man_MANS = gprof.1 # Dependencies. $(OBJECTS): ../bfd/bfd.h call_graph.h cg_arcs.h cg_print.h \ - core.h gmon_io.h gmon_out.h gprof.h hertz.h hist.h \ + corefile.h gmon_io.h gmon_out.h gprof.h hertz.h hist.h \ search_list.h source.h sym_ids.h symtab.h utils.h \ $(srcdir)/../include/libiberty.h $(srcdir)/../bfd/sysdep.h \ gconfig.h ../bfd/config.h @@ -55,7 +55,7 @@ call_graph.o: call_graph.c cg_arcs.o: cg_arcs.c cg_dfn.o: cg_dfn.c cg_print.o: cg_print.c -core.o: core.c +corefile.o: corefile.c flat_bl.o: flat_bl.c fsf_callg_bl.o: fsf_callg_bl.c gmon_io.o: gmon_io.c diff --git a/gprof/Makefile.in b/gprof/Makefile.in index 6c121c6cc4..7431463921 100644 --- a/gprof/Makefile.in +++ b/gprof/Makefile.in @@ -107,7 +107,7 @@ INCLUDES = -D_GNU_SOURCE -DDEBUG -I../bfd -I$(srcdir)/../include -I$(srcdir)/../ bin_PROGRAMS = gprof sources = basic_blocks.c call_graph.c cg_arcs.c cg_dfn.c \ - cg_print.c core.c gmon_io.c gprof.c hertz.c hist.c source.c \ + cg_print.c corefile.c gmon_io.c gprof.c hertz.c hist.c source.c \ search_list.c symtab.c sym_ids.c utils.c \ i386.c alpha.c vax.c tahoe.c sparc.c gprof_SOURCES = $(sources) flat_bl.c bsd_callg_bl.c fsf_callg_bl.c @@ -116,7 +116,7 @@ gprof_LDADD = ../bfd/libbfd.la ../libiberty/libiberty.a $(INTLLIBS) noinst_HEADERS = \ basic_blocks.h call_graph.h cg_arcs.h cg_dfn.h cg_print.h \ - core.h gmon.h gmon_io.h gmon_out.h gprof.h hertz.h hist.h \ + corefile.h gmon.h gmon_io.h gmon_out.h gprof.h hertz.h hist.h \ search_list.h source.h sym_ids.h symtab.h utils.h EXTRA_DIST = flat_bl.c bsd_callg_bl.c fsf_callg_bl.c bbconv.pl @@ -140,7 +140,7 @@ CPPFLAGS = @CPPFLAGS@ LDFLAGS = @LDFLAGS@ LIBS = @LIBS@ gprof_OBJECTS = basic_blocks.o call_graph.o cg_arcs.o cg_dfn.o \ -cg_print.o core.o gmon_io.o gprof.o hertz.o hist.o source.o \ +cg_print.o corefile.o gmon_io.o gprof.o hertz.o hist.o source.o \ search_list.o symtab.o sym_ids.o utils.o i386.o alpha.o vax.o tahoe.o \ sparc.o flat_bl.o bsd_callg_bl.o fsf_callg_bl.o gprof_LDFLAGS = @@ -650,7 +650,7 @@ po/POTFILES.in: @MAINT@ Makefile # Dependencies. $(OBJECTS): ../bfd/bfd.h call_graph.h cg_arcs.h cg_print.h \ - core.h gmon_io.h gmon_out.h gprof.h hertz.h hist.h \ + corefile.h gmon_io.h gmon_out.h gprof.h hertz.h hist.h \ search_list.h source.h sym_ids.h symtab.h utils.h \ $(srcdir)/../include/libiberty.h $(srcdir)/../bfd/sysdep.h \ gconfig.h ../bfd/config.h @@ -660,7 +660,7 @@ call_graph.o: call_graph.c cg_arcs.o: cg_arcs.c cg_dfn.o: cg_dfn.c cg_print.o: cg_print.c -core.o: core.c +corefile.o: corefile.c flat_bl.o: flat_bl.c fsf_callg_bl.o: fsf_callg_bl.c gmon_io.o: gmon_io.c diff --git a/gprof/alpha.c b/gprof/alpha.c index 2c9a8dd264..d9d55d5cfc 100644 --- a/gprof/alpha.c +++ b/gprof/alpha.c @@ -18,7 +18,7 @@ */ #include "gprof.h" #include "cg_arcs.h" -#include "core.h" +#include "corefile.h" #include "hist.h" #include "symtab.h" diff --git a/gprof/basic_blocks.c b/gprof/basic_blocks.c index 00525dda56..0c0fc43377 100644 --- a/gprof/basic_blocks.c +++ b/gprof/basic_blocks.c @@ -6,7 +6,7 @@ #include #include #include "basic_blocks.h" -#include "core.h" +#include "corefile.h" #include "gmon_io.h" #include "gmon_out.h" #include "gprof.h" diff --git a/gprof/call_graph.c b/gprof/call_graph.c index 2c56caf5fb..693d337404 100644 --- a/gprof/call_graph.c +++ b/gprof/call_graph.c @@ -1,6 +1,6 @@ #include "cg_arcs.h" #include "call_graph.h" -#include "core.h" +#include "corefile.h" #include "gmon_io.h" #include "gmon_out.h" #include "symtab.h" diff --git a/gprof/core.c b/gprof/corefile.c similarity index 99% rename from gprof/core.c rename to gprof/corefile.c index d074d3a6dd..3f3468b949 100644 --- a/gprof/core.c +++ b/gprof/corefile.c @@ -1,6 +1,6 @@ #include "libiberty.h" #include "gprof.h" -#include "core.h" +#include "corefile.h" #include "symtab.h" bfd *core_bfd; diff --git a/gprof/core.h b/gprof/corefile.h similarity index 92% rename from gprof/core.h rename to gprof/corefile.h index a78b58a2cd..b396f8500b 100644 --- a/gprof/core.h +++ b/gprof/corefile.h @@ -1,5 +1,5 @@ -#ifndef core_h -#define core_h +#ifndef corefile_h +#define corefile_h #include "bfd.h" @@ -18,4 +18,4 @@ extern void core_get_text_space PARAMS ((bfd * core_bfd)); extern void core_create_function_syms PARAMS ((bfd * core_bfd)); extern void core_create_line_syms PARAMS ((bfd * core_bfd)); -#endif /* core_h */ +#endif /* corefile_h */ diff --git a/gprof/gmon_io.c b/gprof/gmon_io.c index 9524c8bf33..af4d8ac793 100644 --- a/gprof/gmon_io.c +++ b/gprof/gmon_io.c @@ -4,7 +4,7 @@ #include "cg_arcs.h" #include "basic_blocks.h" #include "bfd.h" -#include "core.h" +#include "corefile.h" #include "call_graph.h" #include "gmon_io.h" #include "gmon_out.h" diff --git a/gprof/gprof.c b/gprof/gprof.c index 888335b7d2..b6e260cff8 100644 --- a/gprof/gprof.c +++ b/gprof/gprof.c @@ -23,7 +23,7 @@ #include "call_graph.h" #include "cg_arcs.h" #include "cg_print.h" -#include "core.h" +#include "corefile.h" #include "gmon_io.h" #include "hertz.h" #include "hist.h" diff --git a/gprof/hist.c b/gprof/hist.c index 745c121f1e..e027d9a552 100644 --- a/gprof/hist.c +++ b/gprof/hist.c @@ -4,7 +4,7 @@ #include #include "libiberty.h" #include "gprof.h" -#include "core.h" +#include "corefile.h" #include "gmon_io.h" #include "gmon_out.h" #include "hist.h" diff --git a/gprof/i386.c b/gprof/i386.c index d09d34ed5a..6ce4eea404 100644 --- a/gprof/i386.c +++ b/gprof/i386.c @@ -18,7 +18,7 @@ */ #include "gprof.h" #include "cg_arcs.h" -#include "core.h" +#include "corefile.h" #include "hist.h" #include "symtab.h" diff --git a/gprof/po/POTFILES.in b/gprof/po/POTFILES.in index 60cf18a8ef..5ae8116a5c 100644 --- a/gprof/po/POTFILES.in +++ b/gprof/po/POTFILES.in @@ -9,8 +9,8 @@ cg_dfn.c cg_dfn.h cg_print.c cg_print.h -core.c -core.h +corefile.c +corefile.h gmon.h gmon_io.c gmon_io.h diff --git a/gprof/sparc.c b/gprof/sparc.c index 77457ac4de..fd0f469e9c 100644 --- a/gprof/sparc.c +++ b/gprof/sparc.c @@ -18,7 +18,7 @@ */ #include "gprof.h" #include "cg_arcs.h" -#include "core.h" +#include "corefile.h" #include "hist.h" #include "symtab.h" diff --git a/gprof/symtab.c b/gprof/symtab.c index 1ac61cc384..182c6574b4 100644 --- a/gprof/symtab.c +++ b/gprof/symtab.c @@ -1,6 +1,6 @@ #include "gprof.h" #include "cg_arcs.h" -#include "core.h" +#include "corefile.h" #include "symtab.h" Sym_Table symtab; diff --git a/gprof/tahoe.c b/gprof/tahoe.c index 3bcd3c571e..55db2786cc 100644 --- a/gprof/tahoe.c +++ b/gprof/tahoe.c @@ -18,7 +18,7 @@ */ #include "gprof.h" #include "cg_arcs.h" -#include "core.h" +#include "corefile.h" #include "hist.h" #include "symtab.h" diff --git a/gprof/vax.c b/gprof/vax.c index 020409cba6..c1f77df584 100644 --- a/gprof/vax.c +++ b/gprof/vax.c @@ -18,7 +18,7 @@ */ #include "gprof.h" #include "cg_arcs.h" -#include "core.h" +#include "corefile.h" #include "hist.h" #include "symtab.h" -- 2.34.1