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

Collapse All | Expand All

(-)a/main/backtrace.c (-3 / +3 lines)
Lines 129-140 Link Here
129
129
130
	offset = data->pc - (data->dynamic ? (bfd_vma)(uintptr_t) data->dli.dli_fbase : 0);
130
	offset = data->pc - (data->dynamic ? (bfd_vma)(uintptr_t) data->dli.dli_fbase : 0);
131
131
132
	if (!(bfd_get_section_flags(bfdobj, section) & SEC_ALLOC)) {
132
	if (!(bfd_section_flags(section) & SEC_ALLOC)) {
133
		return;
133
		return;
134
	}
134
	}
135
135
136
	vma = bfd_get_section_vma(bfdobj, section);
136
	vma = bfd_section_vma(section);
137
	size = bfd_get_section_size(section);
137
	size = bfd_section_size(section);
138
138
139
	if (offset < vma || offset >= vma + size) {
139
	if (offset < vma || offset >= vma + size) {
140
		/* Not in this section */
140
		/* Not in this section */

Return to bug 711582