Re: NetBSD/hpcsh snapshot with X11 sets uploaded to ftp.n.o
"Valeriy E. Ushakov" <[email protected]> Wed, 10 Mar 2004 07:45:16 +0300
| Newsgroups | gmane.os.netbsd.ports.sh3 |
|---|---|
| Message-ID | <[email protected]> |
On Mon, Mar 08, 2004 at 20:28:54 +0000, Nick Hudson wrote: > > Ok, I think the problem is that __udivsi3 (and other millicode > > routines) are included into libgcc_s.so without being ".hidden". > > hmm, afaict this isn't what a stock gcc build will do. You can > easily enable it though by copying the .S.so .s.so rule from > libgcc3/libgcc/Makefile to libgcc3/libgcc_s/Makefile and rebuilding. That helps. I'm runing hpcsh world freshly compiled with this change. I cannot easily test this change on other platforms at the moment, though. If you can test, can you please commit it? > The NOTYPE is because > > gnu/dist/gcc/gcc/config/sh/lib1funcs.asm > > doesn't do > > .type foo, @function > > I'm not sure that helps... I guess it confused the linker, so instead of register corruption losage mode it resulted in execute code in .bss mode (which made the problem very apparent). SY, Uwe -- [email protected] | Zu Grunde kommen http://www.ptc.spbu.ru/~uwe/ | Ist zu Grunde gehen