#2007 closed defect (invalid)

SPARC BSPs: workspace must be aligned on a 8-byte boundary

Reported by: Daniel Hellstrom Owned by: Joel Sherrill
Priority: normal Milestone: 4.11
Component: bsps Version: 4.11
Severity: normal Keywords:
Cc: gedare@… Blocked By:
Blocking:

Description

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.

Attachments (2)

0003-SPARC-BSPs-workspace-must-be-aligned_HEAD.patch (917 bytes) - added by Daniel Hellstrom on 02/02/12 at 14:03:53.
HEAD patch
0003-SPARC-BSPs-workspace-must-be-aligned_4_10.patch (928 bytes) - added by Daniel Hellstrom on 02/02/12 at 14:07:52.
4.10 patch

Download all attachments as: .zip

Change History (5)

Changed on 02/02/12 at 14:03:53 by Daniel Hellstrom

HEAD patch

Changed on 02/02/12 at 14:07:52 by Daniel Hellstrom

4.10 patch

comment:1 Changed on 02/02/12 at 14:27:54 by Gedare Bloom

Cc: Gedare Bloom added

comment:2 Changed on 02/02/12 at 15:09:31 by Gedare Bloom

Resolution: invalid
Status: newclosed

Marking as invalid. At least for head and 4.10.2 this is not a bug.

comment:3 Changed on 11/24/14 at 18:58:28 by Gedare Bloom

Version: HEAD4.11

Replace Version=HEAD with Version=4.11 for the tickets with Milestone >= 4.11

Note: See TracTickets for help on using tickets.