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

Subversion Repositories open8_urisc

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

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

Rev 27 Rev 159
Line 1... Line 1...
// merge.cc -- handle section merging for gold
// merge.cc -- handle section merging for gold
 
 
// Copyright 2006, 2007, 2008, 2010 Free Software Foundation, Inc.
// Copyright 2006, 2007, 2008, 2009, 2010, 2011 Free Software Foundation, Inc.
// Written by Ian Lance Taylor <iant@google.com>.
// Written by Ian Lance Taylor <iant@google.com>.
 
 
// This file is part of gold.
// This file is part of gold.
 
 
// This program is free software; you can redistribute it and/or modify
// This program is free software; you can redistribute it and/or modify
Line 240... Line 240...
void
void
Merge_map::add_mapping(Relobj* object, unsigned int shndx,
Merge_map::add_mapping(Relobj* object, unsigned int shndx,
                       section_offset_type offset, section_size_type length,
                       section_offset_type offset, section_size_type length,
                       section_offset_type output_offset)
                       section_offset_type output_offset)
{
{
 
  gold_assert(object != NULL);
  Object_merge_map* object_merge_map = object->merge_map();
  Object_merge_map* object_merge_map = object->merge_map();
  if (object_merge_map == NULL)
  if (object_merge_map == NULL)
    {
    {
      object_merge_map = new Object_merge_map();
      object_merge_map = new Object_merge_map();
      object->set_merge_map(object_merge_map);
      object->set_merge_map(object_merge_map);

powered by: WebSVN 2.1.0

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