android-18: Add symbol version for libc/libm

Bug: http://b/26143749
Change-Id: I83b057db51e3198ae2e6aad369ea81b30068c5fa
diff --git a/ndk/platforms/android-18/arch-arm/symbols/libc.so.versions.txt b/ndk/platforms/android-18/arch-arm/symbols/libc.so.versions.txt
new file mode 100644
index 0000000..e7a39a8
--- /dev/null
+++ b/ndk/platforms/android-18/arch-arm/symbols/libc.so.versions.txt
@@ -0,0 +1,817 @@
+# Generated by genversionscripts.py. Do not edit.
+LIBC {
+  global:
+    __assert;
+    __assert2;
+    __atomic_cmpxchg; # arm
+    __atomic_dec; # arm
+    __atomic_inc; # arm
+    __atomic_swap; # arm
+    __b64_ntop;
+    __b64_pton;
+    __brk; # arm x86 mips
+    __cxa_atexit;
+    __cxa_finalize;
+    __dn_comp;
+    __dn_count_labels;
+    __dn_skipname;
+    __errno;
+    __fcntl64; # arm x86 mips
+    __fp_nquery;
+    __fp_query;
+    __fpclassifyd;
+    __fpclassifyf;
+    __fpclassifyl;
+    __fstatfs64; # arm x86 mips
+    __get_h_errno;
+    __getcwd; # arm x86 mips
+    __getpriority; # arm x86 mips
+    __hostalias;
+    __ioctl; # arm x86 mips
+    __isfinite;
+    __isfinitef;
+    __isfinitel;
+    __isinf;
+    __isinff;
+    __isinfl;
+    __isnanl;
+    __isnormal;
+    __isnormalf;
+    __isnormall;
+    __isthreaded;
+    __libc_init;
+    __llseek; # arm x86 mips
+    __loc_aton;
+    __loc_ntoa;
+    __mmap2; # arm x86 mips
+    __ns_format_ttl; # arm x86 mips
+    __ns_get16; # arm x86 mips
+    __ns_get32; # arm x86 mips
+    __ns_initparse; # arm x86 mips
+    __ns_makecanon; # arm x86 mips
+    __ns_msg_getflag; # arm x86 mips
+    __ns_name_compress; # arm x86 mips
+    __ns_name_ntol; # arm x86 mips
+    __ns_name_ntop; # arm x86 mips
+    __ns_name_pack; # arm x86 mips
+    __ns_name_pton; # arm x86 mips
+    __ns_name_rollback; # arm x86 mips
+    __ns_name_skip; # arm x86 mips
+    __ns_name_uncompress; # arm x86 mips
+    __ns_name_unpack; # arm x86 mips
+    __ns_parserr; # arm x86 mips
+    __ns_put16; # arm x86 mips
+    __ns_put32; # arm x86 mips
+    __ns_samename; # arm x86 mips
+    __ns_skiprr; # arm x86 mips
+    __ns_sprintrr; # arm x86 mips
+    __ns_sprintrrf; # arm x86 mips
+    __openat; # arm x86 mips
+    __p_cdname;
+    __p_cdnname;
+    __p_class;
+    __p_class_syms;
+    __p_fqname;
+    __p_fqnname;
+    __p_option;
+    __p_query;
+    __p_rcode;
+    __p_secstodate;
+    __p_time;
+    __p_type;
+    __p_type_syms;
+    __progname;
+    __pthread_cleanup_pop;
+    __pthread_cleanup_push;
+    __ptrace; # arm x86 mips
+    __putlong;
+    __putshort;
+    __reboot; # arm x86 mips
+    __res_close;
+    __res_dnok;
+    __res_hnok;
+    __res_hostalias;
+    __res_isourserver;
+    __res_mailok;
+    __res_nameinquery;
+    __res_nclose;
+    __res_ninit;
+    __res_nmkquery;
+    __res_nquery;
+    __res_nquerydomain;
+    __res_nsearch;
+    __res_nsend;
+    __res_ownok;
+    __res_queriesmatch;
+    __res_querydomain;
+    __res_send;
+    __res_send_setqhook;
+    __res_send_setrhook;
+    __rt_sigaction; # arm x86 mips
+    __rt_sigprocmask; # arm x86 mips
+    __rt_sigtimedwait; # arm x86 mips
+    __set_tls; # arm mips
+    __sF;
+    __stack_chk_fail;
+    __stack_chk_guard;
+    __statfs64; # arm x86 mips
+    __sym_ntop;
+    __sym_ntos;
+    __sym_ston;
+    __system_properties_init;
+    __system_property_area__;
+    __system_property_find;
+    __system_property_find_nth;
+    __system_property_get;
+    __system_property_read;
+    __timer_create; # arm x86 mips
+    __timer_delete; # arm x86 mips
+    __timer_getoverrun; # arm x86 mips
+    __timer_gettime; # arm x86 mips
+    __timer_settime; # arm x86 mips
+    __waitid; # arm x86 mips
+    _ctype_;
+    _exit;
+    _getlong;
+    _getshort;
+    _longjmp;
+    _setjmp;
+    _tolower_tab_; # arm x86 mips
+    _toupper_tab_; # arm x86 mips
+    abort;
+    accept;
+    access;
+    acct;
+    alarm;
+    alphasort;
+    arc4random;
+    arc4random_buf;
+    arc4random_uniform;
+    asctime;
+    asctime64; # arm x86 mips
+    asctime64_r; # arm x86 mips
+    asctime_r;
+    asprintf;
+    atoi;
+    atol;
+    atoll;
+    basename;
+    basename_r; # arm x86 mips
+    bind;
+    bindresvport;
+    brk;
+    bsearch;
+    btowc;
+    cacheflush; # arm mips
+    calloc;
+    capget;
+    capset;
+    chdir;
+    chmod;
+    chown;
+    chroot;
+    clearenv;
+    clearerr;
+    clock;
+    clock_getres;
+    clock_gettime;
+    clock_nanosleep;
+    clock_settime;
+    clone;
+    close;
+    closedir;
+    closelog;
+    connect;
+    creat;
+    ctime;
+    ctime64; # arm x86 mips
+    ctime64_r; # arm x86 mips
+    ctime_r;
+    daemon;
+    daylight;
+    delete_module;
+    difftime;
+    dirfd;
+    dirname;
+    dirname_r; # arm x86 mips
+    div;
+    dn_expand;
+    drand48;
+    dup;
+    dup2;
+    endservent;
+    endutent;
+    environ;
+    epoll_create;
+    epoll_ctl;
+    epoll_wait;
+    erand48;
+    err;
+    errx;
+    eventfd;
+    eventfd_read;
+    eventfd_write;
+    execl;
+    execle;
+    execlp;
+    execv;
+    execve;
+    execvp;
+    exit;
+    fchdir;
+    fchmod;
+    fchmodat;
+    fchown;
+    fchownat;
+    fclose;
+    fcntl;
+    fdatasync;
+    fdopen;
+    fdopendir;
+    feof;
+    ferror;
+    fflush;
+    ffs;
+    fgetc;
+    fgetln;
+    fgetpos;
+    fgets;
+    fgetwc;
+    fgetws;
+    fileno;
+    flock;
+    flockfile;
+    fnmatch;
+    fopen;
+    fork;
+    fpathconf;
+    fprintf;
+    fpurge;
+    fputc;
+    fputs;
+    fputwc;
+    fputws;
+    fread;
+    free;
+    freeaddrinfo;
+    freopen;
+    fscanf;
+    fseek;
+    fseeko;
+    fsetpos;
+    fstat;
+    fstatat;
+    fstatfs;
+    fsync;
+    ftell;
+    ftello;
+    ftok;
+    ftruncate;
+    ftruncate64;
+    ftrylockfile;
+    fts_children;
+    fts_close;
+    fts_open;
+    fts_read;
+    fts_set;
+    funlockfile;
+    funopen;
+    fwide;
+    fwprintf;
+    fwrite;
+    fwscanf;
+    gai_strerror;
+    getaddrinfo;
+    getc;
+    getc_unlocked;
+    getchar;
+    getchar_unlocked;
+    getcwd;
+    getegid;
+    getenv;
+    geteuid;
+    getgid;
+    getgrgid;
+    getgrnam;
+    getgrouplist;
+    getgroups;
+    gethostbyaddr;
+    gethostbyname;
+    gethostbyname2;
+    gethostbyname_r;
+    gethostent;
+    gethostname;
+    getitimer;
+    getlogin;
+    getmntent;
+    getnameinfo;
+    getnetbyaddr;
+    getnetbyname;
+    getopt;
+    getopt_long;
+    getopt_long_only;
+    getpeername;
+    getpgid;
+    getpgrp;
+    getpid;
+    getppid;
+    getpriority;
+    getprotobyname;
+    getprotobynumber;
+    getpt;
+    getpwnam;
+    getpwuid;
+    getresgid;
+    getresuid;
+    getrlimit;
+    getrusage;
+    gets;
+    getservbyname;
+    getservbyport;
+    getservent;
+    getsockname;
+    getsockopt;
+    gettid;
+    gettimeofday;
+    getuid;
+    getutent;
+    getwc;
+    getwchar;
+    gmtime;
+    gmtime64; # arm x86 mips
+    gmtime64_r; # arm x86 mips
+    gmtime_r;
+    herror;
+    hstrerror;
+    if_indextoname;
+    if_nametoindex;
+    inet_addr;
+    inet_aton;
+    inet_nsap_addr;
+    inet_nsap_ntoa;
+    inet_ntoa;
+    inet_ntop;
+    inet_pton;
+    init_module;
+    initgroups;
+    inotify_add_watch;
+    inotify_init;
+    inotify_rm_watch;
+    ioctl;
+    isalnum;
+    isalpha;
+    isascii;
+    isatty;
+    isblank;
+    iscntrl;
+    isdigit;
+    isgraph;
+    islower;
+    isnan;
+    isnanf;
+    isprint;
+    ispunct;
+    isspace;
+    isupper;
+    iswalnum;
+    iswalpha;
+    iswcntrl;
+    iswctype;
+    iswdigit;
+    iswgraph;
+    iswlower;
+    iswprint;
+    iswpunct;
+    iswspace;
+    iswupper;
+    iswxdigit;
+    isxdigit;
+    jrand48;
+    kill;
+    killpg;
+    klogctl;
+    lchown;
+    ldexp;
+    ldiv;
+    link;
+    listen;
+    lldiv;
+    localtime;
+    localtime64; # arm x86 mips
+    localtime64_r; # arm x86 mips
+    localtime_r;
+    longjmp;
+    lrand48;
+    lseek;
+    lseek64;
+    lstat;
+    madvise;
+    mallinfo;
+    malloc;
+    mbrlen;
+    mbrtowc;
+    mbsinit;
+    mbsrtowcs;
+    mbstowcs;
+    memalign;
+    memccpy;
+    memchr;
+    memcmp;
+    memcpy;
+    memmem;
+    memmove;
+    memrchr;
+    memset;
+    mincore;
+    mkdir;
+    mkdirat;
+    mkdtemp;
+    mknod;
+    mkstemp;
+    mkstemps;
+    mktemp;
+    mktime;
+    mktime64; # arm x86 mips
+    mlock;
+    mmap;
+    mount;
+    mprotect;
+    mrand48;
+    mremap;
+    msync;
+    munlock;
+    munmap;
+    nanosleep;
+    nice;
+    nrand48;
+    nsdispatch;
+    open;
+    openat;
+    opendir;
+    openlog;
+    optarg;
+    opterr;
+    optind;
+    optopt;
+    optreset;
+    pathconf;
+    pause;
+    pclose;
+    perror;
+    pipe;
+    pipe2;
+    poll;
+    popen;
+    posix_memalign;
+    prctl;
+    pread;
+    pread64;
+    printf;
+    pselect;
+    pthread_attr_destroy;
+    pthread_attr_getdetachstate;
+    pthread_attr_getguardsize;
+    pthread_attr_getschedparam;
+    pthread_attr_getschedpolicy;
+    pthread_attr_getscope;
+    pthread_attr_getstack;
+    pthread_attr_getstacksize;
+    pthread_attr_init;
+    pthread_attr_setdetachstate;
+    pthread_attr_setguardsize;
+    pthread_attr_setschedparam;
+    pthread_attr_setschedpolicy;
+    pthread_attr_setscope;
+    pthread_attr_setstack;
+    pthread_attr_setstacksize;
+    pthread_cond_broadcast;
+    pthread_cond_destroy;
+    pthread_cond_init;
+    pthread_cond_signal;
+    pthread_cond_timedwait;
+    pthread_cond_timedwait_monotonic; # arm x86 mips
+    pthread_cond_timedwait_monotonic_np; # arm x86 mips
+    pthread_cond_timedwait_relative_np; # arm x86 mips
+    pthread_cond_timeout_np; # arm x86 mips
+    pthread_cond_wait;
+    pthread_condattr_destroy;
+    pthread_condattr_getpshared;
+    pthread_condattr_init;
+    pthread_condattr_setpshared;
+    pthread_create;
+    pthread_detach;
+    pthread_equal;
+    pthread_exit;
+    pthread_getattr_np;
+    pthread_getcpuclockid;
+    pthread_getschedparam;
+    pthread_getspecific;
+    pthread_join;
+    pthread_key_create;
+    pthread_key_delete;
+    pthread_kill;
+    pthread_mutex_destroy;
+    pthread_mutex_init;
+    pthread_mutex_lock;
+    pthread_mutex_lock_timeout_np; # arm x86 mips
+    pthread_mutex_trylock;
+    pthread_mutex_unlock;
+    pthread_mutexattr_destroy;
+    pthread_mutexattr_getpshared;
+    pthread_mutexattr_gettype;
+    pthread_mutexattr_init;
+    pthread_mutexattr_setpshared;
+    pthread_mutexattr_settype;
+    pthread_once;
+    pthread_rwlock_destroy;
+    pthread_rwlock_init;
+    pthread_rwlock_rdlock;
+    pthread_rwlock_timedrdlock;
+    pthread_rwlock_timedwrlock;
+    pthread_rwlock_tryrdlock;
+    pthread_rwlock_trywrlock;
+    pthread_rwlock_unlock;
+    pthread_rwlock_wrlock;
+    pthread_rwlockattr_destroy;
+    pthread_rwlockattr_getpshared;
+    pthread_rwlockattr_init;
+    pthread_rwlockattr_setpshared;
+    pthread_self;
+    pthread_setname_np;
+    pthread_setschedparam;
+    pthread_setspecific;
+    pthread_sigmask;
+    ptrace;
+    ptsname;
+    ptsname_r;
+    putc;
+    putc_unlocked;
+    putchar;
+    putchar_unlocked;
+    putenv;
+    puts;
+    pututline;
+    putw; # arm x86 mips
+    putwc;
+    putwchar;
+    pwrite;
+    pwrite64;
+    qsort;
+    raise;
+    read;
+    readdir;
+    readdir_r;
+    readlink;
+    readv;
+    realloc;
+    realpath;
+    reboot;
+    recv;
+    recvfrom;
+    recvmsg;
+    regcomp;
+    regerror;
+    regexec;
+    regfree;
+    remove;
+    rename;
+    renameat;
+    res_init;
+    res_mkquery;
+    res_query;
+    res_search;
+    rewind;
+    rewinddir;
+    rmdir;
+    sbrk;
+    scandir;
+    scanf;
+    sched_get_priority_max;
+    sched_get_priority_min;
+    sched_getparam;
+    sched_getscheduler;
+    sched_rr_get_interval;
+    sched_setparam;
+    sched_setscheduler;
+    sched_yield;
+    seed48;
+    select;
+    sem_close;
+    sem_destroy;
+    sem_getvalue;
+    sem_init;
+    sem_open;
+    sem_post;
+    sem_timedwait;
+    sem_trywait;
+    sem_unlink;
+    sem_wait;
+    send;
+    sendfile;
+    sendmsg;
+    sendto;
+    setbuf;
+    setbuffer;
+    setegid;
+    setenv;
+    seteuid;
+    setgid;
+    setgroups;
+    setitimer;
+    setjmp;
+    setlinebuf;
+    setlocale;
+    setlogmask;
+    setpgid;
+    setpgrp;
+    setpriority;
+    setregid;
+    setresgid;
+    setresuid;
+    setreuid;
+    setrlimit;
+    setservent;
+    setsid;
+    setsockopt;
+    settimeofday;
+    setuid;
+    setutent;
+    setvbuf;
+    shutdown;
+    sigaction;
+    sigaltstack;
+    sigblock;
+    siginterrupt;
+    siglongjmp;
+    sigpending;
+    sigprocmask;
+    sigsetjmp;
+    sigsetmask;
+    sigsuspend;
+    sigwait;
+    sleep;
+    snprintf;
+    socket;
+    socketpair;
+    sprintf;
+    srand48;
+    sscanf;
+    stat;
+    statfs;
+    strcasecmp;
+    strcasestr;
+    strcat;
+    strchr;
+    strcmp;
+    strcoll;
+    strcpy;
+    strcspn;
+    strdup;
+    strerror;
+    strerror_r;
+    strftime;
+    strlcat;
+    strlcpy;
+    strlen;
+    strncasecmp;
+    strncat;
+    strncmp;
+    strncpy;
+    strndup;
+    strnlen;
+    strpbrk;
+    strptime;
+    strrchr;
+    strsep;
+    strsignal;
+    strspn;
+    strstr;
+    strtod;
+    strtoimax;
+    strtok;
+    strtok_r;
+    strtol;
+    strtoll;
+    strtoul;
+    strtoull;
+    strtoumax;
+    strxfrm;
+    swprintf;
+    swscanf;
+    symlink;
+    sync;
+    sys_siglist;
+    sys_signame;
+    syscall;
+    sysconf;
+    sysinfo;
+    syslog;
+    system;
+    tcgetpgrp;
+    tcsetpgrp;
+    tempnam;
+    time;
+    timegm64; # arm x86 mips
+    timelocal64; # arm x86 mips
+    timer_create;
+    timer_delete;
+    timer_getoverrun;
+    timer_gettime;
+    timer_settime;
+    times;
+    timezone;
+    tmpfile;
+    tmpnam;
+    toascii;
+    tolower;
+    toupper;
+    towlower;
+    towupper;
+    truncate;
+    ttyname;
+    ttyname_r;
+    tzname;
+    tzset;
+    umask;
+    umount;
+    umount2;
+    uname;
+    ungetc;
+    ungetwc;
+    unlink;
+    unlinkat;
+    unlockpt;
+    unsetenv;
+    usleep;
+    utime;
+    utimensat;
+    utimes;
+    utmpname;
+    valloc; # arm x86 mips
+    vasprintf;
+    verr;
+    verrx;
+    vfork;
+    vfprintf;
+    vfscanf;
+    vfwprintf;
+    vprintf;
+    vscanf;
+    vsnprintf;
+    vsprintf;
+    vsscanf;
+    vswprintf;
+    vsyslog;
+    vwarn;
+    vwarnx;
+    vwprintf;
+    wait;
+    waitid;
+    waitpid;
+    warn;
+    warnx;
+    wcpcpy;
+    wcpncpy;
+    wcrtomb;
+    wcscasecmp;
+    wcscat;
+    wcschr;
+    wcscmp;
+    wcscoll;
+    wcscpy;
+    wcscspn;
+    wcsdup;
+    wcsftime;
+    wcslcat;
+    wcslcpy;
+    wcslen;
+    wcsncasecmp;
+    wcsncat;
+    wcsncmp;
+    wcsncpy;
+    wcsnlen;
+    wcspbrk;
+    wcsrchr;
+    wcsrtombs;
+    wcsspn;
+    wcsstr;
+    wcstod;
+    wcstok;
+    wcstol;
+    wcstombs;
+    wcstoul;
+    wcswidth;
+    wcsxfrm;
+    wctob;
+    wctype;
+    wcwidth;
+    wmemchr;
+    wmemcmp;
+    wmemcpy;
+    wmemmove;
+    wmemset;
+    wprintf;
+    write;
+    writev;
+    wscanf;
+};
diff --git a/ndk/platforms/android-18/arch-arm/symbols/libm.so.versions.txt b/ndk/platforms/android-18/arch-arm/symbols/libm.so.versions.txt
new file mode 100644
index 0000000..5c4d81a
--- /dev/null
+++ b/ndk/platforms/android-18/arch-arm/symbols/libm.so.versions.txt
@@ -0,0 +1,170 @@
+# Generated by genversionscripts.py. Do not edit.
+LIBC {
+  global:
+    __fe_dfl_env;
+    __signbit;
+    __signbitf;
+    __signbitl;
+    acos;
+    acosf;
+    acosh;
+    acoshf;
+    asin;
+    asinf;
+    asinh;
+    asinhf;
+    atan;
+    atan2;
+    atan2f;
+    atanf;
+    atanh;
+    atanhf;
+    cbrt;
+    cbrtf;
+    ceil;
+    ceilf;
+    ceill;
+    copysign;
+    copysignf;
+    copysignl;
+    cos;
+    cosf;
+    cosh;
+    coshf;
+    drem;
+    dremf;
+    erf;
+    erfc;
+    erfcf;
+    erff;
+    exp;
+    exp2;
+    exp2f;
+    expf;
+    expm1;
+    expm1f;
+    fabs;
+    fabsf;
+    fabsl;
+    fdim;
+    fdimf;
+    fdiml;
+    finite;
+    finitef;
+    floor;
+    floorf;
+    floorl;
+    fma;
+    fmaf;
+    fmax;
+    fmaxf;
+    fmaxl;
+    fmin;
+    fminf;
+    fminl;
+    fmod;
+    fmodf;
+    frexp;
+    frexpf;
+    gamma;
+    gamma_r;
+    gammaf;
+    gammaf_r;
+    hypot;
+    hypotf;
+    ilogb;
+    ilogbf;
+    ilogbl;
+    j0;
+    j0f;
+    j1;
+    j1f;
+    jn;
+    jnf;
+    ldexpf;
+    ldexpl;
+    lgamma;
+    lgamma_r;
+    lgammaf;
+    lgammaf_r;
+    llrint;
+    llrintf;
+    llround;
+    llroundf;
+    llroundl;
+    log;
+    log10;
+    log10f;
+    log1p;
+    log1pf;
+    log2;
+    log2f;
+    log2l;
+    logb;
+    logbf;
+    logbl;
+    logf;
+    lrint;
+    lrintf;
+    lround;
+    lroundf;
+    lroundl;
+    modf;
+    modff;
+    nan;
+    nanf;
+    nanl;
+    nearbyint;
+    nearbyintf;
+    nextafter;
+    nextafterf;
+    nexttoward;
+    nexttowardf;
+    nexttowardl;
+    pow;
+    powf;
+    remainder;
+    remainderf;
+    remquo;
+    remquof;
+    rint;
+    rintf;
+    round;
+    roundf;
+    roundl;
+    scalb;
+    scalbf;
+    scalbln;
+    scalblnf;
+    scalblnl;
+    scalbn;
+    scalbnf;
+    scalbnl;
+    signgam;
+    significand;
+    significandf;
+    sin;
+    sincos;
+    sincosf;
+    sincosl;
+    sinf;
+    sinh;
+    sinhf;
+    sqrt;
+    sqrtf;
+    tan;
+    tanf;
+    tanh;
+    tanhf;
+    tgamma;
+    tgammaf;
+    trunc;
+    truncf;
+    truncl;
+    y0;
+    y0f;
+    y1;
+    y1f;
+    yn;
+    ynf;
+};
diff --git a/ndk/platforms/android-18/arch-mips/symbols/libc.so.versions.txt b/ndk/platforms/android-18/arch-mips/symbols/libc.so.versions.txt
new file mode 100644
index 0000000..858e50e
--- /dev/null
+++ b/ndk/platforms/android-18/arch-mips/symbols/libc.so.versions.txt
@@ -0,0 +1,814 @@
+# Generated by genversionscripts.py. Do not edit.
+LIBC {
+  global:
+    __assert;
+    __assert2;
+    __b64_ntop;
+    __b64_pton;
+    __brk; # arm x86 mips
+    __cxa_atexit;
+    __cxa_finalize;
+    __dn_comp;
+    __dn_count_labels;
+    __dn_skipname;
+    __errno;
+    __fcntl64; # arm x86 mips
+    __fp_nquery;
+    __fp_query;
+    __fpclassifyd;
+    __fpclassifyf;
+    __fpclassifyl;
+    __fstatfs64; # arm x86 mips
+    __get_h_errno;
+    __getcwd; # arm x86 mips
+    __getpriority; # arm x86 mips
+    __hostalias;
+    __ioctl; # arm x86 mips
+    __isfinite;
+    __isfinitef;
+    __isfinitel;
+    __isinf;
+    __isinff;
+    __isinfl;
+    __isnanl;
+    __isnormal;
+    __isnormalf;
+    __isnormall;
+    __isthreaded;
+    __libc_init;
+    __llseek; # arm x86 mips
+    __loc_aton;
+    __loc_ntoa;
+    __mmap2; # arm x86 mips
+    __ns_format_ttl; # arm x86 mips
+    __ns_get16; # arm x86 mips
+    __ns_get32; # arm x86 mips
+    __ns_initparse; # arm x86 mips
+    __ns_makecanon; # arm x86 mips
+    __ns_msg_getflag; # arm x86 mips
+    __ns_name_compress; # arm x86 mips
+    __ns_name_ntol; # arm x86 mips
+    __ns_name_ntop; # arm x86 mips
+    __ns_name_pack; # arm x86 mips
+    __ns_name_pton; # arm x86 mips
+    __ns_name_rollback; # arm x86 mips
+    __ns_name_skip; # arm x86 mips
+    __ns_name_uncompress; # arm x86 mips
+    __ns_name_unpack; # arm x86 mips
+    __ns_parserr; # arm x86 mips
+    __ns_put16; # arm x86 mips
+    __ns_put32; # arm x86 mips
+    __ns_samename; # arm x86 mips
+    __ns_skiprr; # arm x86 mips
+    __ns_sprintrr; # arm x86 mips
+    __ns_sprintrrf; # arm x86 mips
+    __openat; # arm x86 mips
+    __p_cdname;
+    __p_cdnname;
+    __p_class;
+    __p_class_syms;
+    __p_fqname;
+    __p_fqnname;
+    __p_option;
+    __p_query;
+    __p_rcode;
+    __p_secstodate;
+    __p_time;
+    __p_type;
+    __p_type_syms;
+    __progname;
+    __pthread_cleanup_pop;
+    __pthread_cleanup_push;
+    __ptrace; # arm x86 mips
+    __putlong;
+    __putshort;
+    __reboot; # arm x86 mips
+    __res_close;
+    __res_dnok;
+    __res_hnok;
+    __res_hostalias;
+    __res_isourserver;
+    __res_mailok;
+    __res_nameinquery;
+    __res_nclose;
+    __res_ninit;
+    __res_nmkquery;
+    __res_nquery;
+    __res_nquerydomain;
+    __res_nsearch;
+    __res_nsend;
+    __res_ownok;
+    __res_queriesmatch;
+    __res_querydomain;
+    __res_send;
+    __res_send_setqhook;
+    __res_send_setrhook;
+    __rt_sigaction; # arm x86 mips
+    __rt_sigprocmask; # arm x86 mips
+    __rt_sigtimedwait; # arm x86 mips
+    __set_tls; # arm mips
+    __sF;
+    __stack_chk_fail;
+    __stack_chk_guard;
+    __statfs64; # arm x86 mips
+    __sym_ntop;
+    __sym_ntos;
+    __sym_ston;
+    __system_properties_init; # arm x86 mips
+    __system_property_area__; # arm x86 mips
+    __system_property_find; # arm x86 mips
+    __system_property_find_nth; # arm x86 mips
+    __system_property_get; # arm x86 mips
+    __system_property_read; # arm x86 mips
+    __timer_create; # arm x86 mips
+    __timer_delete; # arm x86 mips
+    __timer_getoverrun; # arm x86 mips
+    __timer_gettime; # arm x86 mips
+    __timer_settime; # arm x86 mips
+    __waitid; # arm x86 mips
+    _ctype_;
+    _exit;
+    _flush_cache; # mips
+    _getlong;
+    _getshort;
+    _longjmp;
+    _setjmp;
+    _tolower_tab_; # arm x86 mips
+    _toupper_tab_; # arm x86 mips
+    abort;
+    accept;
+    access;
+    acct;
+    alarm;
+    alphasort;
+    arc4random;
+    arc4random_buf;
+    arc4random_uniform;
+    asctime;
+    asctime64; # arm x86 mips
+    asctime64_r; # arm x86 mips
+    asctime_r;
+    asprintf;
+    atoi;
+    atol;
+    atoll;
+    basename;
+    basename_r; # arm x86 mips
+    bind;
+    bindresvport;
+    brk;
+    bsearch;
+    btowc;
+    cacheflush; # arm mips
+    calloc;
+    capget;
+    capset;
+    chdir;
+    chmod;
+    chown;
+    chroot;
+    clearenv;
+    clearerr;
+    clock;
+    clock_getres;
+    clock_gettime;
+    clock_nanosleep;
+    clock_settime;
+    clone;
+    close;
+    closedir;
+    closelog;
+    connect;
+    creat;
+    ctime;
+    ctime64; # arm x86 mips
+    ctime64_r; # arm x86 mips
+    ctime_r;
+    daemon;
+    daylight;
+    delete_module;
+    difftime;
+    dirfd;
+    dirname;
+    dirname_r; # arm x86 mips
+    div;
+    dn_expand;
+    drand48;
+    dup;
+    dup2;
+    endservent;
+    endutent;
+    environ;
+    epoll_create;
+    epoll_ctl;
+    epoll_wait;
+    erand48;
+    err;
+    errx;
+    eventfd;
+    eventfd_read;
+    eventfd_write;
+    execl;
+    execle;
+    execlp;
+    execv;
+    execve;
+    execvp;
+    exit;
+    fchdir;
+    fchmod;
+    fchmodat;
+    fchown;
+    fchownat;
+    fclose;
+    fcntl;
+    fdatasync;
+    fdopen;
+    fdopendir;
+    feof;
+    ferror;
+    fflush;
+    ffs;
+    fgetc;
+    fgetln;
+    fgetpos;
+    fgets;
+    fgetwc;
+    fgetws;
+    fileno;
+    flock;
+    flockfile;
+    fnmatch;
+    fopen;
+    fork;
+    fpathconf;
+    fprintf;
+    fpurge;
+    fputc;
+    fputs;
+    fputwc;
+    fputws;
+    fread;
+    free;
+    freeaddrinfo;
+    freopen;
+    fscanf;
+    fseek;
+    fseeko;
+    fsetpos;
+    fstat;
+    fstatat;
+    fstatfs;
+    fsync;
+    ftell;
+    ftello;
+    ftok;
+    ftruncate;
+    ftruncate64;
+    ftrylockfile;
+    fts_children;
+    fts_close;
+    fts_open;
+    fts_read;
+    fts_set;
+    funlockfile;
+    funopen;
+    fwide;
+    fwprintf;
+    fwrite;
+    fwscanf;
+    gai_strerror;
+    getaddrinfo;
+    getc;
+    getc_unlocked;
+    getchar;
+    getchar_unlocked;
+    getcwd;
+    getegid;
+    getenv;
+    geteuid;
+    getgid;
+    getgrgid;
+    getgrnam;
+    getgrouplist;
+    getgroups;
+    gethostbyaddr;
+    gethostbyname;
+    gethostbyname2;
+    gethostbyname_r;
+    gethostent;
+    gethostname;
+    getitimer;
+    getlogin;
+    getmntent;
+    getnameinfo;
+    getnetbyaddr;
+    getnetbyname;
+    getopt;
+    getopt_long;
+    getopt_long_only;
+    getpeername;
+    getpgid;
+    getpgrp;
+    getpid;
+    getppid;
+    getpriority;
+    getprotobyname;
+    getprotobynumber;
+    getpt;
+    getpwnam;
+    getpwuid;
+    getresgid;
+    getresuid;
+    getrlimit;
+    getrusage;
+    gets;
+    getservbyname;
+    getservbyport;
+    getservent;
+    getsockname;
+    getsockopt;
+    gettid;
+    gettimeofday;
+    getuid;
+    getutent;
+    getwc;
+    getwchar;
+    gmtime;
+    gmtime64; # arm x86 mips
+    gmtime64_r; # arm x86 mips
+    gmtime_r;
+    herror;
+    hstrerror;
+    if_indextoname;
+    if_nametoindex;
+    inet_addr;
+    inet_aton;
+    inet_nsap_addr;
+    inet_nsap_ntoa;
+    inet_ntoa;
+    inet_ntop;
+    inet_pton;
+    init_module;
+    initgroups;
+    inotify_add_watch;
+    inotify_init;
+    inotify_rm_watch;
+    ioctl;
+    isalnum;
+    isalpha;
+    isascii;
+    isatty;
+    isblank;
+    iscntrl;
+    isdigit;
+    isgraph;
+    islower;
+    isnan;
+    isnanf;
+    isprint;
+    ispunct;
+    isspace;
+    isupper;
+    iswalnum;
+    iswalpha;
+    iswcntrl;
+    iswctype;
+    iswdigit;
+    iswgraph;
+    iswlower;
+    iswprint;
+    iswpunct;
+    iswspace;
+    iswupper;
+    iswxdigit;
+    isxdigit;
+    jrand48;
+    kill;
+    killpg;
+    klogctl;
+    lchown;
+    ldexp;
+    ldiv;
+    link;
+    listen;
+    lldiv;
+    localtime;
+    localtime64; # arm x86 mips
+    localtime64_r; # arm x86 mips
+    localtime_r;
+    longjmp;
+    lrand48;
+    lseek;
+    lseek64;
+    lstat;
+    madvise;
+    mallinfo;
+    malloc;
+    mbrlen;
+    mbrtowc;
+    mbsinit;
+    mbsrtowcs;
+    mbstowcs;
+    memalign;
+    memccpy;
+    memchr;
+    memcmp;
+    memcpy;
+    memmem;
+    memmove;
+    memrchr;
+    memset;
+    mincore;
+    mkdir;
+    mkdirat;
+    mkdtemp;
+    mknod;
+    mkstemp;
+    mkstemps;
+    mktemp;
+    mktime;
+    mktime64; # arm x86 mips
+    mlock;
+    mmap;
+    mount;
+    mprotect;
+    mrand48;
+    mremap;
+    msync;
+    munlock;
+    munmap;
+    nanosleep;
+    nice;
+    nrand48;
+    nsdispatch;
+    open;
+    openat;
+    opendir;
+    openlog;
+    optarg;
+    opterr;
+    optind;
+    optopt;
+    optreset;
+    pathconf;
+    pause;
+    pclose;
+    perror;
+    pipe;
+    pipe2;
+    poll;
+    popen;
+    posix_memalign;
+    prctl;
+    pread;
+    pread64;
+    printf;
+    pselect;
+    pthread_attr_destroy;
+    pthread_attr_getdetachstate;
+    pthread_attr_getguardsize;
+    pthread_attr_getschedparam;
+    pthread_attr_getschedpolicy;
+    pthread_attr_getscope;
+    pthread_attr_getstack;
+    pthread_attr_getstacksize;
+    pthread_attr_init;
+    pthread_attr_setdetachstate;
+    pthread_attr_setguardsize;
+    pthread_attr_setschedparam;
+    pthread_attr_setschedpolicy;
+    pthread_attr_setscope;
+    pthread_attr_setstack;
+    pthread_attr_setstacksize;
+    pthread_cond_broadcast;
+    pthread_cond_destroy;
+    pthread_cond_init;
+    pthread_cond_signal;
+    pthread_cond_timedwait;
+    pthread_cond_timedwait_monotonic; # arm x86 mips
+    pthread_cond_timedwait_monotonic_np; # arm x86 mips
+    pthread_cond_timedwait_relative_np; # arm x86 mips
+    pthread_cond_timeout_np; # arm x86 mips
+    pthread_cond_wait;
+    pthread_condattr_destroy;
+    pthread_condattr_getpshared;
+    pthread_condattr_init;
+    pthread_condattr_setpshared;
+    pthread_create;
+    pthread_detach;
+    pthread_equal;
+    pthread_exit;
+    pthread_getattr_np;
+    pthread_getcpuclockid;
+    pthread_getschedparam;
+    pthread_getspecific;
+    pthread_join;
+    pthread_key_create;
+    pthread_key_delete;
+    pthread_kill;
+    pthread_mutex_destroy;
+    pthread_mutex_init;
+    pthread_mutex_lock;
+    pthread_mutex_lock_timeout_np; # arm x86 mips
+    pthread_mutex_trylock;
+    pthread_mutex_unlock;
+    pthread_mutexattr_destroy;
+    pthread_mutexattr_getpshared;
+    pthread_mutexattr_gettype;
+    pthread_mutexattr_init;
+    pthread_mutexattr_setpshared;
+    pthread_mutexattr_settype;
+    pthread_once;
+    pthread_rwlock_destroy;
+    pthread_rwlock_init;
+    pthread_rwlock_rdlock;
+    pthread_rwlock_timedrdlock;
+    pthread_rwlock_timedwrlock;
+    pthread_rwlock_tryrdlock;
+    pthread_rwlock_trywrlock;
+    pthread_rwlock_unlock;
+    pthread_rwlock_wrlock;
+    pthread_rwlockattr_destroy;
+    pthread_rwlockattr_getpshared;
+    pthread_rwlockattr_init;
+    pthread_rwlockattr_setpshared;
+    pthread_self;
+    pthread_setname_np;
+    pthread_setschedparam;
+    pthread_setspecific;
+    pthread_sigmask;
+    ptrace;
+    ptsname;
+    ptsname_r;
+    putc;
+    putc_unlocked;
+    putchar;
+    putchar_unlocked;
+    putenv;
+    puts;
+    pututline;
+    putw; # arm x86 mips
+    putwc;
+    putwchar;
+    pwrite;
+    pwrite64;
+    qsort;
+    raise;
+    read;
+    readdir;
+    readdir_r;
+    readlink;
+    readv;
+    realloc;
+    realpath;
+    reboot;
+    recv;
+    recvfrom;
+    recvmsg;
+    regcomp;
+    regerror;
+    regexec;
+    regfree;
+    remove;
+    rename;
+    renameat;
+    res_init;
+    res_mkquery;
+    res_query;
+    res_search;
+    rewind;
+    rewinddir;
+    rmdir;
+    sbrk;
+    scandir;
+    scanf;
+    sched_get_priority_max;
+    sched_get_priority_min;
+    sched_getparam;
+    sched_getscheduler;
+    sched_rr_get_interval;
+    sched_setparam;
+    sched_setscheduler;
+    sched_yield;
+    seed48;
+    select;
+    sem_close;
+    sem_destroy;
+    sem_getvalue;
+    sem_init;
+    sem_open;
+    sem_post;
+    sem_timedwait;
+    sem_trywait;
+    sem_unlink;
+    sem_wait;
+    send;
+    sendfile;
+    sendmsg;
+    sendto;
+    setbuf;
+    setbuffer;
+    setegid;
+    setenv;
+    seteuid;
+    setgid;
+    setgroups;
+    setitimer;
+    setjmp;
+    setlinebuf;
+    setlocale;
+    setlogmask;
+    setpgid;
+    setpgrp;
+    setpriority;
+    setregid;
+    setresgid;
+    setresuid;
+    setreuid;
+    setrlimit;
+    setservent;
+    setsid;
+    setsockopt;
+    settimeofday;
+    setuid;
+    setutent;
+    setvbuf;
+    shutdown;
+    sigaction;
+    sigaltstack;
+    sigblock;
+    siginterrupt;
+    siglongjmp;
+    sigpending;
+    sigprocmask;
+    sigsetjmp;
+    sigsetmask;
+    sigsuspend;
+    sigwait;
+    sleep;
+    snprintf;
+    socket;
+    socketpair;
+    sprintf;
+    srand48;
+    sscanf;
+    stat;
+    statfs;
+    strcasecmp;
+    strcasestr;
+    strcat;
+    strchr;
+    strcmp;
+    strcoll;
+    strcpy;
+    strcspn;
+    strdup;
+    strerror;
+    strerror_r;
+    strftime;
+    strlcat;
+    strlcpy;
+    strlen;
+    strncasecmp;
+    strncat;
+    strncmp;
+    strncpy;
+    strndup;
+    strnlen;
+    strpbrk;
+    strptime;
+    strrchr;
+    strsep;
+    strsignal;
+    strspn;
+    strstr;
+    strtod;
+    strtoimax;
+    strtok;
+    strtok_r;
+    strtol;
+    strtoll;
+    strtoul;
+    strtoull;
+    strtoumax;
+    strxfrm;
+    swprintf;
+    swscanf;
+    symlink;
+    sync;
+    sys_siglist;
+    sys_signame;
+    syscall;
+    sysconf;
+    sysinfo;
+    syslog;
+    system;
+    tcgetpgrp;
+    tcsetpgrp;
+    tempnam;
+    time;
+    timegm64; # arm x86 mips
+    timelocal64; # arm x86 mips
+    timer_create;
+    timer_delete;
+    timer_getoverrun;
+    timer_gettime;
+    timer_settime;
+    times;
+    timezone;
+    tmpfile;
+    tmpnam;
+    toascii;
+    tolower;
+    toupper;
+    towlower;
+    towupper;
+    truncate;
+    ttyname;
+    ttyname_r;
+    tzname;
+    tzset;
+    umask;
+    umount;
+    umount2;
+    uname;
+    ungetc;
+    ungetwc;
+    unlink;
+    unlinkat;
+    unlockpt;
+    unsetenv;
+    usleep;
+    utime;
+    utimensat;
+    utimes;
+    utmpname;
+    valloc; # arm x86 mips
+    vasprintf;
+    verr;
+    verrx;
+    vfork;
+    vfprintf;
+    vfscanf;
+    vfwprintf;
+    vprintf;
+    vscanf;
+    vsnprintf;
+    vsprintf;
+    vsscanf;
+    vswprintf;
+    vsyslog;
+    vwarn;
+    vwarnx;
+    vwprintf;
+    wait;
+    waitid;
+    waitpid;
+    warn;
+    warnx;
+    wcpcpy;
+    wcpncpy;
+    wcrtomb;
+    wcscasecmp;
+    wcscat;
+    wcschr;
+    wcscmp;
+    wcscoll;
+    wcscpy;
+    wcscspn;
+    wcsdup;
+    wcsftime;
+    wcslcat;
+    wcslcpy;
+    wcslen;
+    wcsncasecmp;
+    wcsncat;
+    wcsncmp;
+    wcsncpy;
+    wcsnlen;
+    wcspbrk;
+    wcsrchr;
+    wcsrtombs;
+    wcsspn;
+    wcsstr;
+    wcstod;
+    wcstok;
+    wcstol;
+    wcstombs;
+    wcstoul;
+    wcswidth;
+    wcsxfrm;
+    wctob;
+    wctype;
+    wcwidth;
+    wmemchr;
+    wmemcmp;
+    wmemcpy;
+    wmemmove;
+    wmemset;
+    wprintf;
+    write;
+    writev;
+    wscanf;
+};
diff --git a/ndk/platforms/android-18/arch-mips/symbols/libm.so.versions.txt b/ndk/platforms/android-18/arch-mips/symbols/libm.so.versions.txt
new file mode 100644
index 0000000..5c4d81a
--- /dev/null
+++ b/ndk/platforms/android-18/arch-mips/symbols/libm.so.versions.txt
@@ -0,0 +1,170 @@
+# Generated by genversionscripts.py. Do not edit.
+LIBC {
+  global:
+    __fe_dfl_env;
+    __signbit;
+    __signbitf;
+    __signbitl;
+    acos;
+    acosf;
+    acosh;
+    acoshf;
+    asin;
+    asinf;
+    asinh;
+    asinhf;
+    atan;
+    atan2;
+    atan2f;
+    atanf;
+    atanh;
+    atanhf;
+    cbrt;
+    cbrtf;
+    ceil;
+    ceilf;
+    ceill;
+    copysign;
+    copysignf;
+    copysignl;
+    cos;
+    cosf;
+    cosh;
+    coshf;
+    drem;
+    dremf;
+    erf;
+    erfc;
+    erfcf;
+    erff;
+    exp;
+    exp2;
+    exp2f;
+    expf;
+    expm1;
+    expm1f;
+    fabs;
+    fabsf;
+    fabsl;
+    fdim;
+    fdimf;
+    fdiml;
+    finite;
+    finitef;
+    floor;
+    floorf;
+    floorl;
+    fma;
+    fmaf;
+    fmax;
+    fmaxf;
+    fmaxl;
+    fmin;
+    fminf;
+    fminl;
+    fmod;
+    fmodf;
+    frexp;
+    frexpf;
+    gamma;
+    gamma_r;
+    gammaf;
+    gammaf_r;
+    hypot;
+    hypotf;
+    ilogb;
+    ilogbf;
+    ilogbl;
+    j0;
+    j0f;
+    j1;
+    j1f;
+    jn;
+    jnf;
+    ldexpf;
+    ldexpl;
+    lgamma;
+    lgamma_r;
+    lgammaf;
+    lgammaf_r;
+    llrint;
+    llrintf;
+    llround;
+    llroundf;
+    llroundl;
+    log;
+    log10;
+    log10f;
+    log1p;
+    log1pf;
+    log2;
+    log2f;
+    log2l;
+    logb;
+    logbf;
+    logbl;
+    logf;
+    lrint;
+    lrintf;
+    lround;
+    lroundf;
+    lroundl;
+    modf;
+    modff;
+    nan;
+    nanf;
+    nanl;
+    nearbyint;
+    nearbyintf;
+    nextafter;
+    nextafterf;
+    nexttoward;
+    nexttowardf;
+    nexttowardl;
+    pow;
+    powf;
+    remainder;
+    remainderf;
+    remquo;
+    remquof;
+    rint;
+    rintf;
+    round;
+    roundf;
+    roundl;
+    scalb;
+    scalbf;
+    scalbln;
+    scalblnf;
+    scalblnl;
+    scalbn;
+    scalbnf;
+    scalbnl;
+    signgam;
+    significand;
+    significandf;
+    sin;
+    sincos;
+    sincosf;
+    sincosl;
+    sinf;
+    sinh;
+    sinhf;
+    sqrt;
+    sqrtf;
+    tan;
+    tanf;
+    tanh;
+    tanhf;
+    tgamma;
+    tgammaf;
+    trunc;
+    truncf;
+    truncl;
+    y0;
+    y0f;
+    y1;
+    y1f;
+    yn;
+    ynf;
+};
diff --git a/ndk/platforms/android-18/arch-x86/symbols/libc.so.versions.txt b/ndk/platforms/android-18/arch-x86/symbols/libc.so.versions.txt
new file mode 100644
index 0000000..4b33a68
--- /dev/null
+++ b/ndk/platforms/android-18/arch-x86/symbols/libc.so.versions.txt
@@ -0,0 +1,811 @@
+# Generated by genversionscripts.py. Do not edit.
+LIBC {
+  global:
+    __assert;
+    __assert2;
+    __b64_ntop;
+    __b64_pton;
+    __brk; # arm x86 mips
+    __cxa_atexit;
+    __cxa_finalize;
+    __dn_comp;
+    __dn_count_labels;
+    __dn_skipname;
+    __errno;
+    __fcntl64; # arm x86 mips
+    __fp_nquery;
+    __fp_query;
+    __fpclassifyd;
+    __fpclassifyf;
+    __fpclassifyl;
+    __fstatfs64; # arm x86 mips
+    __get_h_errno;
+    __getcwd; # arm x86 mips
+    __getpriority; # arm x86 mips
+    __hostalias;
+    __ioctl; # arm x86 mips
+    __isfinite;
+    __isfinitef;
+    __isfinitel;
+    __isinf;
+    __isinff;
+    __isinfl;
+    __isnanl;
+    __isnormal;
+    __isnormalf;
+    __isnormall;
+    __isthreaded;
+    __libc_init;
+    __llseek; # arm x86 mips
+    __loc_aton;
+    __loc_ntoa;
+    __mmap2; # arm x86 mips
+    __ns_format_ttl; # arm x86 mips
+    __ns_get16; # arm x86 mips
+    __ns_get32; # arm x86 mips
+    __ns_initparse; # arm x86 mips
+    __ns_makecanon; # arm x86 mips
+    __ns_msg_getflag; # arm x86 mips
+    __ns_name_compress; # arm x86 mips
+    __ns_name_ntol; # arm x86 mips
+    __ns_name_ntop; # arm x86 mips
+    __ns_name_pack; # arm x86 mips
+    __ns_name_pton; # arm x86 mips
+    __ns_name_rollback; # arm x86 mips
+    __ns_name_skip; # arm x86 mips
+    __ns_name_uncompress; # arm x86 mips
+    __ns_name_unpack; # arm x86 mips
+    __ns_parserr; # arm x86 mips
+    __ns_put16; # arm x86 mips
+    __ns_put32; # arm x86 mips
+    __ns_samename; # arm x86 mips
+    __ns_skiprr; # arm x86 mips
+    __ns_sprintrr; # arm x86 mips
+    __ns_sprintrrf; # arm x86 mips
+    __openat; # arm x86 mips
+    __p_cdname;
+    __p_cdnname;
+    __p_class;
+    __p_class_syms;
+    __p_fqname;
+    __p_fqnname;
+    __p_option;
+    __p_query;
+    __p_rcode;
+    __p_secstodate;
+    __p_time;
+    __p_type;
+    __p_type_syms;
+    __progname;
+    __pthread_cleanup_pop;
+    __pthread_cleanup_push;
+    __ptrace; # arm x86 mips
+    __putlong;
+    __putshort;
+    __reboot; # arm x86 mips
+    __res_close;
+    __res_dnok;
+    __res_hnok;
+    __res_hostalias;
+    __res_isourserver;
+    __res_mailok;
+    __res_nameinquery;
+    __res_nclose;
+    __res_ninit;
+    __res_nmkquery;
+    __res_nquery;
+    __res_nquerydomain;
+    __res_nsearch;
+    __res_nsend;
+    __res_ownok;
+    __res_queriesmatch;
+    __res_querydomain;
+    __res_send;
+    __res_send_setqhook;
+    __res_send_setrhook;
+    __rt_sigaction; # arm x86 mips
+    __rt_sigprocmask; # arm x86 mips
+    __rt_sigtimedwait; # arm x86 mips
+    __set_thread_area; # x86
+    __sF;
+    __stack_chk_fail;
+    __stack_chk_guard;
+    __statfs64; # arm x86 mips
+    __sym_ntop;
+    __sym_ntos;
+    __sym_ston;
+    __system_properties_init; # arm x86 mips
+    __system_property_area__; # arm x86 mips
+    __system_property_find; # arm x86 mips
+    __system_property_find_nth; # arm x86 mips
+    __system_property_get; # arm x86 mips
+    __system_property_read; # arm x86 mips
+    __timer_create; # arm x86 mips
+    __timer_delete; # arm x86 mips
+    __timer_getoverrun; # arm x86 mips
+    __timer_gettime; # arm x86 mips
+    __timer_settime; # arm x86 mips
+    __waitid; # arm x86 mips
+    _ctype_;
+    _exit;
+    _getlong;
+    _getshort;
+    _longjmp;
+    _setjmp;
+    _tolower_tab_; # arm x86 mips
+    _toupper_tab_; # arm x86 mips
+    abort;
+    accept;
+    access;
+    acct;
+    alarm;
+    alphasort;
+    arc4random;
+    arc4random_buf;
+    arc4random_uniform;
+    asctime;
+    asctime64; # arm x86 mips
+    asctime64_r; # arm x86 mips
+    asctime_r;
+    asprintf;
+    atoi;
+    atol;
+    atoll;
+    basename;
+    basename_r; # arm x86 mips
+    bind;
+    bindresvport;
+    brk;
+    bsearch;
+    btowc;
+    calloc;
+    capget;
+    capset;
+    chdir;
+    chmod;
+    chown;
+    chroot;
+    clearenv;
+    clearerr;
+    clock;
+    clock_getres;
+    clock_gettime;
+    clock_nanosleep;
+    clock_settime;
+    clone;
+    close;
+    closedir;
+    closelog;
+    connect;
+    creat;
+    ctime;
+    ctime64; # arm x86 mips
+    ctime64_r; # arm x86 mips
+    ctime_r;
+    daemon;
+    daylight;
+    delete_module;
+    difftime;
+    dirfd;
+    dirname;
+    dirname_r; # arm x86 mips
+    div;
+    dn_expand;
+    drand48;
+    dup;
+    dup2;
+    endservent;
+    endutent;
+    environ;
+    epoll_create;
+    epoll_ctl;
+    epoll_wait;
+    erand48;
+    err;
+    errx;
+    eventfd;
+    eventfd_read;
+    eventfd_write;
+    execl;
+    execle;
+    execlp;
+    execv;
+    execve;
+    execvp;
+    exit;
+    fchdir;
+    fchmod;
+    fchmodat;
+    fchown;
+    fchownat;
+    fclose;
+    fcntl;
+    fdatasync;
+    fdopen;
+    fdopendir;
+    feof;
+    ferror;
+    fflush;
+    fgetc;
+    fgetln;
+    fgetpos;
+    fgets;
+    fgetwc;
+    fgetws;
+    fileno;
+    flock;
+    flockfile;
+    fnmatch;
+    fopen;
+    fork;
+    fpathconf;
+    fprintf;
+    fpurge;
+    fputc;
+    fputs;
+    fputwc;
+    fputws;
+    fread;
+    free;
+    freeaddrinfo;
+    freopen;
+    fscanf;
+    fseek;
+    fseeko;
+    fsetpos;
+    fstat;
+    fstatat;
+    fstatfs;
+    fsync;
+    ftell;
+    ftello;
+    ftok;
+    ftruncate;
+    ftruncate64;
+    ftrylockfile;
+    fts_children;
+    fts_close;
+    fts_open;
+    fts_read;
+    fts_set;
+    funlockfile;
+    funopen;
+    fwide;
+    fwprintf;
+    fwrite;
+    fwscanf;
+    gai_strerror;
+    getaddrinfo;
+    getc;
+    getc_unlocked;
+    getchar;
+    getchar_unlocked;
+    getcwd;
+    getegid;
+    getenv;
+    geteuid;
+    getgid;
+    getgrgid;
+    getgrnam;
+    getgrouplist;
+    getgroups;
+    gethostbyaddr;
+    gethostbyname;
+    gethostbyname2;
+    gethostbyname_r;
+    gethostent;
+    gethostname;
+    getitimer;
+    getlogin;
+    getmntent;
+    getnameinfo;
+    getnetbyaddr;
+    getnetbyname;
+    getopt;
+    getopt_long;
+    getopt_long_only;
+    getpeername;
+    getpgid;
+    getpgrp;
+    getpid;
+    getppid;
+    getpriority;
+    getprotobyname;
+    getprotobynumber;
+    getpt;
+    getpwnam;
+    getpwuid;
+    getresgid;
+    getresuid;
+    getrlimit;
+    getrusage;
+    gets;
+    getservbyname;
+    getservbyport;
+    getservent;
+    getsockname;
+    getsockopt;
+    gettid;
+    gettimeofday;
+    getuid;
+    getutent;
+    getwc;
+    getwchar;
+    gmtime;
+    gmtime64; # arm x86 mips
+    gmtime64_r; # arm x86 mips
+    gmtime_r;
+    herror;
+    hstrerror;
+    if_indextoname;
+    if_nametoindex;
+    inet_addr;
+    inet_aton;
+    inet_nsap_addr;
+    inet_nsap_ntoa;
+    inet_ntoa;
+    inet_ntop;
+    inet_pton;
+    init_module;
+    initgroups;
+    inotify_add_watch;
+    inotify_init;
+    inotify_rm_watch;
+    ioctl;
+    isalnum;
+    isalpha;
+    isascii;
+    isatty;
+    isblank;
+    iscntrl;
+    isdigit;
+    isgraph;
+    islower;
+    isnan;
+    isnanf;
+    isprint;
+    ispunct;
+    isspace;
+    isupper;
+    iswalnum;
+    iswalpha;
+    iswcntrl;
+    iswctype;
+    iswdigit;
+    iswgraph;
+    iswlower;
+    iswprint;
+    iswpunct;
+    iswspace;
+    iswupper;
+    iswxdigit;
+    isxdigit;
+    jrand48;
+    kill;
+    killpg;
+    klogctl;
+    lchown;
+    ldexp;
+    ldiv;
+    link;
+    listen;
+    lldiv;
+    localtime;
+    localtime64; # arm x86 mips
+    localtime64_r; # arm x86 mips
+    localtime_r;
+    longjmp;
+    lrand48;
+    lseek;
+    lseek64;
+    lstat;
+    madvise;
+    mallinfo;
+    malloc;
+    mbrlen;
+    mbrtowc;
+    mbsinit;
+    mbsrtowcs;
+    mbstowcs;
+    memalign;
+    memccpy;
+    memchr;
+    memcmp;
+    memcpy;
+    memmem;
+    memmove;
+    memrchr;
+    memset;
+    mincore;
+    mkdir;
+    mkdirat;
+    mkdtemp;
+    mknod;
+    mkstemp;
+    mkstemps;
+    mktemp;
+    mktime;
+    mktime64; # arm x86 mips
+    mlock;
+    mmap;
+    mount;
+    mprotect;
+    mrand48;
+    mremap;
+    msync;
+    munlock;
+    munmap;
+    nanosleep;
+    nice;
+    nrand48;
+    nsdispatch;
+    open;
+    openat;
+    opendir;
+    openlog;
+    optarg;
+    opterr;
+    optind;
+    optopt;
+    optreset;
+    pathconf;
+    pause;
+    pclose;
+    perror;
+    pipe;
+    pipe2;
+    poll;
+    popen;
+    posix_memalign;
+    prctl;
+    pread;
+    pread64;
+    printf;
+    pselect;
+    pthread_attr_destroy;
+    pthread_attr_getdetachstate;
+    pthread_attr_getguardsize;
+    pthread_attr_getschedparam;
+    pthread_attr_getschedpolicy;
+    pthread_attr_getscope;
+    pthread_attr_getstack;
+    pthread_attr_getstacksize;
+    pthread_attr_init;
+    pthread_attr_setdetachstate;
+    pthread_attr_setguardsize;
+    pthread_attr_setschedparam;
+    pthread_attr_setschedpolicy;
+    pthread_attr_setscope;
+    pthread_attr_setstack;
+    pthread_attr_setstacksize;
+    pthread_cond_broadcast;
+    pthread_cond_destroy;
+    pthread_cond_init;
+    pthread_cond_signal;
+    pthread_cond_timedwait;
+    pthread_cond_timedwait_monotonic; # arm x86 mips
+    pthread_cond_timedwait_monotonic_np; # arm x86 mips
+    pthread_cond_timedwait_relative_np; # arm x86 mips
+    pthread_cond_timeout_np; # arm x86 mips
+    pthread_cond_wait;
+    pthread_condattr_destroy;
+    pthread_condattr_getpshared;
+    pthread_condattr_init;
+    pthread_condattr_setpshared;
+    pthread_create;
+    pthread_detach;
+    pthread_equal;
+    pthread_exit;
+    pthread_getattr_np;
+    pthread_getcpuclockid;
+    pthread_getschedparam;
+    pthread_getspecific;
+    pthread_join;
+    pthread_key_create;
+    pthread_key_delete;
+    pthread_kill;
+    pthread_mutex_destroy;
+    pthread_mutex_init;
+    pthread_mutex_lock;
+    pthread_mutex_lock_timeout_np; # arm x86 mips
+    pthread_mutex_trylock;
+    pthread_mutex_unlock;
+    pthread_mutexattr_destroy;
+    pthread_mutexattr_getpshared;
+    pthread_mutexattr_gettype;
+    pthread_mutexattr_init;
+    pthread_mutexattr_setpshared;
+    pthread_mutexattr_settype;
+    pthread_once;
+    pthread_rwlock_destroy;
+    pthread_rwlock_init;
+    pthread_rwlock_rdlock;
+    pthread_rwlock_timedrdlock;
+    pthread_rwlock_timedwrlock;
+    pthread_rwlock_tryrdlock;
+    pthread_rwlock_trywrlock;
+    pthread_rwlock_unlock;
+    pthread_rwlock_wrlock;
+    pthread_rwlockattr_destroy;
+    pthread_rwlockattr_getpshared;
+    pthread_rwlockattr_init;
+    pthread_rwlockattr_setpshared;
+    pthread_self;
+    pthread_setname_np;
+    pthread_setschedparam;
+    pthread_setspecific;
+    pthread_sigmask;
+    ptrace;
+    ptsname;
+    ptsname_r;
+    putc;
+    putc_unlocked;
+    putchar;
+    putchar_unlocked;
+    putenv;
+    puts;
+    pututline;
+    putw; # arm x86 mips
+    putwc;
+    putwchar;
+    pwrite;
+    pwrite64;
+    qsort;
+    raise;
+    read;
+    readdir;
+    readdir_r;
+    readlink;
+    readv;
+    realloc;
+    realpath;
+    reboot;
+    recv;
+    recvfrom;
+    recvmsg;
+    regcomp;
+    regerror;
+    regexec;
+    regfree;
+    remove;
+    rename;
+    renameat;
+    res_init;
+    res_mkquery;
+    res_query;
+    res_search;
+    rewind;
+    rewinddir;
+    rmdir;
+    sbrk;
+    scandir;
+    scanf;
+    sched_get_priority_max;
+    sched_get_priority_min;
+    sched_getparam;
+    sched_getscheduler;
+    sched_rr_get_interval;
+    sched_setparam;
+    sched_setscheduler;
+    sched_yield;
+    seed48;
+    select;
+    sem_close;
+    sem_destroy;
+    sem_getvalue;
+    sem_init;
+    sem_open;
+    sem_post;
+    sem_timedwait;
+    sem_trywait;
+    sem_unlink;
+    sem_wait;
+    send;
+    sendfile;
+    sendmsg;
+    sendto;
+    setbuf;
+    setbuffer;
+    setegid;
+    setenv;
+    seteuid;
+    setgid;
+    setgroups;
+    setitimer;
+    setjmp;
+    setlinebuf;
+    setlocale;
+    setlogmask;
+    setpgid;
+    setpgrp;
+    setpriority;
+    setregid;
+    setresgid;
+    setresuid;
+    setreuid;
+    setrlimit;
+    setservent;
+    setsid;
+    setsockopt;
+    settimeofday;
+    setuid;
+    setutent;
+    setvbuf;
+    shutdown;
+    sigaction;
+    sigaltstack;
+    sigblock;
+    siginterrupt;
+    siglongjmp;
+    sigpending;
+    sigprocmask;
+    sigsetjmp;
+    sigsetmask;
+    sigsuspend;
+    sigwait;
+    sleep;
+    snprintf;
+    socket;
+    socketpair;
+    sprintf;
+    srand48;
+    sscanf;
+    stat;
+    statfs;
+    strcasecmp;
+    strcasestr;
+    strcat;
+    strchr;
+    strcmp;
+    strcoll;
+    strcpy;
+    strcspn;
+    strdup;
+    strerror;
+    strerror_r;
+    strftime;
+    strlcat;
+    strlcpy;
+    strlen;
+    strncasecmp;
+    strncat;
+    strncmp;
+    strncpy;
+    strndup;
+    strnlen;
+    strpbrk;
+    strptime;
+    strrchr;
+    strsep;
+    strsignal;
+    strspn;
+    strstr;
+    strtod;
+    strtoimax;
+    strtok;
+    strtok_r;
+    strtol;
+    strtoll;
+    strtoul;
+    strtoull;
+    strtoumax;
+    strxfrm;
+    swprintf;
+    swscanf;
+    symlink;
+    sync;
+    sys_siglist;
+    sys_signame;
+    syscall;
+    sysconf;
+    sysinfo;
+    syslog;
+    system;
+    tcgetpgrp;
+    tcsetpgrp;
+    tempnam;
+    time;
+    timegm64; # arm x86 mips
+    timelocal64; # arm x86 mips
+    timer_create;
+    timer_delete;
+    timer_getoverrun;
+    timer_gettime;
+    timer_settime;
+    times;
+    timezone;
+    tmpfile;
+    tmpnam;
+    toascii;
+    tolower;
+    toupper;
+    towlower;
+    towupper;
+    truncate;
+    ttyname;
+    ttyname_r;
+    tzname;
+    tzset;
+    umask;
+    umount;
+    umount2;
+    uname;
+    ungetc;
+    ungetwc;
+    unlink;
+    unlinkat;
+    unlockpt;
+    unsetenv;
+    usleep;
+    utime;
+    utimensat;
+    utimes;
+    utmpname;
+    valloc; # arm x86 mips
+    vasprintf;
+    verr;
+    verrx;
+    vfork;
+    vfprintf;
+    vfscanf;
+    vfwprintf;
+    vprintf;
+    vscanf;
+    vsnprintf;
+    vsprintf;
+    vsscanf;
+    vswprintf;
+    vsyslog;
+    vwarn;
+    vwarnx;
+    vwprintf;
+    wait;
+    waitid;
+    waitpid;
+    warn;
+    warnx;
+    wcpcpy;
+    wcpncpy;
+    wcrtomb;
+    wcscasecmp;
+    wcscat;
+    wcschr;
+    wcscmp;
+    wcscoll;
+    wcscpy;
+    wcscspn;
+    wcsdup;
+    wcsftime;
+    wcslcat;
+    wcslcpy;
+    wcslen;
+    wcsncasecmp;
+    wcsncat;
+    wcsncmp;
+    wcsncpy;
+    wcsnlen;
+    wcspbrk;
+    wcsrchr;
+    wcsrtombs;
+    wcsspn;
+    wcsstr;
+    wcstod;
+    wcstok;
+    wcstol;
+    wcstombs;
+    wcstoul;
+    wcswidth;
+    wcsxfrm;
+    wctob;
+    wctype;
+    wcwidth;
+    wmemchr;
+    wmemcmp;
+    wmemcpy;
+    wmemmove;
+    wmemset;
+    wprintf;
+    write;
+    writev;
+    wscanf;
+};
diff --git a/ndk/platforms/android-18/arch-x86/symbols/libm.so.versions.txt b/ndk/platforms/android-18/arch-x86/symbols/libm.so.versions.txt
new file mode 100644
index 0000000..fe88dbd
--- /dev/null
+++ b/ndk/platforms/android-18/arch-x86/symbols/libm.so.versions.txt
@@ -0,0 +1,184 @@
+# Generated by genversionscripts.py. Do not edit.
+LIBC {
+  global:
+    __fe_dfl_env;
+    __signbit;
+    __signbitf;
+    __signbitl;
+    acos;
+    acosf;
+    acosh;
+    acoshf;
+    asin;
+    asinf;
+    asinh;
+    asinhf;
+    atan;
+    atan2;
+    atan2f;
+    atanf;
+    atanh;
+    atanhf;
+    cbrt;
+    cbrtf;
+    ceil;
+    ceilf;
+    ceill;
+    copysign;
+    copysignf;
+    copysignl;
+    cos;
+    cosf;
+    cosh;
+    coshf;
+    drem;
+    dremf;
+    erf;
+    erfc;
+    erfcf;
+    erff;
+    exp;
+    exp2;
+    exp2f;
+    expf;
+    expm1;
+    expm1f;
+    fabs;
+    fabsf;
+    fabsl;
+    fdim;
+    fdimf;
+    fdiml;
+    feclearexcept;
+    fedisableexcept;
+    feenableexcept;
+    fegetenv;
+    fegetexcept;
+    fegetexceptflag;
+    fegetround;
+    feholdexcept;
+    feraiseexcept;
+    fesetenv;
+    fesetexceptflag;
+    fesetround;
+    fetestexcept;
+    feupdateenv;
+    finite;
+    finitef;
+    floor;
+    floorf;
+    floorl;
+    fma;
+    fmaf;
+    fmax;
+    fmaxf;
+    fmaxl;
+    fmin;
+    fminf;
+    fminl;
+    fmod;
+    fmodf;
+    frexp;
+    frexpf;
+    gamma;
+    gamma_r;
+    gammaf;
+    gammaf_r;
+    hypot;
+    hypotf;
+    ilogb;
+    ilogbf;
+    ilogbl;
+    j0;
+    j0f;
+    j1;
+    j1f;
+    jn;
+    jnf;
+    ldexpf;
+    ldexpl;
+    lgamma;
+    lgamma_r;
+    lgammaf;
+    lgammaf_r;
+    llrint;
+    llrintf;
+    llround;
+    llroundf;
+    llroundl;
+    log;
+    log10;
+    log10f;
+    log1p;
+    log1pf;
+    log2;
+    log2f;
+    log2l;
+    logb;
+    logbf;
+    logbl;
+    logf;
+    lrint;
+    lrintf;
+    lround;
+    lroundf;
+    lroundl;
+    modf;
+    modff;
+    nan;
+    nanf;
+    nanl;
+    nearbyint;
+    nearbyintf;
+    nextafter;
+    nextafterf;
+    nexttoward;
+    nexttowardf;
+    nexttowardl;
+    pow;
+    powf;
+    remainder;
+    remainderf;
+    remquo;
+    remquof;
+    rint;
+    rintf;
+    round;
+    roundf;
+    roundl;
+    scalb;
+    scalbf;
+    scalbln;
+    scalblnf;
+    scalblnl;
+    scalbn;
+    scalbnf;
+    scalbnl;
+    signgam;
+    significand;
+    significandf;
+    sin;
+    sincos;
+    sincosf;
+    sincosl;
+    sinf;
+    sinh;
+    sinhf;
+    sqrt;
+    sqrtf;
+    tan;
+    tanf;
+    tanh;
+    tanhf;
+    tgamma;
+    tgammaf;
+    trunc;
+    truncf;
+    truncl;
+    y0;
+    y0f;
+    y1;
+    y1f;
+    yn;
+    ynf;
+};