Lines Matching refs:this
109 { return this->name_; } in name()
122 { return this->version_; } in version()
126 { this->version_ = NULL; } in clear_version()
134 gold_assert(this->version_ != NULL); in is_default()
135 return this->is_def_; in is_default()
141 { this->is_def_ = true; } in set_is_default()
150 { return this->source_; } in source()
156 gold_assert(this->source_ == FROM_OBJECT); in object()
157 return this->u_.from_object.object; in object()
165 gold_assert(this->source_ == FROM_OBJECT); in shndx()
166 *is_ordinary = this->is_ordinary_shndx_; in shndx()
167 return this->u_.from_object.shndx; in shndx()
176 gold_assert(this->source_ == IN_OUTPUT_DATA); in output_data()
177 return this->u_.in_output_data.output_data; in output_data()
185 gold_assert(this->source_ == IN_OUTPUT_DATA); in offset_is_from_end()
186 return this->u_.in_output_data.offset_is_from_end; in offset_is_from_end()
195 gold_assert(this->source_ == IN_OUTPUT_SEGMENT); in output_segment()
196 return this->u_.in_output_segment.output_segment; in output_segment()
204 gold_assert(this->source_ == IN_OUTPUT_SEGMENT); in offset_base()
205 return this->u_.in_output_segment.offset_base; in offset_base()
211 { return this->binding_; } in binding()
216 { return this->type_; } in type()
221 { this->type_ = type; } in set_type()
227 return (this->type_ == elfcpp::STT_FUNC in is_func()
228 || this->type_ == elfcpp::STT_GNU_IFUNC); in is_func()
234 { return this->visibility_; } in visibility()
239 { this->visibility_ = visibility; } in set_visibility()
250 if (!this->undef_binding_set_ || this->undef_binding_weak_) in set_undef_binding()
252 this->undef_binding_weak_ = bind == elfcpp::STB_WEAK; in set_undef_binding()
253 this->undef_binding_set_ = true; in set_undef_binding()
261 { return this->undef_binding_weak_; } in is_undef_binding_weak()
266 { return this->nonvis_; } in nonvis()
271 { this->nonvis_ = nonvis; } in set_nonvis()
278 { return this->is_forwarder_; } in is_forwarder()
283 { this->is_forwarder_ = true; } in set_forwarder()
289 { return this->has_alias_; } in has_alias()
294 { this->has_alias_ = true; } in set_has_alias()
301 return (this->needs_dynsym_entry_ in needs_dynsym_entry()
302 || (this->in_reg() in needs_dynsym_entry()
303 && this->in_dyn() in needs_dynsym_entry()
304 && this->is_externally_visible())); in needs_dynsym_entry()
310 { this->needs_dynsym_entry_ = true; } in set_needs_dynsym_entry()
320 { return this->in_reg_; } in in_reg()
325 { this->in_reg_ = true; } in set_in_reg()
330 { return this->in_dyn_; } in in_dyn()
335 { this->in_dyn_ = true; } in set_in_dyn()
342 { return this->in_real_elf_; } in in_real_elf()
347 { this->in_real_elf_ = true; } in set_in_real_elf()
354 { return this->is_defined_in_discarded_section_; } in is_defined_in_discarded_section()
359 { this->is_defined_in_discarded_section_ = true; } in set_is_defined_in_discarded_section()
369 gold_assert(this->symtab_index_ != 0); in symtab_index()
370 return this->symtab_index_; in symtab_index()
378 this->symtab_index_ = index; in set_symtab_index()
385 { return this->symtab_index_ != 0; } in has_symtab_index()
395 gold_assert(this->dynsym_index_ != 0); in dynsym_index()
396 return this->dynsym_index_; in dynsym_index()
404 this->dynsym_index_ = index; in set_dynsym_index()
411 { return this->dynsym_index_ != 0; } in has_dynsym_index()
417 { return this->got_offsets_.get_offset(got_type) != -1U; } in has_got_offset()
423 unsigned int got_offset = this->got_offsets_.get_offset(got_type); in got_offset()
431 { this->got_offsets_.set_offset(got_type, got_offset); } in set_got_offset()
436 { return this->got_offsets_.get_list(); } in got_offset_list()
441 { return this->plt_offset_ != -1U; } in has_plt_offset()
447 gold_assert(this->has_plt_offset()); in plt_offset()
448 return this->plt_offset_; in plt_offset()
456 this->plt_offset_ = plt_offset; in set_plt_offset()
463 { return this->needs_dynsym_value_; } in needs_dynsym_value()
470 gold_assert(this->object()->is_dynamic()); in set_needs_dynsym_value()
471 this->needs_dynsym_value_ = true; in set_needs_dynsym_value()
490 if (this->source_ != FROM_OBJECT) in is_defined()
491 return this->source_ != IS_UNDEFINED; in is_defined()
492 unsigned int shndx = this->shndx(&is_ordinary); in is_defined()
502 return this->source_ == FROM_OBJECT && this->object()->is_dynamic(); in is_from_dynobj()
509 return this->source_ == FROM_OBJECT && this->object()->pluginobj() != NULL; in is_placeholder()
517 return ((this->source_ == FROM_OBJECT in is_undefined()
518 && this->shndx(&is_ordinary) == elfcpp::SHN_UNDEF in is_undefined()
520 || this->source_ == IS_UNDEFINED); in is_undefined()
527 return (this->is_undefined() in is_weak_undefined()
528 && (this->binding() == elfcpp::STB_WEAK in is_weak_undefined()
529 || this->is_undef_binding_weak() in is_weak_undefined()
537 return (this->is_undefined() in is_strong_undefined()
538 && this->binding() != elfcpp::STB_WEAK in is_strong_undefined()
539 && !this->is_undef_binding_weak() in is_strong_undefined()
548 return ((this->source_ == FROM_OBJECT in is_absolute()
549 && this->shndx(&is_ordinary) == elfcpp::SHN_ABS in is_absolute()
551 || this->source_ == IS_CONSTANT); in is_absolute()
558 if (this->source_ != FROM_OBJECT) in is_common()
560 if (this->type_ == elfcpp::STT_COMMON) in is_common()
563 unsigned int shndx = this->shndx(&is_ordinary); in is_common()
571 return ((this->visibility_ == elfcpp::STV_DEFAULT in is_externally_visible()
572 || this->visibility_ == elfcpp::STV_PROTECTED) in is_externally_visible()
573 && !this->is_forced_local_); in is_externally_visible()
583 gold_assert(!this->is_from_dynobj()); in is_preemptible()
587 gold_assert(!this->is_undefined()); in is_preemptible()
591 if (this->visibility_ != elfcpp::STV_DEFAULT) in is_preemptible()
597 if (this->is_forced_local_) in is_preemptible()
606 if (parameters->options().in_dynamic_list(this->name())) in is_preemptible()
617 if (this->type() != elfcpp::STT_OBJECT in is_preemptible()
630 if (this->is_undefined() && !parameters->options().shared()) in needs_plt_entry()
635 if (this->type() == elfcpp::STT_GNU_IFUNC) in needs_plt_entry()
639 if (!this->is_func()) in needs_plt_entry()
651 return (this->is_from_dynobj() in needs_plt_entry()
652 || this->is_undefined() in needs_plt_entry()
653 || this->is_preemptible()); in needs_plt_entry()
691 if (this->is_undefined() && !parameters->options().shared()) in needs_dynamic_reloc()
695 if (this->is_absolute()) in needs_dynamic_reloc()
706 if ((flags & FUNCTION_CALL) && this->has_plt_offset()) in needs_dynamic_reloc()
713 && this->has_plt_offset()) in needs_dynamic_reloc()
718 if (this->is_from_dynobj() in needs_dynamic_reloc()
719 || this->is_undefined() in needs_dynamic_reloc()
720 || this->is_preemptible()) in needs_dynamic_reloc()
735 if (!this->has_plt_offset()) in use_plt_offset()
739 if (this->type() == elfcpp::STT_GNU_IFUNC) in use_plt_offset()
744 if (this->needs_dynamic_reloc(flags)) in use_plt_offset()
749 if (this->is_from_dynobj()) in use_plt_offset()
755 && (this->is_undefined() || this->is_preemptible())) in use_plt_offset()
761 if ((flags & FUNCTION_CALL) && this->is_weak_undefined()) in use_plt_offset()
779 if (is_function_call && this->has_plt_offset()) in can_use_relative_reloc()
784 if (this->is_from_dynobj() in can_use_relative_reloc()
785 || this->is_undefined() in can_use_relative_reloc()
786 || this->is_preemptible()) in can_use_relative_reloc()
820 { return this->has_warning_; } in has_warning()
825 { this->has_warning_ = true; } in set_has_warning()
831 { return this->is_copied_from_dynobj_; } in is_copied_from_dynobj()
836 { this->is_copied_from_dynobj_ = true; } in set_is_copied_from_dynobj()
842 { return this->is_forced_local_; } in is_forced_local()
847 { this->is_forced_local_ = true; } in set_is_forced_local()
856 && this->is_from_dynobj() in may_need_copy_reloc()
857 && !this->is_func()); in may_need_copy_reloc()
863 { return this->is_predefined_; } in is_predefined()
868 { return is_prefix_of("_ZTV", this->name_); } in is_cxx_vtable()
874 { memset(this, 0, sizeof *this); } in Symbol()
1129 { return this->value_; } in value()
1135 { return this->symsize_; } in symsize()
1140 { this->symsize_ = symsize; } in set_symsize()
1146 { this->value_ = value; } in set_value()
1250 return (this->object == that.object
1251 && this->shndx == that.shndx
1252 && this->offset == that.offset);
1313 this->object = o; in set()
1314 this->text = t; in set()
1367 { this->icf_ = icf;} in set_icf()
1371 { return this->icf_; } in icf()
1379 { this->gc_ = gc; } in set_gc()
1383 { return this->gc_; } in gc()
1509 { return this->saw_undefined_; } in saw_undefined()
1519 { this->warnings_.add_warning(this, name, obj, warning); } in add_warning()
1524 { return this->namepool_.add(name, true, NULL); } in canonicalize_name()
1533 { this->warnings_.issue_warning(sym, relinfo, relnum, reloffset); } in issue_warning()
1575 { this->offset_ = off; } in set_file_offset()
1600 { return this->first_global_index_; } in first_global_index()
1605 { return this->output_count_; } in output_count()
1623 for (Symbol_table_type::const_iterator p = this->table_.begin(); in for_all_symbols()
1624 p != this->table_.end(); in for_all_symbols()