mirror of
https://github.com/TinyCC/tinycc.git
synced 2025-11-16 12:34:45 +00:00
arm bits
arm-asm.c: add forward branches & some ops lib/armeabi.c: faster i/udivmod (asm) arm-gen.c: use movw/movt to load constants for CPUVER >= 70 configure: use dwarf-4 debug sections on android, detect idiv lib/Makefile: always add -I$(TOP) for access to config.h tcdbg.c: add a "code mapping symbol" to help out llvm-objdump tccelf.c: don't load SHT_ARM_EXIDX, modify ARM.attributes tccpp.c: accept '@' for arm asm comments
This commit is contained in:
5
tccdbg.c
5
tccdbg.c
@@ -1023,6 +1023,11 @@ ST_FUNC void tcc_debug_start(TCCState *s1)
|
||||
SHN_ABS, filename);
|
||||
|
||||
if (s1->do_debug) {
|
||||
/* put a "mapping symbol" '$a' for llvm-objdump etc. tools needed
|
||||
to make them disassemble again when crt1.o had a '$d' before */
|
||||
put_elf_sym(symtab_section, text_section->data_offset, 0,
|
||||
ELFW(ST_INFO)(STB_LOCAL, STT_NOTYPE), 0,
|
||||
text_section->sh_num, "$a");
|
||||
|
||||
new_file = last_line_num = 0;
|
||||
debug_next_type = N_DEFAULT_DEBUG;
|
||||
|
||||
Reference in New Issue
Block a user