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

Subversion Repositories open8_urisc

[/] [open8_urisc/] [trunk/] [gnu/] [binutils/] [bfd/] [elf64-s390.c] - Diff between revs 14 and 148

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

Rev 14 Rev 148
Line 1... Line 1...
/* IBM S/390-specific support for 64-bit ELF
/* IBM S/390-specific support for 64-bit ELF
   Copyright 2000, 2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009,
   Copyright 2000, 2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009,
   2010  Free Software Foundation, Inc.
   2010, 2011 Free Software Foundation, Inc.
   Contributed Martin Schwidefsky (schwidefsky@de.ibm.com).
   Contributed Martin Schwidefsky (schwidefsky@de.ibm.com).
 
 
   This file is part of BFD, the Binary File Descriptor library.
   This file is part of BFD, the Binary File Descriptor library.
 
 
   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 1678... Line 1678...
  struct elf_s390_dyn_relocs *p;
  struct elf_s390_dyn_relocs *p;
 
 
  if (h->root.type == bfd_link_hash_indirect)
  if (h->root.type == bfd_link_hash_indirect)
    return TRUE;
    return TRUE;
 
 
  if (h->root.type == bfd_link_hash_warning)
 
    /* When warning symbols are created, they **replace** the "real"
 
       entry in the hash table, thus we never get to see the real
 
       symbol in a hash traversal.  So look at it now.  */
 
    h = (struct elf_link_hash_entry *) h->root.u.i.link;
 
 
 
  info = (struct bfd_link_info *) inf;
  info = (struct bfd_link_info *) inf;
  htab = elf_s390_hash_table (info);
  htab = elf_s390_hash_table (info);
  if (htab == NULL)
  if (htab == NULL)
    return FALSE;
    return FALSE;
 
 
Line 1905... Line 1899...
     PTR inf;
     PTR inf;
{
{
  struct elf_s390_link_hash_entry *eh;
  struct elf_s390_link_hash_entry *eh;
  struct elf_s390_dyn_relocs *p;
  struct elf_s390_dyn_relocs *p;
 
 
  if (h->root.type == bfd_link_hash_warning)
 
    h = (struct elf_link_hash_entry *) h->root.u.i.link;
 
 
 
  eh = (struct elf_s390_link_hash_entry *) h;
  eh = (struct elf_s390_link_hash_entry *) h;
  for (p = eh->dyn_relocs; p != NULL; p = p->next)
  for (p = eh->dyn_relocs; p != NULL; p = p->next)
    {
    {
      asection *s = p->sec->output_section;
      asection *s = p->sec->output_section;
 
 

powered by: WebSVN 2.1.0

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