Subject: Re: Dynamic linking is go (again)
To: Izumi Tsutsui <>
From: Marcus Comstedt <>
List: port-sh3
Date: 07/05/2003 22:54:39
Izumi Tsutsui <> writes:

> In sh3_elf/crt0.c, __start and _start are different,
> but __start only push r9 and r8 into stack for args
> of (Obj_Entry *) and (struct ps_strings *).
> (actually ENTRY is machine dependent value in gcc)

Yes, I know.  That's why I suggested making them the same.  :-)
Look at the code in i386_elf/crt0.c to see what I mean.  It has
exactly the same construct with an assembler block at the beginning,
but the labels used are different.

> I'm not familiar with startup code, but if these args
> are only used by PIC binaries, I guess there is no
> compatibility problem.

They are not used for static binaries, at least.

  // Marcus