Commit Graph

8 Commits

Author SHA1 Message Date
Kim Woelders 0f378ef87f Add endbr32/64 instruction at the start of asm functions
Only do so when compiling with -fcf-protection (=> __CET__ is defined).

Inspired by:
004ff08738

Comment:
  Fixes SIGILL in tests on 11th gen intel (IBT)

#23
2024-04-13 15:36:12 +02:00
Kim Woelders e9a89df496 Some cleanups in asm code
Drop DO_MMX_ASM and DO_AMD64_ASM compile guards, handled by make.
Whitespace cleanups.
2024-04-13 09:59:07 +02:00
Kim Woelders 81c3539440 Patch from Dmitry Antipov:
- Visibility hiding
- Move common asm macros to asm.h
- Fix some typos.


SVN revision: 21974
2006-04-09 08:12:51 +00:00
Mike Frysinger bba703ec24 only use GNU stack markings when generating ELF objects
SVN revision: 17180
2005-10-04 22:54:43 +00:00
Mike Frysinger 627e5b86d6 merge PIC-happy code by PaX/Kevin Quinn/me
SVN revision: 16089
2005-08-10 05:10:19 +00:00
Mike Frysinger 0b9de66079 fixes from the PaX guys to make sure we dont have executable stacks
SVN revision: 16053
2005-08-06 20:30:27 +00:00
Mike Frysinger cfff106860 fix whitespace
SVN revision: 16039
2005-08-05 21:45:56 +00:00
Carsten Haitzler 5886f2a7cd and new much cleaner tree.
SVN revision: 12113
2004-11-01 09:45:31 +00:00