From: Gabriel Corona Date: Thu, 2 Jan 2014 13:57:46 +0000 (+0100) Subject: [mv] Remove global {start,end}_{plt,got}_{libsimgrid,binary} X-Git-Tag: v3_11~199^2~2^2~35^2~24 X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/commitdiff_plain/602438d4fc78f03a184aa70a05d46f239d25df8d?hp=fc5167a345c9569b12237d14937523d733fb041f [mv] Remove global {start,end}_{plt,got}_{libsimgrid,binary} --- diff --git a/src/mc/mc_checkpoint.c b/src/mc/mc_checkpoint.c index 56209f5571..6b120afd89 100644 --- a/src/mc/mc_checkpoint.c +++ b/src/mc/mc_checkpoint.c @@ -15,11 +15,6 @@ XBT_LOG_NEW_DEFAULT_SUBCATEGORY(mc_checkpoint, mc, "Logging specific to mc_checkpoint"); -void *start_text_libsimgrid; -void *start_plt_libsimgrid, *end_plt_libsimgrid; -void *start_got_plt_libsimgrid, *end_got_plt_libsimgrid; -void *start_plt_binary, *end_plt_binary; -void *start_got_plt_binary, *end_got_plt_binary; char *libsimgrid_path; static void MC_get_plt_section(mc_object_info_t info); diff --git a/src/mc/mc_global.c b/src/mc/mc_global.c index 8a6b04696f..ea39360d40 100644 --- a/src/mc/mc_global.c +++ b/src/mc/mc_global.c @@ -1758,17 +1758,6 @@ static void MC_init_debug_info() { MC_free_memory_map(maps); - /* Get .plt section (start and end addresses) for data libsimgrid and data program comparison */ - start_plt_libsimgrid = mc_libsimgrid_info->start_plt; - end_plt_libsimgrid = mc_libsimgrid_info->end_plt; - start_plt_binary = mc_binary_info->start_plt; - end_plt_binary = mc_binary_info->end_plt; - start_got_plt_libsimgrid = mc_libsimgrid_info->start_got_plt; - end_got_plt_libsimgrid = mc_libsimgrid_info->end_got_plt; - start_got_plt_binary = mc_binary_info->start_got_plt; - end_got_plt_binary = mc_binary_info->end_got_plt; - - XBT_INFO("Get debug information done !"); } diff --git a/src/mc/mc_private.h b/src/mc/mc_private.h index 7b04bee1cd..10abd85150 100644 --- a/src/mc/mc_private.h +++ b/src/mc/mc_private.h @@ -220,14 +220,6 @@ memory_map_t MC_get_memory_map(void); void MC_free_memory_map(memory_map_t map); extern char *libsimgrid_path; -extern void *start_plt_libsimgrid; -extern void *end_plt_libsimgrid; -extern void *start_plt_binary; -extern void *end_plt_binary; -extern void *start_got_plt_libsimgrid; -extern void *end_got_plt_libsimgrid; -extern void *start_got_plt_binary; -extern void *end_got_plt_binary; /********************************** Snapshot comparison **********************************/