1
1
mirror of https://github.com/rui314/mold.git synced 2024-11-11 16:58:12 +03:00

temporary

This commit is contained in:
Rui Ueyama 2020-11-04 13:17:05 +09:00
parent 73f90920af
commit b293ccd0ca

View File

@ -468,6 +468,16 @@ ObjectFile *ObjectFile::create_internal_file(ArrayRef<OutputChunk *> output_chun
out::__fini_array_end = add("__fini_array_end", STB_LOCAL);
out::__preinit_array_start = add("__preinit_array_start", STB_LOCAL);
out::__preinit_array_end = add("__preinit_array_end", STB_LOCAL);
out::_end = add("_end", STB_GLOBAL);
out::_etext = add("_etext", STB_GLOBAL);
out::_edata = add("_edata", STB_GLOBAL);
if (!Symbol::intern("end")->file)
out::end = add("end", STB_GLOBAL);
if (!Symbol::intern("etext")->file)
out::etext = add("etext", STB_GLOBAL);
if (!Symbol::intern("edata")->file)
out::edata = add("edata", STB_GLOBAL);
for (OutputChunk *chunk : output_chunks) {
if (!is_c_identifier(chunk->name))