mirror of
https://sourceware.org/git/binutils-gdb.git
synced 2024-12-27 04:52:05 +08:00
d40e34db39
ld/ * ldlang.c (lang_check_section_addresses): Check for address space overflow. * testsuite/ld-checks/checks.exp (overflow_check): New procedure * testsuite/ld-checks/over.s: New test source. * testsuite/ld-checks/over.d: New test. * testsuite/ld-checks/over2.s: New test source. * testsuite/ld-checks/over2.d: New test.
9 lines
107 B
Makefile
9 lines
107 B
Makefile
#name: section size overflow
|
|
#source: over2.s
|
|
#ld: -Ttext=0xfffffffc
|
|
#nm: -n
|
|
|
|
#...
|
|
fffffffc T _start
|
|
#pass
|