This is the mail archive of the
binutils@sourceware.org
mailing list for the binutils project.
Re: [Patch] ld: check for address space overflow
- From: Alan Modra <amodra at gmail dot com>
- To: Tristan Gingold <gingold at adacore dot com>
- Cc: binutils <binutils at sourceware dot org>
- Date: Sat, 11 Mar 2017 11:44:48 +1030
- Subject: Re: [Patch] ld: check for address space overflow
- Authentication-results: sourceware.org; auth=none
- References: <0C5EB7A7-DFB1-404C-A976-E96FC881B89A@adacore.com>
On Fri, Mar 10, 2017 at 03:29:24PM +0100, Tristan Gingold wrote:
> 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.
OK.
--
Alan Modra
Australia Development Lab, IBM