forked from ariadne/libucontext
build: remove -DLIBUCONTEXT_ASSEMBLY
Meson does not support separate defines for .S compile.arm_linker_fix
parent
e4233715f3
commit
d31c95a11a
2
Makefile
2
Makefile
|
@ -105,7 +105,7 @@ docs: ${MANPAGES}
|
|||
$(CC) -std=gnu99 -D_BSD_SOURCE -fPIC -DPIC ${CFLAGS} ${CPPFLAGS} -c -o $@ $<
|
||||
|
||||
.S.o:
|
||||
$(CC) -fPIC -DPIC -DLIBUCONTEXT_ASSEMBLY ${CFLAGS} ${CPPFLAGS} -c -o $@ $<
|
||||
$(CC) -fPIC -DPIC ${CFLAGS} ${CPPFLAGS} -c -o $@ $<
|
||||
|
||||
${LIBUCONTEXT_NAME}_clean:
|
||||
rm -f ${LIBUCONTEXT_NAME}
|
||||
|
|
|
@ -17,6 +17,7 @@
|
|||
#include <stdint.h>
|
||||
#include <stdio.h>
|
||||
#include "defs.h"
|
||||
#include <libucontext/libucontext.h>
|
||||
|
||||
|
||||
extern void libucontext_trampoline(void);
|
||||
|
|
|
@ -1,2 +1,3 @@
|
|||
#include "defs.h"
|
||||
#include <libucontext/libucontext.h>
|
||||
#include "common-trampoline.c"
|
||||
|
|
|
@ -19,6 +19,7 @@
|
|||
|
||||
|
||||
#include "defs.h"
|
||||
#include <libucontext/libucontext.h>
|
||||
|
||||
|
||||
extern void libucontext_trampoline(void);
|
||||
|
|
|
@ -1,2 +1,3 @@
|
|||
#include "defs.h"
|
||||
#include <libucontext/libucontext.h>
|
||||
#include "common-trampoline.c"
|
||||
|
|
|
@ -58,10 +58,4 @@ PROC_NAME(__proc): \
|
|||
|
||||
#define REG_OFFSET(__reg) (MCONTEXT_GREGS + ((__reg) * REG_SZ))
|
||||
|
||||
#ifndef LIBUCONTEXT_ASSEMBLY
|
||||
|
||||
#include <libucontext/libucontext.h>
|
||||
|
||||
#endif
|
||||
|
||||
#endif
|
||||
|
|
|
@ -17,6 +17,7 @@
|
|||
#include <stdint.h>
|
||||
#include <stdio.h>
|
||||
#include "defs.h"
|
||||
#include <libucontext/libucontext.h>
|
||||
|
||||
|
||||
extern void libucontext_trampoline(void);
|
||||
|
|
|
@ -1,2 +1,3 @@
|
|||
#include "defs.h"
|
||||
#include <libucontext/libucontext.h>
|
||||
#include "common-trampoline.c"
|
||||
|
|
|
@ -17,6 +17,7 @@
|
|||
|
||||
|
||||
#include "defs.h"
|
||||
#include <libucontext/libucontext.h>
|
||||
|
||||
|
||||
extern void libucontext_trampoline(void);
|
||||
|
|
|
@ -17,6 +17,7 @@
|
|||
|
||||
|
||||
#include "defs.h"
|
||||
#include <libucontext/libucontext.h>
|
||||
|
||||
|
||||
extern void libucontext_trampoline(void);
|
||||
|
|
|
@ -17,6 +17,7 @@
|
|||
#include <stdint.h>
|
||||
#include <stdio.h>
|
||||
#include "defs.h"
|
||||
#include <libucontext/libucontext.h>
|
||||
|
||||
|
||||
extern void libucontext_trampoline(void);
|
||||
|
|
|
@ -1,2 +1,3 @@
|
|||
#include "defs.h"
|
||||
#include <libucontext/libucontext.h>
|
||||
#include "common-trampoline.c"
|
||||
|
|
|
@ -18,6 +18,7 @@
|
|||
|
||||
|
||||
#include "defs.h"
|
||||
#include <libucontext/libucontext.h>
|
||||
|
||||
|
||||
extern void libucontext_trampoline(void);
|
||||
|
|
|
@ -17,6 +17,7 @@
|
|||
#include <stdint.h>
|
||||
#include <stdio.h>
|
||||
#include "defs.h"
|
||||
#include <libucontext/libucontext.h>
|
||||
|
||||
|
||||
extern void libucontext_trampoline(void);
|
||||
|
|
|
@ -1,2 +1,3 @@
|
|||
#include "defs.h"
|
||||
#include <libucontext/libucontext.h>
|
||||
#include "common-trampoline.c"
|
||||
|
|
|
@ -17,6 +17,7 @@
|
|||
#include <string.h>
|
||||
#include <stdint.h>
|
||||
#include "defs.h"
|
||||
#include <libucontext/libucontext.h>
|
||||
|
||||
|
||||
extern void libucontext_trampoline(void);
|
||||
|
|
|
@ -1,2 +1,3 @@
|
|||
#include "defs.h"
|
||||
#include <libucontext/libucontext.h>
|
||||
#include "common-trampoline.c"
|
||||
|
|
|
@ -17,6 +17,7 @@
|
|||
#include <stdint.h>
|
||||
|
||||
#include "defs.h"
|
||||
#include <libucontext/libucontext.h>
|
||||
|
||||
extern void libucontext_trampoline(void);
|
||||
|
||||
|
|
|
@ -1,2 +1,3 @@
|
|||
#include "defs.h"
|
||||
#include <libucontext/libucontext.h>
|
||||
#include "common-trampoline.c"
|
||||
|
|
Loading…
Reference in New Issue