[PATCH] Incremental merge for ppc-vx6

Douglas B Rupp rupp@adacore.com
Mon Oct 22 19:09:00 GMT 2018


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


-------------- next part --------------
A non-text attachment was scrubbed...
Name: incremental_merge.log
Type: text/x-log
Size: 481 bytes
Desc: not available
URL: <https://sourceware.org/pipermail/binutils/attachments/20181022/5713c48e/attachment.bin>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: incremental_merge.diff
Type: text/x-patch
Size: 13192 bytes
Desc: not available
URL: <https://sourceware.org/pipermail/binutils/attachments/20181022/5713c48e/attachment-0001.bin>


More information about the Binutils mailing list