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] |
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, binutils-2_24-branch has been updated via da8e61c01a4442ad794975475c9ea06a77a536db (commit) from 37e6f1322b94f39c7aba198e113e621f4b4ea55e (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=da8e61c01a4442ad794975475c9ea06a77a536db commit da8e61c01a4442ad794975475c9ea06a77a536db 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 | 5 +++++ bfd/elf32-ppc.c | 9 +++++---- bfd/elf64-ppc.c | 17 +++++++++-------- gas/ChangeLog | 8 ++++++++ gas/config/tc-ppc.c | 19 ++++++++++++++++--- gold/ChangeLog | 3 +++ gold/powerpc.cc | 17 +++++++++-------- opcodes/ChangeLog | 6 ++++++ opcodes/ppc-opc.c | 13 ++++++++----- 9 files changed, 69 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] |