ld: add an error in case of address space overflow.
authorTristan Gingold <gingold@adacore.com>
Fri, 10 Mar 2017 14:16:19 +0000 (15:16 +0100)
committerTristan Gingold <gingold@adacore.com>
Mon, 13 Mar 2017 09:41:22 +0000 (10:41 +0100)
commitd40e34db392f834793fb9af487121776b4cec6e7
tree4d600d3859a51a310aa7663c6762b859326940d9
parent4b5900d8b81522bd6ebe4d94d45dfb54d1982c62
ld: add an error in case of address space overflow.

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.
ld/ChangeLog
ld/ldlang.c
ld/testsuite/ld-checks/checks.exp
ld/testsuite/ld-checks/over.d [new file with mode: 0644]
ld/testsuite/ld-checks/over.s [new file with mode: 0644]
ld/testsuite/ld-checks/over2.d [new file with mode: 0644]
ld/testsuite/ld-checks/over2.s [new file with mode: 0644]