shared/base-filesystem: add define for s390x

This is based on the information in #14311 and
https://refspecs.linuxfoundation.org/LSB_3.2.0/LSB-Core-S390X/LSB-Core-S390X.pdf
and https://wiki.debian.org/Multiarch/Tuples.

Fixes #14311.
This commit is contained in:
Zbigniew Jędrzejewski-Szmek
2021-11-19 15:30:08 +01:00
parent 996eaea547
commit fe037986c8
+4
View File
@@ -93,7 +93,11 @@ static const BaseFilesystem table[] = {
# error "Unknown RISC-V ABI"
# endif
#elif defined(__s390__)
/* s390-linux-gnu */
#elif defined(__s390x__)
{ "lib64", 0, "usr/lib/s390x-linux-gnu\0"
"usr/lib64", "ld-lsb-s390x.so.3" },
# define KNOW_LIB64_DIRS 1
#elif defined(__sparc__)
#endif
/* gcc doesn't allow pragma to be used within constructs, hence log about this separately below */