public inbox for gcc-patches@gcc.gnu.org
 help / color / mirror / Atom feed
From: "H.J. Lu" <hjl.tools@gmail.com>
To: Bernd Schmidt <bschmidt@redhat.com>, Uros Bizjak <ubizjak@gmail.com>
Cc: GCC Patches <gcc-patches@gcc.gnu.org>,
	Richard Henderson <rth@redhat.com>,
		Richard Biener <richard.guenther@gmail.com>,
	Jakub Jelinek <jakub@redhat.com>,
		Jiong Wang <jiong.wang@arm.com>
Subject: Re: PING: [PATCH] PR target/67215: -fno-plt needs improvements for x86
Date: Tue, 27 Oct 2015 11:38:00 -0000	[thread overview]
Message-ID: <CAMe9rOqVM9Qhq1qPjo0qAVQFCWw-c+Ne2CtkpX_TcW5fcVbBuA@mail.gmail.com> (raw)
In-Reply-To: <562F5E11.1090503@redhat.com>

On Tue, Oct 27, 2015 at 4:20 AM, Bernd Schmidt <bschmidt@redhat.com> wrote:
> On 10/19/2015 09:55 PM, H.J. Lu wrote:
>>
>>          * calls.c (prepare_call_address): Don't handle -fno-plt here.
>
>
> Is any other target using -fno-plt? If not, and if that's really just a

aarch64 is the only target which checks -fno-plt from commit log below.
I CCed the code author.  aarch64 may suffer from the same issue.

> revert I'll approve it on the condition that the x86 maintainers are happy
> with the rest of the changes.

Uros, can you take a look?

> Your patch is word-wrapped.

Sorry for that.  Here is the link for the patch:

https://gcc.gnu.org/git/?p=gcc.git;a=patch;h=a116a4af073bb99c3117dae38f02d528815bc431

Thanks.

-- 
H.J.
---
Author: jiwang <jiwang@138bc75d-0d04-0410-961f-82ee72b054a4>
Date:   Thu Aug 6 16:02:16 2015 +0000

    [AArch64] Tighten direct call pattern for sibcall to repair -fno-plt

    2015-08-06  Jiong Wang  <jiong.wang@arm.com>

    gcc/
      * config/aarch64/constraints.md (Usf): Add the test of
      aarch64_is_noplt_call_p.

    gcc/testsuite/
      * gcc.target/aarch64/noplt_3.c: New testcase.



    git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@226682
138bc75d-0d04-0410-961f-82ee72b054a4

commit 2bcb7473b37f9aa76e530f0a2007893489f61586
Author: jiwang <jiwang@138bc75d-0d04-0410-961f-82ee72b054a4>
Date:   Thu Aug 6 15:57:36 2015 +0000

    [AArch64] Tighten direct call pattern to repair -fno-plt

    2015-08-06  Jiong Wang  <jiong.wang@arm.com>

    gcc/
      * config/aarch64/aarch64-protos.h (aarch64_is_noplt_call_p): New
declaration.
      * config/aarch64/aarch64.c (aarch64_is_noplt_call_p): New function.
      * config/aarch64/aarch64.md (call_value_symbol): Check noplt scenarios.
      (call_symbol): Likewise.

    gcc/testsuite/
      * gcc.target/aarch64/noplt_1.c: New testcase.
      * gcc.target/aarch64/noplt_2.c: Likewise.



    git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@226681
138bc75d-0d04-0410-961f-82ee72b054a4

  reply	other threads:[~2015-10-27 11:37 UTC|newest]

Thread overview: 31+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-10-19 19:59 H.J. Lu
2015-10-27 11:28 ` Bernd Schmidt
2015-10-27 11:38   ` H.J. Lu [this message]
2015-10-27 12:52     ` Uros Bizjak
2015-10-27 12:57     ` Jiong Wang
2015-10-27 13:07       ` H.J. Lu
2015-10-27 13:55         ` Jiong Wang
2015-10-27 14:49           ` Ramana Radhakrishnan
2015-10-27 15:20             ` H.J. Lu
2015-10-27 15:27               ` Jiong Wang
2015-10-27 15:33                 ` H.J. Lu
2015-10-27 17:53                 ` Jeff Law
2015-10-27 15:45               ` Ramana Radhakrishnan
2015-10-27 17:50                 ` Jeff Law
2015-10-27 19:31                   ` H.J. Lu
2015-10-29  1:10                     ` Jeff Law
2015-10-29  1:11                       ` H.J. Lu
2015-10-29  1:14                         ` Bernd Schmidt
2015-10-29  1:21                           ` H.J. Lu
2015-10-29  1:47                             ` Bernd Schmidt
2015-10-29  3:39                               ` H.J. Lu
2015-10-29  9:46                                 ` Ramana Radhakrishnan
2015-10-29 17:18                                   ` Jeff Law
2015-10-29 17:15                             ` Jeff Law
2015-12-01 13:38                             ` David Edelsohn
2015-10-29 17:08                         ` Jeff Law
2015-10-27 21:02                 ` Jeff Law
2015-10-28 10:36                   ` Ramana Radhakrishnan
2015-10-28 11:01                     ` James Greenhalgh
2015-10-28 11:05                       ` James Greenhalgh
2015-10-28 14:45                         ` Ramana Radhakrishnan

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=CAMe9rOqVM9Qhq1qPjo0qAVQFCWw-c+Ne2CtkpX_TcW5fcVbBuA@mail.gmail.com \
    --to=hjl.tools@gmail.com \
    --cc=bschmidt@redhat.com \
    --cc=gcc-patches@gcc.gnu.org \
    --cc=jakub@redhat.com \
    --cc=jiong.wang@arm.com \
    --cc=richard.guenther@gmail.com \
    --cc=rth@redhat.com \
    --cc=ubizjak@gmail.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).