diff options
author | Brandon Bergren <bdragon@FreeBSD.org> | 2020-08-25 18:54:10 +0000 |
---|---|---|
committer | Brandon Bergren <bdragon@FreeBSD.org> | 2020-08-25 18:54:10 +0000 |
commit | 89509c956c946593d22bacaa05dd5cbff577fe50 (patch) | |
tree | f9f32d02d6b3c61ab0a45c31d483838228ce40e6 /cddl | |
parent | e38788f06c498083846a42fecc9e5b5c98bf2b3a (diff) | |
download | src-89509c956c946593d22bacaa05dd5cbff577fe50.tar.gz src-89509c956c946593d22bacaa05dd5cbff577fe50.zip |
[PowerPC] Apply the ppc32 GOT overflow fix to powerpcspe
powerpcspe is also a 32 bit ppc platform, and also needs to be -fPIC to
avoid overflowing the GOT.
Sponsored by: Tag1 Consulting, Inc.
Notes
Notes:
svn path=/head/; revision=364780
Diffstat (limited to 'cddl')
-rw-r--r-- | cddl/lib/libzpool/Makefile | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/cddl/lib/libzpool/Makefile b/cddl/lib/libzpool/Makefile index e1090c628c1f..db119b21b357 100644 --- a/cddl/lib/libzpool/Makefile +++ b/cddl/lib/libzpool/Makefile @@ -21,7 +21,7 @@ ACFLAGS+= -Wa,--noexecstack ATOMIC_SRCS= opensolaris_atomic.c .endif -.if ${MACHINE_ARCH} == "powerpc" +.if ${MACHINE_ARCH} == "powerpc" || ${MACHINE_ARCH} == "powerpcspe" # Don't waste GOT entries on small data. PICFLAG= -fPIC .endif |