On 3/7/09, Vincent Bernat <ber...@debian.org> wrote: > lldpd, a program of my own, available on https://trac.luffy.cx/lldpd/ , > is doing some unaligned memory access. > > What kind of ARM platform may I setup that would produce > no error but incorrect data when reading unaligned int?
It depends on the setting of /proc/cpu/alignment. It is normally set to 0, which silently ignores non-aligned accesses and returns garbled data. If you echo 5 > /proc/cpu/alignment it should generate a Bus Error instead. I keep a system set up in this mode with public acess for developers. Please write privately suggesting username if access to this would be useful. M -- To UNSUBSCRIBE, email to debian-arm-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org