mirror of
https://github.com/rui314/mold.git
synced 2024-10-26 13:10:46 +03:00
Format
This commit is contained in:
parent
4db866d5c3
commit
79169ea315
@ -53,7 +53,7 @@ inline bool is_gcc_lto_obj(Context &ctx, MappedFile *mf) {
|
||||
if (!ctx.arg.plugin.empty()) {
|
||||
std::string_view name = data + shdrs[shstrtab_idx].sh_offset + sec.sh_name;
|
||||
if (name.starts_with(".gnu.lto_.symtab."))
|
||||
return true;
|
||||
return true;
|
||||
}
|
||||
|
||||
if (sec.sh_type != SHT_SYMTAB)
|
||||
|
@ -359,8 +359,8 @@ void ObjectFile<E>::initialize_sections(Context<E> &ctx) {
|
||||
if (shdr.sh_link != 0) {
|
||||
llvm_addrsig = std::move(this->sections[i]);
|
||||
} else {
|
||||
Warn(ctx) << *this << ": Ignoring .llvm_addrsig section without SH_LINK; " <<
|
||||
"was the file processed by strip or objcopy -r?";
|
||||
Warn(ctx) << *this << ": ignoring .llvm_addrsig section without"
|
||||
<< " sh_link; was the file processed by strip or objcopy -r?";
|
||||
}
|
||||
continue;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user