This is the mail archive of the newlib@sourceware.org mailing list for the newlib project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[PATCH, ARM] memcpy fix for unaligned access


This patch fixes a bug in memcpy when buffers are not word-aligned and
unaligned access is enable in hardware. 

This bug caused regression test failures in
gcc.c-torture/execute/memcpy-2.c. The bug went undetected in my previous
regression runs, because unaligned access was disabled in my build
configuration. 

No regression on qemu --with-cpu cortex-a9 --with-thumb.

Thank you,
Greta

newlib/ChangeLog

2011-10-04  Greta Yorsh  <Greta.Yorsh@arm.com>

	* libc/machine/arm/memcpy.S: Fix unaligned access copying.

Attachment: a15-memcpy-hardware-align-v2.patch
Description: Binary data


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]