mirror of
https://sourceware.org/git/binutils-gdb.git
synced 2024-12-21 04:42:53 +08:00
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.
7 lines
211 B
Makefile
7 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'
|