[PATCH] aarch64: add list files of exported symbols

14 views
Skip to first unread message

Waldemar Kozaczuk

unread,
Dec 6, 2021, 2:25:36 PM12/6/21
to osv...@googlegroups.com, Waldemar Kozaczuk
This patch adds files with lists of symbols to be exported
by kernel. The files have been generated on Ubuntu 20.10 using
the scripts/extract_symbols.sh.

These files will be fed to the process to generate version script.

Signed-off-by: Waldemar Kozaczuk <jwkoz...@gmail.com>
---
.../aarch64/osv_ld-linux-aarch64.so.1.symbols | 3 +
.../aarch64/osv_ld-musl-aarch64.so.1.symbols | 1215 +++++++++++++++++
.../aarch64/osv_libaio.so.1.symbols | 5 +
.../aarch64/osv_libc.so.6.symbols | 1049 ++++++++++++++
.../aarch64/osv_libcrypt.so.1.symbols | 4 +
.../aarch64/osv_libdl.so.2.symbols | 6 +
.../aarch64/osv_libm.so.6.symbols | 226 +++
.../aarch64/osv_libpthread.so.0.symbols | 111 ++
.../aarch64/osv_libresolv.so.2.symbols | 0
.../aarch64/osv_librt.so.1.symbols | 0
.../aarch64/osv_libutil.so.symbols | 2 +
.../aarch64/osv_libxenstore.so.3.0.symbols | 0
12 files changed, 2621 insertions(+)
create mode 100644 exported_symbols/aarch64/osv_ld-linux-aarch64.so.1.symbols
create mode 100644 exported_symbols/aarch64/osv_ld-musl-aarch64.so.1.symbols
create mode 100644 exported_symbols/aarch64/osv_libaio.so.1.symbols
create mode 100644 exported_symbols/aarch64/osv_libc.so.6.symbols
create mode 100644 exported_symbols/aarch64/osv_libcrypt.so.1.symbols
create mode 100644 exported_symbols/aarch64/osv_libdl.so.2.symbols
create mode 100644 exported_symbols/aarch64/osv_libm.so.6.symbols
create mode 100644 exported_symbols/aarch64/osv_libpthread.so.0.symbols
create mode 100644 exported_symbols/aarch64/osv_libresolv.so.2.symbols
create mode 100644 exported_symbols/aarch64/osv_librt.so.1.symbols
create mode 100644 exported_symbols/aarch64/osv_libutil.so.symbols
create mode 100644 exported_symbols/aarch64/osv_libxenstore.so.3.0.symbols

diff --git a/exported_symbols/aarch64/osv_ld-linux-aarch64.so.1.symbols b/exported_symbols/aarch64/osv_ld-linux-aarch64.so.1.symbols
new file mode 100644
index 00000000..a5b519fc
--- /dev/null
+++ b/exported_symbols/aarch64/osv_ld-linux-aarch64.so.1.symbols
@@ -0,0 +1,3 @@
+__libc_stack_end
+__stack_chk_guard
+__tls_get_addr
diff --git a/exported_symbols/aarch64/osv_ld-musl-aarch64.so.1.symbols b/exported_symbols/aarch64/osv_ld-musl-aarch64.so.1.symbols
new file mode 100644
index 00000000..c463131a
--- /dev/null
+++ b/exported_symbols/aarch64/osv_ld-musl-aarch64.so.1.symbols
@@ -0,0 +1,1215 @@
+_Exit
+_IO_getc
+_IO_putc
+__assert_fail
+__ctype_b_loc
+__ctype_get_mb_cur_max
+__ctype_tolower_loc
+__ctype_toupper_loc
+__cxa_atexit
+__daylight
+__duplocale
+__environ
+__errno_location
+__fbufsize
+__flbf
+__fpclassify
+__fpclassifyf
+__fpclassifyl
+__fpending
+__fpurge
+__freadable
+__freading
+__freelocale
+__fsetlocking
+__fwritable
+__fwriting
+__fxstat
+__fxstat64
+__fxstatat
+__fxstatat64
+__getdelim
+__h_errno_location
+__isalnum_l
+__isalpha_l
+__isblank_l
+__iscntrl_l
+__isdigit_l
+__isgraph_l
+__islower_l
+__isoc99_fscanf
+__isoc99_fwscanf
+__isoc99_scanf
+__isoc99_sscanf
+__isoc99_swscanf
+__isoc99_vfscanf
+__isoc99_vfwscanf
+__isoc99_vscanf
+__isoc99_vsscanf
+__isoc99_vswscanf
+__isoc99_vwscanf
+__isoc99_wscanf
+__isprint_l
+__ispunct_l
+__isspace_l
+__isupper_l
+__iswalnum_l
+__iswalpha_l
+__iswblank_l
+__iswcntrl_l
+__iswctype_l
+__iswdigit_l
+__iswgraph_l
+__iswlower_l
+__iswprint_l
+__iswpunct_l
+__iswspace_l
+__iswupper_l
+__iswxdigit_l
+__isxdigit_l
+__libc_current_sigrtmax
+__libc_current_sigrtmin
+__libc_start_main
+__lxstat
+__lxstat64
+__newlocale
+__nl_langinfo_l
+__overflow
+__posix_getopt
+__progname
+__progname_full
+__sched_cpucount
+__signbit
+__signbitf
+__signbitl
+__signgam
+__sigsetjmp
+__stack_chk_fail
+__stack_chk_guard
+__strcasecmp_l
+__strcoll_l
+__strncasecmp_l
+__strtod_l
+__strtof_l
+__strtol_internal
+__strtold_l
+__strtoll_internal
+__strtoul_internal
+__strtoull_internal
+__strxfrm_l
+__sysv_signal
+__timezone
+__tls_get_addr
+__tolower_l
+__toupper_l
+__towctrans_l
+__towlower_l
+__towupper_l
+__tzname
+__uflow
+__uselocale
+__wcscoll_l
+__wcsftime_l
+__wcsxfrm_l
+__wctrans_l
+__wctype_l
+__xmknod
+__xpg_basename
+__xpg_strerror_r
+__xstat
+__xstat64
+_environ
+_exit
+_flushlbf
+_longjmp
+_pthread_cleanup_pop
+_pthread_cleanup_push
+_setjmp
+a64l
+abort
+abs
+accept
+accept4
+access
+acos
+acosf
+acosh
+acoshf
+acoshl
+acosl
+addmntent
+alarm
+aligned_alloc
+alphasort
+alphasort64
+asctime
+asctime_r
+asin
+asinf
+asinh
+asinhf
+asinhl
+asinl
+asprintf
+atan
+atan2
+atan2f
+atan2l
+atanf
+atanh
+atanhf
+atanhl
+atanl
+atof
+atoi
+atol
+atoll
+basename
+bcmp
+bcopy
+bind
+bind_textdomain_codeset
+bindtextdomain
+brk
+bsearch
+btowc
+bzero
+calloc
+catclose
+catgets
+catopen
+cbrt
+cbrtf
+cbrtl
+ceil
+ceilf
+ceill
+cfgetispeed
+cfgetospeed
+cfmakeraw
+cfsetispeed
+cfsetospeed
+cfsetspeed
+chdir
+chmod
+chown
+chroot
+clearenv
+clearerr
+clearerr_unlocked
+clock
+clock_getcpuclockid
+clock_getres
+clock_gettime
+close
+closedir
+closelog
+confstr
+connect
+copysign
+copysignf
+copysignl
+cos
+cosf
+cosh
+coshf
+coshl
+cosl
+creat
+creat64
+crypt
+crypt_r
+ctermid
+ctime
+ctime_r
+cuserid
+daemon
+daylight
+dcgettext
+dcngettext
+dgettext
+difftime
+dirfd
+dirname
+div
+dl_iterate_phdr
+dladdr
+dlclose
+dlerror
+dlopen
+dlsym
+dngettext
+dprintf
+drand48
+drem
+dremf
+dup
+dup2
+dup3
+duplocale
+eaccess
+ecvt
+encrypt
+endgrent
+endmntent
+endprotoent
+endpwent
+environ
+epoll_create
+epoll_create1
+epoll_ctl
+epoll_pwait
+epoll_wait
+erand48
+erf
+erfc
+erfcf
+erfcl
+erff
+erfl
+euidaccess
+eventfd
+eventfd_read
+eventfd_write
+execl
+execle
+execv
+execve
+execvp
+exit
+exp
+exp10
+exp10f
+exp10l
+exp2
+exp2f
+exp2l
+expf
+expl
+explicit_bzero
+expm1
+expm1f
+expm1l
+fabs
+fabsf
+fabsl
+faccessat
+fallocate
+fallocate64
+fchdir
+fchmod
+fchmodat
+fchown
+fclose
+fcntl
+fcvt
+fdatasync
+fdim
+fdimf
+fdiml
+fdopen
+fdopendir
+feclearexcept
+fegetenv
+fegetexceptflag
+fegetround
+feholdexcept
+feof
+feof_unlocked
+feraiseexcept
+ferror
+ferror_unlocked
+fesetenv
+fesetexceptflag
+fesetround
+fetestexcept
+fflush
+fflush_unlocked
+ffs
+ffsl
+ffsll
+fgetc
+fgetc_unlocked
+fgetpos
+fgetpos64
+fgets
+fgets_unlocked
+fgetwc
+fgetwc_unlocked
+fgetws
+fgetws_unlocked
+fileno
+fileno_unlocked
+finite
+finitef
+flock
+flockfile
+floor
+floorf
+floorl
+fmax
+fmaxf
+fmaxl
+fmemopen
+fmin
+fminf
+fminl
+fmod
+fmodf
+fmodl
+fnmatch
+fopen
+fopen64
+fork
+forkpty
+fpathconf
+fprintf
+fputc
+fputc_unlocked
+fputs
+fputs_unlocked
+fputwc
+fputwc_unlocked
+fputws
+fputws_unlocked
+fread
+fread_unlocked
+free
+freeaddrinfo
+freeifaddrs
+freelocale
+freopen
+freopen64
+frexp
+frexpf
+frexpl
+fscanf
+fseek
+fseeko
+fseeko64
+fsetpos
+fsetpos64
+fstatfs
+fstatfs64
+fstatvfs
+fstatvfs64
+fsync
+ftell
+ftello
+ftello64
+ftime
+ftruncate
+ftruncate64
+ftrylockfile
+funlockfile
+futimens
+futimes
+futimesat
+fwide
+fwprintf
+fwrite
+fwrite_unlocked
+fwscanf
+gai_strerror
+gcvt
+get_current_dir_name
+get_nprocs
+getaddrinfo
+getauxval
+getc
+getc_unlocked
+getchar
+getchar_unlocked
+getcwd
+getdate
+getdate_err
+getdelim
+getdtablesize
+getegid
+getenv
+geteuid
+getgid
+getgrent
+getgrgid
+getgrgid_r
+getgrnam
+getgrnam_r
+getgroups
+gethostbyaddr
+gethostbyaddr_r
+gethostbyname
+gethostbyname2_r
+gethostbyname_r
+gethostid
+gethostname
+getifaddrs
+getitimer
+getline
+getloadavg
+getlogin
+getlogin_r
+getmntent
+getmntent_r
+getnameinfo
+getopt
+getopt_long
+getopt_long_only
+getpagesize
+getpeername
+getpgid
+getpgrp
+getpid
+getppid
+getpriority
+getprotobyname
+getprotobynumber
+getprotoent
+getpwent
+getpwnam
+getpwnam_r
+getpwuid
+getpwuid_r
+getrandom
+getresgid
+getresuid
+getrlimit
+getrlimit64
+getrusage
+gets
+getservbyname
+getservbyname_r
+getservbyport
+getservbyport_r
+getsid
+getsockname
+getsockopt
+getsubopt
+gettext
+gettimeofday
+getuid
+getw
+getwc
+getwc_unlocked
+getwchar
+getwchar_unlocked
+glob
+glob64
+globfree
+globfree64
+gmtime
+gmtime_r
+hasmntopt
+htonl
+htons
+hypot
+hypotf
+hypotl
+iconv
+iconv_close
+iconv_open
+if_freenameindex
+if_indextoname
+if_nameindex
+if_nametoindex
+ilogb
+ilogbf
+ilogbl
+imaxabs
+imaxdiv
+in6addr_any
+in6addr_loopback
+index
+inet_addr
+inet_aton
+inet_ntoa
+inet_ntop
+inet_pton
+initgroups
+initstate
+inotify_add_watch
+inotify_init
+inotify_init1
+inotify_rm_watch
+ioctl
+isalnum
+isalnum_l
+isalpha
+isalpha_l
+isascii
+isatty
+isblank
+isblank_l
+iscntrl
+iscntrl_l
+isdigit
+isdigit_l
+isgraph
+isgraph_l
+islower
+islower_l
+isprint
+isprint_l
+ispunct
+ispunct_l
+isspace
+isspace_l
+isupper
+isupper_l
+iswalnum
+iswalnum_l
+iswalpha
+iswalpha_l
+iswblank
+iswblank_l
+iswcntrl
+iswcntrl_l
+iswctype
+iswctype_l
+iswdigit
+iswdigit_l
+iswgraph
+iswgraph_l
+iswlower
+iswlower_l
+iswprint
+iswprint_l
+iswpunct
+iswpunct_l
+iswspace
+iswspace_l
+iswupper
+iswupper_l
+iswxdigit
+iswxdigit_l
+isxdigit
+isxdigit_l
+j0
+j0f
+j1
+j1f
+jn
+jnf
+jrand48
+kill
+killpg
+l64a
+labs
+lchown
+lcong48
+ldexp
+ldexpf
+ldexpl
+ldiv
+lgamma
+lgamma_r
+lgammaf
+lgammaf_r
+lgammal
+lgammal_r
+link
+listen
+llabs
+lldiv
+llround
+llroundf
+llroundl
+localeconv
+localtime
+localtime_r
+lockf
+lockf64
+log
+log10
+log10f
+log10l
+log1p
+log1pf
+log1pl
+log2
+log2f
+log2l
+logb
+logbf
+logbl
+logf
+logl
+longjmp
+lrand48
+lrint
+lround
+lroundf
+lroundl
+lseek
+lseek64
+lutimes
+madvise
+malloc
+malloc_usable_size
+mblen
+mbrlen
+mbrtowc
+mbsinit
+mbsnrtowcs
+mbsrtowcs
+mbstowcs
+mbtowc
+memalign
+memccpy
+memchr
+memcmp
+memcpy
+memmem
+memmove
+mempcpy
+memrchr
+memset
+mincore
+mkdir
+mkdirat
+mkdtemp
+mkfifo
+mkfifoat
+mkostemp
+mkostemp64
+mkostemps
+mkostemps64
+mkstemp
+mkstemp64
+mktemp
+mktime
+mlock
+mlockall
+mmap
+mmap64
+modf
+modff
+modfl
+mount
+mprotect
+mrand48
+msync
+munlock
+munlockall
+munmap
+nan
+nanf
+nanl
+nanosleep
+nearbyint
+nearbyintf
+nearbyintl
+newlocale
+nextafter
+nextafterf
+nextafterl
+nexttoward
+nexttowardf
+nexttowardl
+nftw
+nftw64
+ngettext
+nice
+nl_langinfo
+nl_langinfo_l
+nrand48
+ntohl
+ntohs
+open
+open64
+open_memstream
+open_wmemstream
+openat
+openat64
+opendir
+openlog
+openpty
+optarg
+opterr
+optind
+optopt
+pathconf
+pause
+pclose
+perror
+pipe
+pipe2
+poll
+popen
+posix_fadvise
+posix_fadvise64
+posix_fallocate
+posix_fallocate64
+posix_memalign
+pow
+pow10
+pow10f
+pow10l
+powf
+powl
+ppoll
+prctl
+pread
+pread64
+preadv
+preadv64
+printf
+program_invocation_name
+program_invocation_short_name
+pselect
+pthread_attr_destroy
+pthread_attr_getdetachstate
+pthread_attr_getguardsize
+pthread_attr_getscope
+pthread_attr_getstack
+pthread_attr_getstacksize
+pthread_attr_init
+pthread_attr_setdetachstate
+pthread_attr_setguardsize
+pthread_attr_setinheritsched
+pthread_attr_setscope
+pthread_attr_setstack
+pthread_attr_setstacksize
+pthread_barrier_destroy
+pthread_barrier_init
+pthread_barrier_wait
+pthread_cancel
+pthread_cond_broadcast
+pthread_cond_destroy
+pthread_cond_init
+pthread_cond_signal
+pthread_cond_timedwait
+pthread_cond_wait
+pthread_condattr_destroy
+pthread_condattr_getclock
+pthread_condattr_getpshared
+pthread_condattr_init
+pthread_condattr_setclock
+pthread_condattr_setpshared
+pthread_create
+pthread_detach
+pthread_equal
+pthread_exit
+pthread_getaffinity_np
+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_timedlock
+pthread_mutex_trylock
+pthread_mutex_unlock
+pthread_mutexattr_destroy
+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_tryrdlock
+pthread_rwlock_trywrlock
+pthread_rwlock_unlock
+pthread_rwlock_wrlock
+pthread_rwlockattr_destroy
+pthread_rwlockattr_init
+pthread_self
+pthread_setaffinity_np
+pthread_setcancelstate
+pthread_setcanceltype
+pthread_setname_np
+pthread_setschedparam
+pthread_setspecific
+pthread_sigmask
+pthread_spin_destroy
+pthread_spin_init
+pthread_spin_lock
+pthread_spin_trylock
+pthread_spin_unlock
+pthread_testcancel
+putc
+putc_unlocked
+putchar
+putchar_unlocked
+putenv
+puts
+putw
+putwc
+putwc_unlocked
+putwchar
+putwchar_unlocked
+pwrite
+pwrite64
+pwritev
+pwritev64
+qsort
+raise
+rand
+rand_r
+random
+read
+readdir
+readdir64
+readdir64_r
+readdir_r
+readlink
+readlinkat
+readv
+realloc
+realpath
+reboot
+recv
+recvfrom
+recvmsg
+regcomp
+regerror
+regexec
+regfree
+remainder
+remainderf
+remainderl
+remove
+remquo
+remquof
+remquol
+rename
+rewind
+rewinddir
+rindex
+rint
+rintf
+rintl
+rmdir
+round
+roundf
+roundl
+sbrk
+scalb
+scalbf
+scalbln
+scalblnf
+scalblnl
+scalbn
+scalbnf
+scalbnl
+scandir
+scandir64
+scanf
+sched_get_priority_max
+sched_get_priority_min
+sched_getaffinity
+sched_getcpu
+sched_setaffinity
+sched_yield
+secure_getenv
+seed48
+seekdir
+select
+sem_destroy
+sem_init
+sem_post
+sem_timedwait
+sem_trywait
+sem_wait
+send
+sendfile
+sendfile64
+sendmsg
+sendto
+setbuf
+setbuffer
+setegid
+setenv
+seteuid
+setgid
+setgrent
+setgroups
+sethostname
+setitimer
+setjmp
+setkey
+setlinebuf
+setlocale
+setmntent
+setpgid
+setpgrp
+setpriority
+setprotoent
+setpwent
+setregid
+setresgid
+setresuid
+setreuid
+setrlimit
+setrlimit64
+setsid
+setsockopt
+setstate
+setuid
+setvbuf
+shmat
+shmctl
+shmdt
+shmget
+shutdown
+sigaction
+sigaddset
+sigaltstack
+sigdelset
+sigemptyset
+sigfillset
+sigignore
+siginterrupt
+sigismember
+siglongjmp
+signal
+signalfd
+signgam
+significand
+significandf
+sigprocmask
+sigsetjmp
+sigsuspend
+sigwait
+sigwaitinfo
+sin
+sincos
+sincosf
+sinf
+sinh
+sinhf
+sinhl
+sinl
+sleep
+snprintf
+socket
+socketpair
+sprintf
+sqrt
+sqrtf
+sqrtl
+srand
+srand48
+srandom
+sscanf
+statfs
+statfs64
+statvfs
+statvfs64
+stderr
+stdin
+stdout
+stpcpy
+stpncpy
+strcasecmp
+strcasecmp_l
+strcasestr
+strcat
+strchr
+strchrnul
+strcmp
+strcoll
+strcoll_l
+strcpy
+strcspn
+strdup
+strerror
+strerror_l
+strerror_r
+strfmon
+strfmon_l
+strftime
+strftime_l
+strlen
+strncasecmp
+strncasecmp_l
+strncat
+strncmp
+strncpy
+strndup
+strnlen
+strpbrk
+strptime
+strrchr
+strsep
+strsignal
+strspn
+strstr
+strtod
+strtod_l
+strtof
+strtof_l
+strtoimax
+strtok
+strtok_r
+strtol
+strtold
+strtold_l
+strtoll
+strtoul
+strtoull
+strtoumax
+strverscmp
+strxfrm
+strxfrm_l
+swab
+swprintf
+swscanf
+symlink
+sync
+syscall
+sysconf
+sysinfo
+system
+tan
+tanf
+tanh
+tanhf
+tanhl
+tanl
+tcdrain
+tcflow
+tcflush
+tcgetattr
+tcgetpgrp
+tcsendbreak
+tcsetattr
+tcsetpgrp
+telldir
+tempnam
+textdomain
+tgamma
+tgammaf
+tgammal
+time
+timegm
+timerfd_create
+timerfd_gettime
+timerfd_settime
+times
+timezone
+tmpfile
+tmpfile64
+tmpnam
+toascii
+tolower
+tolower_l
+toupper
+toupper_l
+towctrans
+towctrans_l
+towlower
+towlower_l
+towupper
+towupper_l
+trunc
+truncate
+truncate64
+truncf
+truncl
+ttyname
+ttyname_r
+tzname
+tzset
+umask
+umount
+umount2
+uname
+ungetc
+ungetwc
+unlink
+unlinkat
+unsetenv
+uselocale
+usleep
+utime
+utimensat
+utimes
+vasprintf
+vdprintf
+vfork
+vfprintf
+vfscanf
+vfwprintf
+vfwscanf
+vprintf
+vscanf
+vsnprintf
+vsprintf
+vsscanf
+vswprintf
+vswscanf
+vwprintf
+vwscanf
+wait
+wait3
+wait4
+waitpid
+wcpcpy
+wcpncpy
+wcrtomb
+wcscasecmp
+wcscasecmp_l
+wcscat
+wcschr
+wcscmp
+wcscoll
+wcscoll_l
+wcscpy
+wcscspn
+wcsdup
+wcsftime
+wcsftime_l
+wcslen
+wcsncasecmp
+wcsncasecmp_l
+wcsncat
+wcsncmp
+wcsncpy
+wcsnlen
+wcsnrtombs
+wcspbrk
+wcsrchr
+wcsrtombs
+wcsspn
+wcsstr
+wcstoimax
+wcstok
+wcstol
+wcstoll
+wcstombs
+wcstoul
+wcstoull
+wcstoumax
+wcswcs
+wcswidth
+wcsxfrm
+wcsxfrm_l
+wctob
+wctomb
+wctrans
+wctrans_l
+wctype
+wctype_l
+wcwidth
+wmemchr
+wmemcmp
+wmemcpy
+wmemmove
+wmemset
+wprintf
+write
+writev
+wscanf
+y0
+y0f
+y1
+y1f
+yn
+ynf
diff --git a/exported_symbols/aarch64/osv_libaio.so.1.symbols b/exported_symbols/aarch64/osv_libaio.so.1.symbols
new file mode 100644
index 00000000..2b684e1d
--- /dev/null
+++ b/exported_symbols/aarch64/osv_libaio.so.1.symbols
@@ -0,0 +1,5 @@
+io_cancel
+io_destroy
+io_getevents
+io_setup
+io_submit
diff --git a/exported_symbols/aarch64/osv_libc.so.6.symbols b/exported_symbols/aarch64/osv_libc.so.6.symbols
new file mode 100644
index 00000000..000191b7
--- /dev/null
+++ b/exported_symbols/aarch64/osv_libc.so.6.symbols
@@ -0,0 +1,1049 @@
+_Exit
+_IO_getc
+_IO_putc
+__after_morecore_hook
+__asprintf_chk
+__assert_fail
+__ctype_b_loc
+__ctype_get_mb_cur_max
+__ctype_tolower_loc
+__ctype_toupper_loc
+__cxa_atexit
+__cxa_thread_atexit_impl
+__cyg_profile_func_enter
+__cyg_profile_func_exit
+__daylight
+__duplocale
+__environ
+__errno_location
+__explicit_bzero_chk
+__fbufsize
+__fdelt_chk
+__finite
+__finitef
+__finitel
+__flbf
+__fpending
+__fprintf_chk
+__fpurge
+__fread_chk
+__freadable
+__freading
+__free_hook
+__freelocale
+__fsetlocking
+__fwritable
+__fwriting
+__fxstat
+__fxstat64
+__fxstatat
+__fxstatat64
+__getauxval
+__getdelim
+__getpagesize
+__gmtime_r
+__h_errno_location
+__isalnum_l
+__isalpha_l
+__isblank_l
+__iscntrl_l
+__isdigit_l
+__isgraph_l
+__isinf
+__isinff
+__isinfl
+__islower_l
+__isnan
+__isnanf
+__isnanl
+__isoc99_fscanf
+__isoc99_fwscanf
+__isoc99_scanf
+__isoc99_sscanf
+__isoc99_swscanf
+__isoc99_vfscanf
+__isoc99_vfwscanf
+__isoc99_vscanf
+__isoc99_vsscanf
+__isoc99_vswscanf
+__isoc99_vwscanf
+__isoc99_wscanf
+__isprint_l
+__ispunct_l
+__isspace_l
+__isupper_l
+__iswalnum_l
+__iswalpha_l
+__iswblank_l
+__iswcntrl_l
+__iswctype_l
+__iswdigit_l
+__iswgraph_l
+__iswlower_l
+__iswprint_l
+__iswpunct_l
+__iswspace_l
+__iswupper_l
+__iswxdigit_l
+__isxdigit_l
+__libc_current_sigrtmax
+__libc_current_sigrtmin
+__libc_single_threaded
+__libc_start_main
+__longjmp_chk
+__lxstat
+__lxstat64
+__malloc_hook
+__mbrlen
+__memalign_hook
+__memcpy_chk
+__memmove_chk
+__memset_chk
+__newlocale
+__nl_langinfo_l
+__open64_2
+__open_2
+__overflow
+__poll_chk
+__posix_getopt
+__pread64_chk
+__printf_chk
+__progname
+__progname_full
+__rawmemchr
+__read_chk
+__realloc_hook
+__realpath_chk
+__register_atfork
+__res_init
+__sched_cpualloc
+__sched_cpucount
+__sched_cpufree
+__signbit
+__signbitf
+__signbitl
+__sigsetjmp
+__snprintf_chk
+__sprintf_chk
+__stack_chk_fail
+__statfs
+__stpcpy
+__stpcpy_chk
+__stpncpy
+__strcasecmp_l
+__strcat_chk
+__strcoll_l
+__strcpy_chk
+__strdup
+__strftime_l
+__strncasecmp_l
+__strncat_chk
+__strncpy_chk
+__strndup
+__strtod_l
+__strtof_l
+__strtok_r
+__strtol_internal
+__strtold_l
+__strtoll_internal
+__strtoul_internal
+__strtoull_internal
+__strxfrm_l
+__swprintf_chk
+__syslog_chk
+__sysv_signal
+__timezone
+__tolower_l
+__toupper_l
+__towctrans_l
+__towlower_l
+__towupper_l
+__tzname
+__uflow
+__uselocale
+__vasprintf_chk
+__vfprintf_chk
+__vprintf_chk
+__vsnprintf_chk
+__vsprintf_chk
+__wcscoll_l
+__wcscpy_chk
+__wcsftime_l
+__wcsxfrm_l
+__wctrans_l
+__wctype_l
+__xmknod
+__xpg_basename
+__xpg_strerror_r
+__xstat
+__xstat64
+_environ
+_exit
+_flushlbf
+_longjmp
+_setjmp
+a64l
+abort
+abs
+accept
+accept4
+access
+addmntent
+alarm
+aligned_alloc
+alphasort
+alphasort64
+asctime
+asctime_r
+asprintf
+atof
+atoi
+atol
+atoll
+backtrace
+backtrace_symbols
+backtrace_symbols_fd
+basename
+bcmp
+bcopy
+bind
+bind_textdomain_codeset
+bindtextdomain
+brk
+bsearch
+btowc
+bzero
+calloc
+catclose
+catgets
+catopen
+cfgetispeed
+cfgetospeed
+cfmakeraw
+cfsetispeed
+cfsetospeed
+cfsetspeed
+chdir
+chmod
+chown
+chroot
+clearenv
+clearerr
+clearerr_unlocked
+clock
+clock_getcpuclockid
+clock_getres
+clock_gettime
+close
+closedir
+closelog
+confstr
+connect
+copysign
+copysignf
+copysignl
+creat
+creat64
+ctermid
+ctime
+ctime_r
+cuserid
+daemon
+daylight
+dcgettext
+dcngettext
+dgettext
+difftime
+dirfd
+dirname
+div
+dl_iterate_phdr
+dngettext
+dprintf
+drand48
+dup
+dup2
+dup3
+duplocale
+eaccess
+ecvt
+endgrent
+endmntent
+endprotoent
+endpwent
+environ
+epoll_create
+epoll_create1
+epoll_ctl
+epoll_pwait
+epoll_wait
+erand48
+error
+euidaccess
+eventfd
+eventfd_read
+eventfd_write
+execl
+execle
+execv
+execve
+execvp
+exit
+explicit_bzero
+faccessat
+fallocate
+fallocate64
+fchdir
+fchmod
+fchmodat
+fchown
+fclose
+fcntl
+fcntl64
+fcvt
+fdatasync
+fdopen
+fdopendir
+feof
+feof_unlocked
+ferror
+ferror_unlocked
+fflush
+fflush_unlocked
+ffs
+ffsl
+ffsll
+fgetc
+fgetc_unlocked
+fgetpos
+fgetpos64
+fgets
+fgets_unlocked
+fgetwc
+fgetwc_unlocked
+fgetws
+fgetws_unlocked
+fileno
+fileno_unlocked
+finite
+finitef
+finitel
+flock
+flockfile
+fmemopen
+fnmatch
+fopen
+fopen64
+fork
+fpathconf
+fprintf
+fputc
+fputc_unlocked
+fputs
+fputs_unlocked
+fputwc
+fputwc_unlocked
+fputws
+fputws_unlocked
+fread
+fread_unlocked
+free
+freeaddrinfo
+freeifaddrs
+freelocale
+freopen
+freopen64
+frexp
+frexpf
+frexpl
+fscanf
+fseek
+fseeko
+fseeko64
+fsetpos
+fsetpos64
+fstatfs
+fstatfs64
+fstatvfs
+fstatvfs64
+fsync
+ftell
+ftello
+ftello64
+ftime
+ftruncate
+ftruncate64
+ftrylockfile
+funlockfile
+futimens
+futimes
+futimesat
+fwide
+fwprintf
+fwrite
+fwrite_unlocked
+fwscanf
+gai_strerror
+gcvt
+get_current_dir_name
+get_nprocs
+getaddrinfo
+getauxval
+getc
+getc_unlocked
+getchar
+getchar_unlocked
+getcwd
+getdate
+getdate_err
+getdelim
+getdtablesize
+getegid
+getenv
+geteuid
+getgid
+getgrent
+getgrgid
+getgrgid_r
+getgrnam
+getgrnam_r
+getgroups
+gethostbyaddr
+gethostbyaddr_r
+gethostbyname
+gethostbyname2_r
+gethostbyname_r
+gethostid
+gethostname
+getifaddrs
+getitimer
+getline
+getloadavg
+getlogin
+getlogin_r
+getmntent
+getmntent_r
+getnameinfo
+getopt
+getopt_long
+getopt_long_only
+getpagesize
+getpeername
+getpgid
+getpgrp
+getpid
+getppid
+getpriority
+getprotobyname
+getprotobynumber
+getprotoent
+getpwent
+getpwnam
+getpwnam_r
+getpwuid
+getpwuid_r
+getrandom
+getresgid
+getresuid
+getrlimit
+getrlimit64
+getrusage
+gets
+getservbyname
+getservbyname_r
+getservbyport
+getservbyport_r
+getsid
+getsockname
+getsockopt
+getsubopt
+gettext
+gettid
+gettimeofday
+getuid
+getw
+getwc
+getwc_unlocked
+getwchar
+getwchar_unlocked
+glob
+glob64
+globfree
+globfree64
+gmtime
+gmtime_r
+gnu_dev_major
+gnu_dev_makedev
+gnu_dev_minor
+gnu_get_libc_release
+gnu_get_libc_version
+hasmntopt
+htonl
+htons
+iconv
+iconv_close
+iconv_open
+if_freenameindex
+if_indextoname
+if_nameindex
+if_nametoindex
+imaxabs
+imaxdiv
+in6addr_any
+in6addr_loopback
+index
+inet_addr
+inet_aton
+inet_ntoa
+inet_ntop
+inet_pton
+initgroups
+initstate
+initstate_r
+inotify_add_watch
+inotify_init
+inotify_init1
+inotify_rm_watch
+ioctl
+isalnum
+isalnum_l
+isalpha
+isalpha_l
+isascii
+isatty
+isblank
+isblank_l
+iscntrl
+iscntrl_l
+isdigit
+isdigit_l
+isgraph
+isgraph_l
+islower
+islower_l
+isprint
+isprint_l
+ispunct
+ispunct_l
+isspace
+isspace_l
+isupper
+isupper_l
+iswalnum
+iswalnum_l
+iswalpha
+iswalpha_l
+iswblank
+iswblank_l
+iswcntrl
+iswcntrl_l
+iswctype
+iswctype_l
+iswdigit
+iswdigit_l
+iswgraph
+iswgraph_l
+iswlower
+iswlower_l
+iswprint
+iswprint_l
+iswpunct
+iswpunct_l
+iswspace
+iswspace_l
+iswupper
+iswupper_l
+iswxdigit
+iswxdigit_l
+isxdigit
+isxdigit_l
+jrand48
+kill
+killpg
+l64a
+labs
+lchown
+lcong48
+ldexp
+ldexpf
+ldexpl
+ldiv
+link
+listen
+llabs
+lldiv
+localeconv
+localtime
+localtime_r
+lockf
+lockf64
+longjmp
+lrand48
+lseek
+lseek64
+lutimes
+madvise
+malloc
+malloc_usable_size
+mallopt
+mblen
+mbrlen
+mbrtowc
+mbsinit
+mbsnrtowcs
+mbsrtowcs
+mbstowcs
+mbtowc
+memalign
+memccpy
+memchr
+memcmp
+memcpy
+memmem
+memmove
+mempcpy
+memrchr
+memset
+mincore
+mkdir
+mkdirat
+mkdtemp
+mkfifo
+mkfifoat
+mkostemp
+mkostemp64
+mkostemps
+mkostemps64
+mkstemp
+mkstemp64
+mktemp
+mktime
+mlock
+mlockall
+mmap
+mmap64
+modf
+modff
+modfl
+mount
+mprotect
+mrand48
+msync
+munlock
+munlockall
+munmap
+nanosleep
+newlocale
+nftw
+nftw64
+ngettext
+nice
+nl_langinfo
+nl_langinfo_l
+nrand48
+ntohl
+ntohs
+open
+open64
+open_memstream
+open_wmemstream
+openat
+openat64
+opendir
+openlog
+optarg
+opterr
+optind
+optopt
+pathconf
+pause
+pclose
+perror
+pipe
+pipe2
+poll
+popen
+posix_fadvise
+posix_fadvise64
+posix_fallocate
+posix_fallocate64
+posix_memalign
+ppoll
+prctl
+pread
+pread64
+preadv
+preadv64
+printf
+program_invocation_name
+program_invocation_short_name
+pselect
+pthread_attr_destroy
+pthread_attr_getdetachstate
+pthread_attr_getscope
+pthread_attr_init
+pthread_attr_setaffinity_np
+pthread_attr_setdetachstate
+pthread_attr_setinheritsched
+pthread_attr_setscope
+pthread_cond_broadcast
+pthread_cond_destroy
+pthread_cond_init
+pthread_cond_signal
+pthread_cond_timedwait
+pthread_cond_wait
+pthread_condattr_destroy
+pthread_condattr_init
+pthread_equal
+pthread_exit
+pthread_getaffinity_np
+pthread_getattr_np
+pthread_getschedparam
+pthread_mutex_destroy
+pthread_mutex_init
+pthread_mutex_lock
+pthread_mutex_unlock
+pthread_self
+pthread_setcancelstate
+pthread_setcanceltype
+pthread_setschedparam
+pthread_sigmask
+putc
+putc_unlocked
+putchar
+putchar_unlocked
+putenv
+puts
+putw
+putwc
+putwc_unlocked
+putwchar
+putwchar_unlocked
+pwrite
+pwrite64
+pwritev
+pwritev64
+qsort
+qsort_r
+raise
+rand
+rand_r
+random
+random_r
+rawmemchr
+read
+readdir
+readdir64
+readdir64_r
+readdir_r
+readlink
+readlinkat
+readv
+realloc
+reallocarray
+realpath
+reboot
+recv
+recvfrom
+recvmsg
+regcomp
+regerror
+regexec
+regfree
+register_printf_modifier
+register_printf_specifier
+register_printf_type
+remove
+rename
+rewind
+rewinddir
+rindex
+rmdir
+sbrk
+scalbn
+scalbnf
+scalbnl
+scandir
+scandir64
+scanf
+sched_get_priority_max
+sched_get_priority_min
+sched_getaffinity
+sched_getcpu
+sched_setaffinity
+sched_yield
+secure_getenv
+seed48
+seekdir
+select
+send
+sendfile
+sendfile64
+sendmsg
+sendto
+setbuf
+setbuffer
+setegid
+setenv
+seteuid
+setgid
+setgrent
+setgroups
+sethostid
+sethostname
+setitimer
+setjmp
+setlinebuf
+setlocale
+setmntent
+setpgid
+setpgrp
+setpriority
+setprotoent
+setpwent
+setregid
+setresgid
+setresuid
+setreuid
+setrlimit
+setrlimit64
+setsid
+setsockopt
+setstate
+setstate_r
+setuid
+setvbuf
+shmat
+shmctl
+shmdt
+shmget
+shutdown
+sigaction
+sigaddset
+sigaltstack
+sigdelset
+sigemptyset
+sigfillset
+sigignore
+siginterrupt
+sigismember
+siglongjmp
+signal
+signalfd
+sigprocmask
+sigsuspend
+sigwait
+sigwaitinfo
+sleep
+snprintf
+socket
+socketpair
+sprintf
+srand
+srand48
+srandom
+srandom_r
+sscanf
+statfs
+statfs64
+statvfs
+statvfs64
+statx
+stderr
+stdin
+stdout
+stpcpy
+stpncpy
+strcasecmp
+strcasecmp_l
+strcasestr
+strcat
+strchr
+strchrnul
+strcmp
+strcoll
+strcoll_l
+strcpy
+strcspn
+strdup
+strerror
+strerror_l
+strerror_r
+strerrordesc_np
+strfmon
+strfmon_l
+strftime
+strftime_l
+strlen
+strncasecmp
+strncasecmp_l
+strncat
+strncmp
+strncpy
+strndup
+strnlen
+strpbrk
+strptime
+strrchr
+strsep
+strsignal
+strspn
+strstr
+strtod
+strtod_l
+strtof
+strtof_l
+strtoimax
+strtok
+strtok_r
+strtol
+strtold
+strtold_l
+strtoll
+strtoul
+strtoull
+strtoumax
+strverscmp
+strxfrm
+strxfrm_l
+swab
+swprintf
+swscanf
+symlink
+sync
+sys_errlist
+sys_nerr
+syscall
+sysconf
+sysctl
+sysinfo
+system
+tcdrain
+tcflow
+tcflush
+tcgetattr
+tcgetpgrp
+tcsendbreak
+tcsetattr
+tcsetpgrp
+telldir
+tempnam
+textdomain
+time
+timegm
+timerfd_create
+timerfd_gettime
+timerfd_settime
+times
+timezone
+tmpfile
+tmpfile64
+tmpnam
+tmpnam_r
+toascii
+tolower
+tolower_l
+toupper
+toupper_l
+towctrans
+towctrans_l
+towlower
+towlower_l
+towupper
+towupper_l
+truncate
+truncate64
+ttyname
+ttyname_r
+tzname
+tzset
+umask
+umount
+umount2
+uname
+ungetc
+ungetwc
+unlink
+unlinkat
+unsetenv
+uselocale
+usleep
+utime
+utimensat
+utimes
+vasprintf
+vdprintf
+vfork
+vfprintf
+vfscanf
+vfwprintf
+vfwscanf
+vprintf
+vscanf
+vsnprintf
+vsprintf
+vsscanf
+vswprintf
+vswscanf
+vwprintf
+vwscanf
+wait
+wait3
+wait4
+waitpid
+wcpcpy
+wcpncpy
+wcrtomb
+wcscasecmp
+wcscasecmp_l
+wcscat
+wcschr
+wcscmp
+wcscoll
+wcscoll_l
+wcscpy
+wcscspn
+wcsdup
+wcsftime
+wcsftime_l
+wcslen
+wcsncasecmp
+wcsncasecmp_l
+wcsncat
+wcsncmp
+wcsncpy
+wcsnlen
+wcsnrtombs
+wcspbrk
+wcsrchr
+wcsrtombs
+wcsspn
+wcsstr
+wcstoimax
+wcstok
+wcstol
+wcstoll
+wcstombs
+wcstoul
+wcstoull
+wcstoumax
+wcswcs
+wcswidth
+wcsxfrm
+wcsxfrm_l
+wctob
+wctomb
+wctrans
+wctrans_l
+wctype
+wctype_l
+wcwidth
+wmemchr
+wmemcmp
+wmemcpy
+wmemmove
+wmemset
+wprintf
+write
+writev
+wscanf
diff --git a/exported_symbols/aarch64/osv_libcrypt.so.1.symbols b/exported_symbols/aarch64/osv_libcrypt.so.1.symbols
new file mode 100644
index 00000000..2b64be6e
--- /dev/null
+++ b/exported_symbols/aarch64/osv_libcrypt.so.1.symbols
@@ -0,0 +1,4 @@
+crypt
+crypt_r
+encrypt
+setkey
diff --git a/exported_symbols/aarch64/osv_libdl.so.2.symbols b/exported_symbols/aarch64/osv_libdl.so.2.symbols
new file mode 100644
index 00000000..bc19fc0d
--- /dev/null
+++ b/exported_symbols/aarch64/osv_libdl.so.2.symbols
@@ -0,0 +1,6 @@
+dladdr
+dlclose
+dlerror
+dlopen
+dlsym
+dlvsym
diff --git a/exported_symbols/aarch64/osv_libm.so.6.symbols b/exported_symbols/aarch64/osv_libm.so.6.symbols
new file mode 100644
index 00000000..b52230e4
--- /dev/null
+++ b/exported_symbols/aarch64/osv_libm.so.6.symbols
@@ -0,0 +1,226 @@
+__exp2_finite
+__exp_finite
+__finite
+__finitef
+__finitel
+__fpclassify
+__fpclassifyf
+__fpclassifyl
+__log10_finite
+__log2_finite
+__log2f_finite
+__log_finite
+__pow_finite
+__signbit
+__signbitf
+__signbitl
+__signgam
+acos
+acosf
+acosh
+acoshf
+acoshl
+acosl
+asin
+asinf
+asinh
+asinhf
+asinhl
+asinl
+atan
+atan2
+atan2f
+atan2l
+atanf
+atanh
+atanhf
+atanhl
+atanl
+cbrt
+cbrtf
+cbrtl
+ceil
+ceilf
+ceill
+copysign
+copysignf
+copysignl
+cos
+cosf
+cosh
+coshf
+coshl
+cosl
+drem
+dremf
+erf
+erfc
+erfcf
+erfcl
+erff
+erfl
+exp
+exp10
+exp10f
+exp10l
+exp2
+exp2f
+exp2l
+expf
+expl
+expm1
+expm1f
+expm1l
+fabs
+fabsf
+fabsl
+fdim
+fdimf
+fdiml
+feclearexcept
+fedisableexcept
+feenableexcept
+fegetenv
+fegetexcept
+fegetexceptflag
+fegetround
+feholdexcept
+feraiseexcept
+fesetenv
+fesetexceptflag
+fesetround
+fetestexcept
+finite
+finitef
+finitel
+floor
+floorf
+floorl
+fmax
+fmaxf
+fmaxl
+fmin
+fminf
+fminl
+fmod
+fmodf
+fmodl
+frexp
+frexpf
+frexpl
+hypot
+hypotf
+hypotl
+ilogb
+ilogbf
+ilogbl
+j0
+j0f
+j1
+j1f
+jn
+jnf
+ldexp
+ldexpf
+ldexpl
+lgamma
+lgamma_r
+lgammaf
+lgammaf_r
+lgammal
+lgammal_r
+llround
+llroundf
+llroundl
+log
+log10
+log10f
+log10l
+log1p
+log1pf
+log1pl
+log2
+log2f
+log2l
+logb
+logbf
+logbl
+logf
+logl
+lrint
+lround
+lroundf
+lroundl
+modf
+modff
+modfl
+nan
+nanf
+nanl
+nearbyint
+nearbyintf
+nearbyintl
+nextafter
+nextafterf
+nextafterl
+nexttoward
+nexttowardf
+nexttowardl
+pow
+pow10
+pow10f
+pow10l
+powf
+powl
+remainder
+remainderf
+remainderl
+remquo
+remquof
+remquol
+rint
+rintf
+rintl
+round
+roundf
+roundl
+scalb
+scalbf
+scalbln
+scalblnf
+scalblnl
+scalbn
+scalbnf
+scalbnl
+signgam
+significand
+significandf
+sin
+sincos
+sincosf
+sinf
+sinh
+sinhf
+sinhl
+sinl
+sqrt
+sqrtf
+sqrtl
+tan
+tanf
+tanh
+tanhf
+tanhl
+tanl
+tgamma
+tgammaf
+tgammal
+trunc
+truncf
+truncl
+y0
+y0f
+y1
+y1f
+yn
+ynf
diff --git a/exported_symbols/aarch64/osv_libpthread.so.0.symbols b/exported_symbols/aarch64/osv_libpthread.so.0.symbols
new file mode 100644
index 00000000..bcd8aaec
--- /dev/null
+++ b/exported_symbols/aarch64/osv_libpthread.so.0.symbols
@@ -0,0 +1,111 @@
+__errno_location
+__h_errno_location
+__libc_current_sigrtmax
+__libc_current_sigrtmin
+__pthread_key_create
+_pthread_cleanup_pop
+_pthread_cleanup_push
+accept
+close
+connect
+fcntl
+flockfile
+fork
+fsync
+ftrylockfile
+funlockfile
+longjmp
+lseek
+lseek64
+msync
+open
+open64
+pause
+pread
+pread64
+pthread_attr_getaffinity_np
+pthread_attr_getguardsize
+pthread_attr_getstack
+pthread_attr_getstacksize
+pthread_attr_setguardsize
+pthread_attr_setstack
+pthread_attr_setstacksize
+pthread_barrier_destroy
+pthread_barrier_init
+pthread_barrier_wait
+pthread_cancel
+pthread_cond_broadcast
+pthread_cond_clockwait
+pthread_cond_signal
+pthread_cond_timedwait
+pthread_cond_wait
+pthread_condattr_getclock
+pthread_condattr_getpshared
+pthread_condattr_setclock
+pthread_condattr_setpshared
+pthread_create
+pthread_detach
+pthread_exit
+pthread_getcpuclockid
+pthread_getname_np
+pthread_getspecific
+pthread_join
+pthread_key_create
+pthread_key_delete
+pthread_kill
+pthread_mutex_clocklock
+pthread_mutex_destroy
+pthread_mutex_init
+pthread_mutex_lock
+pthread_mutex_timedlock
+pthread_mutex_trylock
+pthread_mutex_unlock
+pthread_mutexattr_destroy
+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_tryrdlock
+pthread_rwlock_trywrlock
+pthread_rwlock_unlock
+pthread_rwlock_wrlock
+pthread_rwlockattr_destroy
+pthread_rwlockattr_init
+pthread_setaffinity_np
+pthread_setcancelstate
+pthread_setcanceltype
+pthread_setname_np
+pthread_setspecific
+pthread_spin_destroy
+pthread_spin_init
+pthread_spin_lock
+pthread_spin_trylock
+pthread_spin_unlock
+pthread_testcancel
+pthread_yield
+pwrite
+pwrite64
+raise
+read
+recv
+recvfrom
+recvmsg
+sem_destroy
+sem_init
+sem_post
+sem_timedwait
+sem_trywait
+sem_wait
+send
+sendmsg
+sendto
+sigaction
+siglongjmp
+sigwait
+system
+tcdrain
+write
diff --git a/exported_symbols/aarch64/osv_libresolv.so.2.symbols b/exported_symbols/aarch64/osv_libresolv.so.2.symbols
new file mode 100644
index 00000000..e69de29b
diff --git a/exported_symbols/aarch64/osv_librt.so.1.symbols b/exported_symbols/aarch64/osv_librt.so.1.symbols
new file mode 100644
index 00000000..e69de29b
diff --git a/exported_symbols/aarch64/osv_libutil.so.symbols b/exported_symbols/aarch64/osv_libutil.so.symbols
new file mode 100644
index 00000000..89d7bc13
--- /dev/null
+++ b/exported_symbols/aarch64/osv_libutil.so.symbols
@@ -0,0 +1,2 @@
+forkpty
+openpty
diff --git a/exported_symbols/aarch64/osv_libxenstore.so.3.0.symbols b/exported_symbols/aarch64/osv_libxenstore.so.3.0.symbols
new file mode 100644
index 00000000..e69de29b
--
2.27.0

Waldemar Kozaczuk

unread,
Dec 6, 2021, 2:25:39 PM12/6/21
to osv...@googlegroups.com, Waldemar Kozaczuk
This patch changes the aarch64 linker script to keep some sections
when garbage collection (--gc-sections) is on when linking the kernel.

This mostly involves adding KEEP directived to .fixup, .eh_frame*,
.tracepoint_patch_sites* and .init* sections to make them retained
when linking with garbage collection on.

This changes to not have any effect on the linker result when garbage
collection is off - the default.

Signed-off-by: Waldemar Kozaczuk <jwkoz...@gmail.com>
---
arch/aarch64/loader.ld | 12 ++++++------
1 file changed, 6 insertions(+), 6 deletions(-)

diff --git a/arch/aarch64/loader.ld b/arch/aarch64/loader.ld
index 2c2dc506..2e2d55b6 100644
--- a/arch/aarch64/loader.ld
+++ b/arch/aarch64/loader.ld
@@ -65,20 +65,20 @@ SECTIONS
fault_fixup_start = .;
*(.fixup)
fault_fixup_end = .;
- } : text
+ KEEP(*(.fixup)) } : text

- .eh_frame : { *(.eh_frame) } : text
- .eh_frame_hdr : { *(.eh_frame_hdr) } :text :eh_frame
+ .eh_frame : { *(.eh_frame) KEEP(*(.eh_frame)); } : text
+ .eh_frame_hdr : { *(.eh_frame_hdr) KEEP(*(.eh_frame_hdr)); } :text :eh_frame
.rodata : { *(.rodata*) } :text
.note : { *(.note*) } :text :note

- .gcc_except_table : { *(.gcc_except_table) *(.gcc_except_table.*) } : text
+ .gcc_except_table : { *(.gcc_except_table) *(.gcc_except_table.*) KEEP(*(.gcc_except_table)); } : text

.tracepoint_patch_sites : ALIGN(8) {
HIDDEN(__tracepoint_patch_sites_start = .);
*(.tracepoint_patch_sites)
HIDDEN(__tracepoint_patch_sites_end = .);
- } : text
+ KEEP(*(.tracepoint_patch_sites)); } : text

.data.rel.ro : { *(.data.rel.ro.local* .gnu.linkonce.d.rel.ro.local.*) *(.data.rel.ro .data.rel.ro.* .gnu.linkonce.d.rel.ro.*) } : text

@@ -89,7 +89,7 @@ SECTIONS
*(SORT_BY_NAME(.preinit_array.*) .preinit_array)
*(SORT_BY_INIT_PRIORITY(.init_array.*) SORT_BY_INIT_PRIORITY(.ctors.*))
*(.init_array .ctors)
- } : text
+ KEEP(*(.init_array .init_array.* .ctors.* .ctors)) } : text
HIDDEN(_init_array_end = .);

.percpu : ALIGN (4096) {
--
2.27.0

Commit Bot

unread,
Dec 12, 2021, 10:54:02 PM12/12/21
to osv...@googlegroups.com, Waldemar Kozaczuk
From: Waldemar Kozaczuk <jwkoz...@gmail.com>
Committer: Waldemar Kozaczuk <jwkoz...@gmail.com>
Branch: master

aarch64: add list files of exported symbols

This patch adds files with lists of symbols to be exported
by kernel. The files have been generated on Ubuntu 20.10 using
the scripts/extract_symbols.sh.

These files will be fed to the process to generate version script.

Signed-off-by: Waldemar Kozaczuk <jwkoz...@gmail.com>

---
diff --git a/exported_symbols/aarch64/osv_ld-linux-aarch64.so.1.symbols b/exported_symbols/aarch64/osv_ld-linux-aarch64.so.1.symbols
--- a/exported_symbols/aarch64/osv_ld-linux-aarch64.so.1.symbols
+++ b/exported_symbols/aarch64/osv_ld-linux-aarch64.so.1.symbols
@@ -0,0 +1,3 @@
+__libc_stack_end
+__stack_chk_guard
+__tls_get_addr
diff --git a/exported_symbols/aarch64/osv_ld-musl-aarch64.so.1.symbols b/exported_symbols/aarch64/osv_ld-musl-aarch64.so.1.symbols
--- a/exported_symbols/aarch64/osv_ld-musl-aarch64.so.1.symbols
--- a/exported_symbols/aarch64/osv_libaio.so.1.symbols
+++ b/exported_symbols/aarch64/osv_libaio.so.1.symbols
@@ -0,0 +1,5 @@
+io_cancel
+io_destroy
+io_getevents
+io_setup
+io_submit
diff --git a/exported_symbols/aarch64/osv_libc.so.6.symbols b/exported_symbols/aarch64/osv_libc.so.6.symbols
--- a/exported_symbols/aarch64/osv_libc.so.6.symbols
--- a/exported_symbols/aarch64/osv_libcrypt.so.1.symbols
+++ b/exported_symbols/aarch64/osv_libcrypt.so.1.symbols
@@ -0,0 +1,4 @@
+crypt
+crypt_r
+encrypt
+setkey
diff --git a/exported_symbols/aarch64/osv_libdl.so.2.symbols b/exported_symbols/aarch64/osv_libdl.so.2.symbols
--- a/exported_symbols/aarch64/osv_libdl.so.2.symbols
+++ b/exported_symbols/aarch64/osv_libdl.so.2.symbols
@@ -0,0 +1,6 @@
+dladdr
+dlclose
+dlerror
+dlopen
+dlsym
+dlvsym
diff --git a/exported_symbols/aarch64/osv_libm.so.6.symbols b/exported_symbols/aarch64/osv_libm.so.6.symbols
--- a/exported_symbols/aarch64/osv_libm.so.6.symbols
--- a/exported_symbols/aarch64/osv_libpthread.so.0.symbols
--- a/exported_symbols/aarch64/osv_libresolv.so.2.symbols
+++ b/exported_symbols/aarch64/osv_libresolv.so.2.symbols
null
diff --git a/exported_symbols/aarch64/osv_librt.so.1.symbols b/exported_symbols/aarch64/osv_librt.so.1.symbols
--- a/exported_symbols/aarch64/osv_librt.so.1.symbols
+++ b/exported_symbols/aarch64/osv_librt.so.1.symbols
null
diff --git a/exported_symbols/aarch64/osv_libutil.so.symbols b/exported_symbols/aarch64/osv_libutil.so.symbols
--- a/exported_symbols/aarch64/osv_libutil.so.symbols
+++ b/exported_symbols/aarch64/osv_libutil.so.symbols
@@ -0,0 +1,2 @@
+forkpty
+openpty
diff --git a/exported_symbols/aarch64/osv_libxenstore.so.3.0.symbols b/exported_symbols/aarch64/osv_libxenstore.so.3.0.symbols
--- a/exported_symbols/aarch64/osv_libxenstore.so.3.0.symbols
+++ b/exported_symbols/aarch64/osv_libxenstore.so.3.0.symbols
null

Commit Bot

unread,
Dec 12, 2021, 10:54:03 PM12/12/21
to osv...@googlegroups.com, Waldemar Kozaczuk
From: Waldemar Kozaczuk <jwkoz...@gmail.com>
Committer: Waldemar Kozaczuk <jwkoz...@gmail.com>
Branch: master

aarch64 linker: enforce some sections kept when garbage collection on

This patch changes the aarch64 linker script to keep some sections
when garbage collection (--gc-sections) is on when linking the kernel.

This mostly involves adding KEEP directived to .fixup, .eh_frame*,
.tracepoint_patch_sites* and .init* sections to make them retained
when linking with garbage collection on.

This changes to not have any effect on the linker result when garbage
collection is off - the default.

Signed-off-by: Waldemar Kozaczuk <jwkoz...@gmail.com>

---
diff --git a/arch/aarch64/loader.ld b/arch/aarch64/loader.ld
Reply all
Reply to author
Forward
0 new messages