OpenCores
URL https://opencores.org/ocsvn/open8_urisc/open8_urisc/trunk

Subversion Repositories open8_urisc

[/] [open8_urisc/] [trunk/] [gnu/] [binutils/] [bfd/] [elfxx-mips.c] - Diff between revs 161 and 163

Go to most recent revision | Show entire file | Details | Blame | View Log

Rev 161 Rev 163
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;
 
 

powered by: WebSVN 2.1.0

© copyright 1999-2024 OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.