[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
Re: [FOUND] String offset errors on evbarm 8.99 [PR 54159]
On Mon, Aug 05, 2019 at 08:14:04PM +0200, Martin Husemann wrote:
> > > Can you try adding $a, $t, $t.x and $d to that list and see if that
> > > fixes the problem?
> > No. This adds the name of the *.o files, but not some *.c present in
> > the full table and none of the symbols (functions) exported but not in
> > the list.
> The symbols (including $) that Jörg mentioned are symbols that need to be
> preserved. So have you tried it?
Yes. But the $d and $a are already preserved even in the .strtab section
when only the list is preserved and the others ($t and $t.x) are not
present even in the full table. So there doesn't seem to be problem with
the symbols that must be kept.
The problem is that the linker registers index in the strtab that are
wrong since they are the indexes the corresponding string would be if the string
would not have been discarded.
Thierry Laronde <tlaronde +AT+ polynum +dot+ com>
Key fingerprint = 0FF7 E906 FBAF FE95 FD89 250D 52B1 AE95 6006 F40C
Main Index |
Thread Index |