Re: new objdump

Markus Kossmann (mk@emil.inka.de)
Fri, 28 Mar 1997 05:15:39 +0100


Matthew T. Churilla wrote:
>
> Has anyone noticed the objdump flags change lately? I just received this
> error from objdump today after updateing all my compiler related files and
> grabbing the new kernel.
>
> objdump: illegal option -- k
> Usage: objdump [-ahifdDprRtTxsSlw] [-b bfdname] [-m machine] [-j section-name]
> [--archive-headers] [--target=bfdname] [--debugging] [--disassemble]
> [--disassemble-all] [--disassemble-zeroes] [--file-headers]
> [--section-headers] [--headers]
> [--info] [--section=section-name] [--line-numbers] [--source]
> [--architecture=machine] [--reloc] [--full-contents] [--stabs]
> [--syms] [--all-headers] [--dynamic-syms] [--dynamic-reloc]
> [--wide] [--version] [--help] [--private-headers]
> [--start-address=addr] [--stop-address=addr]
> [--prefix-addresses] [--show-raw-insn]
> [-EB|-EL] [--endian={big|little}] objfile...
> at least one option besides -l (--line-numbers) must be given
> objdump: supported targets: elf32-i386 a.out-i386-linux srec symbolsrec tekhex binary ihex trad-core
>
> defined in TOPDIR/arch/i386/Makefile is
> OBJDUMP_FLAGS=-k -q
> Both these seem to be invalid flags. Can someone tell me what 2 flags
> these should be now so that I can get 2.1.29 compiled and up. I am now
> running binutils-2.7.0.9 glibc2.0.2 and gcc-2.7.2.2. I am not sure
> what if anything changed but my objdump was created at about the same time
> I updated my sysutils so I am thinking they changed the flags. Could
> someone let me know what goes on with this? I hope this message makes some
> sense I am really suffering from sleep deprevation right now.

As stated in the release-notes of binutils-2.7.0.9 remove
/usr/bin/encaps . Then the kernel is built in a different way, using
objcopy instead of objdump -k.

-- 
------------------------------------------------------------------------------
Markus			           <mk@emil.inka.de> (Markus Kossmann)