[parisc-linux] 720/50 update
Alan Modra
amodra@bigpond.net.au
Thu, 8 Nov 2001 17:20:26 +1030
Randolph Chung is currently testing a new glibc that should cure most,
if not all, of your problems. The problem was that the lazy linking
code in ld.so used r28 without saving it. r28 is used by functions
to return values; In the case of a function returning a struture, on
function entry r28 points to an area of memory to hold the structure.
So trashing r28 meant that functions returning structures scribbled them
into the wrong part of memory. In fact, they overwrote the procedure
linkage table.
Alan