diff options
author | Adhemerval Zanella <adhemerval.zanella@linaro.org> | 2019-07-23 14:48:56 -0300 |
---|---|---|
committer | Adhemerval Zanella <adhemerval.zanella@linaro.org> | 2019-08-29 09:58:27 -0300 |
commit | c7fca8d40400314fff5c7d6b68314536235dd5c4 (patch) | |
tree | f43201ab6587f14de591273159b3e4d65ae36a60 /sysdeps/microblaze/preconfigure.ac | |
parent | 1673ba87fefe019c834c09d33673d1d453ea698d (diff) | |
download | glibc-c7fca8d40400314fff5c7d6b68314536235dd5c4.zip glibc-c7fca8d40400314fff5c7d6b68314536235dd5c4.tar.gz glibc-c7fca8d40400314fff5c7d6b68314536235dd5c4.tar.bz2 |
microblaze: Split BE/LE abilist
The fix for BZ#18231 requires new symbols only for microblaze. This patch
adds the required folder and files for both BE and LE abilist. No semantic
changes are expected.
Checked with check-abi for microblaze-linux-gnueabihf and
microblazeel-linux-gnueabihf.
* 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.
Diffstat (limited to 'sysdeps/microblaze/preconfigure.ac')
-rw-r--r-- | sysdeps/microblaze/preconfigure.ac | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/sysdeps/microblaze/preconfigure.ac b/sysdeps/microblaze/preconfigure.ac new file mode 100644 index 0000000..3d05d6f --- /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 |