Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
View | Details | Raw Unified | Return to bug 707852 | Differences between
and this patch

Collapse All | Expand All

(-)file_not_specified_in_diff (-4 / +4 lines)
Line  Link Here
0
-- a/mysys/my_addr_resolve.c
0
++ b/mysys/my_addr_resolve.c
Lines 74-84 int my_addr_resolve(void *ptr, my_addr_loc *loc) Link Here
74
  {
74
  {
75
    bfd_vma start;
75
    bfd_vma start;
76
76
77
    if ((bfd_get_section_flags(bfdh, sec) & SEC_ALLOC) == 0)
77
    if ((bfd_section_flags(sec) & SEC_ALLOC) == 0)
78
      continue;
78
      continue;
79
79
80
    start = bfd_get_section_vma(bfdh, sec);
80
    start = bfd_section_vma(sec);
81
    if (addr < start || addr >= start + bfd_get_section_size(sec))
81
    if (addr < start || addr >= start + bfd_section_size(sec))
82
      continue;
82
      continue;
83
83
84
    if (bfd_find_nearest_line(bfdh, sec, symtable, addr - start,
84
    if (bfd_find_nearest_line(bfdh, sec, symtable, addr - start,

Return to bug 707852