public inbox for gcc-help@gcc.gnu.org
 help / color / mirror / Atom feed
From: Ian Lance Taylor <iant@google.com>
To: "Laurențiu Dascălu" <dascalu.laurentziu@gmail.com>
Cc: gcc-help@gcc.gnu.org
Subject: Re: Disable relative calls
Date: Wed, 07 Apr 2010 14:29:00 -0000	[thread overview]
Message-ID: <mcrsk77gwux.fsf@dhcp-172-17-9-151.mtv.corp.google.com> (raw)
In-Reply-To: <4BAE3406.2020806@gmail.com> (=?utf-8?Q?=22Lauren=C8=9Biu_Das?=  =?utf-8?Q?c=C4=83lu=22's?= message of "Sat\, 27 Mar 2010 18\:36\:22 +0200")

Laurențiu Dascălu  <dascalu.laurentziu@gmail.com> writes:

> How can I disable near relative calls optimization? When calling a
> function, instead of a relative call(generate 0xe8 instruction) I want
> an absolute call.

I think you would have to edit the gcc source code, somewhere around
the "call" insn in gcc/config/i386/i386.md.

Ian

      reply	other threads:[~2010-04-07 14:29 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-03-28  3:04 Laurențiu Dascălu
2010-04-07 14:29 ` Ian Lance Taylor [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=mcrsk77gwux.fsf@dhcp-172-17-9-151.mtv.corp.google.com \
    --to=iant@google.com \
    --cc=dascalu.laurentziu@gmail.com \
    --cc=gcc-help@gcc.gnu.org \
    /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).