1#!/usr/local/bin/bash
2# Copyright (C) Red Hat, Inc., 2016.
3# This file is part of elfutils.
4#
5# 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.
9#
10# elfutils is distributed in the hope that it will be useful, but
11# WITHOUT ANY WARRANTY; without even the implied warranty of
12# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
13# GNU General Public License for more details.
14#
15# 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/>.
17
18# static unsigned char buffer[4096] __attribute((aligned (4096)));
19#
20# char
21# f (int i)
22# {
23#   return buffer[i];
24# }
25#
26# int
27# main (int argc, char **argv)
28# {
29#   return buffer[argc] == 0;
30# }
31
32original=testfile-nobitsalign
33stripped=testfile-nobitsalign.strip
34
35. $srcdir/run-strip-test.sh
36