This is the mail archive of the binutils-cvs@sourceware.org mailing list for the binutils project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

gdb and binutils branch master updated. a47622ac1badbd906c7533ef6011b6bb021271ee


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  a47622ac1badbd906c7533ef6011b6bb021271ee (commit)
      from  d634c69f87e9b88a5ff5cd8af7a1f60e738ea0bd (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=a47622ac1badbd906c7533ef6011b6bb021271ee

commit a47622ac1badbd906c7533ef6011b6bb021271ee
Author: Alan Modra <amodra@gmail.com>
Date:   Sat Jun 7 12:09:04 2014 +0930

    Allow both signed and unsigned fields in PowerPC cmpli insn
    
    There are legitimate reasons to allow a signed value in a cmpli insn
    field, for example to test for a "stw r1,lock@sdarel(r13)" instruction
    in user code, a kernel might use
    	subis r3,r3,STW_R1_0R13@ha	# subtract off high part
    	cmplwi r3,lock@sdarel		# is low part accessing lock?
    Since the lock@sdarel may take a range of -32768 to 32767,
    the allowed range of cmpli immediate must be at least [-32768,65535].
    
    bfd/
    	* elf32-ppc.c (ppc_elf_relocate_section): Treat field of cmpli
    	insn as a bitfield; Use complain_overflow_bitfield.
    	* elf64-ppc.c (ppc64_elf_relocate_section): Likewise.
    opcodes/
    	* ppc-opc.c (UISIGNOPT): Define and use with cmpli.
    gas/
    	* config/tc-ppc.c (ppc_insert_operand): Handle PPC_OPERAND_SIGNOPT
    	on unsigned fields.  Comment on PPC_OPERAND_SIGNOPT signed fields
    	in 64-bit mode.
    gold/
    	* powerpc.cc (relocate): Treat field of cmpli insn as a bitfield.

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

Summary of changes:
 bfd/ChangeLog       |    6 ++++++
 bfd/elf32-ppc.c     |    9 +++++----
 bfd/elf64-ppc.c     |   17 +++++++++--------
 gas/ChangeLog       |    6 ++++++
 gas/config/tc-ppc.c |   19 ++++++++++++++++---
 gold/ChangeLog      |    4 ++++
 gold/powerpc.cc     |   17 +++++++++--------
 opcodes/ChangeLog   |    4 ++++
 opcodes/ppc-opc.c   |   13 ++++++++-----
 9 files changed, 67 insertions(+), 28 deletions(-)


hooks/post-receive
-- 
gdb and binutils


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]