diff options
Diffstat (limited to 'elf')
-rw-r--r-- | elf/tst-align3.c | 4 | ||||
-rw-r--r-- | elf/tst-alignmod3.c | 4 |
2 files changed, 2 insertions, 6 deletions
diff --git a/elf/tst-align3.c b/elf/tst-align3.c index ac86d623a6..87a8ff81a0 100644 --- a/elf/tst-align3.c +++ b/elf/tst-align3.c @@ -17,11 +17,9 @@ <https://www.gnu.org/licenses/>. */ #include <support/check.h> +#include <tst-file-align.h> #include <tst-stack-align.h> -/* This should cover all possible page sizes we currently support. */ -#define ALIGN 0x200000 - int bar __attribute__ ((aligned (ALIGN))) = 1; extern int do_load_test (void); diff --git a/elf/tst-alignmod3.c b/elf/tst-alignmod3.c index 0d33f2379d..9520c35220 100644 --- a/elf/tst-alignmod3.c +++ b/elf/tst-alignmod3.c @@ -17,11 +17,9 @@ <https://www.gnu.org/licenses/>. */ #include <support/check.h> +#include <tst-file-align.h> #include <tst-stack-align.h> -/* This should cover all possible page sizes we currently support. */ -#define ALIGN 0x200000 - int foo __attribute__ ((aligned (ALIGN))) = 1; void |