Douglas B Rupp
2018-10-22 19:09:38 UTC
This patch implements merging of sections created by -ffunction-sections
and -fdata-sections on ppc-vx6.
If the sections are not merged, gdb malfunctions when printing the
address of a runtime symbol.
The problem can be fixed in gdb (but not easily) for the WTX protocol
used for older vxworks targets but not for newer vxworks (e.g. vxworks7)
because the protocol is different and not under gdb control.
Future patch submissions will make use of this merge capability for
other vxworks6 targets, and also vxworks7 ports
Tested on x86-linux, and also locally tested on ppc-vx6 using the
AdaCore cross-testsuite.
I don't have write access, so if approved please apply when convenient.
--Douglas Rupp
and -fdata-sections on ppc-vx6.
If the sections are not merged, gdb malfunctions when printing the
address of a runtime symbol.
The problem can be fixed in gdb (but not easily) for the WTX protocol
used for older vxworks targets but not for newer vxworks (e.g. vxworks7)
because the protocol is different and not under gdb control.
Future patch submissions will make use of this merge capability for
other vxworks6 targets, and also vxworks7 ports
Tested on x86-linux, and also locally tested on ppc-vx6 using the
AdaCore cross-testsuite.
I don't have write access, so if approved please apply when convenient.
--Douglas Rupp