parent
2fc3784892
commit
c842a65dfc
5
doit
5
doit
|
@ -33,12 +33,9 @@ MESCC=${MESCC-../mes/pre-inst-env mescc}
|
|||
GUILE_LOAD_PATH=nyacc
|
||||
|
||||
MES_DEBUG=2
|
||||
MES_PREFIX=${MES_PREFIX-../mes}
|
||||
MES_PREFIX=../mes
|
||||
TINYCC_SEED=${TINYCC_SEED-../tinycc-seed}
|
||||
|
||||
rm -f mes
|
||||
ln -sf $MES_PREFIX mes
|
||||
|
||||
if [ -z "$interpreter" -a -n "$GUIX" ]; then
|
||||
interpreter=$($GUIX environment --ad-hoc patchelf -- patchelf --print-interpreter $(guix build --system=i686-linux hello)/bin/hello)
|
||||
elif [ -x /lib/ld-linux.so.2 ]; then
|
||||
|
|
4
tcc.c
4
tcc.c
|
@ -251,10 +251,6 @@ int main(int argc, char **argv)
|
|||
unsigned start_time = 0;
|
||||
const char *first_file;
|
||||
|
||||
#if BOOTSTRAP //MESC bug
|
||||
vstack = &__vstack[1];
|
||||
#endif
|
||||
|
||||
redo:
|
||||
s = tcc_new();
|
||||
opt = tcc_parse_args(s, &argc, &argv, 1);
|
||||
|
|
10
tcc.h
10
tcc.h
|
@ -1285,15 +1285,7 @@ ST_DATA Sym *global_label_stack;
|
|||
ST_DATA Sym *define_stack;
|
||||
ST_DATA CType char_pointer_type, func_old_type, int_type, size_type;
|
||||
ST_DATA SValue __vstack[1+/*to make bcheck happy*/ VSTACK_SIZE], *vtop, *pvtop;
|
||||
#if BOOTSTRAP
|
||||
#if __MESC__
|
||||
SValue *vstack;
|
||||
#else
|
||||
extern SValue *vstack;
|
||||
#endif
|
||||
#else
|
||||
#define vstack (__vstack + 1)
|
||||
#endif
|
||||
#define vstack (__vstack + 1)
|
||||
ST_DATA int rsym, anon_sym, ind, loc;
|
||||
|
||||
ST_DATA int const_wanted; /* true if constant wanted */
|
||||
|
|
Loading…
Reference in New Issue