add LSB abi junk for ctype functions
[musl] / src / ctype / __ctype_toupper_loc.c
1 #include <ctype.h>
2 #include <inttypes.h>
3
4 static const int32_t table[] = {
5 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,
6 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,
7 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,
8 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,
9 0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,
10 16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,
11 32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,
12 48,49,50,51,52,53,54,55,56,57,58,59,60,61,62,63,
13 64,
14 'A','B','C','D','E','F','G','H','I','J','K','L','M',
15 'N','O','P','Q','R','S','T','U','V','W','X','Y','Z',
16 91,92,93,94,95,96,
17 'A','B','C','D','E','F','G','H','I','J','K','L','M',
18 'N','O','P','Q','R','S','T','U','V','W','X','Y','Z',
19 123,124,125,126,127,
20 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,
21 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,
22 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,
23 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,
24 };
25
26 static const int32_t *const ptable = table;
27
28 const int32_t **__ctype_toupper_loc(void)
29 {
30         return (void *)&ptable;
31 }