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:
grischka
2025-02-28 09:35:32 +01:00
parent 006174449e
commit 8c4e67380e
9 changed files with 174 additions and 21 deletions

View File

@@ -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;