Fix unaligned access in the VM code.
authorLudovic Courtès <ludo@gnu.org>
Wed, 15 Jul 2009 21:51:42 +0000 (23:51 +0200)
committerLudovic Courtès <ludo@gnu.org>
Wed, 15 Jul 2009 21:51:42 +0000 (23:51 +0200)
commit5bd047cefa9ffcf17751dbeda1fa56ae56f45199
treee8366eeef4629bc64fa58cebda08bd6cbb10ebc3
parentb67cb2864e0de124bd7c4f9b0fda442329e09f3f
Fix unaligned access in the VM code.

* libguile/vm.c (struct t_32bit_aligned): New.
  (really_make_boot_program)[bytes]: Use it.  This fixes possibly
  unaligned accesses, which cause a "bus error" on some platforms (e.g.,
  sparc-*).
libguile/vm.c