diff options
author | Alan Modra <amodra@gmail.com> | 2003-01-09 22:51:37 +0000 |
---|---|---|
committer | Alan Modra <amodra@gmail.com> | 2003-01-09 22:51:37 +0000 |
commit | 86bbe32fa7a502c07ecde03f51bb0441eff907b6 (patch) | |
tree | 233fc7deb0000af6e7003ed821a951c063fc6cb9 /bfd/elf64-ppc.c | |
parent | 2b0ee4544f77f96624edceaae5e51bbcc67e2640 (diff) | |
download | gdb-86bbe32fa7a502c07ecde03f51bb0441eff907b6.zip gdb-86bbe32fa7a502c07ecde03f51bb0441eff907b6.tar.gz gdb-86bbe32fa7a502c07ecde03f51bb0441eff907b6.tar.bz2 |
* elf32-ppc.c (ppc_elf_relocate_section): Adjust addend for GOT16_HA.
* elf64-ppc.c (ppc64_elf_relocate_section): Likewise. PLTGOT16_HA too.
Diffstat (limited to 'bfd/elf64-ppc.c')
-rw-r--r-- | bfd/elf64-ppc.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/bfd/elf64-ppc.c b/bfd/elf64-ppc.c index 5791883..f78f275 100644 --- a/bfd/elf64-ppc.c +++ b/bfd/elf64-ppc.c @@ -1,5 +1,5 @@ /* PowerPC64-specific support for 64-bit ELF. - Copyright 1999, 2000, 2001, 2002 Free Software Foundation, Inc. + Copyright 1999, 2000, 2001, 2002, 2003 Free Software Foundation, Inc. Written by Linus Nordberg, Swox AB <info@swox.com>, based on elf32-ppc.c by Ian Lance Taylor. @@ -5903,6 +5903,8 @@ ppc64_elf_relocate_section (output_bfd, info, input_bfd, input_section, case R_PPC64_ADDR16_HA: case R_PPC64_ADDR16_HIGHERA: case R_PPC64_ADDR16_HIGHESTA: + case R_PPC64_GOT16_HA: + case R_PPC64_PLTGOT16_HA: case R_PPC64_PLT16_HA: case R_PPC64_TOC16_HA: case R_PPC64_SECTOFF_HA: |