aboutsummaryrefslogtreecommitdiff
path: root/ld/testsuite/ld-scripts/subalign.d
blob: 37483a3eee06d05d41789e624f2166b0d2cec870 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
# ld: -T subalign.t --no-error-rwx-segments -e 0
# objdump: -h --wide
# Ensure that SUBALIGN fixes the alignment of the output section.
# Check that ALIGN provides a minimum alignment, although allow the target to require a larger value.

#...
  . .mysection1.*2\*\*2.*
#...
  . .mysection2.*2\*\*[4-9].*
#...
  . .mysection3.*2\*\*[3-9].*
#...