Line 1... |
Line 1... |
/* SuperH SH64-specific support for 64-bit ELF
|
/* SuperH SH64-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.
|
|
|
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
|
it under the terms of the GNU General Public License as published by
|
it under the terms of the GNU General Public License as published by
|
Line 3420... |
Line 3420... |
sh64_elf64_discard_copies (struct elf_sh64_link_hash_entry *h,
|
sh64_elf64_discard_copies (struct elf_sh64_link_hash_entry *h,
|
void *ignore ATTRIBUTE_UNUSED)
|
void *ignore ATTRIBUTE_UNUSED)
|
{
|
{
|
struct elf_sh64_pcrel_relocs_copied *s;
|
struct elf_sh64_pcrel_relocs_copied *s;
|
|
|
if (h->root.root.type == bfd_link_hash_warning)
|
|
h = (struct elf_sh64_link_hash_entry *) h->root.root.u.i.link;
|
|
|
|
/* We only discard relocs for symbols defined in a regular object. */
|
/* We only discard relocs for symbols defined in a regular object. */
|
if (!h->root.def_regular)
|
if (!h->root.def_regular)
|
return TRUE;
|
return TRUE;
|
|
|
for (s = h->pcrel_relocs_copied; s != NULL; s = s->next)
|
for (s = h->pcrel_relocs_copied; s != NULL; s = s->next)
|