This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


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

Re: [PATCH] linux support for SH



  In message <orpumnba4v.fsf@guarana.lsd.ic.unicamp.br>you write:
  > --=-=-=
  > 
  > On Aug 29, 2000, kaz Kojima <kkojima@rr.iij4u.or.jp> wrote:
  > 
  > > Here's a patch to support a new sh-unknown-linux-gnu target for Hitachi
  > > SH processors. This is a patch for (current cvs tree + our PIC patch).
  > 
  > And here's the patch for GNU/Linux/SH that we currently have at Red
  > Hat.  Ok to install?
  > 
  > > 	Changes for "fpscr_values" (place it at .data)
  > 
  > What's the point of doing this?
  > 
  > In fact, now that you mention it, I recall Joern gave an interesting
  > idea: we could have fpscr_values be in a fixed (low) position in
  > virtual memory, set up by the kernel, so that we could avoid all the
  > hassle of PIC addressing when referring to it.
  > 
  > 
  > 
  > --=-=-=
  > Content-Type: text/x-patch
  > Content-Disposition: inline; filename=shlin-gcc.patch
  > 
  > Index: gcc/ChangeLog
  > from  Niibe Yutaka  <gniibe@m17n.org>, Kaz Kojima  <kkojima@rr.iij4u.or.jp>
  > , Alexandre Oliva  <aoliva@redhat.com>
  > 
  > 	* configure.in (sh-*-linux*): Added.
  > 	* configure: Rebuilt.
  > 	* config/sh/t-linux: New file.
  > 	* config/sh/sh.h (USERMODE_BIT): Define.
  > 	(TARGET_USERMODE): Likewise.
  > 	(TARGET_SWITCHES): New switches for the bits above.
  > 	(INITIALIZE_TRAMPOLINE): Call __ic_invalidate in USERMODE.
  > 	* config/sh/linux.h: New file.
  > 	* config/sh/lib1funcs.asm (GLOBAL): Don't prefix symbols with
  > 	underscore on linux.
  > 	(L_sdivsi3, L_udivsi3): Define for linux.
  > 	(L_ic_invalidate): Define.
  > 	* invoke.texi (SH Options): Document -musermode.
Approved.  Please install.

Thanks,
jeff


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