All of lore.kernel.org
 help / color / mirror / Atom feed
* [parisc-linux] where to put 64 bit libmilli?
@ 2001-01-02 19:25 Paul Bame
  2001-01-02 19:39 ` John David Anglin
  0 siblings, 1 reply; 24+ messages in thread
From: Paul Bame @ 2001-01-02 19:25 UTC (permalink / raw)
  To: parisc-linux


I have source code for HP's 64-bit millicode and am working on making
it compilable with our tool chain.  But the bigger question is where
do I put it?

Right now millicode is part of libgcc.a in top-of-branch gcc, but I
seem to recall some linker magic, and when/if that happens I don't
know where to put the millicode stuff.

Help?

	-Paul Bame

^ permalink raw reply	[flat|nested] 24+ messages in thread
* Re: [parisc-linux] where to put 64 bit libmilli?
@ 2001-01-04 19:00 Cary Coutant
  2001-01-04 19:15 ` Grant Grundler
  0 siblings, 1 reply; 24+ messages in thread
From: Cary Coutant @ 2001-01-04 19:00 UTC (permalink / raw)
  To: law, John David Anglin; +Cc: Alan Modra, bame, parisc-linux

>For PA64 the indirect calling sequence is significantly simpler and is
>emitted inline, hence we don't need/use $$dyncall for PA64.

Even for PA-32, $$dyncall should be simple enough to emit inline. There 
were two reasons why we didn't do it at first:

1. Our compilers emitted code that was compatible with both MPE and 
HP-UX. Since function pointers had different representations in these two 
runtimes, $$dyncall had to check a low-order bit.

2. After we implemented shared libraries on HP-UX, function pointers 
could be either "internal" or "external", and $$dyncall had to check.

Eventually, HP-UX has moved to a runtime where function pointers are 
either all internal (for a statically-bound program) or all external (for 
a dynamically-bound program). We now have compiler options to generate 
the appropriate inline sequence for either model.

Linux shouldn't need to be concerned with either of these cases. If 
you're using $$dyncall for the 32-bit runtime, I strongly suggest that 
you change the compiler.

-cary

^ permalink raw reply	[flat|nested] 24+ messages in thread
* Re: [parisc-linux] where to put 64 bit libmilli?
@ 2001-01-04 21:20 Cary Coutant
  0 siblings, 0 replies; 24+ messages in thread
From: Cary Coutant @ 2001-01-04 21:20 UTC (permalink / raw)
  To: Grant Grundler; +Cc: law, John David Anglin, Alan Modra, bame, parisc-linux

>Where does support for HPUX built apps fit into the picture?
>
>I thought a long term goal is to support HPUX built apps to run under
>parisc-linux. Eg it would be really cool if we could run the HPUX
>X11 server...

If they're built on HP-UX, they will already have been linked with the 
HP-UX millicode library.

-cary

^ permalink raw reply	[flat|nested] 24+ messages in thread

end of thread, other threads:[~2001-01-04 23:49 UTC | newest]

Thread overview: 24+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2001-01-02 19:25 [parisc-linux] where to put 64 bit libmilli? Paul Bame
2001-01-02 19:39 ` John David Anglin
2001-01-02 19:58   ` Paul Bame
2001-01-02 20:17     ` Jeffrey A Law
2001-01-03  1:46       ` Alan Modra
2001-01-03  1:57         ` Matthew Wilcox
2001-01-03  2:34           ` Alan Modra
2001-01-03  3:37         ` Jeffrey A Law
2001-01-03  4:11           ` Alan Modra
2001-01-03  4:15             ` Jeffrey A Law
2001-01-03  4:44               ` Alan Modra
2001-01-04  4:04                 ` Jeffrey A Law
2001-01-04  5:20                   ` Alan Modra
2001-01-04  6:18                     ` John David Anglin
2001-01-04  7:03                       ` Alan Modra
2001-01-04 16:36                         ` Paul Bame
2001-01-04 17:06                           ` Jeffrey A Law
2001-01-04 17:29                       ` Jeffrey A Law
2001-01-04 17:37                     ` Jeffrey A Law
2001-01-04 17:41                       ` Paul Bame
2001-01-04 23:52                       ` Alan Modra
  -- strict thread matches above, loose matches on Subject: below --
2001-01-04 19:00 Cary Coutant
2001-01-04 19:15 ` Grant Grundler
2001-01-04 21:20 Cary Coutant

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.