Line 1... |
Line 1... |
/* Motorola 68HC11/HC12-specific support for 32-bit ELF
|
/* Motorola 68HC11/HC12-specific support for 32-bit ELF
|
Copyright 1999, 2000, 2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008,
|
Copyright 1999, 2000, 2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008,
|
2009, 2010, 2011 Free Software Foundation, Inc.
|
2009, 2010, 2011, 2012 Free Software Foundation, Inc.
|
Contributed by Stephane Carrez (stcarrez@nerim.fr)
|
Contributed by Stephane Carrez (stcarrez@nerim.fr)
|
|
|
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 212... |
Line 212... |
|
|
}
|
}
|
return TRUE;
|
return TRUE;
|
}
|
}
|
|
|
|
/* Merge non-visibility st_other attributes, STO_M68HC12_FAR and
|
|
STO_M68HC12_INTERRUPT. */
|
|
|
|
void
|
|
elf32_m68hc11_merge_symbol_attribute (struct elf_link_hash_entry *h,
|
|
const Elf_Internal_Sym *isym,
|
|
bfd_boolean definition,
|
|
bfd_boolean dynamic ATTRIBUTE_UNUSED)
|
|
{
|
|
if (definition)
|
|
h->other = ((isym->st_other & ~ELF_ST_VISIBILITY (-1))
|
|
| ELF_ST_VISIBILITY (h->other));
|
|
}
|
|
|
/* External entry points for sizing and building linker stubs. */
|
/* External entry points for sizing and building linker stubs. */
|
|
|
/* Set up various things so that we can make a list of input sections
|
/* Set up various things so that we can make a list of input sections
|
for each output section included in the link. Returns -1 on error,
|
for each output section included in the link. Returns -1 on error,
|
0 when no stubs will be needed, and 1 on success. */
|
0 when no stubs will be needed, and 1 on success. */
|