This makes zero sense and you must be confused. CentOS 7.9 was based on RHEL7, which only supported big-endian on Power, so you can cannot execute either 32-bit or 64-bit little-endian binaries on CentOS 7.9 (that is a distro & kernel limitation, not a cpu technical limitation). The Power cpus are endian agnostic, meaning you can run them in either big-endian or little-endian modes. In fact, we (the IBM Power Toolchain team) have Power8, Power9 and Power10 partitions running both little-endian (RHEL8/9, SUSE & Ubuntu) and big-endian (RHEL7 & Debian unstable) distros to facilitate testing the toolchain in both endian modes on those cpus.
If you’re sure you’re on a CentOS 7.9 distro (whether it’s on Power8 or not is irrelevant), then you have a big-endian system. You can check that by “cat /etc/redhat-release”). The good news is that CentOS 7.9 does support 32-bit big-endian applications, you just need to install the 32-bit libraries before you compiler your application 32-bit (ie, -m32). Note it may take a special CentOS 7.9 repo to see them. I too have access to a CentOS 7.9 system and both 32-bit and 64-bit work fine:
[bergner@gcc1-power7 ~]$ cat /etc/redhat-release
CentOS Linux release 7.9.2009 (AltArch)
[bergner@gcc1-power7 ~]$ gcc -m64 hello.c
[bergner@gcc1-power7 ~]$ file a.out
a.out: ELF 64-bit MSB executable, 64-bit PowerPC or cisco 7500, version 1 (SYSV), dynamically linked (uses shared libs), for GNU/Linux 2.6.32, BuildID[sha1]=0c8655682569ca14e1cea334af1bf0ca91df3da2, not stripped
[bergner@gcc1-power7 ~]$ ./a.out
Hello world!
[bergner@gcc1-power7 ~]$ gcc -m32 hello.c
[bergner@gcc1-power7 ~]$ file a.out
a.out: ELF 32-bit MSB executable, PowerPC or cisco 4500, version 1 (SYSV), dynamically linked (uses shared libs), for GNU/Linux 2.6.32, BuildID[sha1]=be8e69d06a55499cb0ffff6c01d55c2d9940a4e9, not stripped
[bergner@gcc1-power7 ~]$ ./a.out
Hello world!
The 32-bit packages you’ll need to install depend on what features your application requires (C++ or Fortran or ???), but you should be looking for the packages that end with .ppc and not the .ppc64 packages. Here are all of the 32-bit packages that are installed on the CentOS 7.9 system I have access to. You probably don’t need all of them, but it gives you an idea what of you may need to install:
[bergner@gcc1-power7 ~]$ rpm -qa | grep -w ppc
libgcc-4.8.5-44.el7.ppc
gmp-6.0.0-15.el7.ppc
libmpc-1.0.1-3.el7.ppc
glibc-2.17-326.el7_9.3.ppc
mpfr-3.1.1-4.el7.ppc
zlib-1.2.7-21.el7_9.ppc
bzip2-libs-1.0.6-13.el7.ppc
pcre2-10.23-2.el7.ppc
mpfr-devel-3.1.1-4.el7.ppc
libstdc++-static-4.8.5-44.el7.ppc
glibc-static-2.17-326.el7_9.3.ppc
libmpc-devel-1.0.1-3.el7.ppc
libgfortran-4.8.5-44.el7.ppc
glibc-devel-2.17-326.el7_9.3.ppc
nss-softokn-freebl-3.90.0-6.el7_9.ppc
gmp-devel-6.0.0-15.el7.ppc
libstdc++-4.8.5-44.el7.ppc
libstdc++-devel-4.8.5-44.el7.ppc
If you’re not actually on CentOS 7.9 and are really on a little-endian distro (Use “uname -m” to find out), then you are out of luck with respect to 32-bit binary support. It’s not a technical limitation, but a distro and toolchain limitation, as no one has ever built 32-bit little-endian binaries or libraries on powerpc64le and even if you managed to do that, it has never (AFAIK) been tested to execute a powerpcle binary on the powerpc64le kernel. It could just go boom as far as I know.