From 1c92d9a0e0be6175915128157036cf138ef64af8 Mon Sep 17 00:00:00 2001 From: Adhemerval Zanella Date: Fri, 13 Dec 2013 14:40:28 -0500 Subject: PowerPC: multiarch strncasecmp for PowerPC64 --- .../powerpc/powerpc64/multiarch/strncase-power7.c | 24 ++++++++++++++++++++++ 1 file changed, 24 insertions(+) create mode 100644 sysdeps/powerpc/powerpc64/multiarch/strncase-power7.c (limited to 'sysdeps/powerpc/powerpc64/multiarch/strncase-power7.c') diff --git a/sysdeps/powerpc/powerpc64/multiarch/strncase-power7.c b/sysdeps/powerpc/powerpc64/multiarch/strncase-power7.c new file mode 100644 index 0000000000..de6ac409e9 --- /dev/null +++ b/sysdeps/powerpc/powerpc64/multiarch/strncase-power7.c @@ -0,0 +1,24 @@ +/* Copyright (C) 2013 Free Software Foundation, Inc. + This file is part of the GNU C Library. + + 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, see + . */ + +#include + +#define __strncasecmp __strncasecmp_power7 + +extern __typeof (strncasecmp) __strncasecmp_power7 attribute_hidden; + +#include -- cgit 1.4.1