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. 491793b5cbcc9f42662a2da8427c0022d7b03f9c


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  491793b5cbcc9f42662a2da8427c0022d7b03f9c (commit)
      from  e321dd9a810dd92c5f739e0e4e35ceec2a3e951a (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=491793b5cbcc9f42662a2da8427c0022d7b03f9c

commit 491793b5cbcc9f42662a2da8427c0022d7b03f9c
Author: Andrew Burgess <andrew.burgess@embecosm.com>
Date:   Sun Jan 4 00:03:16 2015 +0000

    gas/avr: Prevent incorrect overflow errors for diff fixups.
    
    When fixups are converted to a difference type within md_apply_fix, we
    previously left the contents of VALP (the value that was initially
    computed within write.c:fixup_segment) unchanged.  This is harmless,
    except that this value is used within write.c:fixup_segment once we
    return from md_apply_fix to perform an overflow check.
    
    In some cases, the value computed in write.c:fixup_segment is so wrong
    that an overflow error can be triggered.  These errors are incorrect.
    
    This patch avoids the overflow errors by adjusting the value in
    write.c:fixup_segment using the VALP pointer in md_apply_fix.
    
    A test for this issue is included.
    
    gas/ChangeLog:
    
    	* config/tc-avr.c (md_apply_fix): Update the contents of VALP for
    	diff fixups.
    
    gas/testsuite/ChangeLog:
    
    	* gas/avr/large-debug-line-table.d: New file.
    	* gas/avr/large-debug-line-table.s: New file.

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

Summary of changes:
 gas/ChangeLog                                  |    5 +++++
 gas/config/tc-avr.c                            |    1 +
 gas/testsuite/ChangeLog                        |    5 +++++
 gas/testsuite/gas/avr/large-debug-line-table.d |   15 +++++++++++++++
 gas/testsuite/gas/avr/large-debug-line-table.s |   16 ++++++++++++++++
 5 files changed, 42 insertions(+), 0 deletions(-)
 create mode 100644 gas/testsuite/gas/avr/large-debug-line-table.d
 create mode 100644 gas/testsuite/gas/avr/large-debug-line-table.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]