This is the mail archive of the
binutils-cvs@sourceware.org
mailing list for the binutils project.
src include/elf/ChangeLog include/elf/ppc64.h ...
- From: amodra at sourceware dot org
- To: binutils-cvs at sourceware dot org
- Date: 10 Oct 2011 13:21:07 -0000
- Subject: src include/elf/ChangeLog include/elf/ppc64.h ...
CVSROOT: /cvs/src
Module name: src
Changes by: amodra@sourceware.org 2011-10-10 13:21:07
Modified files:
include/elf : ChangeLog ppc64.h
bfd : ChangeLog elf64-ppc.c
Log message:
include/elf/
* ppc64.h (R_PPC64_TOCSAVE): Add.
bfd/
* elf64-ppc.c (ppc64_elf_howto_table): Add R_PPC64_TOCSAVE entry.
(struct ppc_link_hash_table): Add tocsave_htab.
(struct tocsave_entry): New.
(tocsave_htab_hash, tocsave_htab_eq, tocsave_find): New functions.
(ppc64_elf_link_hash_table_create): Create tocsave_htab..
(ppc64_elf_link_hash_table_free): ..and delete it.
(build_plt_stub): Always put STD_R2_40R1 first.
(ppc64_elf_size_stubs): Check for R_PPC64_TOCSAVE following reloc
on plt call. If present add prologue nop location to tocsave_htab.
(ppc64_elf_relocate_section): Convert prologue nop to std. Skip
first insn of plt call stub when R_PPC64_TOCSAVE present.
Patches:
http://sourceware.org/cgi-bin/cvsweb.cgi/src/include/elf/ChangeLog.diff?cvsroot=src&r1=1.430&r2=1.431
http://sourceware.org/cgi-bin/cvsweb.cgi/src/include/elf/ppc64.h.diff?cvsroot=src&r1=1.10&r2=1.11
http://sourceware.org/cgi-bin/cvsweb.cgi/src/bfd/ChangeLog.diff?cvsroot=src&r1=1.5484&r2=1.5485
http://sourceware.org/cgi-bin/cvsweb.cgi/src/bfd/elf64-ppc.c.diff?cvsroot=src&r1=1.364&r2=1.365