ld: Fix printed sizes in map file
authorChristian Eggers <ceggers@gmx.de>
Mon, 4 Nov 2019 07:34:54 +0000 (08:34 +0100)
committerAlan Modra <amodra@gmail.com>
Wed, 6 Nov 2019 07:23:34 +0000 (17:53 +1030)
commitb0a7971ad46c265bd979b17eba3d97a9a63187eb
tree2819dfb1d04ecf0192b5b96aa21527854148b809
parent825165c57e43b25ef57c3cf2cc345ec6aa40a0d3
ld: Fix printed sizes in map file

For targets with octets_per_byte > 1, testsuite/ld-scripts/rgn-over*
produce wrong sizes in the generated map files:

.text           0x0000000000001000        0x6
                                          ^^^ # correct
 *(.txt)
 .txt           0x0000000000001000        0xc tmpdir/rgn-over.o
                                          ^^^ # should also be 0x6

* ldlang.c (print_input_section): Shift printed size by opb_shift.
ld/ChangeLog
ld/ldlang.c
This page took 0.045243 seconds and 4 git commands to generate.