public inbox for devel@edk2.groups.io
 help / color / mirror / Atom feed
From: "Ard Biesheuvel" <ardb@kernel.org>
To: "Ni, Ray" <ray.ni@intel.com>
Cc: "devel@edk2.groups.io" <devel@edk2.groups.io>,
	Rebecca Cran <rebecca@bsdio.com>,  Andrew Fish <afish@apple.com>,
	"Kinney, Michael D" <michael.d.kinney@intel.com>,
	 "Liu, Zhiguang" <zhiguang.liu@intel.com>
Subject: Re: [edk2-devel] Is Xcode5ExceptionHandlerAsm.nasm still needed?
Date: Thu, 30 Mar 2023 17:04:42 +0200	[thread overview]
Message-ID: <CAMj1kXFwgS1HryJD6a1WPf8aRzdswOth0qGX1SyQLsK=gfyA4Q@mail.gmail.com> (raw)
In-Reply-To: <MN6PR11MB8244608E77DDA409C8CE7E5E8C8E9@MN6PR11MB8244.namprd11.prod.outlook.com>

On Thu, 30 Mar 2023 at 16:25, Ni, Ray <ray.ni@intel.com> wrote:
>
> I am afraid they are not template code.
> That means if nx is set for data section, they can not be executed.
>

Currently, we fix up the entries by writing to the .text section at
runtime, so NX seems out of scope in any case.

Someone should check Xcode5, but for LLD, adding  -Wl,-z,notext is
sufficient to work around the error.

  reply	other threads:[~2023-03-30 15:04 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2023-03-30 10:16 Is Xcode5ExceptionHandlerAsm.nasm still needed? Ni, Ray
2023-03-30 10:48 ` [edk2-devel] " Ard Biesheuvel
2023-03-30 11:47   ` Ard Biesheuvel
2023-03-30 14:25     ` Ni, Ray
2023-03-30 15:04       ` Ard Biesheuvel [this message]
2023-03-30 16:33         ` Ard Biesheuvel
2023-03-30 16:47           ` Ard Biesheuvel
2023-03-30 16:54           ` Rebecca Cran
2023-03-30 17:03             ` Ard Biesheuvel
2023-03-30 15:30 ` Michael D Kinney

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-list 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='CAMj1kXFwgS1HryJD6a1WPf8aRzdswOth0qGX1SyQLsK=gfyA4Q@mail.gmail.com' \
    --to=devel@edk2.groups.io \
    /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