Blackfin lib1funcs patch

Bernd Schmidt bernds_cb1@t-online.de
Wed Apr 5 22:05:00 GMT 2006


This fixes a problem with the upcoming FD-PIC patches for the Blackfin: 
since calls in a shared library go through PLT entries, they may clobber 
call-clobbered registers even if we know that the called function 
doesn't modify them.  So we need to avoid using them to save certain 
values across a call.

Committed.


Bernd


-------------- next part --------------
A non-text attachment was scrubbed...
Name: callclobbered.diff
Type: text/x-patch
Size: 1293 bytes
Desc: not available
URL: <http://gcc.gnu.org/pipermail/gcc-patches/attachments/20060405/e47ec68e/attachment.bin>


More information about the Gcc-patches mailing list