Previous output of readelf for object file used in test was:
[ 3] .init_array INIT_ARRAY 0000000000000000 00000048
0000000000000003 0000000000000000 WA 0 0 8
[ 4] .init_array.100 INIT_ARRAY 0000000000000000 0000004b
0000000000000004 0000000000000000 WA 0 0 1
[ 5] .init_array.5 INIT_ARRAY 0000000000000000 0000004f
0000000000000001 0000000000000000 WA 0 0 1Problem is that .init_array sections were merged together.
I believe intention was different - test should show how separate
sections are correctly sorted. Patch makes such section to be unique.