From owner-freebsd-hackers Fri Feb 4 7:25:20 2000 Delivered-To: freebsd-hackers@freebsd.org Received: from server.baldwin.cx (jobaldwi.campus.vt.edu [198.82.67.146]) by builder.freebsd.org (Postfix) with ESMTP id BBFAC40EE for ; Fri, 4 Feb 2000 07:25:16 -0800 (PST) Received: from john.baldwin.cx (john [10.0.0.2]) by server.baldwin.cx (8.9.3/8.9.3) with ESMTP id KAA66453; Fri, 4 Feb 2000 10:25:30 -0500 (EST) (envelope-from jhb@FreeBSD.org) Message-Id: <200002041525.KAA66453@server.baldwin.cx> X-Mailer: XFMail 1.4.0 on FreeBSD X-Priority: 3 (Normal) Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 8bit MIME-Version: 1.0 In-Reply-To: <20000204132701.BAD1396D7@toad.stack.nl> Date: Fri, 04 Feb 2000 10:25:29 -0500 (EST) From: John Baldwin To: (Marco van de Voort) Subject: RE: elf Cc: freebsd-hackers@FreeBSD.org Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG 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 -- 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 majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message