public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
From: Harald Dunkel <harald.dunkel@t-online.de>
To: Roger Heflin <rheflin@atipa.com>
Cc: "'Jim Gifford'" <maillist@jg555.com>,
	"'Jeff Garzik'" <jgarzik@pobox.com>, "'Andi Kleen'" <ak@suse.de>,
	linux-kernel@vger.kernel.org
Subject: Re: Pure 64 bootloaders
Date: Thu, 15 Sep 2005 08:16:27 +0200	[thread overview]
Message-ID: <432911BB.2050301@t-online.de> (raw)
In-Reply-To: <EXCHG2003Aj5p1Fjxe0000006ad@EXCHG2003.microtech-ks.com>

[-- Attachment #1: Type: text/plain, Size: 990 bytes --]

Roger Heflin wrote:
> 
> I guess I see 5 choices:
> 
> #1:
> Use lib for whatever the standard os/arch size is.
> 
> Use lib32 for the non-standard size.
> 
> #2: 
> Continue the current mess.
> 
> #3:
> Use both lib32 and lib64 and maybe put a link from lib to the
> default one, probably lib64.
> 
> #4:
> Use both lib32 and lib64 and don't put a link.
> 
> #5:
> Designate the bit size in the name of the lib, ie libc.so64 or
> libc.so32 or something similar and put them all in the same
> directory and let the lib loading code take care of finding the
> correct size.
> 

I would say there is a sixth option, at least in theory: Add some
special symbols like 'LP64' or 'ILP32' to the symbol table, and add
a reference to one of these symbols to every *.o file. The linker
could distinguish between 32bit and 64bit implementation within the
same library. This would be similar to a symbol-versioned library.
But I am not sure whether this would be a reasonable option.


Regards

Harri

[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 256 bytes --]

  parent reply	other threads:[~2005-09-15  6:17 UTC|newest]

Thread overview: 29+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2005-09-10  7:42 Pure 64 bootloaders Jim Gifford
2005-09-10  7:52 ` Jeff Garzik
2005-09-10  8:01 ` David S. Miller
2005-09-11 16:33   ` Jim Gifford
2005-09-11 18:48     ` David S. Miller
2005-09-11 18:49     ` David S. Miller
2005-09-10  8:28 ` Andi Kleen
2005-09-10  8:39   ` Jeff Garzik
2005-09-10 16:34     ` Chris Wedgwood
2005-09-10 18:15       ` David S. Miller
2005-09-12 21:32       ` Joe Bob Spamtest
2005-09-12 21:41         ` David S. Miller
2005-09-12 22:02           ` Joe Bob Spamtest
2005-09-12 22:12             ` David S. Miller
2005-09-12 23:09               ` Joe Bob Spamtest
2005-09-13 16:52                 ` Lennart Sorensen
2005-09-13 17:00                   ` Joe Bob Spamtest
2005-09-14  3:44                     ` Kyle Moffett
2005-09-14 13:20                       ` Lennart Sorensen
2005-09-14 17:26                         ` Kyle Moffett
2005-09-13 17:21                   ` Maciej W. Rozycki
2005-09-13 19:37                     ` Lennart Sorensen
2005-09-14  9:39                       ` Maciej W. Rozycki
2005-09-10 18:30     ` Harald Dunkel
2005-09-12 14:50       ` Roger Heflin
2005-09-13 17:14         ` Bastian Blank
2005-09-15  6:16         ` Harald Dunkel [this message]
2005-09-11 11:53   ` Stephen Frost
2005-09-11 14:14     ` Stefan Smietanowski

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=432911BB.2050301@t-online.de \
    --to=harald.dunkel@t-online.de \
    --cc=ak@suse.de \
    --cc=jgarzik@pobox.com \
    --cc=linux-kernel@vger.kernel.org \
    --cc=maillist@jg555.com \
    --cc=rheflin@atipa.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