public inbox for gcc@gcc.gnu.org
 help / color / mirror / Atom feed
* egcs on mips-dec-ultrix4.4
@ 1997-11-14  4:51 Burkhard Steding
  0 siblings, 0 replies; only message in thread
From: Burkhard Steding @ 1997-11-14  4:51 UTC (permalink / raw)
  To: egcs

Hi,

I think the definition of INITIALIZE_TRAMPOLINE in gcc/config/mips/mips.h
is wrong:

#define INITIALIZE_TRAMPOLINE(ADDR, FUNC, CHAIN)			    \
{ .......								    \
  emit_library_call (gen_rtx (SYMBOL_REF, Pmode, "_flush_cache"),	    \
  .......								    \
}

On Ultrix 4.4 (and probably older versions too) there is no _flush_cache()
in the system libraries. Older versions of gcc did:

#define INITIALIZE_TRAMPOLINE(ADDR, FUNC, CHAIN)			    \
{ .......								    \
  emit_library_call (gen_rtx (SYMBOL_REF, Pmode, "cacheflush"),		    \
  .......								    \
}

This works since there is cacheflush() in libc.a.
Possible solutions are to #ifdef DECSTATION this in gcc/config/mips/mips.h
or to #undef INITIALIZE_TRAMPOLINE and redefine in gcc/config/mips/ultrix.h.

-- 
     _________________________________
    /\                                \
    \_|   Burkhard Steding            |
      |   HELIOS Software GmbH        |
      |   Steinriede 3                |
      |   30827 Garbsen               |
      |   Germany                     |
      |                               |
      |   Tel.: +49 5131 709336       |
      |   Fax.: +49 5131 709325       |
      |   e-mail: bst@helios.de       |
      |   ____________________________|___
       \_/_______________________________/

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~1997-11-14  4:51 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
1997-11-14  4:51 egcs on mips-dec-ultrix4.4 Burkhard Steding

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).