head     1.1;
branch   1.1.1;
access   ;
symbols  start:1.1.1.1 pro:1.1.1;
locks    ; strict;
comment  @# @;


1.1
date     2006.07.21.03.52.57;  author kaurikim;  state Exp;
branches 1.1.1.1;
next     ;

1.1.1.1
date     2006.07.21.03.52.57;  author kaurikim;  state Exp;
branches ;
next     ;


desc
@@



1.1
log
@Initial revision
@
text
@#!/bin/sh
dir=$(dirname $0)
CC=$1
OBJDUMP=$2
tmp=${TMPDIR:-/tmp}
out=$tmp/out$$.o
$CC -c $dir/check-gas-asm.S -o $out
res=$($OBJDUMP -r --section .data $out | fgrep 00004 | tr -s ' ' |cut -f3 -d' ')
rm -f $out
if [ $res != ".text" ]; then
	echo buggy
else
	echo good
fi
exit 0
@


1.1.1.1
log
@linux 2.6.13.5
@
text
@@
