bootstrappable: Skip tidy_section_headers.

* tccelf.c (elf_output_file)[BOOTSTRAPPABLE]: Skip tidy_section_headers.
This commit is contained in:
Jan Nieuwenhuizen 2017-11-15 20:31:49 +01:00
parent 896ae238e1
commit 98451d746a
No known key found for this signature in database
GPG Key ID: F3C1A0D9C1D65273
1 changed files with 2 additions and 0 deletions

View File

@ -2167,7 +2167,9 @@ static int elf_output_file(TCCState *s1, const char *filename)
ret = final_sections_reloc(s1);
if (ret)
goto the_end;
#if !BOOTSTRAP
tidy_section_headers(s1, sec_order);
#endif
}
/* Perform relocation to GOT or PLT entries */