commit | 42b7a39bf6eb2e90fb1b07c2d53d7a93263508d2 | [log] [tgz] |
---|---|---|
author | Nick Clifton <nickc@redhat.com> | Mon Jun 27 16:35:58 2016 +0100 |
committer | Nick Clifton <nickc@redhat.com> | Mon Jun 27 16:35:58 2016 +0100 |
tree | f0a9def52397f3cb301100dc7770dc8da5e61b55 | |
parent | 95daf21060008545515e94aeba501082e8710cc0 [diff] |
Allow a second -T<section>=<addr> to override a previous version on the same linker command line. PR ld/20302 * lexsup.c (set_segment_start): If resetting the start address of a section, remember to generate a new script element as well. * testsuite/ld-scripts/pr20302.d: New test. * testsuite/ld-scripts/scripts.exp: Run the new test.