Skip to content

Commit

Permalink
Merge pull request boostorg#128 from ericastor/develop
Browse files Browse the repository at this point in the history
Mark 32-bit GNU assembly files targeting Windows as safeseh compatible
  • Loading branch information
olk committed Nov 28, 2019
2 parents 1954f18 + bebf903 commit 0e2c67e
Show file tree
Hide file tree
Showing 3 changed files with 18 additions and 0 deletions.
6 changes: 6 additions & 0 deletions src/asm/jump_i386_ms_pe_gas.asm
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,12 @@
.file "jump_i386_ms_pe_gas.asm"
.text
.p2align 4,,15

/* mark as using no unregistered SEH handlers */
.globl @feat.00
.def @feat.00; .scl 3; .type 0; .endef
.set @feat.00, 1

.globl _jump_fcontext
.def _jump_fcontext; .scl 2; .type 32; .endef
_jump_fcontext:
Expand Down
6 changes: 6 additions & 0 deletions src/asm/make_i386_ms_pe_gas.asm
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,12 @@
.file "make_i386_ms_pe_gas.asm"
.text
.p2align 4,,15

/* mark as using no unregistered SEH handlers */
.globl @feat.00
.def @feat.00; .scl 3; .type 0; .endef
.set @feat.00, 1

.globl _make_fcontext
.def _make_fcontext; .scl 2; .type 32; .endef
_make_fcontext:
Expand Down
6 changes: 6 additions & 0 deletions src/asm/ontop_i386_ms_pe_gas.asm
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,12 @@
.file "ontop_i386_ms_pe_gas.asm"
.text
.p2align 4,,15

/* mark as using no unregistered SEH handlers */
.globl @feat.00
.def @feat.00; .scl 3; .type 0; .endef
.set @feat.00, 1

.globl _ontop_fcontext
.def _ontop_fcontext; .scl 2; .type 32; .endef
_ontop_fcontext:
Expand Down

0 comments on commit 0e2c67e

Please sign in to comment.