All of lore.kernel.org
 help / color / mirror / Atom feed
From: Richard Henderson <rth@twiddle.net>
To: Paolo Bonzini <pbonzini@redhat.com>, qemu-devel@nongnu.org
Subject: Re: [Qemu-devel] [PATCH v5] cutils: Rewrite x86 buffer zero checking
Date: Wed, 14 Sep 2016 08:53:01 -0700	[thread overview]
Message-ID: <347e8eab-c287-c28f-ce10-e0ead809f1fc@twiddle.net> (raw)
In-Reply-To: <6c0a2f11-1799-830e-b947-16878781e667@redhat.com>

On 09/14/2016 01:56 AM, Paolo Bonzini wrote:
>> I was hoping to avoid an extra RELATIVE relocation in the (normal) PIE
>> case.
> 
> There would be no relocation for 0 and NULL, right?  GCC would actually
> put them in bss, IIRC.

Ah, I now see your complaint.

You'd prefer "type var = INIT" over "type var INIT".  In which case, yes, 0 and
NULL work just fine.


r~

      reply	other threads:[~2016-09-14 15:54 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-09-13 20:57 [Qemu-devel] [PATCH v5] cutils: Rewrite x86 buffer zero checking Richard Henderson
2016-09-13 23:21 ` Paolo Bonzini
2016-09-14  1:11   ` Richard Henderson
2016-09-14  8:56     ` Paolo Bonzini
2016-09-14 15:53       ` 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=347e8eab-c287-c28f-ce10-e0ead809f1fc@twiddle.net \
    --to=rth@twiddle.net \
    --cc=pbonzini@redhat.com \
    --cc=qemu-devel@nongnu.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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.