summaryrefslogtreecommitdiff
path: root/libguile/vm-i-scheme.c
diff options
context:
space:
mode:
authorLudovic Courtès <ludo@gnu.org>2010-05-30 22:54:39 +0200
committerLudovic Courtès <ludo@gnu.org>2010-05-30 22:54:39 +0200
commit86425e26539fc1ffc145f74730c846cb724179a6 (patch)
treeff3b1d105618ada9b4a30d10959fb768ff0492ab /libguile/vm-i-scheme.c
parent1880c97df10770eba8dbf1f068903e713dbf3f7e (diff)
downloadguile-86425e26539fc1ffc145f74730c846cb724179a6.tar.gz
Fix argument and return value alignment in `scm_i_foreign_call'.
* libguile/foreign.c (scm_i_foreign_call): Fix the computation of ARG_SIZE wrt. alignment. Arrange so that the address ARGS[i] is aligned, rather than checking whether OFF is aligned. Have the RVALUE be at least word-aligned, which fixes calls to `char'-returning functions on `armv5tel-*-linux-gnueabi'.
Diffstat (limited to 'libguile/vm-i-scheme.c')
0 files changed, 0 insertions, 0 deletions