mirror of
https://sourceware.org/git/binutils-gdb.git
synced 2024-11-27 03:51:15 +08:00
43edfb7fac
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".
7 lines
233 B
C
7 lines
233 B
C
#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)));
|