Our local patches cause build breakage on powerpc64. Remove @plt

from files/patch-vec_memcpy.diff and files/patch-vec_memset.diff to
fix breakage.

PR:		233852
Submitted by:	Piotr Kubaj
This commit is contained in:
Mark Linimon 2019-01-13 21:35:53 +00:00
parent b48ed2e966
commit 5c38d1ddb7
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=490214
3 changed files with 2 additions and 6 deletions

View file

@ -14,8 +14,6 @@ COMMENT= Library of optimized inner loops
LICENSE= BSD2CLAUSE BSD3CLAUSE MIT LICENSE= BSD2CLAUSE BSD3CLAUSE MIT
LICENSE_COMB= multi LICENSE_COMB= multi
BROKEN_powerpc64= fails to compile vec_memcpy.S
USES= libtool pathfix pkgconfig USES= libtool pathfix pkgconfig
PATHFIX_MAKEFILEIN= configure PATHFIX_MAKEFILEIN= configure
GNU_CONFIGURE= yes GNU_CONFIGURE= yes

View file

@ -35,8 +35,7 @@
#ifdef LIBMOTOVEC #ifdef LIBMOTOVEC
b memcpy // b to memcpy with correct args in r3 and r4 b memcpy // b to memcpy with correct args in r3 and r4
#else #else
- b _vec_memcpy // b to vec_memcpy with correct args in r3 and r4 b _vec_memcpy // b to vec_memcpy with correct args in r3 and r4
+ b _vec_memcpy@plt // b to vec_memcpy with correct args in r3 and r4
#endif #endif
+ .size vec_bcopy, . - vec_bcopy + .size vec_bcopy, . - vec_bcopy
// End of bcopy in AltiVec // End of bcopy in AltiVec

View file

@ -28,8 +28,7 @@
#ifdef LIBMOTOVEC #ifdef LIBMOTOVEC
b memset b memset
#else #else
- b _vec_memset b _vec_memset
+ b _vec_memset@plt
#endif #endif
+ .size vec_bzero, . - vec_bzero + .size vec_bzero, . - vec_bzero