From b3cded65e92ba4d9b5e5a33fb95c4d551bda9c1b Mon Sep 17 00:00:00 2001 From: Dimitry Andric Date: Sat, 30 Oct 2010 23:02:32 +0000 Subject: Import the binutils master branch from the sourceware CVS repository, exactly as it was on Tue, 3 Jul 2007 07:54:19 +0000. Corresponds to git commit 397a64b350470350c8e0adb2af84439ea0f89272, which was the last commit before switching to GPLv3. --- ld/testsuite/ld-elf/dynbss1.c | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) create mode 100644 ld/testsuite/ld-elf/dynbss1.c (limited to 'ld/testsuite/ld-elf/dynbss1.c') diff --git a/ld/testsuite/ld-elf/dynbss1.c b/ld/testsuite/ld-elf/dynbss1.c new file mode 100644 index 0000000000000..eb5f0673998eb --- /dev/null +++ b/ld/testsuite/ld-elf/dynbss1.c @@ -0,0 +1,20 @@ +#include +#include +#include "data1.h" + +int +main (void) +{ + if ((((long) (&a1)) & (ALIGNMENT1 - 1))) + abort (); + if ((((long) (&a2)) & (ALIGNMENT2 - 1))) + abort (); + if ((((long) (&a2)) & (ALIGNMENT3 - 1))) + abort (); + if ((((long) (&a3)) & (ALIGNMENT4 - 1))) + abort (); + + printf ("PASS\n"); + + return(0) ; +} -- cgit v1.2.3