* commit '6c55034a1d24caa82cb7e5a6c0ca71e9697c0f12': Fix mips build.
This commit is contained in:
		| @@ -23,12 +23,12 @@ libc_openbsd_src_files_mips += \ | ||||
| # | ||||
|  | ||||
| libc_bionic_src_files_mips += \ | ||||
|     arch-mips/string/memcmp.c \ | ||||
|     bionic/__memcpy_chk.cpp \ | ||||
|     bionic/__memset_chk.cpp \ | ||||
|     bionic/__strcpy_chk.cpp \ | ||||
|     bionic/__strcat_chk.cpp \ | ||||
|     bionic/memchr.c \ | ||||
|     bionic/memcmp.c \ | ||||
|     bionic/memrchr.c \ | ||||
|     bionic/strchr.cpp \ | ||||
|     bionic/strnlen.c \ | ||||
| @@ -78,11 +78,9 @@ libc_bionic_src_files_mips += \ | ||||
|  | ||||
| else | ||||
| libc_bionic_src_files_mips += \ | ||||
|     bionic/memset.c \ | ||||
|  | ||||
| libc_openbsd_src_files_mips += \ | ||||
|     upstream-openbsd/lib/libc/string/memcpy.c \ | ||||
|     upstream-openbsd/lib/libc/string/strlen.c \ | ||||
|     arch-mips/string/memcpy.c \ | ||||
|     arch-mips/string/memset.c \ | ||||
|     arch-mips/string/strlen.c \ | ||||
|  | ||||
| endif | ||||
|  | ||||
|   | ||||
| @@ -57,14 +57,6 @@ memcpy(void *dst0, const void *src0, size_t length) | ||||
| 	if (length == 0 || dst == src)		/* nothing to do */ | ||||
| 		goto done; | ||||
| 
 | ||||
| 	if ((dst < src && dst + length > src) || | ||||
| 	    (src < dst && src + length > dst)) { | ||||
| 		struct syslog_data sdata = SYSLOG_DATA_INIT; | ||||
| 
 | ||||
| 		syslog_r(LOG_CRIT, &sdata, "backwards memcpy"); | ||||
| 		abort(); | ||||
| 	} | ||||
| 
 | ||||
| 	/*
 | ||||
| 	 * Macros: loop-t-times; and loop-t-times, t>0 | ||||
| 	 */ | ||||
| @@ -10,12 +10,14 @@ libc_bionic_src_files_mips64 += \ | ||||
|     bionic/__strcpy_chk.cpp \ | ||||
|     bionic/__strcat_chk.cpp \ | ||||
|     bionic/memchr.c \ | ||||
|     bionic/memcmp.c \ | ||||
|     bionic/memrchr.c \ | ||||
|     bionic/memset.c \ | ||||
|     bionic/strchr.cpp \ | ||||
|     bionic/strnlen.c \ | ||||
|     bionic/strrchr.cpp \ | ||||
|     arch-mips/string/memcmp.c \ | ||||
|     arch-mips/string/memcpy.c \ | ||||
|     arch-mips/string/memset.c \ | ||||
|     arch-mips/string/strlen.c \ | ||||
|  | ||||
| libc_freebsd_src_files_mips64 += \ | ||||
|     upstream-freebsd/lib/libc/string/wcscat.c \ | ||||
| @@ -28,7 +30,6 @@ libc_freebsd_src_files_mips64 += \ | ||||
|     upstream-freebsd/lib/libc/string/wmemmove.c \ | ||||
|  | ||||
| libc_openbsd_src_files_mips64 += \ | ||||
|     upstream-openbsd/lib/libc/string/memcpy.c \ | ||||
|     upstream-openbsd/lib/libc/string/memmove.c \ | ||||
|     upstream-openbsd/lib/libc/string/stpcpy.c \ | ||||
|     upstream-openbsd/lib/libc/string/stpncpy.c \ | ||||
| @@ -37,7 +38,6 @@ libc_openbsd_src_files_mips64 += \ | ||||
|     upstream-openbsd/lib/libc/string/strcpy.c \ | ||||
|     upstream-openbsd/lib/libc/string/strlcat.c \ | ||||
|     upstream-openbsd/lib/libc/string/strlcpy.c \ | ||||
|     upstream-openbsd/lib/libc/string/strlen.c \ | ||||
|     upstream-openbsd/lib/libc/string/strncat.c \ | ||||
|     upstream-openbsd/lib/libc/string/strncmp.c \ | ||||
|     upstream-openbsd/lib/libc/string/strncpy.c \ | ||||
|   | ||||
		Reference in New Issue
	
	Block a user
	 Elliott Hughes
					Elliott Hughes