From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 9691 invoked by alias); 16 Jun 2005 21:12:43 -0000 Mailing-List: contact libc-hacker-help@sources.redhat.com; run by ezmlm Precedence: bulk List-Subscribe: List-Archive: List-Post: List-Help: , Sender: libc-hacker-owner@sources.redhat.com Received: (qmail 9675 invoked by uid 22791); 16 Jun 2005 21:12:42 -0000 Received: from sunsite.ms.mff.cuni.cz (HELO sunsite.mff.cuni.cz) (195.113.15.26) by sourceware.org (qpsmtpd/0.30-dev) with ESMTP; Thu, 16 Jun 2005 21:12:42 +0000 Received: from sunsite.mff.cuni.cz (sunsite.mff.cuni.cz [127.0.0.1]) by sunsite.mff.cuni.cz (8.13.1/8.13.1) with ESMTP id j5GLCdi0018888; Thu, 16 Jun 2005 23:12:39 +0200 Received: (from jakub@localhost) by sunsite.mff.cuni.cz (8.13.1/8.13.1/Submit) id j5GLCccb018887; Thu, 16 Jun 2005 23:12:38 +0200 Date: Thu, 16 Jun 2005 21:12:00 -0000 From: Jakub Jelinek To: Ulrich Drepper Cc: Glibc hackers Subject: [PATCH] Cosmetic fix for ia64 strlen [BZ #1016] Message-ID: <20050616211238.GR7663@sunsite.mff.cuni.cz> Reply-To: Jakub Jelinek Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.4.1i X-SW-Source: 2005-06/txt/msg00004.txt.bz2 Hi! Trivial cosmetic (confuses disassembly/debugger) fix. 2005-06-16 Jakub Jelinek [BZ #1016] * sysdeps/ia64/strlen.S (strlen): Change l2 into a local label. --- libc/sysdeps/ia64/strlen.S.jj 2003-04-30 00:47:19.000000000 +0200 +++ libc/sysdeps/ia64/strlen.S 2005-06-16 23:03:40.000000000 +0200 @@ -1,6 +1,6 @@ /* Optimized version of the standard strlen() function. This file is part of the GNU C Library. - Copyright (C) 2000, 2001, 2003 Free Software Foundation, Inc. + Copyright (C) 2000, 2001, 2003, 2005 Free Software Foundation, Inc. Contributed by Dan Pop . The GNU C Library is free software; you can redistribute it and/or @@ -73,7 +73,7 @@ ENTRY(strlen) ld8 val1 = [str], 8;; nop.b 0 nop.b 0 -l2: ld8.s val2 = [str], 8 // don't bomb out here +.l2: ld8.s val2 = [str], 8 // don't bomb out here czx1.r pos0 = val1 ;; cmp.ne p6, p0 = 8, pos0 @@ -81,7 +81,7 @@ l2: ld8.s val2 = [str], 8 // don't bomb chk.s val2, .recovery .back: mov val1 = val2 - br.cond.dptk l2 + br.cond.dptk .l2 .foundit: sub tmp = str, origadd // tmp = crt address - orig add len = len, pos0;; Jakub