public inbox for gcc@gcc.gnu.org
 help / color / mirror / Atom feed
From: meissner@cygnus.com
To: jason@cygnus.com, rth@cygnus.com
Cc: egcs@cygnus.com, haible@ilog.fr
Subject: Re: .eh_frame section
Date: Wed, 08 Oct 1997 15:38:00 -0000	[thread overview]
Message-ID: <199710082238.SAA17200@tweedledumb.cygnus.com> (raw)

| On Tue, Oct 07, 1997 at 10:42:08PM -0700, Jason Merrill wrote:
| > Richard was muttering something about a possibly suitable reloc style the
| > other day, but I don't remember the upshot.
| 
| Most architectures have a word sized pc-relative relocation, but few
| (none?) provide a pseudo-op to use it.  So there we are.

On the other hand, doing:

	.long .-label

(or .word, .etc.) will often times generate the approprate relocation.

You can even say:

	.L1:
		.long .L1-label1
		.long .L1-label2
		.long .L1-label3

for switch statements that contain PC-relative offsets.

             reply	other threads:[~1997-10-08 15:38 UTC|newest]

Thread overview: 13+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
1997-10-08 15:38 meissner [this message]
1997-10-08 21:19 ` Richard Henderson
1997-10-09  9:26   ` Ian Lance Taylor
1997-10-09  9:26     ` Jason Merrill
1997-10-10 17:21       ` Bruno Haible
1997-10-13  9:44         ` Joern Rennecke
1997-10-13 13:41           ` Richard Henderson
  -- strict thread matches above, loose matches on Subject: below --
2007-05-29 21:33 sfora dim
2007-05-29 23:13 ` Ian Lance Taylor
2007-05-30  7:41   ` sfora dim
1997-10-07 23:14 Bruno Haible
1997-10-07 23:14 ` Jason Merrill
1997-10-08  9:24   ` Richard Henderson

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=199710082238.SAA17200@tweedledumb.cygnus.com \
    --to=meissner@cygnus.com \
    --cc=egcs@cygnus.com \
    --cc=haible@ilog.fr \
    --cc=jason@cygnus.com \
    --cc=rth@cygnus.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).