This is the mail archive of the binutils@sources.redhat.com mailing list for the binutils project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

PATCH


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]