public inbox for devel@edk2.groups.io
 help / color / mirror / Atom feed
* Does __attribute__ ((selectany)) make sense now for GCC?
@ 2018-05-18 22:22 Tim Lewis
  2018-05-18 22:38 ` Andrew Fish
  0 siblings, 1 reply; 5+ messages in thread
From: Tim Lewis @ 2018-05-18 22:22 UTC (permalink / raw)
  To: edk2-devel

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



^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2018-05-21  0:51 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2018-05-18 22:22 Does __attribute__ ((selectany)) make sense now for GCC? Tim Lewis
2018-05-18 22:38 ` Andrew Fish
2018-05-18 22:43   ` Tim Lewis
2018-05-18 23:07     ` Andrew Fish
2018-05-21  0:51       ` Gao, Liming

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox