Ticket #38298: patch-libs-context-130308-0.diff

File patch-libs-context-130308-0.diff, 2.1 KB (added by Serge3leo (Serguei E. Leontiev), 11 years ago)
  • libs/context/build/Jamfile.v2

    diff -ruN libs/context/build/Jamfile.v2 libs/context/build/Jamfile.v2
     
    379379   ;
    380380
    381381alias asm_context_sources
     382   : asm/make_i386_x86_64_sysv_macho_gas.S
     383     asm/jump_i386_x86_64_sysv_macho_gas.S
     384   : <address-model>32_64
     385     <architecture>x86
     386     <binary-format>mach-o
     387     <target-os>darwin
     388     <toolset>darwin
     389   ;
     390
     391alias asm_context_sources
    382392   : asm/make_x86_64_ms_pe_masm.asm
    383393     asm/jump_x86_64_ms_pe_masm.asm
    384394     dummy.cpp
  • libs/context/src/asm/jump_i386_x86_64_sysv_macho_gas.S

    diff -ruN libs/context/src/asm/jump_i386_x86_64_sysv_macho_gas.S libs/context/src/asm/jump_i386_x86_64_sysv_macho_gas.S
     
     1/*
     2            Copyright Sergue E. Leontiev <lse@cryptopro.ru> 2013 :)
     3   Distributed under the Boost Software License, Version 1.0.
     4      (See accompanying file LICENSE_1_0.txt or copy at
     5          http://www.boost.org/LICENSE_1_0.txt)
     6*/
     7/*
     8 * Stub file for universal binary
     9 */
     10
     11#if defined(__i386__)
     12    #include "jump_i386_sysv_macho_gas.S"
     13#elif defined(__x86_64__)
     14    #include "jump_x86_64_sysv_macho_gas.S"
     15#else
     16    #error "No arch's"
     17#endif
  • libs/context/src/asm/make_i386_x86_64_sysv_macho_gas.S

    diff -ruN libs/context/src/asm/make_i386_x86_64_sysv_macho_gas.S libs/context/src/asm/make_i386_x86_64_sysv_macho_gas.S
     
     1/*
     2            Copyright Sergue E. Leontiev <lse@cryptopro.ru> 2013 :)
     3   Distributed under the Boost Software License, Version 1.0.
     4      (See accompanying file LICENSE_1_0.txt or copy at
     5          http://www.boost.org/LICENSE_1_0.txt)
     6*/
     7/*
     8 * Stub file for universal binary
     9 */
     10
     11#if defined(__i386__)
     12    #include "make_i386_sysv_macho_gas.S"
     13#elif defined(__x86_64__)
     14    #include "make_x86_64_sysv_macho_gas.S"
     15#else
     16    #error "No arch's"
     17#endif