bug-binutils
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Bug gas/15281] [avr] DWARF CIE DW_CFA_def_cfa offset incorrect for xmeg


From: senthil.thecoder at gmail dot com
Subject: [Bug gas/15281] [avr] DWARF CIE DW_CFA_def_cfa offset incorrect for xmega devices with >128 KB flash
Date: Fri, 15 Mar 2013 13:34:42 +0000

http://sourceware.org/bugzilla/show_bug.cgi?id=15281

Senthil Kumar Selvaraj <senthil.thecoder at gmail dot com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Target|                            |avr
               Host|                            |linux x86_64

--- Comment #1 from Senthil Kumar Selvaraj <senthil.thecoder at gmail dot com> 
2013-03-15 13:34:42 UTC ---
The root cause is that tc_cfi_frame_initial_instructions assumes only devices
under bfd_mach_avr6 push 3 bytes on the stack as the return address for a
function call. bfd_mach_avrxmega6 and bfd_mach_avrxmega7 also have > 128 KB
flash and therefore push 3 bytes too.

Attaching patch that fixes the problem.

-- 
Configure bugmail: http://sourceware.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.



reply via email to

[Prev in Thread] Current Thread [Next in Thread]