aboutsummaryrefslogtreecommitdiff
path: root/ld/testsuite/ld-scripts/sort-sections-reversed-2.t
blob: 3fa082ee2514d1c8a4ad3d08d1328dd0ee2ebfd8 (plain)
1
2
3
4
5
SECTIONS
{
  .text : { *(REVERSE(SORT_BY_INIT_PRIORITY(.text*))) }
  /DISCARD/ : { *(REVERSE(.*)) }
}