10 Apr
2013
10 Apr
'13
07:17
Alexander Graf wrote:
On 09.04.2013, at 18:13, Ludwig Nussel wrote:
The attached piece of code randomly segfaults on a panda board with openSUSE 12.2. The same code works fine in a chroot with qemu on x86_64. The general method also works fine on x86_64. What could the reason for the segfault?
You need to manually flush the icache.
Thanks a lot for the hint! :-) The needed code is this: __clear_cache(data, data+func_bin_len); cu Ludwig -- (o_ Ludwig Nussel //\ V_/_ http://www.suse.de/ SUSE LINUX Products GmbH, GF: Jeff Hawn, Jennifer Guild, Felix Imendörffer, HRB 16746 (AG Nürnberg) -- To unsubscribe, e-mail: opensuse-arm+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-arm+owner@opensuse.org