Valeriy E. Ushakov | 2 Aug 2003 23:21
Picon

Re: can't profile on Shark

On Thu, Jun 26, 2003 at 15:59:14 +0100, Richard Earnshaw wrote:

> rearnsha <at> arm.com said:
> > I don't know why the gmon module needs to do FP arithmetic, I though
> > it  just wrote out the raw tables. 
> 
> Hmm, this is from libc/gmon/gmon.c:
> 
> #ifndef notdef
>                 s_scale = ((float)p->kcountsize / o ) * SCALE_1_TO_1;
> #else /* avoid floating point */
>                 u_long quot = o / p->kcountsize;
>                 
>                 if (quot >= 0x10000)
>                         s_scale = 1;
>                 else if (quot >= 0x100)
>                         s_scale = 0x10000 / quot;
>                 else if (o >= 0x800000)
>                         s_scale = 0x1000000 / (o / (p->kcountsize >> 8));
>                 else
>                         s_scale = 0x1000000 / ((o << 8) / p->kcountsize);
> #endif
> 
> Anyone know why that is "#ifndef notdef" rather than "#ifdef notdef"?  
> Seems backwards to me...

On Thu, Jun 26, 2003 at 18:53:08 -0700, Jason Thorpe wrote:

> On Thursday, June 26, 2003, at 07:59  AM, Richard Earnshaw wrote:
> 
(Continue reading)

Ignatios Souvatzis | 3 Aug 2003 10:53
Picon

Re: can't profile on Shark

Hi,

On Sun, Aug 03, 2003 at 01:21:44AM +0400, Valeriy E. Ushakov wrote:

> And that ifndef in gmon.c is still not fixed.  Changing
> s/ifndef/ifdef/ makes the program link and produce the gmon.out.

Same for Shark/NetBSD-1.6.1.

> I'd like to commit that change.

You should ask on tech-foo for some value of foo... the libc change is not
sh3/arm specific, but will affect all architectures.

	-is

--

-- 
seal your e-mail: http://www.gnupg.org/
Valeriy E. Ushakov | 12 Aug 2003 00:05
Picon

Re: gcc 3.3.1 fixes

On Wed, Jul 30, 2003 at 14:38:49 +0400, Valeriy E. Ushakov wrote:

> I'm trying to build hpcsh with the new gcc 3.3.1.  Can someone please
> review the changes I had to do.
[...]
> 1. NO_PROFILE_COUNTERS [...]

Committed.

> 2. const in ASM_OUTPUT_LABELREF - w/out it the build dies with
>    "discard qualifiers" warning/error.

Committed.

> 3. the rest is the RETURN_ADDR_RTX changes (done after alpha and mmix).

Committed.  I have redone this fix by pulling the same change from
gcc-current.

> I've almost successfully completed the hpcsh build (MKPROFILE=no) with
> the last two changes in my tree.  The only problem was:
> 
> /nb/src/gnu/dist/gcc/gcc/function.c: In function `assign_parms':
> /nb/src/gnu/dist/gcc/gcc/function.c:4740: warning: `and' of mutually exclusive equal-tests is
always 0
> 
> Which I fail to understand, as the only && in that condition seems to
> be TARGET_SHMEDIA that expands to:
> 
>     (target_flags & SH5_BIT) && !(target_flags & SH1_BIT)
(Continue reading)

Serhat "Yanýkoðlu" | 14 Aug 2003 15:53
Picon
Favicon

BSD on MC16?

Hi!

Is it possible to run NetBSD on an Ericsson MC16 with
Hitachi SH3 processor running Windows CE 2.0 (Build
7258-7260)?

If it is not posible because of the version of WinCE
(I think th bootloader doesn't work with version fewer
than 2.1), a newer version of WinCE can be installed
on this machine? Or anything else?

Anyone who installed/intended to install NetBSD on
this machine, please share your information with me.

I first searched for Linux but I couldn't find enough
information about installation so I'm looking for
other os'es that could save me from WindowsCE.

Regards
Serhat Yanikoglu

__________________________________
Do you Yahoo!?
Yahoo! SiteBuilder - Free, easy-to-use web site design software
http://sitebuilder.yahoo.com

Valeriy E. Ushakov | 19 Aug 2003 02:20
Picon

Re: problem booting in j680??

On Sun, Aug 17, 2003 at 22:21:18 -0400, vwbug19 wrote:

> NetBSD 1.5T (RAMDISK) #0: Sun Mar 25 02:27:37 JST 2001

This is a really, *really* ancient version.  If you have a netbsd
machine that you can attach the CF to (via CF->PCMCIA gizmo or a USB
flash reader), you can follow these instructions.

http://mail-index.netbsd.org/port-hpcsh/2002/06/18/0000.html
http://www.onlamp.com/pub/a/bsd/2003/06/05/Big_Scary_Daemons.html

SY, Uwe
--

-- 
uwe <at> ptc.spbu.ru                         |       Zu Grunde kommen
http://www.ptc.spbu.ru/~uwe/            |       Ist zu Grunde gehen


Gmane