This is the mail archive of the libc-hacker@sourceware.cygnus.com mailing list for the glibc project.

Note that libc-hacker is a closed list. You may look at the archives of this list, but subscription and posting are not open.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: Adding SH support to glibc-2.2


On Mon, Jun 12, 2000 at 02:27:29PM +0900, kaz Kojima wrote:
> Hi,
> 
> Here's a patch for current libc to support new sh-linux-gnu target for
> Linux on Hitachi SH processors. This is a part of patch for non SH-specific
> files.
> We need the second diff for csu/Makefile to get cststuff routines directly.
> This is needed because we couldn't use generated files.   The constant (for
> label) is emitted far away than expected by the generation, after the function
> epilogue. The third diff adds the relocation types for SH ELF. The relocation
> types from R_SH_GOT32 to R_SH_GOTPC are newly added under the consensus with
> Hitachi and we use them in adding PIC support to binutils for SH target.
> --
> 	Kazumoto Kojima
> 
> 
> 2000-06-12  Kazumoto Kojima  <kkojima@rr.iij4u.or.jp>
> 	    Yutaka Niibe  <gniibe@chroot.org>
> 
> 	* configure.in: Add machine sh3, sh4.
> 	* csu/Makefile: Add new variable crts-predefined whose non-zero
> 	value means to generate crt[in].o from system dependent predefined
> 	crt[in].S instead of initfini.c.

I don't like it. IA-64 also has its own crt[in].o. Could you please
take a look at how we did it and copy it to SH?


H.J.

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]