Line 6335... |
Line 6335... |
|
|
case SHN_MIPS_TEXT:
|
case SHN_MIPS_TEXT:
|
{
|
{
|
asection *section = bfd_get_section_by_name (abfd, ".text");
|
asection *section = bfd_get_section_by_name (abfd, ".text");
|
|
|
BFD_ASSERT (SGI_COMPAT (abfd));
|
|
if (section != NULL)
|
if (section != NULL)
|
{
|
{
|
asym->section = section;
|
asym->section = section;
|
/* MIPS_TEXT is a bit special, the address is not an offset
|
/* MIPS_TEXT is a bit special, the address is not an offset
|
to the base of the .text section. So substract the section
|
to the base of the .text section. So substract the section
|
Line 6351... |
Line 6350... |
|
|
case SHN_MIPS_DATA:
|
case SHN_MIPS_DATA:
|
{
|
{
|
asection *section = bfd_get_section_by_name (abfd, ".data");
|
asection *section = bfd_get_section_by_name (abfd, ".data");
|
|
|
BFD_ASSERT (SGI_COMPAT (abfd));
|
|
if (section != NULL)
|
if (section != NULL)
|
{
|
{
|
asym->section = section;
|
asym->section = section;
|
/* MIPS_DATA is a bit special, the address is not an offset
|
/* MIPS_DATA is a bit special, the address is not an offset
|
to the base of the .data section. So substract the section
|
to the base of the .data section. So substract the section
|
Line 11565... |
Line 11563... |
if (_bfd_dwarf1_find_nearest_line (abfd, section, symbols, offset,
|
if (_bfd_dwarf1_find_nearest_line (abfd, section, symbols, offset,
|
filename_ptr, functionname_ptr,
|
filename_ptr, functionname_ptr,
|
line_ptr))
|
line_ptr))
|
return TRUE;
|
return TRUE;
|
|
|
if (_bfd_dwarf2_find_nearest_line (abfd, section, symbols, offset,
|
if (_bfd_dwarf2_find_nearest_line (abfd, dwarf_debug_sections,
|
|
section, symbols, offset,
|
filename_ptr, functionname_ptr,
|
filename_ptr, functionname_ptr,
|
line_ptr, ABI_64_P (abfd) ? 8 : 0,
|
line_ptr, ABI_64_P (abfd) ? 8 : 0,
|
&elf_tdata (abfd)->dwarf2_find_line_info))
|
&elf_tdata (abfd)->dwarf2_find_line_info))
|
return TRUE;
|
return TRUE;
|
|
|