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

Subversion Repositories open8_urisc

[/] [open8_urisc/] [trunk/] [gnu/] [binutils/] [gold/] [powerpc.cc] - Diff between revs 159 and 163

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

Rev 159 Rev 163
Line 1327... Line 1327...
              unsigned int r_sym = elfcpp::elf_r_sym<size>(reloc.get_r_info());
              unsigned int r_sym = elfcpp::elf_r_sym<size>(reloc.get_r_info());
              gold_assert(lsym.get_st_value() == 0);
              gold_assert(lsym.get_st_value() == 0);
              rela_dyn->add_local_relative(object, r_sym, r_type,
              rela_dyn->add_local_relative(object, r_sym, r_type,
                                           output_section, data_shndx,
                                           output_section, data_shndx,
                                           reloc.get_r_offset(),
                                           reloc.get_r_offset(),
                                           reloc.get_r_addend());
                                           reloc.get_r_addend(), false);
            }
            }
        }
        }
      break;
      break;
 
 
    case elfcpp::R_POWERPC_REL24:
    case elfcpp::R_POWERPC_REL24:
Line 1370... Line 1370...
 
 
                off = got->add_constant(0);
                off = got->add_constant(0);
                object->set_local_got_offset(r_sym, GOT_TYPE_STANDARD, off);
                object->set_local_got_offset(r_sym, GOT_TYPE_STANDARD, off);
                rela_dyn->add_local_relative(object, r_sym,
                rela_dyn->add_local_relative(object, r_sym,
                                             elfcpp::R_POWERPC_RELATIVE,
                                             elfcpp::R_POWERPC_RELATIVE,
                                             got, off, 0);
                                             got, off, 0, false);
              }
              }
          }
          }
        else
        else
          got->add_local(object, r_sym, GOT_TYPE_STANDARD);
          got->add_local(object, r_sym, GOT_TYPE_STANDARD);
      }
      }

powered by: WebSVN 2.1.0

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