[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.
This commit is contained in:
parent
e38788f06c
commit
89509c956c
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user