[Bug target/15647] libgcc_s.so should not contain/expose millicode functions
kkojima at gcc dot gnu dot org
gcc-bugzilla@gcc.gnu.org
Wed May 26 11:35:00 GMT 2004
------- Additional Comments From kkojima at gcc dot gnu dot org 2004-05-25 12:06 -------
It seems that the problematic routines are functions in lib1func.asm
which doesn't use r0 and r1. The compiler generates codes which assume
r0 and r1 aren't clobbered although PLT does so. This is not the case
for the functions written in C. Looking lib1func.asm, __ashlsi3,
__ashrsi3, __lshrsi3 and __divsi3 are such functions and are listed in
libgcc-std.ver. I've appended a patch for linux against 3.5.
I'm testing it on 3.4 because now mainline fails in building c++ library
for sh4-unknown-linux-gnu. This doesn't make much sense because these
4 functions are not used in sh4 case.
The problem is that I can't test it for sh3 because I have no working
sh3-linux or sh3-netbsd boxes.
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=15647
More information about the Gcc-bugs
mailing list