mirror of
https://github.com/espressif/binutils-gdb.git
synced 2025-06-22 02:50:08 +08:00
* elf64-alpha.c (elf64_alpha_relocate_section): Don't adjust
GPDISP or LITUSE in a relocatable link.
This commit is contained in:
@ -1,3 +1,8 @@
|
|||||||
|
Fri Jun 18 04:24:57 1999 Richard Henderson <rth@cygnus.com>
|
||||||
|
|
||||||
|
* elf64-alpha.c (elf64_alpha_relocate_section): Don't adjust
|
||||||
|
GPDISP or LITUSE in a relocatable link.
|
||||||
|
|
||||||
Thu Jun 17 21:24:43 1999 J"orn Rennecke <amylaar@cygnus.co.uk>
|
Thu Jun 17 21:24:43 1999 J"orn Rennecke <amylaar@cygnus.co.uk>
|
||||||
|
|
||||||
* dwarf1.c (alloc_dwarf1_unit): Allocate using bfd_zalloc.
|
* dwarf1.c (alloc_dwarf1_unit): Allocate using bfd_zalloc.
|
||||||
|
@ -3423,6 +3423,12 @@ elf64_alpha_relocate_section (output_bfd, info, input_bfd, input_section,
|
|||||||
anything, unless the reloc is against a section symbol,
|
anything, unless the reloc is against a section symbol,
|
||||||
in which case we have to adjust according to where the
|
in which case we have to adjust according to where the
|
||||||
section symbol winds up in the output section. */
|
section symbol winds up in the output section. */
|
||||||
|
|
||||||
|
/* The symbol associated with GPDISP and LITUSE is
|
||||||
|
immaterial. Only the addend is significant. */
|
||||||
|
if (r_type == R_ALPHA_GPDISP || r_type == R_ALPHA_LITUSE)
|
||||||
|
continue;
|
||||||
|
|
||||||
if (r_symndx < symtab_hdr->sh_info)
|
if (r_symndx < symtab_hdr->sh_info)
|
||||||
{
|
{
|
||||||
sym = local_syms + r_symndx;
|
sym = local_syms + r_symndx;
|
||||||
|
Reference in New Issue
Block a user