aboutsummaryrefslogtreecommitdiff
path: root/ld/testsuite/ld-avr/relax-elf-flags-06.d
blob: 5a8e8107e22f4402ce88bb0ed92a6d34412f3824 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
#name: AVR, check link-relax flag is set final link (first input relaxable)
#as: -mmcu=avrxmega2
#ld: -relax -mavrxmega2
#source: relax-elf-flags-a.s -mlink-relax
#source: relax-elf-flags-b.s -mno-link-relax
#readelf: -h
#target: avr-*-*

ELF Header:
#...
  Flags:                             0xe6, avr:102, link-relax
#...