Home
last modified time | relevance | path

Searched refs:object (Results 1 – 25 of 721) sorted by relevance

12345678910>>...29

/toolchain/binutils/binutils-2.27/gold/testsuite/
Dobject_unittest.cc47 Object* object = make_elf_object("test.o", &input_file, 0, in Sized_object_test() local
49 CHECK(object->name() == "test.o"); in Sized_object_test()
50 CHECK(!object->is_dynamic()); in Sized_object_test()
51 CHECK(object->is_locked()); in Sized_object_test()
52 object->unlock(task); in Sized_object_test()
53 CHECK(!object->is_locked()); in Sized_object_test()
54 object->lock(task); in Sized_object_test()
55 CHECK(object->shnum() == 5); in Sized_object_test()
56 CHECK(object->section_name(0).empty()); in Sized_object_test()
57 CHECK(object->section_name(1) == ".test"); in Sized_object_test()
[all …]
Dbinary_unittest.cc93 Object* object = make_elf_object("test.o", &input_file, 0, in Sized_binary_test() local
96 CHECK(object != NULL); in Sized_binary_test()
97 if (object == NULL) in Sized_binary_test()
100 CHECK(!object->is_dynamic()); in Sized_binary_test()
101 CHECK(object->shnum() == 5); in Sized_binary_test()
102 CHECK(object->section_name(1) == ".data"); in Sized_binary_test()
103 CHECK(object->section_flags(1) == (elfcpp::SHF_ALLOC | elfcpp::SHF_WRITE)); in Sized_binary_test()
105 const unsigned char* contents = object->section_contents(1, &len, false); in Sized_binary_test()
112 object->read_symbols(&sd); in Sized_binary_test()
123 static_cast<Sized_relobj_file<size, big_endian>*>(object); in Sized_binary_test()
[all …]
Darm_unaligned_reloc.s12 .type x, %object
22 .type padding, %object
28 .type abs32, %object
37 .type rel32, %object
43 .type abs16, %object
/toolchain/binutils/binutils-2.27/
Ddepcomp43 object Object file output by 'PROGRAMS ARGS'.
98 { sed -e "s,^.*\.[$lower]*:,$object:," < "$tmpdepfile"
119 if test -z "$depmode" || test -z "$source" || test -z "$object"; then
125 depfile=${depfile-`echo "$object" |
185 -c) set fnord "$@" -MT "$object" -MD -MP -MF "$tmpdepfile" "$arg" ;;
224 echo "$object : \\" > "$depfile"
242 | sed -e 's/^\\$//' -e '/^$/d' -e "s|.*$object$||" -e '/:$/d' \
267 set_dir_from "$object"
268 set_base_from "$object"
317 sed -e "s|.*:|$object :|" < "$tmpdepfile" > "$depfile"
[all …]
/toolchain/binutils/binutils-2.27/gold/
Dreloc.h68 Read_relocs(Symbol_table* symtab, Layout* layout, Relobj* object, in Read_relocs() argument
70 : symtab_(symtab), layout_(layout), object_(object), in Read_relocs()
105 Gc_process_relocs(Symbol_table* symtab, Layout* layout, Relobj* object, in Gc_process_relocs() argument
108 : symtab_(symtab), layout_(layout), object_(object), rd_(rd), in Gc_process_relocs()
146 Scan_relocs(Symbol_table* symtab, Layout* layout, Relobj* object, in Scan_relocs() argument
149 : symtab_(symtab), layout_(layout), object_(object), rd_(rd), in Scan_relocs()
184 Relobj* object, Output_file* of, in Relocate_task() argument
187 : symtab_(symtab), layout_(layout), object_(object), of_(of), in Relocate_task()
432 const Sized_relobj_file<size, big_endian>* object, in rel() argument
439 Address value = psymval->value(object, addend); in rel()
[all …]
Dsparc.cc78 Sized_relobj_file<size, big_endian>* object,
92 Sized_relobj_file<size, big_endian>* object,
127 Sized_relobj_file<size, big_endian>* object,
142 Sized_relobj_file<size, big_endian>* object,
249 Sized_relobj_file<size, big_endian>* object,
258 Sized_relobj_file<size, big_endian>* object,
382 Sized_relobj_file<size, big_endian>* object);
414 Sized_relobj_file<size, big_endian>* object, in copy_reloc() argument
421 object, shndx, output_section, in copy_reloc()
565 const Sized_relobj_file<size, big_endian>* object, in rela() argument
[all …]
Dresolve.cc92 Object* object, const char* version) in override_base() argument
95 this->u_.from_object.object = object; in override_base()
100 if (object->pluginobj() == NULL) in override_base()
105 if (object->is_dynamic()) in override_base()
118 Object* object, const char* version) in override() argument
120 this->override_base(sym, st_shndx, is_ordinary, object, version); in override()
133 Object* object, const char* version) in override() argument
135 tosym->override(fromsym, st_shndx, is_ordinary, object, version); in override()
143 ssym->override(fromsym, st_shndx, is_ordinary, object, version); in override()
246 Object* object, const char* version, in resolve() argument
[all …]
Dtarget-reloc.h49 Sized_relobj_file<size, big_endian>* object, in scan_relocs() argument
68 && !output_section->is_input_address_mapped(object, data_shndx, in scan_relocs()
82 shndx = object->adjust_sym_shndx(r_sym, shndx, &is_ordinary); in scan_relocs()
98 && !object->is_section_included(shndx) in scan_relocs()
99 && !symtab->is_section_folded(object, shndx)); in scan_relocs()
100 scan.local(symtab, layout, target, object, data_shndx, in scan_relocs()
105 Symbol* gsym = object->global_symbol(r_sym); in scan_relocs()
110 scan.global(symtab, layout, target, object, data_shndx, in scan_relocs()
279 Sized_relobj_file<size, big_endian>* object = relinfo->object; in relocate_section() local
280 unsigned int local_count = object->local_symbol_count(); in relocate_section()
[all …]
Dcopy-relocs.cc42 Sized_relobj_file<size, big_endian>* object, in copy_reloc() argument
50 if (this->need_copy_reloc(sym, object, shndx)) in copy_reloc()
51 this->make_copy_reloc(symtab, layout, sym, object, reloc_section); in copy_reloc()
56 this->save(sym, object, shndx, output_section, in copy_reloc()
68 Sized_relobj_file<size, big_endian>* object, in need_copy_reloc() argument
81 if ((object->section_flags(shndx) & elfcpp::SHF_WRITE) == 0) in need_copy_reloc()
114 Sized_relobj_file<size, big_endian>* object, in make_copy_reloc() argument
127 object->name().c_str(), in make_copy_reloc()
129 sym->object()->name().c_str()); in make_copy_reloc()
150 Object* obj = sym->object(); in make_copy_reloc()
[all …]
Dmips.cc166 relocation_needs_la25_stub(Mips_relobj<size, big_endian>* object, in relocation_needs_la25_stub() argument
174 if (object->is_pic()) in relocation_needs_la25_stub()
208 && !sym->object()->is_dynamic() in local_pic_function()
213 Mips_relobj<size, big_endian>* object = in local_pic_function() local
214 static_cast<Mips_relobj<size, big_endian>*>(sym->object()); in local_pic_function()
216 if ((object->is_pic() || sym->is_pic()) in local_pic_function()
440 Mips_got_entry(Mips_relobj<size, big_endian>* object, unsigned int symndx, in Mips_got_entry() argument
445 { this->d.object = object; } in Mips_got_entry()
471 ? this->d.object->name().c_str() in hash()
487 ? (this->d.object == other->d.object) in equals()
[all …]
Di386.cc225 Sized_relobj_file<32, false>* object; member
371 Sized_relobj_file<32, false>* object,
385 Sized_relobj_file<32, false>* object,
421 Sized_relobj_file<32, false>* object,
436 Sized_relobj_file<32, false>* object,
508 do_calls_non_split(Relobj* object, unsigned int shndx,
575 Sized_relobj_file<32, false>* object,
584 Sized_relobj_file<32, false>* object,
593 Sized_relobj_file<32, false>* object,
603 Sized_relobj_file<32, false>* object,
[all …]
Dtilegx.cc250 Sized_relobj_file<size, big_endian>* object,
264 Sized_relobj_file<size, big_endian>* object,
300 Sized_relobj_file<size, big_endian>* object,
315 Sized_relobj_file<size, big_endian>* object,
462 Sized_relobj_file<size, big_endian>* object,
471 Sized_relobj_file<size, big_endian>* object,
480 Sized_relobj_file<size, big_endian>* object,
490 Sized_relobj_file<size, big_endian>* object,
575 Sized_relobj_file<size, big_endian>* object);
596 Sized_relobj_file<size, big_endian>* object, in copy_reloc() argument
[all …]
Dx86_64.cc410 Lazy_view(Sized_relobj_file<size, false>* object, unsigned int data_shndx) in Lazy_view() argument
411 : object_(object), data_shndx_(data_shndx), view_(NULL), view_size_(0) in Lazy_view()
471 Sized_relobj_file<size, false>* object,
485 Sized_relobj_file<size, false>* object,
521 Sized_relobj_file<size, false>* object,
536 Sized_relobj_file<size, false>* object,
613 do_calls_non_split(Relobj* object, unsigned int shndx,
696 add_tlsdesc_info(Sized_relobj_file<size, false>* object, unsigned int r_sym) in add_tlsdesc_info() argument
698 this->tlsdesc_reloc_info_.push_back(Tlsdesc_info(object, r_sym)); in add_tlsdesc_info()
795 Sized_relobj_file<size, false>* object,
[all …]
Dgdb-index.h61 Relobj* object,
86 add_address_range_list(Relobj* object, unsigned int cu_index, in add_address_range_list() argument
89 this->ranges_.push_back(Per_cu_range_list(object, cu_index, ranges)); in add_address_range_list()
111 pubnames_read(const Relobj* object, off_t offset);
116 set_pubnames_read(const Relobj* object, off_t offset);
155 Relobj* object,
162 Relobj* object,
192 : object(obj), cu_index(index), ranges(r) in Per_cu_range_list()
194 Relobj* object; member
Ddwarf_reader.cc94 make_elf_reloc_mapper(Relobj* object, const unsigned char* symtab, in make_elf_reloc_mapper() argument
97 if (object->elfsize() == 32) in make_elf_reloc_mapper()
99 if (object->is_big_endian()) in make_elf_reloc_mapper()
102 return new Sized_elf_reloc_mapper<32, true>(object, symtab, in make_elf_reloc_mapper()
111 return new Sized_elf_reloc_mapper<32, false>(object, symtab, in make_elf_reloc_mapper()
118 else if (object->elfsize() == 64) in make_elf_reloc_mapper()
120 if (object->is_big_endian()) in make_elf_reloc_mapper()
123 return new Sized_elf_reloc_mapper<64, true>(object, symtab, in make_elf_reloc_mapper()
132 return new Sized_elf_reloc_mapper<64, false>(object, symtab, in make_elf_reloc_mapper()
170 Relobj* object, in do_read_abbrevs() argument
[all …]
Dmerge.cc230 Output_merge_base::do_output_offset(const Relobj* object, in do_output_offset() argument
235 return object->merge_output_offset(shndx, offset, poutput); in do_output_offset()
335 Output_merge_data::do_add_input_section(Relobj* object, unsigned int shndx) in do_add_input_section() argument
339 const unsigned char* p = object->decompressed_section_contents(shndx, &len, in do_add_input_section()
353 Object_merge_map* merge_map = object->get_or_create_merge_map(); in do_add_input_section()
380 record_input_section(object, shndx); in do_add_input_section()
438 Output_merge_string<Char_type>::do_add_input_section(Relobj* object, in do_add_input_section() argument
443 const unsigned char* pdata = object->decompressed_section_contents(shndx, in do_add_input_section()
453 object->error(_("mergeable string section length not multiple of " in do_add_input_section()
464 object->name().c_str(), in do_add_input_section()
[all …]
Ds390.cc290 Sized_relobj_file<size, true>* object,
304 Sized_relobj_file<size, true>* object,
340 Sized_relobj_file<size, true>* object,
355 Sized_relobj_file<size, true>* object,
402 do_tls_offset_for_local(const Relobj* object,
428 do_calls_non_split(Relobj* object, unsigned int shndx,
519 Sized_relobj_file<size, true>* object,
528 Sized_relobj_file<size, true>* object,
537 Sized_relobj_file<size, true>* object,
547 Sized_relobj_file<size, true>* object,
[all …]
Dgdb-index.cc180 Relobj* object, in Gdb_index_info_reader() argument
187 : Dwarf_info_reader(is_type_unit, object, symbols, symbols_size, shndx, in Gdb_index_info_reader()
380 this->object()->name().c_str()); in visit_top_die()
394 this->object()->name().c_str()); in visit_top_die()
828 this->gdb_index_->add_address_range_list(this->object(), in record_cu_ranges()
847 this->object()->name().c_str()); in record_cu_ranges()
850 if (shndx == 0 || this->object()->is_section_included(shndx)) in record_cu_ranges()
854 this->gdb_index_->add_address_range_list(this->object(), in record_cu_ranges()
919 return this->gdb_index_->pubnames_read(this->object(), in read_pubnames_and_pubtypes()
931 if (this->gdb_index_->pubnames_read(this->object(), stmt_list_off)) in read_pubnames_and_pubtypes()
[all …]
/toolchain/binutils/binutils-2.27/ld/testsuite/ld-xtensa/
Dcoalesce.exp34 proc default_ld_objdump { objdump object outputfile } {
46 verbose -log "$objdump $OBJDUMPFLAGS $object >$outputfile"
48 catch "exec $objdump $OBJDUMPFLAGS $object >$outputfile" exec_output
54 perror "$object: objdump failed"
69 set object "tmpdir/coalesce"
70 set outputfile "$object.txt"
72 if ![ld_simple_link $ld $object "-T $srcdir/$subdir/coalesce.t tmpdir/coalesce1.o tmpdir/coalesce2.…
78 if ![default_ld_objdump $objdump $object $outputfile ] {
Dlcall.exp34 proc default_ld_objdump { objdump object outputfile } {
46 verbose -log "$objdump $OBJDUMPFLAGS $object >$outputfile"
48 catch "exec $objdump $OBJDUMPFLAGS $object >$outputfile" exec_output
54 perror "$object: objdump failed"
69 set object "tmpdir/lcall"
70 set outputfile "$object.txt"
72 if ![ld_simple_link $ld $object "-T $srcdir/$subdir/lcall.t tmpdir/lcall1.o tmpdir/lcall2.o"] {
78 if ![default_ld_objdump $objdump $object $outputfile ] {
/toolchain/binutils/binutils-2.27/libiberty/
Dobstacks.texi7 specified obstacks. Within each obstack, the last object allocated must
14 the objects are usually small. And the only space overhead per object is
15 the padding needed to start each object on a suitable boundary.
24 * Growing Objects:: Making an object bigger by stages.
54 of object. Dynamic allocation of obstacks allows your program to have a
61 speaking the object at hand is such a pointer.
67 The obstack library obtains a new chunk whenever you allocate an object
109 At run time, before the program can use a @code{struct obstack} object
190 The most direct way to allocate an object in an obstack is with
199 object which represents the obstack. Each obstack macro
[all …]
/toolchain/binutils/binutils-2.27/gas/config/
Dtc-ns32k.c39 iif.iifP[ptr].object = e1; \
114 unsigned long object; /* Binary data. */ member
970 iif.iifP[1].object |= ((long) addr_modeP.mode) << opcode_bit_ptr; in encode_operand()
1010 iif.iifP[1].object |= tmp << opcode_bit_ptr; in encode_operand()
1015 iif.iifP[1].object |= tmp << 15; in encode_operand()
1020 iif.iifP[1].object |= tmp << 15; /* Insert the regtype in opcode. */ in encode_operand()
1025 iif.iifP[1].object |= tmp << 15; in encode_operand()
1033 optlist (argv[i], opt1, &iif.iifP[10].object); in encode_operand()
1036 optlist (argv[i], opt2, &iif.iifP[10].object); in encode_operand()
1044 iif.iifP[1].object |= tmp << opcode_bit_ptr; in encode_operand()
[all …]
/toolchain/binutils/binutils-2.27/gas/testsuite/gas/elf/
Dtype-noifunc.s7 .type object,%object
8 .size object,1
9 object: label
/toolchain/binutils/binutils-2.27/gas/testsuite/gas/ia64/
Dtls.s5 .type x#,@object
8 .type y#,@object
11 .type z#,@object
15 .type a#,@object
18 .type b#,@object
21 .type c#,@object
/toolchain/binutils/binutils-2.27/ld/testsuite/ld-vxworks/
Dtls-3.s7 .type i,%object
13 .type j,%object
20 .type __tls__i,%object
28 .type __tls__j,%object

12345678910>>...29