in arch/i386/macdefs.h the following appears
* i386-specific symbol table flags.
#define SSECTION SLOCAL1
#define STLS SLOCAL2
#define SSTDCALL SLOCAL2
#define SDLLINDIRECT SLOCAL3
which means that STLS and SSTDCALL can be confused in the codebase as both use SLOCAL2.
Since there are only 3 flags allocated for arch-specific features, and SSECTION is not actually used, the attached patch fixes this by removing SSECTION and using SLOCAL1 for STLS.