Re: Dynamic linking is go (again)

Marcus Comstedt <[email protected]>
Newsgroups gmane.os.netbsd.ports.dreamcast,gmane.os.netbsd.ports.sh3
Message-ID <[email protected]>
Izumi Tsutsui <[email protected]> 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
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.