blob: db9b1d9ebce2bd3141ab3aa0c38619ca4a53787c [file] [log] [blame]
#! /bin/sh
# Copyright (C) Red Hat, Inc., 2016.
# This file is part of elfutils.
#
# This file is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation; either version 3 of the License, or
# (at your option) any later version.
#
# elfutils is distributed in the hope that it will be useful, but
# WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU General Public License for more details.
#
# You should have received a copy of the GNU General Public License
# along with this program. If not, see <http://www.gnu.org/licenses/>.
# static unsigned char buffer[4096] __attribute((aligned (4096)));
#
# char
# f (int i)
# {
# return buffer[i];
# }
#
# int
# main (int argc, char **argv)
# {
# return buffer[argc] == 0;
# }
original=testfile-nobitsalign
stripped=testfile-nobitsalign.strip
. $srcdir/run-strip-test.sh