1 #name: AVR, check link-relax flag is set final link (both inputs relaxable)
2 #as: -mmcu=avrxmega2
3 #ld: -relax -mavrxmega2
4 #source: relax-elf-flags-a.s -mlink-relax
5 #source: relax-elf-flags-b.s -mlink-relax
6 #readelf: -h
7 #target: avr-*-*
8 
9 ELF Header:
10 #...
11   Flags:                             0xe6, avr:102, link-relax
12 #...