diff options
| author | grischka <grischka> | 2013-02-14 06:53:07 +0100 |
|---|---|---|
| committer | grischka <grischka> | 2013-02-14 06:53:07 +0100 |
| commit | 944627c479f01d919f10f9d9dd807cca43bf7aba (patch) | |
| tree | a1ff856b8160b50a1d8fab477def8d5f29dafbe5 /tccasm.c | |
| parent | e298f608385d51911184281f1cdb09addc560c59 (diff) | |
| download | tinycc-944627c479f01d919f10f9d9dd807cca43bf7aba.tar.gz tinycc-944627c479f01d919f10f9d9dd807cca43bf7aba.tar.bz2 | |
configure: cleanup
- add quotes: eval opt=\"$opt\"
- use $source_path/conftest.c for OOT build
- add fn_makelink() for OOT build
- do not check lddir etc. on Windows/MSYS
- formatting
config-print.c
- rename to conftest.c (for consistency)
- change option e to b
- change output from that from "yes" to "no"
- remove inttypes.h dependency
- simpify version output
Makefile:
- improve GCC warning flag checks
tcc.h:
- add back default CONFIG_LDDIR
- add default CONFIG_TCCDIR also (just for fun)
tccpp.c:
- fix Christian's last warning
tccpp.c: In function ‘macro_subst’:
tccpp.c:2803:12: warning: ‘*((void *)&cval+4)’ is used uninitialized
in this function [-Wuninitialized]
That the change fixes the warning doesn't make sense but anyway.
libtcc.c:
- tcc_error/warning: print correct source filename/line for
token :paste: (also inline :asm:)
lddir and multiarch logic still needs fixing.
Diffstat (limited to 'tccasm.c')
| -rw-r--r-- | tccasm.c | 3 |
1 files changed, 1 insertions, 2 deletions
@@ -837,8 +837,7 @@ static void tcc_assemble_inline(TCCState *s1, char *str, int len) saved_parse_flags = parse_flags; saved_macro_ptr = macro_ptr; - tcc_open_bf(s1, file->filename, len); - file->line_num = file->prev->line_num; + tcc_open_bf(s1, ":asm:", len); memcpy(file->buffer, str, len); macro_ptr = NULL; |
