Line 1... |
Line 1... |
/* Motorola 68k series support for 32-bit ELF
|
/* Motorola 68k series support for 32-bit ELF
|
Copyright 1993, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003,
|
Copyright 1993, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003,
|
2004, 2005, 2006, 2007, 2008, 2009, 2010, 2011 Free Software Foundation, Inc.
|
2004, 2005, 2006, 2007, 2008, 2009, 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 3464... |
Line 3465... |
PTR inf;
|
PTR inf;
|
{
|
{
|
struct bfd_link_info *info = (struct bfd_link_info *) inf;
|
struct bfd_link_info *info = (struct bfd_link_info *) inf;
|
struct elf_m68k_pcrel_relocs_copied *s;
|
struct elf_m68k_pcrel_relocs_copied *s;
|
|
|
if (h->root.type == bfd_link_hash_warning)
|
|
h = (struct elf_link_hash_entry *) h->root.u.i.link;
|
|
|
|
if (!SYMBOL_CALLS_LOCAL (info, h))
|
if (!SYMBOL_CALLS_LOCAL (info, h))
|
{
|
{
|
if ((info->flags & DF_TEXTREL) == 0)
|
if ((info->flags & DF_TEXTREL) == 0)
|
{
|
{
|
/* Look for relocations against read-only sections. */
|
/* Look for relocations against read-only sections. */
|