This is the mail archive of the binutils@sourceware.org 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]

Re: Add -p option to readelf so that sections can be dumped as strings


Hi Daniel,

Nothing in the NEWS or documentation entries tells me what the output
looks like; neither does the test since it uses wildcards.  What sort
of strings are they?  Raw byte dumps?

Oh sorry. They look like this:


% readelf -p.GCC.command.line hello.o

String dump of section '.GCC.command.line':
[ 0] -iprefix /work/builds/gcc/current/arm-eabi/gcc/../lib/gcc/arm-eabi/4.3.0/
[ 5e] -isystem ../gcc/include
[ 76] -isystem ../gcc/include-fixed
[ 94] -D__USES_INITFINI__ hello.c
[ b0] -frecord-gcc-switches


Cheers
  Nick


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