https://bugs.kde.org/show_bug.cgi?id=295403

Matt Cowell <matt.cow...@nokia.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |matt.cow...@nokia.com

--- Comment #1 from Matt Cowell <matt.cow...@nokia.com> ---
Created attachment 101695
  --> https://bugs.kde.org/attachment.cgi?id=101695&action=edit
Increase allowed offsets for ARM early writeback of SP base register in strd

GCC 5.4 (and likely all versions 4.8+) have a larger (unlimited?) range for
using strd to allocate the stack frame, at least when compiling with
-mcpu=cortex-a15.  ld.so and libc compiled with GCC 5.4 have offsets up to
#-40: "strd    r3, r4, [sp, #-40]!".

Without this fix, hundreds of "Invalid write of size 4" ... "below stack
pointer" errors are logged, starting in ld-*.so, which of course leads to
millions of "uninitialised value" errors being logged, and valgrind becomes
useless on ARMv7 / Cortex A15.

This simply removes the check for a -8 or -16 byte offset, since all offsets
should be allowable for allocating a stack frame.

-- 
You are receiving this mail because:
You are watching all bug changes.

Reply via email to