|
Message-ID: <alpine.LNX.2.11.1504210024100.2677@monopod.intra.ispras.ru> Date: Tue, 21 Apr 2015 00:30:03 +0300 (MSK) From: Alexander Monakov <amonakov@...ras.ru> To: musl@...ts.openwall.com Subject: Re: x86_64 and x32 fail to build > 1. Have a global CFLAGS_PREDEF that that gets applied to all tests but > not added to CFLAGS_AUTO. > > 2. Just use -include src/internal/vis.h. > > I kinda like #2 better. Sure, looks better to me too. > > #define CRTJMP(pc,sp) __asm__ __volatile__( \ > > - "mov %1,%%esp ; jmp *%0" : : "r"(pc), "r"(sp) : "memory" ) > > + "mov %1,%%esp ; jmp *%q0" : : "r"(pc), "r"(sp) : "memory" ) > > + "mov %1,%%esp ; jmp *%0" : : "r"((uint64_t)(uintptr_t)pc), "r"(sp) : "memory" ) This works, thanks! Alexander
Powered by blists - more mailing lists
Confused about mailing lists and their use? Read about mailing lists on Wikipedia and check out these guidelines on proper formatting of your messages.