Ticket #8896: scummvm-0.9.1-no-execstack.patch

File scummvm-0.9.1-no-execstack.patch, 786 bytes (added by SF/keescook, 16 years ago)

mark up asm to stop executable stack

  • scummvm-0.9.1/graphics/scaler/hq2x_i386.asm

    old new  
    18401840    dd ..@cross8, ..@flag0,  ..@flag0,  ..@flag0,
    18411841    dd ..@flag0,  ..@flag0,  ..@flag0,  ..@flag0
    18421842
     1843
     1844%ifidn __OUTPUT_FORMAT__,elf
     1845section .note.GNU-stack noalloc noexec nowrite progbits
     1846%endif
     1847
  • scummvm-0.9.1/graphics/scaler/hq3x_i386.asm

    old new  
    24322432    dd ..@cross8, ..@flag0,  ..@flag0,  ..@flag0,
    24332433    dd ..@flag0,  ..@flag0,  ..@flag0,  ..@flag0
    24342434
     2435
     2436%ifidn __OUTPUT_FORMAT__,elf
     2437section .note.GNU-stack noalloc noexec nowrite progbits
     2438%endif
     2439