source: scripts/patch/binutils/2.19.1/01-ppc64_pie.patch@ 36e3b69

sysvinit
Last change on this file since 36e3b69 was 914669c, checked in by Jim Gifford <clfs@…>, 15 years ago

Updated Binutils Patch. Added Patches to fix Issues with Powerpc

  • Property mode set to 100644
File size: 626 bytes
  • bfd/elf64-ppc.c

    old new ppc64_elf_relocate_section (bfd *output_  
    96819681              else if (!SYMBOL_REFERENCES_LOCAL (info, &h->elf)
    96829682                       && !is_opd
    96839683                       && r_type != R_PPC64_TOC)
    9684                 outrel.r_info = ELF64_R_INFO (h->elf.dynindx, r_type);
     9684                {
     9685                  outrel.r_info = ELF64_R_INFO (h->elf.dynindx, r_type);
     9686                  if (h->elf.dynindx == -1
     9687                      && h->elf.root.type == bfd_link_hash_undefweak)
     9688                  memset (&outrel, 0, sizeof outrel);
     9689                }
    96859690              else
    96869691                {
    96879692                  /* This symbol is local, or marked to become local,
Note: See TracBrowser for help on using the repository browser.