Subject: port-arm/21036: libpthread/arch/arm/pthread_md.h misuses __APCS_26__
To: None <firstname.lastname@example.org>
From: Ben Harris <email@example.com>
Date: 04/06/2003 00:22:30
>Synopsis: libpthread/arch/arm/pthread_md.h misuses __APCS_26__
>Arrival-Date: Sat Apr 05 15:23:00 PST 2003
>Originator: Ben Harris
src/lib/libpthread/arch/arm/pthread_md.h seems to use the __APCS_26__
preprocessor symbol to decide what mode to set in the CPSR of new
ucontexts. This is wrong for NetBSD, since we run APCS-32 code on both
26-bit and 32-bit CPUs, so the determination of what to put in the CPSR
has to be made at run-time somehow.
Grep pthread_md.h for __APCS_26__. If it's using it, it's broken.