Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 04 Feb 2000 09:42:13 -0800
From:      Mike Smith <msmith@freebsd.org>
To:        John Baldwin <jhb@FreeBSD.org>
Cc:        marcov@stack.nl (Marco van de Voort), freebsd-hackers@FreeBSD.org
Subject:   Re: elf 
Message-ID:  <200002041742.JAA03217@mass.cdrom.com>
In-Reply-To: Your message of "Fri, 04 Feb 2000 10:25:29 EST." <200002041525.KAA66453@server.baldwin.cx> 

next in thread | previous in thread | raw e-mail | index | archive | help
> 
> On 04-Feb-00 Marco van de Voort wrote:
> > 
> > 
> > How can I disassemble ELF programs?
> > 
> > I need to create my own startup code for FPC programs. 
> > (copying some variables before pascal code startup)
> 
> Try 'objdump -d'.  It's more readable if you don't strip the program.
> You can also use this to disassemble object files as well, so you
> could just 'objdump -d /usr/lib/crt0.o'.

The question is not "how" but "why"?  You already have access to the 
source...

-- 
\\ Give a man a fish, and you feed him for a day. \\  Mike Smith
\\ Tell him he should learn how to fish himself,  \\  msmith@freebsd.org
\\ and he'll hate you for a lifetime.             \\  msmith@cdrom.com




To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-hackers" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200002041742.JAA03217>