From: Fredrik Markström fredrik.markst...@gmail.com
The buffers from objstack_alloc will store the pointer, so it must
be aligned on pointer, or else it will cause issue on the cpu
which does not support unaligned addresses access
Signed-off-by: Fredrik Markstrom fredrik.markst...@gmail.com
From: Fredrik Markström fredrik.markst...@gmail.com
Accessing floats, doubles and 64 bit int at unalign addresses is not
supported on all configurations of arm processors and if it is it's
emualted and slow. This patch replaces direct assignments with memcpy.
Signed-off-by: Fredrik Markstr枚m
From: Fredrik Markström fredrik.markst...@gmail.com
Signed-off-by: Fredrik Markstr枚m fredrik.markst...@gmail.com
---
formats/ctf/metadata/objstack.c |2 ++
1 file changed, 2 insertions(+)
diff --git a/formats/ctf/metadata/objstack.c b/formats/ctf/metadata/objstack.c
index 9e264a4..9643b9b
From: Fredrik Markström fredrik.markst...@gmail.com
Accessing floats, doubles and 64 bit int at unaligned addresses is not
supported on all configurations of arm processors and if it is it's
emulated and slow. This patch replaces direct assignments with memcpy.
Signed-off-by: Fredrik Markström