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'.

-- 

John Baldwin <[EMAIL PROTECTED]> -- http://www.FreeBSD.org/~jhb/
PGP Key: http://www.cslab.vt.edu/~jobaldwi/pgpkey.asc
"Power Users Use the Power to Serve!"  -  http://www.FreeBSD.org/


To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-hackers" in the body of the message

Reply via email to