[Bug 2007] New: SPARC BSPs: workspace must be aligned on a 8-byte boundary

bugzilla-daemon at rtems.org bugzilla-daemon at rtems.org
Thu Feb 2 15:03:53 UTC 2012


https://www.rtems.org/bugzilla/show_bug.cgi?id=2007

           Summary: SPARC BSPs: workspace must be aligned on a 8-byte
                    boundary
           Product: RTEMS
           Version: HEAD
          Platform: All
        OS/Version: RTEMS
            Status: NEW
          Severity: normal
          Priority: P3
         Component: bsps
        AssignedTo: joel.sherrill at oarcorp.com
        ReportedBy: daniel at gaisler.com


Created attachment 1410
  --> https://www.rtems.org/bugzilla/attachment.cgi?id=1410
HEAD patch

The linker-script already declares a 8-byte aligned symbol (_end)
which can be used instead of "variable aligned" symbol end.

Could cause bad malloc() initialization.


 c/src/lib/libbsp/sparc/shared/bspgetworkarea.c |    5 +++--
 1 files changed, 3 insertions(+), 2 deletions(-)

Please see attached patches for 4.10 and HEAD.

-- 
Configure bugmail: https://www.rtems.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are watching all bug changes.



More information about the bugs mailing list