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
6c5afe6fa1
Fix alignment error on amd64 (patch from Erik Boettcher).
...
SVN revision: 38402
2009-01-01 13:59:21 +00: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
Carsten Haitzler
7f9c764c88
movdqa -> movdqu where appropriate
...
SVN revision: 18391
2005-11-09 02:51:50 +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
Carsten Haitzler
e814b06bed
amd64 alignment fix
...
SVN revision: 16275
2005-08-22 11:06:35 +00:00
Mike Frysinger
90fdea7686
make sure the masks are in the .data section like they should be
...
SVN revision: 16055
2005-08-07 07:07:24 +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
155fb31bab
amd64 asm patches
...
SVN revision: 14121
2005-04-09 00:08:58 +00:00