search for: output_label

Displaying 1 result from an estimated 1 matches for "output_label".

2009 Jul 13
0
[PATCH, v2] x86-64: reduce symbol table size
...tic void write_src(void) printf("#define ALGN .align 4\n"); printf("#endif\n"); - printf(".data\n"); + printf("\t.section .rodata, \"a\"\n"); + printf("#ifndef SYMBOLS_ORIGIN\n"); + printf("#define SYMBOLS_ORIGIN 0\n"); output_label("symbols_addresses"); + printf("#else\n"); + output_label("symbols_offsets"); + printf("#endif\n"); for (i = 0; i < table_cnt; i++) { - printf("\tPTR\t%#llx\n", table[i].addr); + printf("\tPTR\t%#llx - SYMBOLS_ORIGIN\n", table[i].ad...