From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 5017 invoked by alias); 4 Jan 2005 22:39:38 -0000 Mailing-List: contact binutils-help@sources.redhat.com; run by ezmlm Precedence: bulk List-Subscribe: List-Archive: List-Post: List-Help: , Sender: binutils-owner@sources.redhat.com Received: (qmail 4923 invoked from network); 4 Jan 2005 22:39:31 -0000 Received: from unknown (HELO sccrmhc13.comcast.net) (204.127.202.64) by sourceware.org with SMTP; 4 Jan 2005 22:39:31 -0000 Received: from lucon.org ([24.6.212.230]) by comcast.net (sccrmhc13) with ESMTP id <2005010422393101600pvk86e>; Tue, 4 Jan 2005 22:39:31 +0000 Received: by lucon.org (Postfix, from userid 1000) id E2C0A640F4; Tue, 4 Jan 2005 14:39:30 -0800 (PST) Date: Tue, 04 Jan 2005 22:39:00 -0000 From: "H. J. Lu" To: binutils@sources.redhat.com Subject: PATCH Message-ID: <20050104223930.GA31989@lucon.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.4.1i X-SW-Source: 2005-01/txt/msg00025.txt.bz2 readelf outputs Contents of the .debug_str section: 0x00000000 5f5f6f66 665f7400 5f494f5f 72656164 __off_t._IO_read ... 0x00000240 74655f62 61736500 72657375 6c7400 te_base.result. Contents of the .debug_loc section: This patch adds a newline. I will check it in shortly. H.J. --- 2005-01-04 H.J. Lu * readelf.c (display_debug_str): Add a newline at the end. --- readelf.c.foo 2005-01-04 14:24:23.965327362 -0800 +++ readelf.c 2005-01-04 14:29:38.519980569 -0800 @@ -9633,6 +9633,8 @@ display_debug_str (Elf_Internal_Shdr *se bytes -= lbytes; } + putchar ('\n'); + return 1; }