mirror of
https://github.com/espressif/binutils-gdb.git
synced 2025-06-23 03:29:47 +08:00
* elf64-alpha.c (elf64_alpha_relocate_section): Do not
apply HINT relocations against dynamic symbols.
This commit is contained in:
@ -1,7 +1,11 @@
|
|||||||
|
2001-09-11 Richard Henderson <rth@redhat.com>
|
||||||
|
|
||||||
|
* elf64-alpha.c (elf64_alpha_relocate_section): Do not
|
||||||
|
apply HINT relocations against dynamic symbols.
|
||||||
|
|
||||||
2001-09-11 H.J. Lu <hjl@gnu.org>
|
2001-09-11 H.J. Lu <hjl@gnu.org>
|
||||||
|
|
||||||
* inker.c (link_action): Change COMMON_ROW\defw from CREF to
|
* linker.c (link_action): Change COMMON_ROW\defw from CREF to COM.
|
||||||
COM.
|
|
||||||
|
|
||||||
2001-09-09 Richard Henderson <rth@redhat.com>
|
2001-09-09 Richard Henderson <rth@redhat.com>
|
||||||
|
|
||||||
|
@ -3462,8 +3462,17 @@ elf64_alpha_relocate_section (output_bfd, info, input_bfd, input_section,
|
|||||||
+ ((relocation >> 15) & 1));
|
+ ((relocation >> 15) & 1));
|
||||||
goto default_reloc;
|
goto default_reloc;
|
||||||
|
|
||||||
case R_ALPHA_BRADDR:
|
|
||||||
case R_ALPHA_HINT:
|
case R_ALPHA_HINT:
|
||||||
|
/* A call to a dynamic symbol is definitely out of range of
|
||||||
|
the 16-bit displacement. Don't bother writing anything. */
|
||||||
|
if (h && alpha_elf_dynamic_symbol_p (&h->root, info))
|
||||||
|
{
|
||||||
|
r = bfd_reloc_ok;
|
||||||
|
break;
|
||||||
|
}
|
||||||
|
/* FALLTHRU */
|
||||||
|
|
||||||
|
case R_ALPHA_BRADDR:
|
||||||
/* The regular PC-relative stuff measures from the start of
|
/* The regular PC-relative stuff measures from the start of
|
||||||
the instruction rather than the end. */
|
the instruction rather than the end. */
|
||||||
addend -= 4;
|
addend -= 4;
|
||||||
|
Reference in New Issue
Block a user