public inbox for gcc@gcc.gnu.org
 help / color / mirror / Atom feed
From: Richard Henderson <rth@cygnus.com>
To: law@cygnus.com
Cc: "Charles M. Hannum" <mycroft@mit.edu>, egcs@cygnus.com
Subject: Re: Relocations put in read-only segment?
Date: Sat, 25 Apr 1998 16:18:00 -0000	[thread overview]
Message-ID: <19980425115503.13371@dot.cygnus.com> (raw)
In-Reply-To: <17077.893447585@hurl.cygnus.com>

On Fri, Apr 24, 1998 at 01:53:05PM -0600, Jeffrey A Law wrote:
> This is a pretty common problem; generally it's fixed by having
> SELECT_SECTION and related functions put these things into the
> data section for PIC code generation.  Unfortunately many ports
> do not handle this case correctly.

Actually, Jeff,

]        pushl LC1@GOTOFF(%ebx)                                       
    vs
]        movl _XtStrings@GOT(%ebx),%eax
]        addl $788,%eax                    
]        pushl %eax

is a code gen issue and has nothing to do with SELECT_SECTION. 
This would have to do with GO_IF_LEGITIMATE_ADDRESS and friends.

But I don't replicate it with the given example and 19980418.


r~

      parent reply	other threads:[~1998-04-25 16:18 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
1998-04-23 23:23 Charles M. Hannum
1998-04-24 16:23 ` Jeffrey A Law
1998-04-24 16:23   ` Charles M. Hannum
1998-04-25 17:40     ` Jeffrey A Law
1998-04-24 16:23   ` Charles M. Hannum
1998-04-24 16:23   ` Charles M. Hannum
1998-04-25 16:18   ` Richard Henderson [this message]

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=19980425115503.13371@dot.cygnus.com \
    --to=rth@cygnus.com \
    --cc=egcs@cygnus.com \
    --cc=law@cygnus.com \
    --cc=mycroft@mit.edu \
    /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).