don't use broken unaligned access
authorPeter Micheal Green <plugwash@raspbian.org>
Fri, 7 May 2021 07:36:26 +0000 (08:36 +0100)
committerPeter Michael Green <plugwash@raspbian.org>
Fri, 7 May 2021 07:36:26 +0000 (08:36 +0100)
commitf6fbb7332e6af24de747af440421c32285ba3d5f
treeed4a800ffb98cb8d93b59d0396af9bc5029f4a60
parent0d259ef7cc556ad33853bfcabc2c771c4b462e41
don't use broken unaligned access

Last-Update: 2021-05-07

Some unaligned accesses are ok on armv6+ but many are not, so violating
C's memory alignment rules is dangerous on this architecture, change
the defines so the code doesn't do it.

Gbp-Pq: Name 9999-fix-broken-memory-access.patch
lib/common/mem.h
lib/common/xxhash.c
lib/legacy/zstd_v02.c
lib/legacy/zstd_v03.c
lib/legacy/zstd_v04.c
lib/legacy/zstd_v05.c
lib/legacy/zstd_v06.c
lib/legacy/zstd_v07.c