On Fri, 4 Feb 2000, John Baldwin wrote: > > 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'. My favourite is 'objdump -dS' to include source code. This obviously requires debugging information in the disassembled thing. -- Doug Rabson Mail: [EMAIL PROTECTED] Nonlinear Systems Ltd. Phone: +44 181 442 9037 To Unsubscribe: send mail to [EMAIL PROTECTED] with "unsubscribe freebsd-hackers" in the body of the message