ppc relax for vxworks

Nathan Sidwell nathan@codesourcery.com
Fri Jan 23 15:51:00 GMT 2009


Hi,

vxworks rtps contain relocations, so that the loader can relocate them.  This
does not play nicely with relax, which uses some internal reloc codes to
describe the relaxing.  These internal codes end up in the executable, and bad
things happen.  When the internal codes are renumbered between releases, even
weirder things happen :)

This patch alters ppc's relax handling so it generates correct relocs describing
the trampolines.  With this patch static rtps can be relaxed.

tested on powerpc-vxworks, ok?

nathan
-- 
Nathan Sidwell    ::   http://www.codesourcery.com   ::         CodeSourcery

-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: all.diff
URL: <https://sourceware.org/pipermail/binutils/attachments/20090123/b26a7c43/attachment.ksh>


More information about the Binutils mailing list