Signed-off-by: Mike Frysinger <vapier@gentoo.org>
  */
 
 .globl _memcmp;
+.type _memcmp, STT_FUNC;
 _memcmp:
        I1 = P3;
        P0 = R0;                        /* P0 = s1 address */
        R0 = 0;
        P3 = I1;
        RTS;
+
+.size _memcmp, .-_memcmp
 
 .align 2
 
 .globl _memcpy_ASM;
+.type _memcpy_ASM, STT_FUNC;
 _memcpy_ASM:
        CC = R2 <=  0;  /* length not positive?*/
        IF CC JUMP  .L_P1L2147483647;   /* Nothing to do */
        B[P0--] = R1;
 
        RTS;
+
+.size _memcpy_ASM, .-_memcpy_ASM
 
  */
 
 .globl _memmove;
+.type _memmove, STT_FUNC;
 _memmove:
        I1 = P3;
        P0 = R0;                  /* P0 = To address */
 .Lno_loop: B[P0] = R1;
        P3 = I1;
        RTS;
+
+.size _memmove, .-_memmove
 
  */
 
 .globl _memset;
+.type _memset, STT_FUNC;
 _memset:
        P0 = R0 ;              /* P0 = address */
        P2 = R2 ;              /* P2 = count   */
        B[P0++] = R1;
        B[P0++] = R1;
        JUMP .Laligned;
+
+.size _memset, .-_memset