gdb and binutils branch master updated. b4ab4364239efcf0cec74e89a85d844d628138c0

amodra@sourceware.org amodra@sourceware.org
Tue Apr 8 21:53:00 GMT 2014


This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "gdb and binutils".

The branch, master has been updated
       via  b4ab4364239efcf0cec74e89a85d844d628138c0 (commit)
      from  9c97a0704e03c662b6afd92032c171fe6714b42d (commit)

Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.

- Log -----------------------------------------------------------------
https://sourceware.org/git/gitweb.cgi?p=binutils-gdb.git;h=b4ab4364239efcf0cec74e89a85d844d628138c0

commit b4ab4364239efcf0cec74e89a85d844d628138c0
Author: Alan Modra <amodra@gmail.com>
Date:   Sat Apr 5 17:55:13 2014 +1030

    ppc476 icache workaround fix for bctr
    
    I got the ppc476 workaround wrong.  bctr (and bctrl) as the last
    instruction in a page can hit the icache bug if the preceding mtctr
    insn is close by, and the destination is in the first few instructions
    on the next page.  This scenario can occur with code generated by gcc
    to implement switch statements, or in code generated to call by
    function pointer.
    
    To prevent the bctr problem it is also necessary to remove other
    instructions that otherwise would be safe.
    
    bfd/
    	* elf32-ppc.c (ppc_elf_relocate_section): Remove bctr from list
    	of safe ppc476 insns at end of page.  Also remove non-branch insns.
    	Expand comments.
    ld/
    	* emultempl/ppc32elf.em (no_zero_padding, ppc_finish): New functions.
    	(LDEMUL_FINISH): Define.

-----------------------------------------------------------------------

Summary of changes:
 bfd/ChangeLog            |    6 ++++
 bfd/elf32-ppc.c          |   67 +++++++++++++++++++++++++++++++++-------------
 ld/ChangeLog             |    5 +++
 ld/emultempl/ppc32elf.em |   41 ++++++++++++++++++++++++++++
 4 files changed, 100 insertions(+), 19 deletions(-)


hooks/post-receive
-- 
gdb and binutils



More information about the Binutils-cvs mailing list