]> git.saurik.com Git - apple/libc.git/blobdiff - i386/sys/_setjmp.s
Libc-391.2.3.tar.gz
[apple/libc.git] / i386 / sys / _setjmp.s
index 0a09c638700b268af75d1d9cff20ceb7438e3be9..8513cad9a7a62ce03867460fbae5ae980817f299 100644 (file)
@@ -61,7 +61,6 @@
 #define JB_FS           64
 #define JB_GS           68
 
-#define SAVE_SEG_REGS  1
 
 LEAF(__setjmp, 0)
         movl    4(%esp), %ecx           // jmp_buf (struct sigcontext *)
@@ -123,7 +122,7 @@ LEAF(__longjmp, 0)
 #if SAVE_SEG_REGS
        // segment registers
        mov     JB_SS(%ecx), %ss
-       // mov  JB_CS(%ecx), %cs                // can't set cs?
+       mov     JB_CS(%ecx), %cs
        mov     JB_DS(%ecx), %ds
        mov     JB_ES(%ecx), %es
        mov     JB_FS(%ecx), %fs