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 (-1 / +10 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
#ifdef bfd_get_section_flags
76
    if ((bfd_get_section_flags(bfdh, sec) & SEC_ALLOC) == 0)
77
    if ((bfd_get_section_flags(bfdh, sec) & SEC_ALLOC) == 0)
78
#else
79
    if ((bfd_section_flags(sec) & SEC_ALLOC) == 0)
80
#endif
77
      continue;
81
      continue;
82
#ifdef bfd_get_section_vma
78
    start = bfd_get_section_vma(bfdh, sec);
83
    start = bfd_get_section_vma(bfdh, sec);
79
    if (addr < start || addr >= start + bfd_get_section_size(sec))
84
    if (addr < start || addr >= start + bfd_get_section_size(sec))
85
#else
86
    start = bfd_section_vma(sec);
87
    if (addr < start || addr >= start + bfd_section_size(sec))
88
#endif
80
      continue;
89
      continue;
81
90
82
    if (bfd_find_nearest_line(bfdh, sec, symtable, addr - start,
91
    if (bfd_find_nearest_line(bfdh, sec, symtable, addr - start,

Return to bug 707852