about summary refs log tree commit diff
path: root/sysdeps/tile/bzero.S
diff options
context:
space:
mode:
authorChris Metcalf <cmetcalf@tilera.com>2011-12-03 21:14:25 -0500
committerChris Metcalf <cmetcalf@tilera.com>2011-12-03 21:14:25 -0500
commit63d143a25de663958186bcd6ab6d9a2356c40324 (patch)
treef2299428d61a79275b8939383e37c019e9e89e68 /sysdeps/tile/bzero.S
parenta63c7fa1856d6d4ef6573111e5700ac01b0bf6b2 (diff)
downloadglibc-63d143a25de663958186bcd6ab6d9a2356c40324.tar.gz
glibc-63d143a25de663958186bcd6ab6d9a2356c40324.tar.xz
glibc-63d143a25de663958186bcd6ab6d9a2356c40324.zip
Add sysdeps/tile, sysdeps/unix/sysv/linux/tile.
Changes are tracked in ChangeLog.tile.
Also add data/c++-types-tile-linux-gnu.data.
Diffstat (limited to 'sysdeps/tile/bzero.S')
-rw-r--r--sysdeps/tile/bzero.S31
1 files changed, 31 insertions, 0 deletions
diff --git a/sysdeps/tile/bzero.S b/sysdeps/tile/bzero.S
new file mode 100644
index 0000000000..5b5b9da235
--- /dev/null
+++ b/sysdeps/tile/bzero.S
@@ -0,0 +1,31 @@
+/* Copyright (C) 2011 Free Software Foundation, Inc.
+   This file is part of the GNU C Library.
+   Contributed by Chris Metcalf <cmetcalf@tilera.com>, 2011.
+
+   The GNU C Library is free software; you can redistribute it and/or
+   modify it under the terms of the GNU Lesser General Public
+   License as published by the Free Software Foundation; either
+   version 2.1 of the License, or (at your option) any later version.
+
+   The GNU C Library is distributed in the hope that it will be useful,
+   but WITHOUT ANY WARRANTY; without even the implied warranty of
+   MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
+   Lesser General Public License for more details.
+
+   You should have received a copy of the GNU Lesser General Public
+   License along with the GNU C Library; if not, write to the Free
+   Software Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA
+   02111-1307 USA.  */
+
+#include <sysdep.h>
+
+	.text
+ENTRY(__bzero)
+	FEEDBACK_ENTER(__bzero)
+	{
+	 move r2, r1
+	 move r1, zero
+	}
+	j __memset
+END(__bzero)
+weak_alias (__bzero, bzero)