Ticket #169: ldt_keeper.patch

File ldt_keeper.patch, 533 bytes (added by basic@…, 14 years ago)

ldt_keeper.patch

  • loader/ldt_keeper.c

    RCS file: /cvsroot/mplayer/main/loader/ldt_keeper.c,v
    retrieving revision 1.14
    diff -u -r1.14 ldt_keeper.c
     
    117117    unsigned int ldt_desc = LDT_SEL(fs_ldt);
    118118
    119119    __asm__ __volatile__(
    120         "movl %0,%%eax; movw %%ax, %%fs" : : "r" (ldt_desc)
     120        "movl %0,%%eax; movw %%ax, %%fs" : : "r" (ldt_desc) : "eax"
    121121    );
    122122}
    123123