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

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