cb0728165e
ld * scripttempl/avr.sc: Add new user_signatures region. Define and Use symbols for all region lengths. * scripttempl/avrtiny.sc: Define and use symbols for all region lengths. testsuite * ld-avr/region_overflow.d: New test. * ld-avr/region_overflow.s: Likewise.
6 lines
211 B
Makefile
6 lines
211 B
Makefile
#name: AVR catch region overflow errors
|
|
#as: -mmcu=avrxmega2
|
|
#ld: -mavrxmega2 --relax --defsym __TEXT_REGION_LENGTH__=2
|
|
#source: region_overflow.s
|
|
#target: avr-*-*
|
|
#error: `.text' will not fit in region `text'
|