From owner-freebsd-current Fri Mar 13 21:29:07 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id VAA13724 for freebsd-current-outgoing; Fri, 13 Mar 1998 21:29:07 -0800 (PST) (envelope-from owner-freebsd-current@FreeBSD.ORG) Received: from cimlogic.com.au ([203.36.2.25]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id VAA13716 for ; Fri, 13 Mar 1998 21:29:03 -0800 (PST) (envelope-from jb@cimlogic.com.au) Received: (from jb@localhost) by cimlogic.com.au (8.8.5/8.8.7) id QAA16560; Sat, 14 Mar 1998 16:30:36 +1100 (EST) (envelope-from jb) From: John Birrell Message-Id: <199803140530.QAA16560@cimlogic.com.au> Subject: Re: binutils bloat In-Reply-To: <199803140505.VAA03336@dingo.cdrom.com> from Mike Smith at "Mar 13, 98 09:05:34 pm" To: mike@smith.net.au (Mike Smith) Date: Sat, 14 Mar 1998 16:30:36 +1100 (EST) Cc: jb@cimlogic.com.au, current@FreeBSD.ORG X-Mailer: ELM [version 2.4ME+ PL32 (25)] MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG Mike Smith wrote: > IMHO that's a pretty strong selection criteria for what to include from > binutils; if there's a canned gas config for a target, then the files > that target requires should be included. You're probably right. FWIW, adding m68knetbsd support to both libbfd and libopcodes on i386 and alpha enables them both to disassemble a NetBSD/mvme68k object (e.g. crt0.o). I compared the output to see if there were differences, expecting the outputs to be identical. No such luck. The alpha generously reports all hex addresses in 64-bits. 8-) diff m68kcrt0.out1 m68kcrt0.out2 6c6 < 00000000 : --- > 0000000000000000 : 9c9 < 8: 41f7 0c08 lea %sp@(00000008,%d0:l:4),%a0 --- > 8: 41f7 0c08 lea %sp@(0000000000000008,%d0:l:4),%a0 23c23 < 32: 2031 3939 372f movel %a1@(372f3130,%d3:l)@(00000000),%d0 --- > 32: 2031 3939 372f movel %a1@(00000000372f3130,%d3:l)@(0000000000000000),%d0 So that gives me a tool for use with NetBSD that I don't get from NetBSD! And since my mvme68k system has very little disk space, it NFS mounts it's src and obj from a FreeBSD system, having a FreeBSD tool is quite convenient. And from FreeBSD/Alpha, the objdump built there can disassemble /cimaxp/usr/ccs/lib/cmplrs/cc/crt0.o which is an OSF/1 (ecoff) object. -- John Birrell - jb@cimlogic.com.au; jb@freebsd.org CIMlogic Pty Ltd, GPO Box 117A, Melbourne Vic 3001, Australia +61 418 353 137 To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message