~linaro-toolchain-dev/cortex-strings/trunk

« back to all changes in this revision

Viewing changes to src/thumb-2/strcpy.c

  • Committer: Michael Hope
  • Date: 2010-09-06 03:41:48 UTC
  • Revision ID: michael.hope@linaro.org-20100906034148-s7wgv5lz1qnh5xj7
Added GLIBC add-on support

Show diffs side-by-side

added added

removed removed

Lines of Context:
26
26
 * SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
27
27
 */
28
28
 
 
29
/* For GLIBC:
 
30
#include <string.h>
 
31
#include <memcopy.h>
 
32
 
 
33
#undef strcmp
 
34
*/
 
35
 
29
36
#ifdef __thumb2__
30
37
#define magic1(REG) "#0x01010101"
31
38
#define magic2(REG) "#0x80808080"
163
170
#endif
164
171
       );
165
172
}
 
173
/* For GLIBC: libc_hidden_builtin_def (strcpy) */