public inbox for devel@edk2.groups.io
 help / color / mirror / Atom feed
* [PATCH v2 0/3] fix GCC optimizations and warnings for SetJump/LongJump
@ 2017-12-22 19:16 M1cha
  2017-12-29 15:21 ` Gao, Liming
  0 siblings, 1 reply; 2+ messages in thread
From: M1cha @ 2017-12-22 19:16 UTC (permalink / raw)
  To: edk2-devel; +Cc: Ard Biesheuvel, Michael D Kinney, Liming Gao

I've already discussed this in past but never actually sent proper
patches for some reason.

This patch series is about fixing problems with these functions when
using GCC.

V2:
* add attributes to C-files too
* remove useless condition in RETURNS_TWICE macro

M1cha (3):
  MdePkg: add RETURNS_TWICE attribute
  MdePkg/BaseLib: add attribute 'RETURNS_TWICE' to SetJump
  MdePkg: add NORETURN attribute to LongJump and InternalLongJump

 MdePkg/Include/Base.h                        | 8 ++++++++
 MdePkg/Include/Library/BaseLib.h             | 2 ++
 MdePkg/Library/BaseLib/BaseLibInternals.h    | 1 +
 MdePkg/Library/BaseLib/Ebc/SetJumpLongJump.c | 2 ++
 MdePkg/Library/BaseLib/Ia32/LongJump.c       | 1 +
 MdePkg/Library/BaseLib/Ia32/SetJump.c        | 1 +
 MdePkg/Library/BaseLib/LongJump.c            | 1 +
 7 files changed, 16 insertions(+)

-- 
2.15.1



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

end of thread, other threads:[~2017-12-29 15:16 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2017-12-22 19:16 [PATCH v2 0/3] fix GCC optimizations and warnings for SetJump/LongJump M1cha
2017-12-29 15:21 ` Gao, Liming

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