blob: a6be62bbc4062fa1c740a4e10550a667bff0a2f4 [file] [log] [blame]
Ulrich Drepper3cbdd382008-01-02 17:44:39 +00001#! /bin/sh
Ulrich Drepperff993222008-01-09 05:39:28 +00002# Copyright (C) 2007, 2008 Red Hat, Inc.
Mark Wielaardde2ed972012-06-05 17:15:16 +02003# This file is part of elfutils.
Ulrich Drepper3cbdd382008-01-02 17:44:39 +00004#
Mark Wielaardde2ed972012-06-05 17:15:16 +02005# This file is free software; you can redistribute it and/or modify
6# it under the terms of the GNU General Public License as published by
7# the Free Software Foundation; either version 3 of the License, or
8# (at your option) any later version.
Ulrich Drepper3cbdd382008-01-02 17:44:39 +00009#
Mark Wielaardde2ed972012-06-05 17:15:16 +020010# elfutils is distributed in the hope that it will be useful, but
Ulrich Drepper3cbdd382008-01-02 17:44:39 +000011# WITHOUT ANY WARRANTY; without even the implied warranty of
Mark Wielaardde2ed972012-06-05 17:15:16 +020012# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
13# GNU General Public License for more details.
Ulrich Drepper3cbdd382008-01-02 17:44:39 +000014#
Mark Wielaardde2ed972012-06-05 17:15:16 +020015# You should have received a copy of the GNU General Public License
16# along with this program. If not, see <http://www.gnu.org/licenses/>.
Ulrich Drepper3cbdd382008-01-02 17:44:39 +000017
18. $srcdir/test-subr.sh
19
Ulrich Drepperff993222008-01-09 05:39:28 +000020# Run x86-64 test.
Roland McGrath658094a2008-02-22 08:14:07 +000021case "`uname -m`" in
Ulrich Drepperff993222008-01-09 05:39:28 +000022 x86_64)
23 tempfiles testfile45.o
24 testfiles testfile45.S testfile45.expect
25 gcc -m64 -c -o testfile45.o testfile45.S
Mark Wielaard86be7922013-04-26 23:44:25 +020026 testrun_compare ${abs_top_builddir}/src/objdump -d testfile45.o < testfile45.expect
Ulrich Drepper3cbdd382008-01-02 17:44:39 +000027 ;;
28esac