--- gcc/config/xm-umips.h 2018/04/24 17:51:30 1.1.1.1 +++ gcc/config/xm-umips.h 2018/04/24 18:03:41 1.1.1.2 @@ -31,3 +31,7 @@ the Free Software Foundation, 675 Mass A #define bcopy(a,b,c) memcpy((b),(a),(c)) #define bzero(a,b) memset((a),0,(b)) #define bcmp(a,b,c) memcmp((a),(b),(c)) + +#define rindex strrchr +#define index strchr +