duh. commit correct version of patch.
This commit is contained in:
parent
d4c87fc14d
commit
3dd2d30bfa
1 changed files with 4 additions and 5 deletions
|
@ -2083,7 +2083,7 @@ v850_elf_link_output_symbol_hook (struct bfd_link_info *info ATTRIBUTE_UNUSED,
|
||||||
const char *name ATTRIBUTE_UNUSED,
|
const char *name ATTRIBUTE_UNUSED,
|
||||||
Elf_Internal_Sym *sym,
|
Elf_Internal_Sym *sym,
|
||||||
asection *input_sec,
|
asection *input_sec,
|
||||||
struct elf_link_hash_entry *h)
|
struct elf_link_hash_entry *h ATTRIBUTE_UNUSED)
|
||||||
{
|
{
|
||||||
/* If we see a common symbol, which implies a relocatable link, then
|
/* If we see a common symbol, which implies a relocatable link, then
|
||||||
if a symbol was in a special common section in an input file, mark
|
if a symbol was in a special common section in an input file, mark
|
||||||
|
@ -2102,9 +2102,8 @@ v850_elf_link_output_symbol_hook (struct bfd_link_info *info ATTRIBUTE_UNUSED,
|
||||||
/* The price we pay for using h->other unused bits as flags in the
|
/* The price we pay for using h->other unused bits as flags in the
|
||||||
linker is cleaning up after ourselves. */
|
linker is cleaning up after ourselves. */
|
||||||
|
|
||||||
if (h != NULL)
|
sym->st_other &= ~(V850_OTHER_SDA | V850_OTHER_ZDA | V850_OTHER_TDA
|
||||||
h->other &= ~(V850_OTHER_SDA | V850_OTHER_ZDA | V850_OTHER_TDA
|
| V850_OTHER_ERROR);
|
||||||
| V850_OTHER_ERROR);
|
|
||||||
|
|
||||||
return TRUE;
|
return TRUE;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue