diff options
author | Christian Eggers <ceggers@gmx.de> | 2019-11-04 08:34:54 +0100 |
---|---|---|
committer | Alan Modra <amodra@gmail.com> | 2019-11-06 17:53:34 +1030 |
commit | b0a7971ad46c265bd979b17eba3d97a9a63187eb (patch) | |
tree | 2819dfb1d04ecf0192b5b96aa21527854148b809 /ld/ldfile.h | |
parent | 825165c57e43b25ef57c3cf2cc345ec6aa40a0d3 (diff) | |
download | gdb-b0a7971ad46c265bd979b17eba3d97a9a63187eb.zip gdb-b0a7971ad46c265bd979b17eba3d97a9a63187eb.tar.gz gdb-b0a7971ad46c265bd979b17eba3d97a9a63187eb.tar.bz2 |
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.
Diffstat (limited to 'ld/ldfile.h')
0 files changed, 0 insertions, 0 deletions