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.
5 lines
124 B
Makefile
5 lines
124 B
Makefile
#name: section size overflow
|
|
#source: over.s
|
|
#ld: -Ttext=0xfffffffc
|
|
#error: .* section .text VMA wraps around address space
|