Port-hpcsh archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
Re: Segfault in libfontconfig
On Tue, Sep 14, 2004 at 22:21:40 +0400, Valeriy E. Ushakov wrote:
> fontconfig library uses functions that return structures. SuperH ABI
> uses r2 to pass the pointer to the memory for the returned structure.
> But dynamic linker happily blows r2 away (it's a scratch register
> otherwise) while doing the dynamic symbol resolution.
I wonder if _rtld_bind_start (libexec/ld.elf_so/arch/sh3/rtld_start.S)
should save/restore r2 instead of r3.
Marcus?
SY, Uwe
--
uwe%ptc.spbu.ru@localhost | Zu Grunde kommen
http://www.ptc.spbu.ru/~uwe/ | Ist zu Grunde gehen
Home |
Main Index |
Thread Index |
Old Index