public inbox for binutils@sourceware.org
 help / color / mirror / Atom feed
From: "H. J. Lu" <hjl@lucon.org>
To: binutils@sources.redhat.com
Subject: PATCH
Date: Tue, 04 Jan 2005 22:39:00 -0000	[thread overview]
Message-ID: <20050104223930.GA31989@lucon.org> (raw)

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  <hongjiu.lu@intel.com>

        * 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;
 }
 

             reply	other threads:[~2005-01-04 22:39 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2005-01-04 22:39 H. J. Lu [this message]
2005-01-04 23:36 ` PATCH: Minor readelf update H. J. Lu

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20050104223930.GA31989@lucon.org \
    --to=hjl@lucon.org \
    --cc=binutils@sources.redhat.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).