public inbox for sid@sourceware.org
 help / color / mirror / Atom feed
From: "Frank Ch. Eigler" <fche@redhat.com>
To: matthew green <mrg@cygnus.com>
Cc: sid@sources.redhat.com
Subject: Re: RFA: loader Elf64 loader & split insn/data accessors
Date: Sat, 13 Jan 2001 05:41:00 -0000	[thread overview]
Message-ID: <20010113084104.A2744@redhat.com> (raw)
In-Reply-To: <20700.979387232@cygnus.com>

Hi -

On Sat, Jan 13, 2001 at 11:00:32PM +1100, matthew green wrote:
: [...]
: this following patch splits the current elf `loader' module
: [...] this hack allows full 32 bit harvard arch machines to have
: a full normal address space, with insn being (at the object file format)
: from 0x.10000.0000 ... 0x1.ffff.ffff.  

Right.


: it should be removed when sid can deal with >32 bit address spaces.

How do you suggest that should be done?  We used to have a host_int_8
address option in the sid::bus class; maybe it's time to bring it back.
At another point in history, the host_int_4 address option didn't exist,
forcing all address arithmetic to be done on long-long types, which was
a performance loser.

(I hesitate to mention the other option of writing new sidutil classes
that grow accessors & buses on demand in order to represent a sparsely
populated 64-bit address space.)


: OK to commit?

Sure - it's a good first step.  

I would suggest though renaming the "insn"/"data" portions of the code and
accessor names names to something like "0" and "1", in an attempt to encode
the 33rd bit of the address in the name, rather than our specific
interpretation of that bit for a single target port.

Also, what about the "set-pc!" output signal?

Also, it would be nice to commit some elf32 and elf64 executables into
the test suite, and run the elf-loader on them.

- FChE
-- 
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.0.4 (GNU/Linux)
Comment: For info see http://www.gnupg.org

iD8DBQE6YFrwVZbdDOm/ZT0RArKQAKCF5xklWn/KdbbGhrqjqlduHGpVnACeKgqU
VqUJAVY1NFNzXiOljaqL5g8=
=Ca7u
-----END PGP SIGNATURE-----

  reply	other threads:[~2001-01-13  5:41 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2001-01-13  4:01 matthew green
2001-01-13  5:41 ` Frank Ch. Eigler [this message]
2001-01-13 19:12   ` matthew green
2001-01-13 21:08     ` matthew green
2001-01-14  9:55       ` Frank Ch. Eigler
2001-01-15  8:28         ` debugger_bus_insn dead (was: re: RFA: loader Elf64 loader & split insn/data accessors) matthew green

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=20010113084104.A2744@redhat.com \
    --to=fche@redhat.com \
    --cc=mrg@cygnus.com \
    --cc=sid@sources.redhat.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;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).