Changeset 8a5a902 in mainline for boot/generic/include/memstr.h


Ignore:
Timestamp:
2013-03-29T16:26:39Z (11 years ago)
Author:
Martin Decky <martin@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
0ca441c
Parents:
2d1195c0
Message:

GCC 4.8 recognizes parts of our C implementation of memset() and memcpy() and actually emits a call to memset() and memcpy()
(which is of course futile and only causes an infinite recursion)
switch to a hand-written memset() and memcpy()

File:
1 edited

Legend:

Unmodified
Added
Removed
  • boot/generic/include/memstr.h

    r2d1195c0 r8a5a902  
    3535#include <typedefs.h>
    3636
    37 extern void *memcpy(void *, const void *, size_t);
    38 extern void *memset(void *, int, size_t);
    3937extern void *memmove(void *, const void *, size_t);
    4038
Note: See TracChangeset for help on using the changeset viewer.