From: "Tim Lewis" <tim.lewis@insyde.com>
To: <edk2-devel@lists.01.org>
Subject: Does __attribute__ ((selectany)) make sense now for GCC?
Date: Fri, 18 May 2018 15:22:00 -0700 [thread overview]
Message-ID: <03b101d3eef6$a5f4dd90$f1de98b0$@insyde.com> (raw)
In Visual Studio we have __declspec(selectany) to limit the impact of unused
data.
I see that GCC for Windows has __attribute__ ((selectany)).
Should we me using this for GLOBAL_REMOVE_IF_UNREFERENCED in
MdePkg\Include\Base.h?
Tim
next reply other threads:[~2018-05-18 22:22 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2018-05-18 22:22 Tim Lewis [this message]
2018-05-18 22:38 ` Does __attribute__ ((selectany)) make sense now for GCC? Andrew Fish
2018-05-18 22:43 ` Tim Lewis
2018-05-18 23:07 ` Andrew Fish
2018-05-21 0:51 ` Gao, Liming
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='03b101d3eef6$a5f4dd90$f1de98b0$@insyde.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