head	1.5;
access;
symbols
	RELENG_4_11_0_RELEASE:1.4
	RELENG_4_11:1.4.0.20
	RELENG_4_11_BP:1.4
	RELENG_4_10_0_RELEASE:1.4
	RELENG_4_10:1.4.0.18
	RELENG_4_10_BP:1.4
	RELENG_4_9_0_RELEASE:1.4
	RELENG_4_9:1.4.0.16
	RELENG_4_9_BP:1.4
	RELENG_4_8_0_RELEASE:1.4
	RELENG_4_8:1.4.0.14
	RELENG_4_8_BP:1.4
	RELENG_4_7_0_RELEASE:1.4
	RELENG_4_7:1.4.0.12
	RELENG_4_7_BP:1.4
	RELENG_4_6_2_RELEASE:1.4
	RELENG_4_6_1_RELEASE:1.4
	RELENG_4_6_0_RELEASE:1.4
	RELENG_4_6:1.4.0.10
	RELENG_4_6_BP:1.4
	RELENG_4_5_0_RELEASE:1.4
	RELENG_4_5:1.4.0.8
	RELENG_4_5_BP:1.4
	RELENG_4_4_0_RELEASE:1.4
	RELENG_4_4:1.4.0.6
	RELENG_4_4_BP:1.4
	RELENG_4_3_0_RELEASE:1.4
	RELENG_4_3:1.4.0.4
	RELENG_4_3_BP:1.4
	RELENG_4_2_0_RELEASE:1.4
	RELENG_4_1_1_RELEASE:1.4
	PRE_SMPNG:1.4
	RELENG_4_1_0_RELEASE:1.4
	RELENG_3_5_0_RELEASE:1.3.2.1
	RELENG_4_0_0_RELEASE:1.4
	RELENG_4:1.4.0.2
	RELENG_4_BP:1.4
	RELENG_3_4_0_RELEASE:1.3.2.1
	RELENG_3_3_0_RELEASE:1.3.2.1
	RELENG_3_2_PAO:1.3.0.4
	RELENG_3_2_PAO_BP:1.3
	RELENG_3_2_0_RELEASE:1.3
	RELENG_3_1_0_RELEASE:1.3
	RELENG_3:1.3.0.2
	RELENG_3_BP:1.3
	RELENG_2_2_8_RELEASE:1.1
	RELENG_3_0_0_RELEASE:1.3
	RELENG_2_2_7_RELEASE:1.1
	RELENG_2_2_6_RELEASE:1.1
	RELENG_2_2_5_RELEASE:1.1
	RELENG_2_2_2_RELEASE:1.1
	RELENG_2_2_1_RELEASE:1.1
	RELENG_2_2_0_RELEASE:1.1
	RELENG_2_1_7_RELEASE:1.1
	RELENG_2_1_6_1_RELEASE:1.1
	RELENG_2_1_6_RELEASE:1.1
	RELENG_2_2:1.1.0.10
	RELENG_2_2_BP:1.1
	RELENG_2_1_5_RELEASE:1.1
	RELENG_2_1_0_RELEASE:1.1
	RELENG_2_1_0:1.1.0.8
	RELENG_2_1_0_BP:1.1
	RELENG_2_0_5_RELEASE:1.1
	RELENG_2_0_5:1.1.0.6
	RELENG_2_0_5_BP:1.1
	RELENG_2_0_5_ALPHA:1.1
	RELEASE_2_0:1.1
	BETA_2_0:1.1
	ALPHA_2_0:1.1.0.4
	MOVED_NEWCVS:1.1
	FINAL_1_1_5:1.1
	ALPHA_1_1_5:1.1
	FINAL_1_1:1.1
	GAMMA_1_1:1.1
	BETA_1_1:1.1.0.2
	BP_BETA_1_1:1.1;
locks; strict;
comment	@# @;


1.5
date	2002.09.17.01.54.53;	author obrien;	state dead;
branches;
next	1.4;

1.4
date	99.08.27.23.34.35;	author peter;	state Exp;
branches
	1.4.2.1;
next	1.3;

1.3
date	97.02.22.15.44.33;	author peter;	state Exp;
branches
	1.3.2.1;
next	1.2;

1.2
date	97.01.14.05.56.34;	author jkh;	state Exp;
branches;
next	1.1;

1.1
date	93.11.03.00.56.18;	author paul;	state Exp;
branches
	1.1.8.1
	1.1.10.1;
next	;

1.4.2.1
date	2012.11.17.07.23.00;	author svnexp;	state Exp;
branches;
next	;

1.3.2.1
date	99.08.29.14.31.42;	author peter;	state Exp;
branches;
next	;

1.1.8.1
date	99.09.05.11.10.49;	author peter;	state Exp;
branches;
next	;

1.1.10.1
date	99.09.05.11.06.10;	author peter;	state Exp;
branches;
next	;


desc
@@


1.5
log
@BANG! BANG! BANG!  Put these bits out of their misery.
Murdered by members of:	a.out.die.die.die

ELF is the 1 true path now.  So make good on the src/Makefile threat that
building a.out will not be supported post 4.x.  These bits should either
resurface as a port, or a new port using the latest Binutils bits.  The
later will not support our SunOS-style shared a.out libs; but we shouldn't
need such support by this point in time.
@
text
@#!/bin/sh
# $FreeBSD: src/gnu/usr.bin/as/testscripts/doobjcmp,v 1.4 1999/08/27 23:34:35 peter Exp $
# compare two object files, in depth.

x=$1
y=$2
BOTH="$1 $2"


# if they cmp, we're fine.
if (cmp $BOTH > /dev/null)
then
	exit 0
fi

# otherwise, we must look closer.
if (doboth $BOTH size)
then
	echo Sizes ok.
else
	echo Sizes differ:
	size $BOTH
#	exit 1
fi

if (doboth $BOTH objdump +header)
then
	echo Headers ok.
else
	echo Header differences.
#	exit 1
fi

if (doboth $BOTH objdump +text > /dev/null)
then
	echo Text ok.
else
	echo Text differences.
#	doboth $BOTH objdump +text
#	exit 1
fi

if (doboth $BOTH objdump +data > /dev/null)
then
	echo Data ok.
else
	echo Data differences.
#	doboth $BOTH objdump +data
#	exit 1
fi

if (doboth $BOTH objdump +symbols > /dev/null)
then
	echo Symbols ok.
else
	echo -n Symbol differences...

	if (doboth $BOTH dounsortsymbols)
	then
		echo but symbols are simply ordered differently.
#		echo Now what to do about relocs'?'
#		exit 1
	else
		echo and symbols differ in content.
		exit 1
	fi
fi

# of course, if there were symbol diffs, then the reloc symbol indexes
# will be off.

if (doboth $BOTH objdump -r > /dev/null)
then
	echo Reloc ok.
else
	echo -n Reloc differences...

	if (doboth $BOTH dounsortreloc)
	then
		echo but relocs are simply ordered differently.
	else
		echo and relocs differ in content.
		exit 1
	fi
fi

exit

# eof
@


1.4
log
@$Id$ -> $FreeBSD$
@
text
@d2 1
a2 1
# $FreeBSD$
@


1.4.2.1
log
@Switch importer
@
text
@d2 1
a2 1
# $FreeBSD: stable/4/gnu/usr.bin/as/testscripts/doobjcmp 50472 1999-08-27 23:37:10Z peter $
@


1.3
log
@Revert $FreeBSD$ to $Id$
@
text
@d2 1
a2 1
# $Id$
@


1.3.2.1
log
@$Id$ -> $FreeBSD$
@
text
@d2 1
a2 1
# $FreeBSD$
@


1.2
log
@Make the long-awaited change from $Id$ to $FreeBSD$

This will make a number of things easier in the future, as well as (finally!)
avoiding the Id-smashing problem which has plagued developers for so long.

Boy, I'm glad we're not using sup anymore.  This update would have been
insane otherwise.
@
text
@d2 1
a2 1
# $FreeBSD$
@


1.1
log
@Brought over NetBSD's gas ready for pk's shared libs.
@
text
@d2 1
a2 1
# $Id: doobjcmp,v 1.1 1993/10/02 21:01:08 pk Exp $
@


1.1.8.1
log
@$Id$ -> $FreeBSD$
@
text
@d2 1
a2 1
# $FreeBSD$
@


1.1.10.1
log
@$Id$ -> $FreeBSD$
@
text
@d2 1
a2 1
# $FreeBSD$
@

