diff options
author | H.J. Lu <hjl.tools@gmail.com> | 2007-05-15 13:57:03 +0000 |
---|---|---|
committer | H.J. Lu <hjl.tools@gmail.com> | 2007-05-15 13:57:03 +0000 |
commit | 43edfb7fac67118fa7ed41310dc73241f238decd (patch) | |
tree | ab347e768e20cea6941dab41ba8122d6d2d76029 /ld/testsuite/ld-elf/data1.c | |
parent | 027297b7a82f2545233997e2b5383595390beeb9 (diff) | |
download | gdb-43edfb7fac67118fa7ed41310dc73241f238decd.zip gdb-43edfb7fac67118fa7ed41310dc73241f238decd.tar.gz gdb-43edfb7fac67118fa7ed41310dc73241f238decd.tar.bz2 |
2007-05-15 H.J. Lu <hongjiu.lu@intel.com>
PR ld/4504
* ld-elf/data1.c: New file.
* ld-elf/data1.h: Likewise.
* ld-elf/dynbss1.c: Likewise.
* ld-elf/pass.out: Likewise.
* ld-elf/shared.exp (build_tests): Add "Build libdata1.so".
(run_tests): Add "Run with libdata1.so".
Diffstat (limited to 'ld/testsuite/ld-elf/data1.c')
-rw-r--r-- | ld/testsuite/ld-elf/data1.c | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/ld/testsuite/ld-elf/data1.c b/ld/testsuite/ld-elf/data1.c new file mode 100644 index 0000000..c205f82 --- /dev/null +++ b/ld/testsuite/ld-elf/data1.c @@ -0,0 +1,6 @@ +#include "data1.h" + +char a1[1] __attribute__ ((aligned (ALIGNMENT1))) = { 10 }; +char a2[2] __attribute__ ((aligned (ALIGNMENT2))); +char a3[3] __attribute__ ((aligned (ALIGNMENT3))); +char a4[4] __attribute__ ((aligned (ALIGNMENT4))); |