(svr4_read_so_list): Remove unused lmo.
* solib-target.c (solib_target_relocate_section_addresses): Remove
unused flags.
Reference: http://sourceware.org/ml/gdb-patches/2013-01/msg00744.html
+2013-01-31 Aleksandar Ristovski <aristovski@qnx.com>
+
+ * solib-svr4.c (svr4_keep_data_in_core): Remove unused lmo.
+ (svr4_read_so_list): Remove unused lmo.
+ * solib-target.c (solib_target_relocate_section_addresses): Remove
+ unused flags.
+
2013-01-30 Tom Tromey <tromey@redhat.com>
* hppa-tdep.c (read_unwind_info): Use SECT_OFF_TEXT, not "0".
CORE_ADDR ldsomap;
struct so_list *new;
struct cleanup *old_chain;
- struct link_map_offsets *lmo;
CORE_ADDR name_lm;
info = get_svr4_info ();
if (!ldsomap)
return 0;
- lmo = svr4_fetch_link_map_offsets ();
new = XZALLOC (struct so_list);
old_chain = make_cleanup (xfree, new);
new->lm_info = lm_info_read (ldsomap);
for (; lm != 0; prev_lm = lm, lm = next_lm)
{
- struct link_map_offsets *lmo = svr4_fetch_link_map_offsets ();
struct so_list *new;
struct cleanup *old_chain;
int errcode;
solib_target_relocate_section_addresses (struct so_list *so,
struct target_section *sec)
{
- int flags = bfd_get_section_flags (sec->bfd, sec->the_bfd_section);
CORE_ADDR offset;
/* Build the offset table only once per object file. We can not do