Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
View | Details | Raw Unified | Return to bug 708008
Collapse All | Expand All

(-)file_not_specified_in_diff (-3 / +3 lines)
Line  Link Here
0
-- a/libgrive/src/bfd/SymbolInfo.cc
0
++ b/libgrive/src/bfd/SymbolInfo.cc
Lines 118-130 void SymbolInfo::BacktraceInfo::Callback( bfd *abfd, asection *section, Link Here
118
	if ((section->flags & SEC_ALLOC) == 0)
118
	if ((section->flags & SEC_ALLOC) == 0)
119
		return ;
119
		return ;
120
	
120
	
121
	bfd_vma vma = bfd_get_section_vma(abfd, section);
121
	bfd_vma vma = bfd_section_vma(section);
122
	
122
	
123
	unsigned long address = (unsigned long)(info->m_addr);
123
	unsigned long address = (unsigned long)(info->m_addr);
124
	if ( address < vma )
124
	if ( address < vma )
125
		return;
125
		return;
126
	
126
	
127
	bfd_size_type size = bfd_section_size(abfd, section);
127
	bfd_size_type size = bfd_section_size(section);
128
	if ( address > (vma + size))
128
	if ( address > (vma + size))
129
		return ;
129
		return ;
130
	
130
	

Return to bug 708008