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]

binutils-2.11.2 strip -s wierdness


Hi folks,

I've used binutils-2.10 for quite some time, 
and now I've upgraded to 2.11.2.

I have one wierd problem to report.

"strip -s" works fine with 2.10, but fails with 2.11.2.
"strip --strip-all" seems to work though.

Either "strip --help" gives wrong information about -s, or
strip acts wierd.

I've cross-compiled binutils for a ppc-linux.

Please CC me - I'm not on this list.

Thanks /

Magnus

damm@sepang:~/scdb/scdb_20010907x/root/scl-0.01/mpc8xx/xxx/bin$
../../install/host/usr/bin/ppc-linux-strip -s busybox 
Usage: ../../install/host/usr/bin/ppc-linux-strip <switches> in-file(s)
 The switches are:
  -I --input-target <bfdname>      Assume input file is in format
<bfdname>
  -O --output-target <bfdname>     Create an output file in format
<bfdname>
  -F --target <bfdname>            Set both input and output format to
<bfdname>
  -p --preserve-dates              Copy modified/access timestamps to
the output
  -R --remove-section <name>       Remove section <name> from the output
  -s --strip-all                   Remove all symbol and relocation
information
  -g -S --strip-debug              Remove all debugging symbols
     --strip-unneeded              Remove all symbols not needed by
relocations
  -N --strip-symbol <name>         Do not copy symbol <name>
  -K --keep-symbol <name>          Only copy symbol <name>
  -x --discard-all                 Remove all non-global symbols
  -X --discard-locals              Remove any compiler-generated symbols
  -v --verbose                     List all object files modified
  -V --version                     Display this program's version number
  -h --help                        Display this output
  -o <file>                        Place stripped output into <file>
../../install/host/usr/bin/ppc-linux-strip: supported targets:
elf32-powerpc aixcoff-rs6000 elf32-powerpcle ppcboot elf32-little
elf32-big srec symbolsrec tekhex binary ihex
damm@sepang:~/scdb/scdb_20010907x/root/scl-0.01/mpc8xx/xxx/bin$
../../install/host/usr/bin/ppc-linux-strip --strip-all busybox 
damm@sepang:~/scdb/scdb_20010907x/root/scl-0.01/mpc8xx/xxx/bin$


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