OSDN Git Service

Replace FSF snail mail address with URLs
[uclinux-h8/uClibc.git] / libc / string / sparc / sparc32 / memchr.S
index e8f44f1..1949db2 100644 (file)
@@ -24,9 +24,8 @@
    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.  */
+   License along with the GNU C Library; if not, see
+   <http://www.gnu.org/licenses/>.  */
 
        .text
        .align          4
 1:     retl
         sub            %o0, 1, %o0
 
-.globl memchr
-.set memchr,__memchr
-.hidden __memchr
-ENTRY(__memchr)
+ENTRY(memchr)
        andcc           %o1, 0xff, %o1
        sll             %o1, 8, %g6
        andcc           %o0, 3, %g0
@@ -139,8 +135,7 @@ ENTRY(__memchr)
         sub            %o0, 3, %o0
 4:     retl
         sub            %o0, 4, %o0
-END(__memchr)
+END(memchr)
+libc_hidden_def(memchr)
 
-#if !__BOUNDED_POINTERS__
-weak_alias (__memchr, __ubp_memchr)
-#endif
+weak_alias(memchr,__ubp_memchr)