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

Subversion Repositories open8_urisc

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

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

Rev 163 Rev 166
Line 334... Line 334...
      // C does not have a concept of ODR, so we only need to do this
      // C does not have a concept of ODR, so we only need to do this
      // on C++ symbols.  These have (mangled) names starting with _Z.
      // on C++ symbols.  These have (mangled) names starting with _Z.
      && to->name()[0] == '_' && to->name()[1] == 'Z')
      && to->name()[0] == '_' && to->name()[1] == 'Z')
    {
    {
      Symbol_location fromloc
      Symbol_location fromloc
          = { object, orig_st_shndx, sym.get_st_value() };
          = { object, orig_st_shndx, static_cast<off_t>(sym.get_st_value()) };
      Symbol_location toloc = { to->object(), to->shndx(&to_is_ordinary),
      Symbol_location toloc = { to->object(), to->shndx(&to_is_ordinary),
                                to->value() };
                                static_cast<off_t>(to->value()) };
      this->candidate_odr_violations_[to->name()].insert(fromloc);
      this->candidate_odr_violations_[to->name()].insert(fromloc);
      this->candidate_odr_violations_[to->name()].insert(toloc);
      this->candidate_odr_violations_[to->name()].insert(toloc);
    }
    }
 
 
  unsigned int frombits = symbol_to_bits(sym.get_st_bind(),
  unsigned int frombits = symbol_to_bits(sym.get_st_bind(),

powered by: WebSVN 2.1.0

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