1 /* This test will be used to create an executable with a specific
2 section layout in which .rela.dyn and .rela.plt are not contiguous.
3 For x86 case, readelf will report something like:
11 This is important as this case was not correctly handled by dynamic
12 linker in the bind-now case, and the second section was never
17 const int __attribute__ ((section(".bar"))) bar
= 0x12345678;
18 static const char foo
[] = "foo";
23 printf ("%s %d\n", foo
, bar
);
27 #define TEST_FUNCTION do_test ()
28 #include "../test-skeleton.c"