K 10 svn:author V 10 nwhitehorn K 8 svn:date V 27 2010-02-01T01:06:36.853551Z K 7 svn:log V 513 Restoration of the TOC value is done by a linker-rewritten nop after branch instructions. Setting of the TOC is done by a linker-written trampoline, and the old value stored in the stack. If two TOC-based function calls were made back-to-back with the same stack frame, this resulted in corruption of the TOC pointer. This happened predominently with cerror, so fix some additional bugs here. With these changes, all dynamically linked executables seem to work, given LD_BIND_NOW. Next up: fix lazy PLT loading. END