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. 538baf8b7e6d17a490f126f8565638469da70204


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  538baf8b7e6d17a490f126f8565638469da70204 (commit)
      from  51aecdc5320d1707e1f034f05a378e60aae71d18 (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=538baf8b7e6d17a490f126f8565638469da70204

commit 538baf8b7e6d17a490f126f8565638469da70204
Author: Andrew Bennett <andrew.bennett@imgtec.com>
Date:   Thu Nov 20 15:40:16 2014 +0000

    [MIPS] When calculating a relocation using an undefined weak symbol don't check for overflow.
    
    In MIPS the relocation calculation only ignores the overflow checks for undefined
    weak symbols on relocations associated with j/jal.   This patch extends this to
    the relocations used by the: b* instructions; pc/gp relative symbol offsets; and the
    lwpc/ldpc MIPS r6 instructions.
    
    bfd/
    	* elfxx-mips.c (mips_elf_calculate_relocation): Only check for overflow
    	on non-weak undefined symbols.
    
    ld/testsuite/
    	* ld-mips-elf/mips-elf.exp: Add in undefined weak overflow tests for
    	o32, n32 and n64.
    	* ld-mips-elf/undefweak-overflow.s: New test.
    	* ld-mips-elf/undefweak-overflow.d: New test.
    	* ld-mips-elf/undefweak-overflow-n32.d: New test.
    	* ld-mips-elf/undefweak-overflow-n64.d: New test.

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

Summary of changes:
 bfd/ChangeLog                                     |    5 +++
 bfd/elfxx-mips.c                                  |   33 ++++++++++++++-------
 ld/testsuite/ChangeLog                            |    9 ++++++
 ld/testsuite/ld-mips-elf/mips-elf.exp             |    7 ++++
 ld/testsuite/ld-mips-elf/undefweak-overflow-n32.d |   23 ++++++++++++++
 ld/testsuite/ld-mips-elf/undefweak-overflow-n64.d |   23 ++++++++++++++
 ld/testsuite/ld-mips-elf/undefweak-overflow.d     |   23 ++++++++++++++
 ld/testsuite/ld-mips-elf/undefweak-overflow.s     |   25 ++++++++++++++++
 8 files changed, 137 insertions(+), 11 deletions(-)
 create mode 100644 ld/testsuite/ld-mips-elf/undefweak-overflow-n32.d
 create mode 100644 ld/testsuite/ld-mips-elf/undefweak-overflow-n64.d
 create mode 100644 ld/testsuite/ld-mips-elf/undefweak-overflow.d
 create mode 100644 ld/testsuite/ld-mips-elf/undefweak-overflow.s


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]