1
1
mirror of https://github.com/rui314/mold.git synced 2024-12-27 10:23:41 +03:00

temporary

This commit is contained in:
Rui Ueyama 2020-10-30 16:55:59 +09:00
parent e72b702de6
commit d017bafaa6
3 changed files with 3 additions and 2 deletions

View File

@ -239,7 +239,7 @@ ObjectFile::register_undefined_symbols(tbb::parallel_do_feeder<ObjectFile *> &fe
if (esym.isUndefined() && esym.getBinding() != STB_WEAK &&
sym.file && sym.file->is_in_archive() && !sym.file->is_alive) {
// num_undefined++;
#if 0
#if 1
llvm::outs() << toString(this) << " loads " << toString(sym.file)
<< " for " << sym.name << "\n";
#endif

View File

@ -110,6 +110,7 @@ void InputSection::relocate(u8 *buf) {
case R_X86_64_TLSLD:
case R_X86_64_DTPOFF32:
case R_X86_64_GOTTPOFF:
break;
case R_X86_64_TPOFF32:
break;
case R_X86_64_PC64:

View File

@ -577,7 +577,7 @@ int main(int argc, char **argv) {
// Fill section header.
fill_shdrs(output_chunks);
// Assign offsets to input sections
// Assign offsets to output sections
u64 filesize = 0;
{
MyTimer t("osec_offset", before_copy);