Linux PARISC architecture development
 help / color / mirror / Atom feed
From: Jeffrey A Law <law@redhat.com>
To: Alan Modra <alan@linuxcare.com.au>
Cc: Paul Bame <bame@fc.hp.com>,
	John David Anglin <dave@hiauly1.hia.nrc.ca>,
	parisc-linux@thepuffingroup.com
Subject: Re: [parisc-linux] where to put 64 bit libmilli?
Date: Tue, 02 Jan 2001 20:37:35 -0700	[thread overview]
Message-ID: <1895.978493055@upchuck> (raw)
In-Reply-To: Your message of Wed, 03 Jan 2001 12:46:52 +1100. <Pine.LNX.4.21.0101031235310.24351-100000@front.linuxcare.com.au>



  In message <Pine.LNX.4.21.0101031235310.24351-100000@front.linuxcare.com.au>y
ou write:
  > The real reason that we currently need separate millicode routines for
  > each shared lib is that linkage to millicode functions is different than
  > for normal functions.  In particular, you don't want to load r19 (32 bit
  > case) or r27 (64 bit case) when calling millicode.  Therefore, a shared
  > millicode lib would require special .plt entries.  Not too hard to do,
  > just a bit messy.
So what happens in this case.

Pretend shared library A references $$div from the millicode routines.  Also
assume that the main program does not reference $$div.  Also assume that
the shared library is _not_ referenced on the link line for the main
program, but instead is sucked in via dl_open calls.

The shared library will have an undefined reference for $$div which can't
be satisfied and will terminate the application if we execute a path in
the shared library which calls $$div.


jeff

  parent reply	other threads:[~2001-01-03  3:37 UTC|newest]

Thread overview: 24+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
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 [this message]
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

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1895.978493055@upchuck \
    --to=law@redhat.com \
    --cc=alan@linuxcare.com.au \
    --cc=bame@fc.hp.com \
    --cc=dave@hiauly1.hia.nrc.ca \
    --cc=parisc-linux@thepuffingroup.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox