uisp-dev
[Top][All Lists]
Advanced

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

[Uisp-dev] [patch #3928] Fix alignment on for Uisp on ARM


From: anonymous
Subject: [Uisp-dev] [patch #3928] Fix alignment on for Uisp on ARM
Date: Thu, 21 Apr 2005 19:16:43 +0000
User-agent: Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.7.6) Gecko/20050405 Firefox/1.0.2

URL:
  <http://savannah.nongnu.org/patch/?func=detailitem&item_id=3928>

                 Summary: Fix alignment on for Uisp on ARM
                 Project: AVR In-System Programmer
            Submitted by: None
            Submitted on: Thu 04/21/2005 at 15:16
                Category: None
                Priority: 5 - Normal
                  Status: None
                 Privacy: Public
             Assigned to: None
        Originator Email: address@hidden
             Open/Closed: Open

    _______________________________________________________

Details:

The way gcc aligns structure members on ARM makes struct SPrgParams
be 24 bytes instead of 22. This prevents communication with the programmer to
work properly because 2 supplemental bytes are sent to the programmer
(stk500).

This patch adds the packed attribute to the structure to force the compiler
to pack it to 22 bytes.



    _______________________________________________________

Carbon-Copy List:

CC Address                          | Comment
------------------------------------+-----------------------------
raph --AT-- 8d --DOT-- com          | Originator Email



    _______________________________________________________

File Attachments:


-------------------------------------------------------
Date: Thu 04/21/2005 at 15:16  Name: uisp-arm-patch.diff  Size: 534B   By:
None
Adds the packed attribute to struct SPrgParams
<http://savannah.nongnu.org/patch/download.php?item_id=3928&item_file_id=4483>

    _______________________________________________________

Reply to this item at:

  <http://savannah.nongnu.org/patch/?func=detailitem&item_id=3928>

_______________________________________________
  Message sent via/by Savannah
  http://savannah.nongnu.org/





reply via email to

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