about summary refs log tree commit diff
path: root/src/math/__tandf.c
diff options
context:
space:
mode:
authorRich Felker <dalias@aerifal.cx>2015-04-27 20:03:28 -0400
committerRich Felker <dalias@aerifal.cx>2015-04-27 20:03:28 -0400
commit85d12e02858545f8942a9c5c9f0eddc2da75edce (patch)
treee3aba314f8bb4b752553d843c3829463ce40efee /src/math/__tandf.c
parent82acacceaa1bdcb9fb5ec8cece8a73bbf7a561b9 (diff)
downloadmusl-85d12e02858545f8942a9c5c9f0eddc2da75edce.tar.gz
musl-85d12e02858545f8942a9c5c9f0eddc2da75edce.tar.xz
musl-85d12e02858545f8942a9c5c9f0eddc2da75edce.zip
fix sh jmp_buf size to match ABI
while the sh port is still experimental and subject to ABI
instability, this is not actually an application/libc boundary ABI
change. it only affects third-party APIs where jmp_buf is used in a
shared structure at the ABI boundary, because nothing anywhere near
the end of the jmp_buf object (which includes the oversized sigset_t)
is accessed by libc.

both glibc and uclibc have 15-slot jmp_buf for sh. presumably the
smaller version was used in musl because the slots for fpu status
register and thread pointer register (gbr) were incorrect and must not
be restored by longjmp, but the size should have been preserved, as
it's generally treated as a libc-agnostic ABI property for the arch,
and having extra slots free in case we ever need them for something is
useful anyway.
Diffstat (limited to 'src/math/__tandf.c')
0 files changed, 0 insertions, 0 deletions