[PATCH 4/6] ld: adjust ld-scripts/map-address.*
Thu Mar 4 06:10:42 GMT 2021
On Tue, Mar 02, 2021 at 10:49:02AM +0100, Jan Beulich via Binutils wrote:
> Without setting an image base address and without naming at least .text,
> this test produces entirely bogus PE output. To be honest, even the ELF
> output looks odd: .text gets placed at 0x10204, and both foo and bar get
> associated with .text despite living below its start address.
> Since neither image base nor .text placement are the subject of this
> test, specify .text placement explicitly and in the PE case force the
> image base to zero.
> 2021-02-XX Jan Beulich <email@example.com>
> * testsuite/ld-scripts/map-address.exp: Set image base to zero
> for PE/COFF.
> * testsuite/ld-scripts/map-address.t: Place .text.
Australia Development Lab, IBM
More information about the Binutils