diff options
31 files changed, 3661 insertions, 1 deletions
@@ -1,5 +1,15 @@ 2019-08-29 Adhemerval Zanella <adhemerval.zanella@linaro.org> + * sysdeps/microblaze/preconfigure.ac: New file. + * sysdeps/microblaze/preconfigure: Regenerate. + * sysdeps/microblaze/be/implies: New file. + * sysdeps/microblaze/le/implies: Likewise. + * sysdeps/unix/sysv/linux/microblaze/be/implies: Likewise. + * sysdeps/unix/sysv/linux/microblaze/le/implies: Likewise. + * sysdeps/unix/sysv/linux/microblaze/*.abilist. Move to + sysdeps/unix/sysv/linux/microblaze/be/*.abilist. + * sysdeps/unix/sysv/linux/microblaze/le/*.abilist: New files. + * sysdeps/arm/preconfigure.ac: Set machine based on endianness. * sysdeps/arm/preconfigure: Regenerate. * sysdeps/arm/be/Implies: New file. diff --git a/sysdeps/microblaze/be/Implies b/sysdeps/microblaze/be/Implies new file mode 100644 index 0000000000..1f8dcd0e17 --- /dev/null +++ b/sysdeps/microblaze/be/Implies @@ -0,0 +1 @@ +microblaze diff --git a/sysdeps/microblaze/le/Implies b/sysdeps/microblaze/le/Implies new file mode 100644 index 0000000000..1f8dcd0e17 --- /dev/null +++ b/sysdeps/microblaze/le/Implies @@ -0,0 +1 @@ +microblaze diff --git a/sysdeps/microblaze/preconfigure b/sysdeps/microblaze/preconfigure index 90e2e631d9..9c74afcebe 100644 --- a/sysdeps/microblaze/preconfigure +++ b/sysdeps/microblaze/preconfigure @@ -1,3 +1,154 @@ +# This file is generated from configure.ac by Autoconf. DO NOT EDIT! + # Local preconfigure fragment for sysdeps/microblaze + + + +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5 +$as_echo_n "checking for grep that handles long lines and -e... " >&6; } +if ${ac_cv_path_GREP+:} false; then : + $as_echo_n "(cached) " >&6 +else + if test -z "$GREP"; then + ac_path_GREP_found=false + # Loop through the user's path and test for each of PROGNAME-LIST + as_save_IFS=$IFS; IFS=$PATH_SEPARATOR +for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin +do + IFS=$as_save_IFS + test -z "$as_dir" && as_dir=. + for ac_prog in grep ggrep; do + for ac_exec_ext in '' $ac_executable_extensions; do + ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext" + as_fn_executable_p "$ac_path_GREP" || continue +# Check for GNU ac_path_GREP and select it if it is found. + # Check for GNU $ac_path_GREP +case `"$ac_path_GREP" --version 2>&1` in +*GNU*) + ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;; +*) + ac_count=0 + $as_echo_n 0123456789 >"conftest.in" + while : + do + cat "conftest.in" "conftest.in" >"conftest.tmp" + mv "conftest.tmp" "conftest.in" + cp "conftest.in" "conftest.nl" + $as_echo 'GREP' >> "conftest.nl" + "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break + diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break + as_fn_arith $ac_count + 1 && ac_count=$as_val + if test $ac_count -gt ${ac_path_GREP_max-0}; then + # Best one so far, save it but keep looking for a better one + ac_cv_path_GREP="$ac_path_GREP" + ac_path_GREP_max=$ac_count + fi + # 10*(2^10) chars as input seems more than enough + test $ac_count -gt 10 && break + done + rm -f conftest.in conftest.tmp conftest.nl conftest.out;; +esac + + $ac_path_GREP_found && break 3 + done + done + done +IFS=$as_save_IFS + if test -z "$ac_cv_path_GREP"; then + as_fn_error $? "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5 + fi +else + ac_cv_path_GREP=$GREP +fi + +fi +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5 +$as_echo "$ac_cv_path_GREP" >&6; } + GREP="$ac_cv_path_GREP" + + +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5 +$as_echo_n "checking for egrep... " >&6; } +if ${ac_cv_path_EGREP+:} false; then : + $as_echo_n "(cached) " >&6 +else + if echo a | $GREP -E '(a|b)' >/dev/null 2>&1 + then ac_cv_path_EGREP="$GREP -E" + else + if test -z "$EGREP"; then + ac_path_EGREP_found=false + # Loop through the user's path and test for each of PROGNAME-LIST + as_save_IFS=$IFS; IFS=$PATH_SEPARATOR +for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin +do + IFS=$as_save_IFS + test -z "$as_dir" && as_dir=. + for ac_prog in egrep; do + for ac_exec_ext in '' $ac_executable_extensions; do + ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext" + as_fn_executable_p "$ac_path_EGREP" || continue +# Check for GNU ac_path_EGREP and select it if it is found. + # Check for GNU $ac_path_EGREP +case `"$ac_path_EGREP" --version 2>&1` in +*GNU*) + ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;; +*) + ac_count=0 + $as_echo_n 0123456789 >"conftest.in" + while : + do + cat "conftest.in" "conftest.in" >"conftest.tmp" + mv "conftest.tmp" "conftest.in" + cp "conftest.in" "conftest.nl" + $as_echo 'EGREP' >> "conftest.nl" + "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break + diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break + as_fn_arith $ac_count + 1 && ac_count=$as_val + if test $ac_count -gt ${ac_path_EGREP_max-0}; then + # Best one so far, save it but keep looking for a better one + ac_cv_path_EGREP="$ac_path_EGREP" + ac_path_EGREP_max=$ac_count + fi + # 10*(2^10) chars as input seems more than enough + test $ac_count -gt 10 && break + done + rm -f conftest.in conftest.tmp conftest.nl conftest.out;; +esac + + $ac_path_EGREP_found && break 3 + done + done + done +IFS=$as_save_IFS + if test -z "$ac_cv_path_EGREP"; then + as_fn_error $? "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5 + fi +else + ac_cv_path_EGREP=$EGREP +fi + + fi +fi +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5 +$as_echo "$ac_cv_path_EGREP" >&6; } + EGREP="$ac_cv_path_EGREP" + + +cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ +#if __BYTE_ORDER__ == __ORDER_LITTLE_ENDIAN__ + yes + #endif + +_ACEOF +if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | + $EGREP "yes" >/dev/null 2>&1; then : + endianness=le +else + endianness=be +fi +rm -f conftest* + + case "$machine" in -microblaze*) base_machine=microblaze machine=microblaze ;; +microblaze*) base_machine=microblaze machine=microblaze/$endianness ;; esac diff --git a/sysdeps/microblaze/preconfigure.ac b/sysdeps/microblaze/preconfigure.ac new file mode 100644 index 0000000000..3d05d6fb7d --- /dev/null +++ b/sysdeps/microblaze/preconfigure.ac @@ -0,0 +1,11 @@ +GLIBC_PROVIDES dnl See aclocal.m4 in the top level source directory. +# Local preconfigure fragment for sysdeps/microblaze + +AC_EGREP_CPP(yes,[#if __BYTE_ORDER__ == __ORDER_LITTLE_ENDIAN__ + yes + #endif + ], endianness=le, endianness=be) + +case "$machine" in +microblaze*) base_machine=microblaze machine=microblaze/$endianness ;; +esac diff --git a/sysdeps/unix/sysv/linux/microblaze/be/Implies b/sysdeps/unix/sysv/linux/microblaze/be/Implies new file mode 100644 index 0000000000..41b4c22a0c --- /dev/null +++ b/sysdeps/unix/sysv/linux/microblaze/be/Implies @@ -0,0 +1 @@ +unix/sysv/linux/microblaze diff --git a/sysdeps/unix/sysv/linux/microblaze/libBrokenLocale.abilist b/sysdeps/unix/sysv/linux/microblaze/be/libBrokenLocale.abilist index bc5edf6352..bc5edf6352 100644 --- a/sysdeps/unix/sysv/linux/microblaze/libBrokenLocale.abilist +++ b/sysdeps/unix/sysv/linux/microblaze/be/libBrokenLocale.abilist diff --git a/sysdeps/unix/sysv/linux/microblaze/libanl.abilist b/sysdeps/unix/sysv/linux/microblaze/be/libanl.abilist index 67c7554803..67c7554803 100644 --- a/sysdeps/unix/sysv/linux/microblaze/libanl.abilist +++ b/sysdeps/unix/sysv/linux/microblaze/be/libanl.abilist diff --git a/sysdeps/unix/sysv/linux/microblaze/libc.abilist b/sysdeps/unix/sysv/linux/microblaze/be/libc.abilist index f7ced487f7..f7ced487f7 100644 --- a/sysdeps/unix/sysv/linux/microblaze/libc.abilist +++ b/sysdeps/unix/sysv/linux/microblaze/be/libc.abilist diff --git a/sysdeps/unix/sysv/linux/microblaze/libcrypt.abilist b/sysdeps/unix/sysv/linux/microblaze/be/libcrypt.abilist index 4b37b33ee5..4b37b33ee5 100644 --- a/sysdeps/unix/sysv/linux/microblaze/libcrypt.abilist +++ b/sysdeps/unix/sysv/linux/microblaze/be/libcrypt.abilist diff --git a/sysdeps/unix/sysv/linux/microblaze/libdl.abilist b/sysdeps/unix/sysv/linux/microblaze/be/libdl.abilist index 46b5716dbe..46b5716dbe 100644 --- a/sysdeps/unix/sysv/linux/microblaze/libdl.abilist +++ b/sysdeps/unix/sysv/linux/microblaze/be/libdl.abilist diff --git a/sysdeps/unix/sysv/linux/microblaze/libm.abilist b/sysdeps/unix/sysv/linux/microblaze/be/libm.abilist index 8dedc9a8a6..8dedc9a8a6 100644 --- a/sysdeps/unix/sysv/linux/microblaze/libm.abilist +++ b/sysdeps/unix/sysv/linux/microblaze/be/libm.abilist diff --git a/sysdeps/unix/sysv/linux/microblaze/libnsl.abilist b/sysdeps/unix/sysv/linux/microblaze/be/libnsl.abilist index 48a9e04eb8..48a9e04eb8 100644 --- a/sysdeps/unix/sysv/linux/microblaze/libnsl.abilist +++ b/sysdeps/unix/sysv/linux/microblaze/be/libnsl.abilist diff --git a/sysdeps/unix/sysv/linux/microblaze/libpthread.abilist b/sysdeps/unix/sysv/linux/microblaze/be/libpthread.abilist index 5a182c10b2..5a182c10b2 100644 --- a/sysdeps/unix/sysv/linux/microblaze/libpthread.abilist +++ b/sysdeps/unix/sysv/linux/microblaze/be/libpthread.abilist diff --git a/sysdeps/unix/sysv/linux/microblaze/libresolv.abilist b/sysdeps/unix/sysv/linux/microblaze/be/libresolv.abilist index b04f0397c8..b04f0397c8 100644 --- a/sysdeps/unix/sysv/linux/microblaze/libresolv.abilist +++ b/sysdeps/unix/sysv/linux/microblaze/be/libresolv.abilist diff --git a/sysdeps/unix/sysv/linux/microblaze/librt.abilist b/sysdeps/unix/sysv/linux/microblaze/be/librt.abilist index fb85d8729e..fb85d8729e 100644 --- a/sysdeps/unix/sysv/linux/microblaze/librt.abilist +++ b/sysdeps/unix/sysv/linux/microblaze/be/librt.abilist diff --git a/sysdeps/unix/sysv/linux/microblaze/libthread_db.abilist b/sysdeps/unix/sysv/linux/microblaze/be/libthread_db.abilist index 511767701c..511767701c 100644 --- a/sysdeps/unix/sysv/linux/microblaze/libthread_db.abilist +++ b/sysdeps/unix/sysv/linux/microblaze/be/libthread_db.abilist diff --git a/sysdeps/unix/sysv/linux/microblaze/libutil.abilist b/sysdeps/unix/sysv/linux/microblaze/be/libutil.abilist index 0da0a40c22..0da0a40c22 100644 --- a/sysdeps/unix/sysv/linux/microblaze/libutil.abilist +++ b/sysdeps/unix/sysv/linux/microblaze/be/libutil.abilist diff --git a/sysdeps/unix/sysv/linux/microblaze/le/Implies b/sysdeps/unix/sysv/linux/microblaze/le/Implies new file mode 100644 index 0000000000..41b4c22a0c --- /dev/null +++ b/sysdeps/unix/sysv/linux/microblaze/le/Implies @@ -0,0 +1 @@ +unix/sysv/linux/microblaze diff --git a/sysdeps/unix/sysv/linux/microblaze/le/libBrokenLocale.abilist b/sysdeps/unix/sysv/linux/microblaze/le/libBrokenLocale.abilist new file mode 100644 index 0000000000..bc5edf6352 --- /dev/null +++ b/sysdeps/unix/sysv/linux/microblaze/le/libBrokenLocale.abilist @@ -0,0 +1 @@ +GLIBC_2.18 __ctype_get_mb_cur_max F diff --git a/sysdeps/unix/sysv/linux/microblaze/le/libanl.abilist b/sysdeps/unix/sysv/linux/microblaze/le/libanl.abilist new file mode 100644 index 0000000000..67c7554803 --- /dev/null +++ b/sysdeps/unix/sysv/linux/microblaze/le/libanl.abilist @@ -0,0 +1,4 @@ +GLIBC_2.18 gai_cancel F +GLIBC_2.18 gai_error F +GLIBC_2.18 gai_suspend F +GLIBC_2.18 getaddrinfo_a F diff --git a/sysdeps/unix/sysv/linux/microblaze/le/libc.abilist b/sysdeps/unix/sysv/linux/microblaze/le/libc.abilist new file mode 100644 index 0000000000..f7ced487f7 --- /dev/null +++ b/sysdeps/unix/sysv/linux/microblaze/le/libc.abilist @@ -0,0 +1,2139 @@ +GLIBC_2.18 _Exit F +GLIBC_2.18 _IO_2_1_stderr_ D 0x98 +GLIBC_2.18 _IO_2_1_stdin_ D 0x98 +GLIBC_2.18 _IO_2_1_stdout_ D 0x98 +GLIBC_2.18 _IO_adjust_column F +GLIBC_2.18 _IO_adjust_wcolumn F +GLIBC_2.18 _IO_default_doallocate F +GLIBC_2.18 _IO_default_finish F +GLIBC_2.18 _IO_default_pbackfail F +GLIBC_2.18 _IO_default_uflow F +GLIBC_2.18 _IO_default_xsgetn F +GLIBC_2.18 _IO_default_xsputn F +GLIBC_2.18 _IO_do_write F +GLIBC_2.18 _IO_doallocbuf F +GLIBC_2.18 _IO_fclose F +GLIBC_2.18 _IO_fdopen F +GLIBC_2.18 _IO_feof F +GLIBC_2.18 _IO_ferror F +GLIBC_2.18 _IO_fflush F +GLIBC_2.18 _IO_fgetpos F +GLIBC_2.18 _IO_fgetpos64 F +GLIBC_2.18 _IO_fgets F +GLIBC_2.18 _IO_file_attach F +GLIBC_2.18 _IO_file_close F +GLIBC_2.18 _IO_file_close_it F +GLIBC_2.18 _IO_file_doallocate F +GLIBC_2.18 _IO_file_finish F +GLIBC_2.18 _IO_file_fopen F +GLIBC_2.18 _IO_file_init F +GLIBC_2.18 _IO_file_jumps D 0x54 +GLIBC_2.18 _IO_file_open F +GLIBC_2.18 _IO_file_overflow F +GLIBC_2.18 _IO_file_read F +GLIBC_2.18 _IO_file_seek F +GLIBC_2.18 _IO_file_seekoff F +GLIBC_2.18 _IO_file_setbuf F +GLIBC_2.18 _IO_file_stat F +GLIBC_2.18 _IO_file_sync F +GLIBC_2.18 _IO_file_underflow F +GLIBC_2.18 _IO_file_write F +GLIBC_2.18 _IO_file_xsputn F +GLIBC_2.18 _IO_flockfile F +GLIBC_2.18 _IO_flush_all F +GLIBC_2.18 _IO_flush_all_linebuffered F +GLIBC_2.18 _IO_fopen F +GLIBC_2.18 _IO_fprintf F +GLIBC_2.18 _IO_fputs F +GLIBC_2.18 _IO_fread F +GLIBC_2.18 _IO_free_backup_area F +GLIBC_2.18 _IO_free_wbackup_area F +GLIBC_2.18 _IO_fsetpos F +GLIBC_2.18 _IO_fsetpos64 F +GLIBC_2.18 _IO_ftell F +GLIBC_2.18 _IO_ftrylockfile F +GLIBC_2.18 _IO_funlockfile F +GLIBC_2.18 _IO_fwrite F +GLIBC_2.18 _IO_getc F +GLIBC_2.18 _IO_getline F +GLIBC_2.18 _IO_getline_info F +GLIBC_2.18 _IO_gets F +GLIBC_2.18 _IO_init F +GLIBC_2.18 _IO_init_marker F +GLIBC_2.18 _IO_init_wmarker F +GLIBC_2.18 _IO_iter_begin F +GLIBC_2.18 _IO_iter_end F +GLIBC_2.18 _IO_iter_file F +GLIBC_2.18 _IO_iter_next F +GLIBC_2.18 _IO_least_wmarker F +GLIBC_2.18 _IO_link_in F +GLIBC_2.18 _IO_list_all D 0x4 +GLIBC_2.18 _IO_list_lock F +GLIBC_2.18 _IO_list_resetlock F +GLIBC_2.18 _IO_list_unlock F +GLIBC_2.18 _IO_marker_delta F +GLIBC_2.18 _IO_marker_difference F +GLIBC_2.18 _IO_padn F +GLIBC_2.18 _IO_peekc_locked F +GLIBC_2.18 _IO_popen F +GLIBC_2.18 _IO_printf F +GLIBC_2.18 _IO_proc_close F +GLIBC_2.18 _IO_proc_open F +GLIBC_2.18 _IO_putc F +GLIBC_2.18 _IO_puts F +GLIBC_2.18 _IO_remove_marker F +GLIBC_2.18 _IO_seekmark F +GLIBC_2.18 _IO_seekoff F +GLIBC_2.18 _IO_seekpos F +GLIBC_2.18 _IO_seekwmark F +GLIBC_2.18 _IO_setb F +GLIBC_2.18 _IO_setbuffer F +GLIBC_2.18 _IO_setvbuf F +GLIBC_2.18 _IO_sgetn F +GLIBC_2.18 _IO_sprintf F +GLIBC_2.18 _IO_sputbackc F +GLIBC_2.18 _IO_sputback |
