aboutsummaryrefslogtreecommitdiff
path: root/gprof
diff options
context:
space:
mode:
authorNick Clifton <nickc@redhat.com>2009-09-05 08:00:21 +0000
committerNick Clifton <nickc@redhat.com>2009-09-05 08:00:21 +0000
commit4403e8668f57561c154b81392e4109fa6015673d (patch)
tree2a2aafb0978f7e08603da34bc4e7b1125633747b /gprof
parent3f3007a78f85200db062b6033ac7396bd690f8b7 (diff)
downloadgdb-4403e8668f57561c154b81392e4109fa6015673d.zip
gdb-4403e8668f57561c154b81392e4109fa6015673d.tar.gz
gdb-4403e8668f57561c154b81392e4109fa6015673d.tar.bz2
* coff-arm.c (coff_arm_relocate_section)
(record_thumb_to_arm_glue, bfd_arm_process_before_allocation): Change member name class to symbol_class. * coff-i960.c (coff_i960_relocate_section) Rename variable class to class_val. Change member name class to symbol_class. * coff-rs6000.c (_bfd_xcoff_swap_aux_in) (_bfd_xcoff_swap_aux_out): Rename arguments class to in_class. * coff-stgo32.c (adjust_aux_in_post) (adjust_aux_out_pre, adjust_aux_out_post): Rename arguments class to in_class. * coff64-rs6000.c (_bfd_xcoff64_swap_aux_in) (_bfd_xcoff64_swap_aux_out): Rename arguments class to in_class. * coffcode.h (coff_pointerize_aux_hook): Rename variable class to n_sclass. * coffgen.c (coff_write_symbol, coff_pointerize_aux): Rename variables named class to n_sclass. (coff_write_symbols): Rename variable class to sym_class. (bfd_coff_set_symbol_class): Rename argument class to symbol_class. * cofflink.c (_bfd_coff_link_hash_newfunc) (coff_link_add_symbols, _bfd_coff_link_input_bfd) (_bfd_coff_write_global_sym, _bfd_coff_generic_relocate_section): Update code to use renamed members. * coffswap.h (coff_swap_aux_in, coff_swap_aux_out): Rename argument class to in_class. * libcoff-in.h (struct coff_link_hash_entry, struct coff_debug_merge_type) Renamed members class to symbol_class and type_class. * libcoff.h Regenerated. * peXXigen.c: (_bfd_XXi_swap_aux_in, _bfd_XXi_swap_aux_out): Rename argument class to in_class. * pef.c (bfd_pef_parse_imported_symbol): Update code to use renamed members. * pef.h (struct bfd_pef_imported_symbol): Changed name of member class to symbol_class.
Diffstat (limited to 'gprof')
-rw-r--r--gprof/ChangeLog5
-rw-r--r--gprof/corefile.c8
2 files changed, 9 insertions, 4 deletions
diff --git a/gprof/ChangeLog b/gprof/ChangeLog
index c00e501..a0bbbd7 100644
--- a/gprof/ChangeLog
+++ b/gprof/ChangeLog
@@ -1,3 +1,8 @@
+2009-09-05 Martin Thuresson <martin@mtme.org>
+
+ * corefile.c (core_create_function_syms): Rename variable
+ class to cxxclass.
+
2009-08-22 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
* Makefile.am (AM_CPPFLAGS): Renamed from ...
diff --git a/gprof/corefile.c b/gprof/corefile.c
index 9f1118a..5c6fe6b 100644
--- a/gprof/corefile.c
+++ b/gprof/corefile.c
@@ -562,7 +562,7 @@ core_create_function_syms (void)
{
bfd_vma min_vma = ~ (bfd_vma) 0;
bfd_vma max_vma = 0;
- int class;
+ int cxxclass;
long i;
struct function_map * found;
@@ -598,9 +598,9 @@ core_create_function_syms (void)
{
asection *sym_sec;
- class = core_sym_class (core_syms[i]);
+ cxxclass = core_sym_class (core_syms[i]);
- if (!class)
+ if (!cxxclass)
{
DBG (AOUTDEBUG,
printf ("[core_create_function_syms] rejecting: 0x%lx %s\n",
@@ -670,7 +670,7 @@ core_create_function_syms (void)
symtab.limit->is_func = (core_syms[i]->flags & BSF_FUNCTION) != 0;
symtab.limit->is_bb_head = TRUE;
- if (class == 't')
+ if (cxxclass == 't')
symtab.limit->is_static = TRUE;
/* Keep track of the minimum and maximum vma addresses used by all