Skip to content
Snippets Groups Projects
Commit bb59df52 authored by Iain Sandoe's avatar Iain Sandoe Committed by Jakub Jelinek
Browse files

re PR bootstrap/41245 (Bootstrap broken on I386-apple-darwin9 at revision 151373)

	PR bootstrap/41245
	* compare-debug: Handle stripping of dwarf debug sections from darwin
	mach-o objects.

From-SVN: r151594
parent 90097c67
No related branches found
No related tags found
No related merge requests found
2009-09-10 Iain Sandoe <iain.sandoe@sandoe-acoustics.co.uk>
PR bootstrap/41245
* compare-debug: Handle stripping of dwarf debug sections from darwin
mach-o objects.
2009-09-04 Alexandre Oliva <aoliva@redhat.com>
* compare-debug: Grep for blank before dash to avoid grep -e.
......
......@@ -57,11 +57,19 @@ done
trap 'rm -f "$1.$suf1" "$2.$suf2"' 0 1 2 15
cp "$1" "$1.$suf1"
strip "$1.$suf1"
case `uname -s` in
Darwin)
ld -S -x -r -no_uuid "$1" -o "$1.$suf1"
ld -S -x -r -no_uuid "$2" -o "$2.$suf2"
;;
*)
cp "$1" "$1.$suf1"
strip "$1.$suf1"
cp "$2" "$2.$suf2"
strip "$2.$suf2"
cp "$2" "$2.$suf2"
strip "$2.$suf2"
;;
esac
if cmp "$1.$suf1" "$2.$suf2"; then
status=0
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment