1 |
104 |
markom |
aout-tic30.c: vma = info->create_object_symbols_section->vma;
|
2 |
|
|
aout-tic30.c: if (info->create_object_symbols_section->next->vma > 0)
|
3 |
|
|
aout-tic30.c: obj_datasec (abfd)->vma = info->create_object_symbols_section->next->vma;
|
4 |
|
|
aoutx.h: if (! info->keep_memory)
|
5 |
|
|
aoutx.h: if (! info->keep_memory || ! *pneeded)
|
6 |
|
|
aoutx.h: h = bfd_link_hash_lookup (info->hash, name, false, false, true);
|
7 |
|
|
aoutx.h: if (! (*info->callbacks->add_archive_element) (info, abfd, name))
|
8 |
|
|
aoutx.h: if (! (*info->callbacks->add_archive_element) (info,
|
9 |
|
|
aoutx.h: bfd_hash_allocate (&info->hash->table,
|
10 |
|
|
aoutx.h: if (! (*info->callbacks->add_archive_element) (info, abfd, name))
|
11 |
|
|
aoutx.h: if (info->keep_memory)
|
12 |
|
|
aoutx.h: should be conditional on info->keep_memory. */
|
13 |
|
|
aoutx.h: if (info->shared)
|
14 |
|
|
aoutx.h: for (sub = info->input_bfds; sub != NULL; sub = sub->link_next)
|
15 |
|
|
aoutx.h: if (info->relocateable)
|
16 |
|
|
aoutx.h: if (info->relocateable)
|
17 |
|
|
aoutx.h: for (sub = info->input_bfds; sub != (bfd *) NULL; sub = sub->link_next)
|
18 |
|
|
aoutx.h: (finfo->info, input_bfd));
|
19 |
|
|
aoutx.h: finfo->info->keep_memory is false. */
|
20 |
|
|
aoutx.h: is placed into finfo->symbol_map. */
|
21 |
|
|
aoutx.h: &finfo->treloff,
|
22 |
|
|
aoutx.h: &finfo->dreloff,
|
23 |
|
|
aoutx.h: if (! finfo->info->keep_memory)
|
24 |
|
|
aoutx.h: output_bfd = finfo->output_bfd;
|
25 |
|
|
aoutx.h: strip = finfo->info->strip;
|
26 |
|
|
aoutx.h: discard = finfo->info->discard;
|
27 |
|
|
aoutx.h: outsym = finfo->output_syms;
|
28 |
|
|
aoutx.h: || bfd_hash_lookup (finfo->info->keep_hash, input_bfd->filename,
|
29 |
|
|
aoutx.h: strtab_index = add_to_stringtab (output_bfd, finfo->strtab,
|
30 |
|
|
aoutx.h: symbol_map = finfo->symbol_map;
|
31 |
|
|
aoutx.h: if (bfd_hash_lookup (finfo->info->keep_hash, name, false, false)
|
32 |
|
|
aoutx.h: copy = ! finfo->info->keep_memory;
|
33 |
|
|
aoutx.h: incl_entry = aout_link_includes_lookup (&finfo->includes,
|
34 |
|
|
aoutx.h: bfd_hash_allocate (&finfo->includes.root,
|
35 |
|
|
aoutx.h: if (! finfo->info->keep_memory)
|
36 |
|
|
aoutx.h: strtab_index = add_to_stringtab (output_bfd, finfo->strtab,
|
37 |
|
|
aoutx.h: if (outsym > finfo->output_syms)
|
38 |
|
|
aoutx.h: if (bfd_seek (output_bfd, finfo->symoff, SEEK_SET) != 0)
|
39 |
|
|
aoutx.h: outsym_count = outsym - finfo->output_syms;
|
40 |
|
|
aoutx.h: if (bfd_write ((PTR) finfo->output_syms,
|
41 |
|
|
aoutx.h: finfo->symoff += outsym_count * EXTERNAL_NLIST_SIZE;
|
42 |
|
|
aoutx.h: output_bfd = finfo->output_bfd;
|
43 |
|
|
aoutx.h: (output_bfd, finfo->info, h)))
|
44 |
|
|
aoutx.h: && (finfo->info->strip == strip_all
|
45 |
|
|
aoutx.h: || (finfo->info->strip == strip_some
|
46 |
|
|
aoutx.h: && bfd_hash_lookup (finfo->info->keep_hash, h->root.root.string,
|
47 |
|
|
aoutx.h: indx = add_to_stringtab (output_bfd, finfo->strtab, h->root.root.string,
|
48 |
|
|
aoutx.h: if (bfd_seek (output_bfd, finfo->symoff, SEEK_SET) != 0
|
49 |
|
|
aoutx.h: finfo->symoff += EXTERNAL_NLIST_SIZE;
|
50 |
|
|
aoutx.h: (PTR) finfo->contents,
|
51 |
|
|
aoutx.h: relocs = finfo->relocs;
|
52 |
|
|
aoutx.h: rel_size, finfo->contents))
|
53 |
|
|
aoutx.h: rel_size, finfo->contents))
|
54 |
|
|
aoutx.h: if (! bfd_set_section_contents (finfo->output_bfd,
|
55 |
|
|
aoutx.h: (PTR) finfo->contents,
|
56 |
|
|
aoutx.h: if (finfo->info->relocateable && rel_size > 0)
|
57 |
|
|
aoutx.h: if (bfd_seek (finfo->output_bfd, *reloff_ptr, SEEK_SET) != 0)
|
58 |
|
|
aoutx.h: if (bfd_write (relocs, (bfd_size_type) 1, rel_size, finfo->output_bfd)
|
59 |
|
|
aoutx.h: BFD_ASSERT (*reloff_ptr <= obj_sym_filepos (finfo->output_bfd)
|
60 |
|
|
aoutx.h: && (reloff_ptr != &finfo->treloff
|
61 |
|
|
aoutx.h: <= obj_datasec (finfo->output_bfd)->rel_filepos)));
|
62 |
|
|
aoutx.h: output_bfd = finfo->output_bfd;
|
63 |
|
|
aoutx.h: relocateable = finfo->info->relocateable;
|
64 |
|
|
aoutx.h: symbol_map = finfo->symbol_map;
|
65 |
|
|
aoutx.h: if (! ((*finfo->info->callbacks->unattached_reloc)
|
66 |
|
|
aoutx.h: (finfo->info, name, input_bfd, input_section,
|
67 |
|
|
aoutx.h: (finfo->info, input_bfd, input_section, h,
|
68 |
|
|
aoutx.h: if (hundef && ! finfo->info->shared && ! r_baserel)
|
69 |
|
|
aoutx.h: if (! ((*finfo->info->callbacks->undefined_symbol)
|
70 |
|
|
aoutx.h: (finfo->info, name, input_bfd, input_section,
|
71 |
|
|
aoutx.h: if (! ((*finfo->info->callbacks->reloc_overflow)
|
72 |
|
|
aoutx.h: (finfo->info, name, howto->name,
|
73 |
|
|
aoutx.h: output_bfd = finfo->output_bfd;
|
74 |
|
|
aoutx.h: relocateable = finfo->info->relocateable;
|
75 |
|
|
aoutx.h: symbol_map = finfo->symbol_map;
|
76 |
|
|
aoutx.h: if (! ((*finfo->info->callbacks->unattached_reloc)
|
77 |
|
|
aoutx.h: (finfo->info, name, input_bfd, input_section,
|
78 |
|
|
aoutx.h: (finfo->info, input_bfd, input_section, h,
|
79 |
|
|
aoutx.h: && ! finfo->info->shared
|
80 |
|
|
aoutx.h: if (! ((*finfo->info->callbacks->undefined_symbol)
|
81 |
|
|
aoutx.h: (finfo->info, name, input_bfd, input_section,
|
82 |
|
|
aoutx.h: if (! ((*finfo->info->callbacks->reloc_overflow)
|
83 |
|
|
aoutx.h: (finfo->info, name, howto_table_ext[r_type].name,
|
84 |
|
|
aoutx.h: BFD_ASSERT (pr->u.section->owner == finfo->output_bfd);
|
85 |
|
|
aoutx.h: bfd_wrapped_link_hash_lookup (finfo->output_bfd, finfo->info,
|
86 |
|
|
aoutx.h: if (! ((*finfo->info->callbacks->unattached_reloc)
|
87 |
|
|
aoutx.h: (finfo->info, pr->u.name, (bfd *) NULL,
|
88 |
|
|
aoutx.h: howto = bfd_reloc_type_lookup (finfo->output_bfd, pr->reloc);
|
89 |
|
|
aoutx.h: if (o == obj_textsec (finfo->output_bfd))
|
90 |
|
|
aoutx.h: reloff_ptr = &finfo->treloff;
|
91 |
|
|
aoutx.h: else if (o == obj_datasec (finfo->output_bfd))
|
92 |
|
|
aoutx.h: reloff_ptr = &finfo->dreloff;
|
93 |
|
|
aoutx.h: if (obj_reloc_entry_size (finfo->output_bfd) == RELOC_STD_SIZE)
|
94 |
|
|
aoutx.h: MY_put_reloc(finfo->output_bfd, r_extern, r_index, p->offset, howto,
|
95 |
|
|
aoutx.h: PUT_WORD (finfo->output_bfd, p->offset, srel.r_address);
|
96 |
|
|
aoutx.h: if (bfd_header_big_endian (finfo->output_bfd))
|
97 |
|
|
aoutx.h: r = MY_relocate_contents (howto, finfo->output_bfd,
|
98 |
|
|
aoutx.h: if (! ((*finfo->info->callbacks->reloc_overflow)
|
99 |
|
|
aoutx.h: (finfo->info,
|
100 |
|
|
aoutx.h: ? bfd_section_name (finfo->output_bfd,
|
101 |
|
|
aoutx.h: ok = bfd_set_section_contents (finfo->output_bfd, o,
|
102 |
|
|
aoutx.h: MY_put_ext_reloc (finfo->output_bfd, r_extern, r_index, p->offset,
|
103 |
|
|
aoutx.h: PUT_WORD (finfo->output_bfd, p->offset, erel.r_address);
|
104 |
|
|
aoutx.h: if (bfd_header_big_endian (finfo->output_bfd))
|
105 |
|
|
aoutx.h: PUT_WORD (finfo->output_bfd, pr->addend, erel.r_addend);
|
106 |
|
|
aoutx.h: if (bfd_seek (finfo->output_bfd, *reloff_ptr, SEEK_SET) != 0
|
107 |
|
|
aoutx.h: obj_reloc_entry_size (finfo->output_bfd),
|
108 |
|
|
aoutx.h: finfo->output_bfd)
|
109 |
|
|
aoutx.h: != obj_reloc_entry_size (finfo->output_bfd)))
|
110 |
|
|
aoutx.h: *reloff_ptr += obj_reloc_entry_size (finfo->output_bfd);
|
111 |
|
|
aoutx.h: BFD_ASSERT (*reloff_ptr <= obj_sym_filepos (finfo->output_bfd)
|
112 |
|
|
aoutx.h: && (reloff_ptr != &finfo->treloff
|
113 |
|
|
aoutx.h: <= obj_datasec (finfo->output_bfd)->rel_filepos)));
|
114 |
|
|
archures.c: return abfd->arch_info->printable_name;
|
115 |
|
|
archures.c: if (abfd->arch_info->arch == bfd_arch_unknown)
|
116 |
|
|
archures.c: if (bbfd->arch_info->arch == bfd_arch_unknown)
|
117 |
|
|
archures.c: return abfd->arch_info->compatible (abfd->arch_info, bbfd->arch_info);
|
118 |
|
|
archures.c: return abfd->arch_info->arch;
|
119 |
|
|
archures.c: return abfd->arch_info->mach;
|
120 |
|
|
archures.c: return abfd->arch_info->bits_per_byte;
|
121 |
|
|
archures.c: return abfd->arch_info->bits_per_address;
|
122 |
|
|
archures.c: if (strcasecmp (string, info->arch_name) == 0
|
123 |
|
|
archures.c: && info->the_default)
|
124 |
|
|
archures.c: if (strcasecmp (string, info->printable_name) == 0)
|
125 |
|
|
archures.c: printable_name_colon = strchr (info->printable_name, ':');
|
126 |
|
|
archures.c: int strlen_arch_name = strlen (info->arch_name);
|
127 |
|
|
archures.c: if (strncasecmp (string, info->arch_name, strlen_arch_name) == 0)
|
128 |
|
|
archures.c: info->printable_name) == 0)
|
129 |
|
|
archures.c: info->printable_name) == 0)
|
130 |
|
|
archures.c: int colon_index = printable_name_colon - info->printable_name;
|
131 |
|
|
archures.c: if (strncasecmp (string, info->printable_name, colon_index) == 0
|
132 |
|
|
archures.c: info->printable_name + colon_index + 1) == 0)
|
133 |
|
|
archures.c: for (ptr_src = string, ptr_tst = info->arch_name;
|
134 |
|
|
archures.c: return info->the_default;
|
135 |
|
|
archures.c: if (arch != info->arch)
|
136 |
|
|
archures.c: if (number != info->mach)
|
137 |
|
|
archures.c~: return abfd->arch_info->printable_name;
|
138 |
|
|
archures.c~: if (abfd->arch_info->arch == bfd_arch_unknown)
|
139 |
|
|
archures.c~: if (bbfd->arch_info->arch == bfd_arch_unknown)
|
140 |
|
|
archures.c~: return abfd->arch_info->compatible (abfd->arch_info, bbfd->arch_info);
|
141 |
|
|
archures.c~: return abfd->arch_info->arch;
|
142 |
|
|
archures.c~: return abfd->arch_info->mach;
|
143 |
|
|
archures.c~: return abfd->arch_info->bits_per_byte;
|
144 |
|
|
archures.c~: return abfd->arch_info->bits_per_address;
|
145 |
|
|
archures.c~: if (strcasecmp (string, info->arch_name) == 0
|
146 |
|
|
archures.c~: && info->the_default)
|
147 |
|
|
archures.c~: if (strcasecmp (string, info->printable_name) == 0)
|
148 |
|
|
archures.c~: printable_name_colon = strchr (info->printable_name, ':');
|
149 |
|
|
archures.c~: int strlen_arch_name = strlen (info->arch_name);
|
150 |
|
|
archures.c~: if (strncasecmp (string, info->arch_name, strlen_arch_name) == 0)
|
151 |
|
|
archures.c~: info->printable_name) == 0)
|
152 |
|
|
archures.c~: info->printable_name) == 0)
|
153 |
|
|
archures.c~: int colon_index = printable_name_colon - info->printable_name;
|
154 |
|
|
archures.c~: if (strncasecmp (string, info->printable_name, colon_index) == 0
|
155 |
|
|
archures.c~: info->printable_name + colon_index + 1) == 0)
|
156 |
|
|
archures.c~: for (ptr_src = string, ptr_tst = info->arch_name;
|
157 |
|
|
archures.c~: return info->the_default;
|
158 |
|
|
archures.c~: if (arch != info->arch)
|
159 |
|
|
archures.c~: if (number != info->mach)
|
160 |
|
|
bout.c: if (! ((*link_info->callbacks->undefined_symbol)
|
161 |
|
|
ChangeLog: debug-line info---it doesn't work right if a compilation unit
|
162 |
|
|
ChangeLog-9193: * bout.c: Changed functions to use link_info->callbacks rather
|
163 |
|
|
ChangeLog-9193: * reloc.c, section.c, syms.c, targets.c: correct info-node
|
164 |
|
|
ChangeLog-9495: info->shared_library, to sunos_create_dynamic_sections.
|
165 |
|
|
ChangeLog-9495: (NAME(aout,final_link)): If info->shared is set, set DYNAMIC.
|
166 |
|
|
ChangeLog-9495: info->dynsym_count to reloc swap routines.
|
167 |
|
|
ChangeLog-9495: (aout_link_write_symbols): If info->keep_memory is false, use name
|
168 |
|
|
ChangeLog-9495: Clear info->canonical_dynsym and info->canonical_dynrel.
|
169 |
|
|
ChangeLog-9495: * sunos.c (MY(read_dynamic_relocs)): Compare info->dynrel with NULL,
|
170 |
|
|
ChangeLog-9495: not (struct external_nlist *) NULL. info->dynrel is a PTR, not
|
171 |
|
|
ChangeLog-9697: special cases. Since info->mach == 0. The test mach == number
|
172 |
|
|
ChangeLog-9697: Don't return bfd_und_section_ptr when info->shared.
|
173 |
|
|
ChangeLog-9697: rather than comparing against info->lprefix.
|
174 |
|
|
ChangeLog-9697: section if it might be needed, not just if info->shared.
|
175 |
|
|
ChangeLog-9697: symbols if info->strip == strip_all.
|
176 |
|
|
ChangeLog-9697: info->callbacks_warning, rather than _bfd_error_handler, for
|
177 |
|
|
ChangeLog-9697: info->shared.
|
178 |
|
|
coff-a29k.c: if (info->relocateable)
|
179 |
|
|
coff-a29k.c: if (! ((*info->callbacks->undefined_symbol)
|
180 |
|
|
coff-a29k.c: if (! ((*info->callbacks->reloc_dangerous)
|
181 |
|
|
coff-a29k.c: if (! ((*info->callbacks->reloc_dangerous)
|
182 |
|
|
coff-a29k.c: if (! ((*info->callbacks->reloc_overflow)
|
183 |
|
|
coff-alpha.c: h = bfd_link_hash_lookup (link_info->hash, "_gp", false, false,
|
184 |
|
|
coff-alpha.c: if (! ((*link_info->callbacks->undefined_symbol)
|
185 |
|
|
coff-alpha.c: if (! ((*link_info->callbacks->reloc_dangerous)
|
186 |
|
|
coff-alpha.c: if (! ((*link_info->callbacks->reloc_overflow)
|
187 |
|
|
coff-alpha.c: BFD_ASSERT (info->relocateable);
|
188 |
|
|
coff-alpha.c: if (! info->relocateable && lita_sec != NULL)
|
189 |
|
|
coff-alpha.c: (*info->callbacks->warning) (info,
|
190 |
|
|
coff-alpha.c: if (info->relocateable)
|
191 |
|
|
coff-alpha.c: if (! info->relocateable)
|
192 |
|
|
coff-alpha.c: if (! ((*info->callbacks->undefined_symbol)
|
193 |
|
|
coff-alpha.c: if (! ((*info->callbacks->unattached_reloc)
|
194 |
|
|
coff-alpha.c: if (info->relocateable)
|
195 |
|
|
coff-alpha.c: if (! info->relocateable)
|
196 |
|
|
coff-alpha.c: if (info->relocateable)
|
197 |
|
|
coff-alpha.c: if (! ((*info->callbacks->unattached_reloc)
|
198 |
|
|
coff-alpha.c: if (! ((*info->callbacks->undefined_symbol)
|
199 |
|
|
coff-alpha.c: if (! ((*info->callbacks->reloc_overflow)
|
200 |
|
|
coff-alpha.c: if (info->relocateable && adjust_addrp)
|
201 |
|
|
coff-alpha.c: if (! ((*info->callbacks->reloc_dangerous)
|
202 |
|
|
coff-arm.c: fwrite (&addr, 1, sizeof (addr), (FILE *) info->base_file);
|
203 |
|
|
coff-arm.c: && info->relocateable
|
204 |
|
|
coff-arm.c: if (howto->pc_relative && !info->relocateable)
|
205 |
|
|
coff-arm.c: if (info->relocateable)
|
206 |
|
|
coff-arm.c: if (! info->relocateable
|
207 |
|
|
coff-arm.c: if (info->base_file)
|
208 |
|
|
coff-arm.c: if (info->base_file)
|
209 |
|
|
coff-arm.c: else if (! info->relocateable)
|
210 |
|
|
coff-arm.c: if (! ((*info->callbacks->undefined_symbol)
|
211 |
|
|
coff-arm.c: if (info->base_file)
|
212 |
|
|
coff-arm.c: else if (! info->relocateable
|
213 |
|
|
coff-arm.c: if (! info->relocateable
|
214 |
|
|
coff-arm.c: if (! ((*info->callbacks->reloc_overflow)
|
215 |
|
|
coff-arm.c: if (info->relocateable)
|
216 |
|
|
coff-arm.c: if (info->relocateable)
|
217 |
|
|
coff-arm.c: || sub == coff_arm_hash_table (info->info)->bfd_of_glue_owner);
|
218 |
|
|
coff-arm.c: globals = coff_arm_hash_table (pfinfo->info);
|
219 |
|
|
coff-aux.c: h = bfd_link_hash_lookup (info->hash, name, true, copy, false);
|
220 |
|
|
coff-aux.c: if (info->notice_hash != (struct bfd_hash_table *) NULL
|
221 |
|
|
coff-aux.c: && (bfd_hash_lookup (info->notice_hash, name, false, false)
|
222 |
|
|
coff-aux.c: if (! (*info->callbacks->notice) (info, name, abfd, section, value))
|
223 |
|
|
coff-h8300.c: if (! ((*link_info->callbacks->reloc_overflow)
|
224 |
|
|
coff-h8300.c: if (! ((*link_info->callbacks->reloc_overflow)
|
225 |
|
|
coff-h8300.c: if (! ((*link_info->callbacks->reloc_overflow)
|
226 |
|
|
coff-h8300.c: if (! ((*link_info->callbacks->reloc_overflow)
|
227 |
|
|
coff-h8300.c: if (! ((*link_info->callbacks->reloc_overflow)
|
228 |
|
|
coff-h8300.c: if (! ((*link_info->callbacks->reloc_overflow)
|
229 |
|
|
coff-h8300.c: if (! ((*link_info->callbacks->reloc_overflow)
|
230 |
|
|
coff-h8300.c: if (! ((*link_info->callbacks->reloc_overflow)
|
231 |
|
|
coff-h8500.c: if (! ((*link_info->callbacks->reloc_overflow)
|
232 |
|
|
coff-h8500.c: if (! ((*link_info->callbacks->reloc_overflow)
|
233 |
|
|
coff-i386.c: if (info->relocateable)
|
234 |
|
|
coff-i960.c: if (! info->relocateable)
|
235 |
|
|
coff-i960.c: else if (! info->relocateable)
|
236 |
|
|
coff-i960.c: if (! ((*info->callbacks->undefined_symbol)
|
237 |
|
|
coff-i960.c: if (howto->type == R_OPTCALL && ! info->relocateable && symndx != -1)
|
238 |
|
|
coff-i960.c: if (! ((*info->callbacks->reloc_dangerous)
|
239 |
|
|
coff-i960.c: if (! ((*info->callbacks->reloc_overflow)
|
240 |
|
|
cofflink.c: if (! info->keep_memory)
|
241 |
|
|
cofflink.c: if (! info->keep_memory || ! *pneeded)
|
242 |
|
|
cofflink.c: h = bfd_link_hash_lookup (info->hash, name, false, false, true);
|
243 |
|
|
cofflink.c: if (! (*info->callbacks->add_archive_element) (info, abfd, name))
|
244 |
|
|
cofflink.c: if (info->keep_memory)
|
245 |
|
|
cofflink.c: if (info->hash->creator->flavour == bfd_get_flavour (abfd))
|
246 |
|
|
cofflink.c: bfd_hash_allocate (&info->hash->table,
|
247 |
|
|
cofflink.c: if (! info->relocateable
|
248 |
|
|
cofflink.c: && ! info->traditional_format
|
249 |
|
|
cofflink.c: && info->hash->creator->flavour == bfd_get_flavour (abfd)
|
250 |
|
|
cofflink.c: && (info->strip != strip_all && info->strip != strip_debugger))
|
251 |
|
|
cofflink.c: if (info->strip == strip_none
|
252 |
|
|
cofflink.c: || info->strip == strip_some)
|
253 |
|
|
cofflink.c: if (info->relocateable)
|
254 |
|
|
cofflink.c: else if (info->relocateable
|
255 |
|
|
cofflink.c: if (info->relocateable)
|
256 |
|
|
cofflink.c: BFD_ASSERT (info->relocateable);
|
257 |
|
|
cofflink.c: for (sub = info->input_bfds; sub != NULL; sub = sub->link_next)
|
258 |
|
|
cofflink.c: if (! info->relocateable)
|
259 |
|
|
cofflink.c: || (! info->relocateable
|
260 |
|
|
cofflink.c: if (info->task_link)
|
261 |
|
|
cofflink.c: if (info->relocateable && max_output_reloc_count > 0)
|
262 |
|
|
cofflink.c: finfo->external_relocs,
|
263 |
|
|
cofflink.c: finfo->info->relocateable,
|
264 |
|
|
cofflink.c: (finfo->info->relocateable
|
265 |
|
|
cofflink.c: ? (finfo->section_info[ a->output_section->target_index ].relocs + a->output_section->reloc_count)
|
266 |
|
|
cofflink.c: : finfo->internal_relocs)
|
267 |
|
|
cofflink.c: finfo->sym_indices[ irel->r_symndx ] = -1;
|
268 |
|
|
cofflink.c: output_bfd = finfo->output_bfd;
|
269 |
|
|
cofflink.c: if (! finfo->info->keep_memory)
|
270 |
|
|
cofflink.c: isymp = finfo->internal_syms;
|
271 |
|
|
cofflink.c: secpp = finfo->sec_ptrs;
|
272 |
|
|
cofflink.c: indexp = finfo->sym_indices;
|
273 |
|
|
cofflink.c: outsym = finfo->outsyms;
|
274 |
|
|
cofflink.c: if (! process_embedded_commands (output_bfd, finfo->info, input_bfd))
|
275 |
|
|
cofflink.c: if (( finfo->info->strip != strip_none
|
276 |
|
|
cofflink.c: || finfo->info->discard != discard_none)
|
277 |
|
|
cofflink.c: && finfo->info->relocateable)
|
278 |
|
|
cofflink.c: if ((finfo->info->strip != strip_none
|
279 |
|
|
cofflink.c: || finfo->info->discard != discard_none)
|
280 |
|
|
cofflink.c: && finfo->info->relocateable)
|
281 |
|
|
cofflink.c: if (finfo->info->strip == strip_all && ! dont_skip_symbol)
|
282 |
|
|
cofflink.c: if (finfo->info->discard == discard_all && ! dont_skip_symbol)
|
283 |
|
|
cofflink.c: && finfo->info->strip == strip_debugger
|
284 |
|
|
cofflink.c: && (finfo->info->strip == strip_some
|
285 |
|
|
cofflink.c: || finfo->info->discard == discard_l))
|
286 |
|
|
cofflink.c: && ((finfo->info->strip == strip_some
|
287 |
|
|
cofflink.c: && (bfd_hash_lookup (finfo->info->keep_hash, name, false,
|
288 |
|
|
cofflink.c: && finfo->info->discard == discard_l
|
289 |
|
|
cofflink.c: && (finfo->output_bfd->flags & BFD_TRADITIONAL_FORMAT) == 0
|
290 |
|
|
cofflink.c: mh = coff_debug_merge_hash_lookup (&finfo->debug_merge, name,
|
291 |
|
|
cofflink.c: (*epp)->tagndx = finfo->sym_indices[indx];
|
292 |
|
|
cofflink.c: indx = _bfd_stringtab_add (finfo->strtab, name, hash, copy);
|
293 |
|
|
cofflink.c: if (! obj_pe (finfo->output_bfd))
|
294 |
|
|
cofflink.c: if (finfo->last_file_index != -1
|
295 |
|
|
cofflink.c: && finfo->last_file.n_value != (long) output_index)
|
296 |
|
|
cofflink.c: finfo->last_file.n_value = output_index;
|
297 |
|
|
cofflink.c: if ((bfd_size_type) finfo->last_file_index >= syment_base)
|
298 |
|
|
cofflink.c: (PTR) &finfo->last_file,
|
299 |
|
|
cofflink.c: (PTR) (finfo->outsyms
|
300 |
|
|
cofflink.c: + ((finfo->last_file_index
|
301 |
|
|
cofflink.c: (PTR) &finfo->last_file,
|
302 |
|
|
cofflink.c: + finfo->last_file_index * osymesz),
|
303 |
|
|
cofflink.c: finfo->last_file_index = output_index;
|
304 |
|
|
cofflink.c: finfo->last_file = isym;
|
305 |
|
|
cofflink.c: if (finfo->info->task_link
|
306 |
|
|
cofflink.c: isymp = finfo->internal_syms;
|
307 |
|
|
cofflink.c: indexp = finfo->sym_indices;
|
308 |
|
|
cofflink.c: outsym = finfo->outsyms;
|
309 |
|
|
cofflink.c: indx = _bfd_stringtab_add (finfo->strtab, filename,
|
310 |
|
|
cofflink.c: while ((finfo->sym_indices[indx] < 0
|
311 |
|
|
cofflink.c: || ((bfd_size_type) finfo->sym_indices[indx]
|
312 |
|
|
cofflink.c: indx = finfo->sym_indices[indx];
|
313 |
|
|
cofflink.c: symindx = finfo->sym_indices[indx];
|
314 |
|
|
cofflink.c: if (finfo->last_bf_index != -1)
|
315 |
|
|
cofflink.c: finfo->last_bf.x_sym.x_fcnary.x_fcn.x_endndx.l =
|
316 |
|
|
cofflink.c: if ((bfd_size_type) finfo->last_bf_index
|
317 |
|
|
cofflink.c: auxout = (PTR) (finfo->outsyms
|
318 |
|
|
cofflink.c: + ((finfo->last_bf_index
|
319 |
|
|
cofflink.c: (PTR) &finfo->last_bf,
|
320 |
|
|
cofflink.c: (PTR) &finfo->last_bf,
|
321 |
|
|
cofflink.c: + finfo->last_bf_index * osymesz),
|
322 |
|
|
cofflink.c: finfo->last_bf_index = -1;
|
323 |
|
|
cofflink.c: finfo->last_bf = *auxp;
|
324 |
|
|
cofflink.c: finfo->last_bf_index = (((outsym - finfo->outsyms)
|
325 |
|
|
cofflink.c: if (finfo->info->strip == strip_none
|
326 |
|
|
cofflink.c: || finfo->info->strip == strip_some)
|
327 |
|
|
cofflink.c: || bfd_read (finfo->linenos, linesz, o->lineno_count,
|
328 |
|
|
cofflink.c: eline = finfo->linenos;
|
329 |
|
|
cofflink.c: oeline = finfo->linenos;
|
330 |
|
|
cofflink.c: indx = finfo->sym_indices[iline.l_addr.l_symndx];
|
331 |
|
|
cofflink.c: (PTR) (finfo->outsyms
|
332 |
|
|
cofflink.c: auxptr = (PTR) (finfo->outsyms
|
333 |
|
|
cofflink.c: + eline - finfo->linenos);
|
334 |
|
|
cofflink.c: || (bfd_write (finfo->linenos, 1, oeline - finfo->linenos,
|
335 |
|
|
cofflink.c: != (bfd_size_type) (oeline - finfo->linenos)))
|
336 |
|
|
cofflink.c: (oeline - finfo->linenos) / linesz;
|
337 |
|
|
cofflink.c: if (finfo->last_file_index != -1
|
338 |
|
|
cofflink.c: && (bfd_size_type) finfo->last_file_index >= syment_base)
|
339 |
|
|
cofflink.c: finfo->last_file.n_value = output_index;
|
340 |
|
|
cofflink.c: bfd_coff_swap_sym_out (output_bfd, (PTR) &finfo->last_file,
|
341 |
|
|
cofflink.c: (PTR) (finfo->outsyms
|
342 |
|
|
cofflink.c: + ((finfo->last_file_index - syment_base)
|
343 |
|
|
cofflink.c: if (outsym > finfo->outsyms)
|
344 |
|
|
cofflink.c: || (bfd_write (finfo->outsyms, outsym - finfo->outsyms, 1,
|
345 |
|
|
cofflink.c: != (bfd_size_type) (outsym - finfo->outsyms)))
|
346 |
|
|
cofflink.c: + (outsym - finfo->outsyms) / osymesz)
|
347 |
|
|
cofflink.c: if (! bfd_get_section_contents (input_bfd, o, finfo->contents,
|
348 |
|
|
cofflink.c: contents = finfo->contents;
|
349 |
|
|
cofflink.c: (input_bfd, o, false, finfo->external_relocs,
|
350 |
|
|
cofflink.c: finfo->info->relocateable,
|
351 |
|
|
cofflink.c: (finfo->info->relocateable
|
352 |
|
|
cofflink.c: ? (finfo->section_info[target_index].relocs
|
353 |
|
|
cofflink.c: : finfo->internal_relocs)));
|
354 |
|
|
cofflink.c: if (! bfd_coff_relocate_section (output_bfd, finfo->info,
|
355 |
|
|
cofflink.c: finfo->internal_syms,
|
356 |
|
|
cofflink.c: finfo->sec_ptrs))
|
357 |
|
|
cofflink.c: if (finfo->info->relocateable)
|
358 |
|
|
cofflink.c: rel_hash = (finfo->section_info[target_index].rel_hashes
|
359 |
|
|
cofflink.c: if (! (*adjust_symndx) (output_bfd, finfo->info,
|
360 |
|
|
cofflink.c: indx = finfo->sym_indices[irel->r_symndx];
|
361 |
|
|
cofflink.c: is = finfo->internal_syms + irel->r_symndx;
|
362 |
|
|
cofflink.c: if (! ((*finfo->info->callbacks->unattached_reloc)
|
363 |
|
|
cofflink.c: (finfo->info, name, input_bfd, o,
|
364 |
|
|
cofflink.c: (output_bfd, &coff_hash_table (finfo->info)->stab_info,
|
365 |
|
|
cofflink.c: if (! finfo->info->keep_memory)
|
366 |
|
|
cofflink.c: output_bfd = finfo->output_bfd;
|
367 |
|
|
cofflink.c: && (finfo->info->strip == strip_all
|
368 |
|
|
cofflink.c: || (finfo->info->strip == strip_some
|
369 |
|
|
cofflink.c: && (bfd_hash_lookup (finfo->info->keep_hash,
|
370 |
|
|
cofflink.c: if (! obj_pe (finfo->output_bfd))
|
371 |
|
|
cofflink.c: indx = _bfd_stringtab_add (finfo->strtab, h->root.root.string, hash,
|
372 |
|
|
cofflink.c: finfo->failed = true;
|
373 |
|
|
cofflink.c: if (finfo->global_to_static)
|
374 |
|
|
cofflink.c: bfd_coff_swap_sym_out (output_bfd, (PTR) &isym, (PTR) finfo->outsyms);
|
375 |
|
|
cofflink.c: || bfd_write (finfo->outsyms, symesz, 1, output_bfd) != symesz)
|
376 |
|
|
cofflink.c: finfo->failed = true;
|
377 |
|
|
cofflink.c: || finfo->info->relocateable))
|
378 |
|
|
cofflink.c: || finfo->info->relocateable))
|
379 |
|
|
cofflink.c: (PTR) finfo->outsyms);
|
380 |
|
|
cofflink.c: if (bfd_write (finfo->outsyms, symesz, 1, output_bfd) != symesz)
|
381 |
|
|
cofflink.c: finfo->failed = true;
|
382 |
|
|
cofflink.c: save_global_to_static = finfo->global_to_static;
|
383 |
|
|
cofflink.c: finfo->global_to_static = true;
|
384 |
|
|
cofflink.c: finfo->global_to_static = save_global_to_static;
|
385 |
|
|
cofflink.c: if (! ((*finfo->info->callbacks->reloc_overflow)
|
386 |
|
|
cofflink.c: (finfo->info,
|
387 |
|
|
cofflink.c: irel = (finfo->section_info[output_section->target_index].relocs
|
388 |
|
|
cofflink.c: rel_hash_ptr = (finfo->section_info[output_section->target_index].rel_hashes
|
389 |
|
|
cofflink.c: bfd_wrapped_link_hash_lookup (output_bfd, finfo->info,
|
390 |
|
|
cofflink.c: if (! ((*finfo->info->callbacks->unattached_reloc)
|
391 |
|
|
cofflink.c: (finfo->info, link_order->u.reloc.p->u.name, (bfd *) NULL,
|
392 |
|
|
cofflink.c: if (info->relocateable)
|
393 |
|
|
cofflink.c: else if (! info->relocateable)
|
394 |
|
|
cofflink.c: if (! ((*info->callbacks->undefined_symbol)
|
395 |
|
|
cofflink.c: if (info->base_file)
|
396 |
|
|
cofflink.c: if (fwrite (&addr, 1, sizeof (long), (FILE *) info->base_file)
|
397 |
|
|
cofflink.c: if (! ((*info->callbacks->reloc_overflow)
|
398 |
|
|
coff-mcore.c: fwrite (&addr, 1, sizeof (addr), (FILE *) info->base_file);
|
399 |
|
|
coff-mcore.c: if (info->relocateable)
|
400 |
|
|
coff-mcore.c: if (! ((*info->callbacks->undefined_symbol)
|
401 |
|
|
coff-mcore.c: if (info->base_file)
|
402 |
|
|
coff-mcore.c: if (! ((*info->callbacks->reloc_overflow)
|
403 |
|
|
coff-mips.c: if (! ((*info->callbacks->reloc_dangerous)
|
404 |
|
|
coff-mips.c: else if (! info->relocateable
|
405 |
|
|
coff-mips.c: BFD_ASSERT (! info->relocateable);
|
406 |
|
|
coff-mips.c: if (info->relocateable)
|
407 |
|
|
coff-mips.c: if (! ((*info->callbacks->unattached_reloc)
|
408 |
|
|
coff-mips.c: if (! ((*info->callbacks->undefined_symbol)
|
409 |
|
|
coff-mips.c: if (! ((*info->callbacks->reloc_overflow)
|
410 |
|
|
coff-mips.c: if (info->hash->creator->flavour != bfd_get_flavour (abfd))
|
411 |
|
|
coff-mips.c: if (info->keep_memory)
|
412 |
|
|
coff-mips.c: if (info->keep_memory)
|
413 |
|
|
coff-mips.c: if (contents != (bfd_byte *) NULL && ! info->keep_memory)
|
414 |
|
|
coff-mips.c: if (contents != (bfd_byte *) NULL && ! info->keep_memory)
|
415 |
|
|
coff-mips.c: BFD_ASSERT (! info->relocateable);
|
416 |
|
|
coff-or16.c: if (info->relocateable)
|
417 |
|
|
coff-or16.c: if (! ((*info->callbacks->undefined_symbol)
|
418 |
|
|
coff-or16.c: if (! ((*info->callbacks->reloc_dangerous)
|
419 |
|
|
coff-or16.c: if (! ((*info->callbacks->reloc_dangerous)
|
420 |
|
|
coff-or16.c: if (! ((*info->callbacks->reloc_overflow)
|
421 |
|
|
coff-or1k.c: if (info->relocateable)
|
422 |
|
|
coff-or1k.c: if (! ((*info->callbacks->undefined_symbol)
|
423 |
|
|
coff-or1k.c: if (! ((*info->callbacks->reloc_dangerous)
|
424 |
|
|
coff-or1k.c: if (! ((*info->callbacks->reloc_dangerous)
|
425 |
|
|
coff-or1k.c: if (! ((*info->callbacks->reloc_overflow)
|
426 |
|
|
coff-ppc.c: if (info->relocateable)
|
427 |
|
|
coff-ppc.c: if (! ((*info->callbacks->undefined_symbol)
|
428 |
|
|
coff-ppc.c: if (fixit && info->base_file)
|
429 |
|
|
coff-ppc.c: fwrite (&addr, 1,4, (FILE *) info->base_file);
|
430 |
|
|
coff-ppc.c: if ( info->base_file )
|
431 |
|
|
coff-ppc.c: fwrite (&addr, 1,4, (FILE *) info->base_file);
|
432 |
|
|
coff-ppc.c: if (! ((*info->callbacks->reloc_overflow)
|
433 |
|
|
coff-ppc.c: if (info->strip == strip_none
|
434 |
|
|
coff-ppc.c: || info->strip == strip_some)
|
435 |
|
|
coff-ppc.c: if (info->relocateable)
|
436 |
|
|
coff-ppc.c: else if (info->relocateable
|
437 |
|
|
coff-ppc.c: if (info->relocateable)
|
438 |
|
|
coff-ppc.c: BFD_ASSERT (info->relocateable);
|
439 |
|
|
coff-ppc.c: for (sub = info->input_bfds; sub != NULL; sub = sub->link_next)
|
440 |
|
|
coff-ppc.c: if (! info->relocateable)
|
441 |
|
|
coff-ppc.c: || (! info->relocateable
|
442 |
|
|
coff-ppc.c: if (info->relocateable)
|
443 |
|
|
coff-sh.c: if (link_info->relocateable
|
444 |
|
|
coff-sh.c: (abfd, sec, link_info->keep_memory,
|
445 |
|
|
coff-sh.c: if (! link_info->keep_memory)
|
446 |
|
|
coff-sh.c: if (! link_info->keep_memory)
|
447 |
|
|
coff-sh.c: /* We always cache the relocs. Perhaps, if info->keep_memory is
|
448 |
|
|
coff-sh.c: Perhaps, if info->keep_memory is false, we
|
449 |
|
|
coff-sh.c: int dsp = (abfd->arch_info->mach == bfd_mach_sh_dsp
|
450 |
|
|
coff-sh.c: || abfd->arch_info->mach == bfd_mach_sh3_dsp);
|
451 |
|
|
coff-sh.c: if (abfd->arch_info->mach == bfd_mach_sh4)
|
452 |
|
|
coff-sh.c: else if (! info->relocateable)
|
453 |
|
|
coff-sh.c: if (! ((*info->callbacks->undefined_symbol)
|
454 |
|
|
coff-sh.c: if (! ((*info->callbacks->reloc_overflow)
|
455 |
|
|
coff-tic80.c: else if (! info->relocateable)
|
456 |
|
|
coff-tic80.c: if (! ((*info->callbacks->undefined_symbol)
|
457 |
|
|
coff-tic80.c: if (! ((*info->callbacks->reloc_overflow)
|
458 |
|
|
coff-w65.c: if (! ((*link_info->callbacks->reloc_overflow)
|
459 |
|
|
coff-w65.c: if (! ((*link_info->callbacks->reloc_overflow)
|
460 |
|
|
coff-z8k.c: if (! ((*link_info->callbacks->reloc_overflow)
|
461 |
|
|
cpu-arm.c: if (strcasecmp (string, info->printable_name) == 0)
|
462 |
|
|
cpu-arm.c: if (i != -1 && info->arch == processors[ i ].arch)
|
463 |
|
|
cpu-arm.c: return info->the_default;
|
464 |
|
|
cpu-h8300.c: return (info->mach == bfd_mach_h8300h);
|
465 |
|
|
cpu-h8300.c: return (info->mach == bfd_mach_h8300s);
|
466 |
|
|
cpu-h8300.c: return info->mach == bfd_mach_h8300;
|
467 |
|
|
cpu-pj.c: if (strcasecmp (info->printable_name, string) == 0)
|
468 |
|
|
cpu-sh.c: if (strcasecmp (info->printable_name, string) == 0)
|
469 |
|
|
cpu-v850.c: if (strcasecmp (string, info->printable_name) == 0)
|
470 |
|
|
cpu-v850.c: for (ptr_src = string, ptr_tst = info->arch_name;
|
471 |
|
|
cpu-v850.c: return info->the_default;
|
472 |
|
|
cpu-v850.c: if (arch != info->arch)
|
473 |
|
|
cpu-v850.c: if (number != info->mach)
|
474 |
|
|
cpu-z8k.c: return bfd_mach_z8001 == info->mach;
|
475 |
|
|
cpu-z8k.c: return bfd_mach_z8002 == info->mach;
|
476 |
|
|
dwarf2.c: info->prev_line = table->last_line;
|
477 |
|
|
dwarf2.c: info->address = address;
|
478 |
|
|
dwarf2.c: info->filename = filename;
|
479 |
|
|
dwarf2.c: info->line = line;
|
480 |
|
|
dwarf2.c: info->column = column;
|
481 |
|
|
dwarf2.c: info->end_sequence = end_sequence;
|
482 |
|
|
ecoff.c: if (debug_info->external_rfd == NULL)
|
483 |
|
|
ecoff.c: fdr = debug_info->fdr + ifd;
|
484 |
|
|
ecoff.c: ((char *) debug_info->external_rfd
|
485 |
|
|
ecoff.c: fdr = debug_info->fdr + rfd;
|
486 |
|
|
ecoff.c: ((char *) debug_info->external_sym
|
487 |
|
|
ecoff.c: name = debug_info->ss + fdr->issBase + sym.iss;
|
488 |
|
|
ecoff.c: + debug_info->symbolic_header.iextMax));
|
489 |
|
|
ecoff.c: oinfo->symbolic_header.vstamp = iinfo->symbolic_header.vstamp;
|
490 |
|
|
ecoff.c: oinfo->symbolic_header.ilineMax = iinfo->symbolic_header.ilineMax;
|
491 |
|
|
ecoff.c: oinfo->symbolic_header.cbLine = iinfo->symbolic_header.cbLine;
|
492 |
|
|
ecoff.c: oinfo->line = iinfo->line;
|
493 |
|
|
ecoff.c: oinfo->symbolic_header.idnMax = iinfo->symbolic_header.idnMax;
|
494 |
|
|
ecoff.c: oinfo->external_dnr = iinfo->external_dnr;
|
495 |
|
|
ecoff.c: oinfo->symbolic_header.ipdMax = iinfo->symbolic_header.ipdMax;
|
496 |
|
|
ecoff.c: oinfo->external_pdr = iinfo->external_pdr;
|
497 |
|
|
ecoff.c: oinfo->symbolic_header.isymMax = iinfo->symbolic_header.isymMax;
|
498 |
|
|
ecoff.c: oinfo->external_sym = iinfo->external_sym;
|
499 |
|
|
ecoff.c: oinfo->symbolic_header.ioptMax = iinfo->symbolic_header.ioptMax;
|
500 |
|
|
ecoff.c: oinfo->external_opt = iinfo->external_opt;
|
501 |
|
|
ecoff.c: oinfo->symbolic_header.iauxMax = iinfo->symbolic_header.iauxMax;
|
502 |
|
|
ecoff.c: oinfo->external_aux = iinfo->external_aux;
|
503 |
|
|
ecoff.c: oinfo->symbolic_header.issMax = iinfo->symbolic_header.issMax;
|
504 |
|
|
ecoff.c: oinfo->ss = iinfo->ss;
|
505 |
|
|
ecoff.c: oinfo->symbolic_header.ifdMax = iinfo->symbolic_header.ifdMax;
|
506 |
|
|
ecoff.c: oinfo->external_fdr = iinfo->external_fdr;
|
507 |
|
|
ecoff.c: oinfo->symbolic_header.crfd = iinfo->symbolic_header.crfd;
|
508 |
|
|
ecoff.c: oinfo->external_rfd = iinfo->external_rfd;
|
509 |
|
|
ecoff.c: pundef = &info->hash->undefs;
|
510 |
|
|
ecoff.c: if (*pundef != info->hash->undefs_tail)
|
511 |
|
|
ecoff.c: if (! (*info->callbacks->add_archive_element) (info, element, name))
|
512 |
|
|
ecoff.c: h = bfd_link_hash_lookup (info->hash, name, false, false, true);
|
513 |
|
|
ecoff.c: if (! (*info->callbacks->add_archive_element) (info, abfd, name))
|
514 |
|
|
ecoff.c: if (info->hash->creator->flavour == bfd_get_flavour (abfd))
|
515 |
|
|
ecoff.c: for (input_bfd = info->input_bfds;
|
516 |
|
|
ecoff.c: if (info->relocateable)
|
517 |
|
|
ecoff.c: if (info->relocateable)
|
518 |
|
|
ecoff.c: h = bfd_link_hash_lookup (info->hash, "_gp", false, false, true);
|
519 |
|
|
ecoff.c: else if (info->relocateable)
|
520 |
|
|
ecoff.c: bfd *output_bfd = einfo->abfd;
|
521 |
|
|
ecoff.c: else if (einfo->info->strip == strip_all
|
522 |
|
|
ecoff.c: || (einfo->info->strip == strip_some
|
523 |
|
|
ecoff.c: && bfd_hash_lookup (einfo->info->keep_hash,
|
524 |
|
|
ecoff.c: if (info->relocateable)
|
525 |
|
|
ecoff.c: if (! ((*info->callbacks->reloc_overflow)
|
526 |
|
|
ecoff.c: if (! ((*info->callbacks->unattached_reloc)
|
527 |
|
|
ecofflink.c: if ((*tail)->size > ainfo->largest_file_shuffle)
|
528 |
|
|
ecofflink.c: ainfo->largest_file_shuffle = (*tail)->size;
|
529 |
|
|
ecofflink.c: n = (struct shuffle *) objalloc_alloc (ainfo->memory,
|
530 |
|
|
ecofflink.c: if (size > ainfo->largest_file_shuffle)
|
531 |
|
|
ecofflink.c: ainfo->largest_file_shuffle = size;
|
532 |
|
|
ecofflink.c: n = (struct shuffle *) objalloc_alloc (ainfo->memory,
|
533 |
|
|
ecofflink.c: if (! bfd_hash_table_init_n (&ainfo->fdr_hash.table, string_hash_newfunc,
|
534 |
|
|
ecofflink.c: ainfo->line = NULL;
|
535 |
|
|
ecofflink.c: ainfo->line_end = NULL;
|
536 |
|
|
ecofflink.c: ainfo->pdr = NULL;
|
537 |
|
|
ecofflink.c: ainfo->pdr_end = NULL;
|
538 |
|
|
ecofflink.c: ainfo->sym = NULL;
|
539 |
|
|
ecofflink.c: ainfo->sym_end = NULL;
|
540 |
|
|
ecofflink.c: ainfo->opt = NULL;
|
541 |
|
|
ecofflink.c: ainfo->opt_end = NULL;
|
542 |
|
|
ecofflink.c: ainfo->aux = NULL;
|
543 |
|
|
ecofflink.c: ainfo->aux_end = NULL;
|
544 |
|
|
ecofflink.c: ainfo->ss = NULL;
|
545 |
|
|
ecofflink.c: ainfo->ss_end = NULL;
|
546 |
|
|
ecofflink.c: ainfo->ss_hash = NULL;
|
547 |
|
|
ecofflink.c: ainfo->ss_hash_end = NULL;
|
548 |
|
|
ecofflink.c: ainfo->fdr = NULL;
|
549 |
|
|
ecofflink.c: ainfo->fdr_end = NULL;
|
550 |
|
|
ecofflink.c: ainfo->rfd = NULL;
|
551 |
|
|
ecofflink.c: ainfo->rfd_end = NULL;
|
552 |
|
|
ecofflink.c: ainfo->largest_file_shuffle = 0;
|
553 |
|
|
ecofflink.c: if (! info->relocateable)
|
554 |
|
|
ecofflink.c: if (! bfd_hash_table_init (&ainfo->str_hash.table, string_hash_newfunc))
|
555 |
|
|
ecofflink.c: ainfo->memory = objalloc_create ();
|
556 |
|
|
ecofflink.c: if (ainfo->memory == NULL)
|
557 |
|
|
ecofflink.c: bfd_hash_table_free (&ainfo->fdr_hash.table);
|
558 |
|
|
ecofflink.c: if (! info->relocateable)
|
559 |
|
|
ecofflink.c: bfd_hash_table_free (&ainfo->str_hash.table);
|
560 |
|
|
ecofflink.c: objalloc_free (ainfo->memory);
|
561 |
|
|
ecofflink.c: rfd_out = (bfd_byte *) objalloc_alloc (ainfo->memory, sz);
|
562 |
|
|
ecofflink.c: if (!add_memory_shuffle (ainfo, &ainfo->rfd, &ainfo->rfd_end, rfd_out, sz))
|
563 |
|
|
ecofflink.c: fh = string_hash_lookup (&ainfo->fdr_hash, lookup, true, true);
|
564 |
|
|
ecofflink.c: fdr_out = (bfd_byte *) objalloc_alloc (ainfo->memory, sz);
|
565 |
|
|
ecofflink.c: if (!add_memory_shuffle (ainfo, &ainfo->fdr, &ainfo->fdr_end, fdr_out, sz))
|
566 |
|
|
ecofflink.c: sym_out = (bfd_byte *) objalloc_alloc (ainfo->memory, sz);
|
567 |
|
|
ecofflink.c: if (!add_memory_shuffle (ainfo, &ainfo->sym, &ainfo->sym_end, sym_out,
|
568 |
|
|
ecofflink.c: if (! info->relocateable)
|
569 |
|
|
ecofflink.c: sh = string_hash_lookup (&ainfo->str_hash, name, true, true);
|
570 |
|
|
ecofflink.c: if (ainfo->ss_hash == (struct string_hash_entry *) NULL)
|
571 |
|
|
ecofflink.c: ainfo->ss_hash = sh;
|
572 |
|
|
ecofflink.c: if (ainfo->ss_hash_end
|
573 |
|
|
ecofflink.c: ainfo->ss_hash_end->next = sh;
|
574 |
|
|
ecofflink.c: ainfo->ss_hash_end = sh;
|
575 |
|
|
ecofflink.c: if (!add_file_shuffle (ainfo, &ainfo->line, &ainfo->line_end,
|
576 |
|
|
ecofflink.c: if (!add_file_shuffle (ainfo, &ainfo->aux, &ainfo->aux_end,
|
577 |
|
|
ecofflink.c: if (! info->relocateable)
|
578 |
|
|
ecofflink.c: if (!add_file_shuffle (ainfo, &ainfo->ss, &ainfo->ss_end,
|
579 |
|
|
ecofflink.c: if (!add_file_shuffle (ainfo, &ainfo->pdr, &ainfo->pdr_end,
|
580 |
|
|
ecofflink.c: if (!add_file_shuffle (ainfo, &ainfo->opt, &ainfo->opt_end,
|
581 |
|
|
ecofflink.c: out = (bfd_byte *) objalloc_alloc (ainfo->memory, sz);
|
582 |
|
|
ecofflink.c: if (!add_memory_shuffle (ainfo, &ainfo->pdr, &ainfo->pdr_end, out,
|
583 |
|
|
ecofflink.c: out = (bfd_byte *) objalloc_alloc (ainfo->memory, sz);
|
584 |
|
|
ecofflink.c: if (!add_memory_shuffle (ainfo, &ainfo->opt, &ainfo->opt_end, out,
|
585 |
|
|
ecofflink.c: if (info->relocateable)
|
586 |
|
|
ecofflink.c: if (!add_memory_shuffle (ainfo, &ainfo->ss, &ainfo->ss_end, (PTR) string,
|
587 |
|
|
ecofflink.c: sh = string_hash_lookup (&ainfo->str_hash, string, true, true);
|
588 |
|
|
ecofflink.c: if (ainfo->ss_hash == (struct string_hash_entry *) NULL)
|
589 |
|
|
ecofflink.c: ainfo->ss_hash = sh;
|
590 |
|
|
ecofflink.c: if (ainfo->ss_hash_end
|
591 |
|
|
ecofflink.c: ainfo->ss_hash_end->next = sh;
|
592 |
|
|
ecofflink.c: ainfo->ss_hash_end = sh;
|
593 |
|
|
ecofflink.c: external_sym = (PTR) objalloc_alloc (ainfo->memory,
|
594 |
|
|
ecofflink.c: add_memory_shuffle (ainfo, &ainfo->sym, &ainfo->sym_end,
|
595 |
|
|
ecofflink.c: external_fdr = (PTR) objalloc_alloc (ainfo->memory,
|
596 |
|
|
ecofflink.c: add_memory_shuffle (ainfo, &ainfo->fdr, &ainfo->fdr_end,
|
597 |
|
|
ecofflink.c: space = (PTR) bfd_malloc (ainfo->largest_file_shuffle);
|
598 |
|
|
ecofflink.c: if (space == NULL && ainfo->largest_file_shuffle != 0)
|
599 |
|
|
ecofflink.c: if (! ecoff_write_shuffle (abfd, swap, ainfo->line, space)
|
600 |
|
|
ecofflink.c: || ! ecoff_write_shuffle (abfd, swap, ainfo->pdr, space)
|
601 |
|
|
ecofflink.c: || ! ecoff_write_shuffle (abfd, swap, ainfo->sym, space)
|
602 |
|
|
ecofflink.c: || ! ecoff_write_shuffle (abfd, swap, ainfo->opt, space)
|
603 |
|
|
ecofflink.c: || ! ecoff_write_shuffle (abfd, swap, ainfo->aux, space))
|
604 |
|
|
ecofflink.c: if (info->relocateable)
|
605 |
|
|
ecofflink.c: BFD_ASSERT (ainfo->ss_hash == (struct string_hash_entry *) NULL);
|
606 |
|
|
ecofflink.c: if (! ecoff_write_shuffle (abfd, swap, ainfo->ss, space))
|
607 |
|
|
ecofflink.c: BFD_ASSERT (ainfo->ss == (struct shuffle *) NULL);
|
608 |
|
|
ecofflink.c: BFD_ASSERT (ainfo->ss_hash == NULL || ainfo->ss_hash->val == 1);
|
609 |
|
|
ecofflink.c: for (sh = ainfo->ss_hash;
|
610 |
|
|
ecofflink.c: if (! ecoff_write_shuffle (abfd, swap, ainfo->fdr, space)
|
611 |
|
|
ecofflink.c: || ! ecoff_write_shuffle (abfd, swap, ainfo->rfd, space))
|
612 |
|
|
ecofflink.c: fdr_start = debug_info->fdr;
|
613 |
|
|
ecofflink.c: fdr_end = fdr_start + debug_info->symbolic_header.ifdMax;
|
614 |
|
|
ecofflink.c: line_info->fdrtab = ((struct ecoff_fdrtab_entry*)
|
615 |
|
|
ecofflink.c: if (line_info->fdrtab == NULL)
|
616 |
|
|
ecofflink.c: line_info->fdrtab_len = len;
|
617 |
|
|
ecofflink.c: tab = line_info->fdrtab;
|
618 |
|
|
ecofflink.c: sym_ptr = ((char *) debug_info->external_sym
|
619 |
|
|
ecofflink.c: if (strcmp (debug_info->ss + fdr_ptr->issBase + sym.iss,
|
620 |
|
|
ecofflink.c: pdr_ptr = ((char *) debug_info->external_pdr
|
621 |
|
|
ecofflink.c: qsort ((PTR) line_info->fdrtab, len,
|
622 |
|
|
ecofflink.c: len = line_info->fdrtab_len;
|
623 |
|
|
ecofflink.c: tab = line_info->fdrtab;
|
624 |
|
|
ecofflink.c: offset = line_info->cache.start;
|
625 |
|
|
ecofflink.c: if (line_info->fdrtab == NULL
|
626 |
|
|
ecofflink.c: tab = line_info->fdrtab;
|
627 |
|
|
ecofflink.c: sym_ptr = ((char *) debug_info->external_sym
|
628 |
|
|
ecofflink.c: if (strcmp (debug_info->ss + fdr_ptr->issBase + sym.iss,
|
629 |
|
|
ecofflink.c: pdr_ptr = ((char *) debug_info->external_pdr
|
630 |
|
|
ecofflink.c: while (++i < line_info->fdrtab_len
|
631 |
|
|
ecofflink.c: line_end = debug_info->line + fdr_ptr->cbLineOffset + fdr_ptr->cbLine;
|
632 |
|
|
ecofflink.c: line_ptr = debug_info->line + fdr_ptr->cbLineOffset + pdr.cbLineOffset;
|
633 |
|
|
ecofflink.c: line_info->cache.stop += count * 4 - offset;
|
634 |
|
|
ecofflink.c: line_info->cache.filename = NULL;
|
635 |
|
|
ecofflink.c: line_info->cache.functionname = NULL;
|
636 |
|
|
ecofflink.c: ((char *) debug_info->external_ext
|
637 |
|
|
ecofflink.c: line_info->cache.functionname = (debug_info->ssext
|
638 |
|
|
ecofflink.c: line_info->cache.filename = (debug_info->ss
|
639 |
|
|
ecofflink.c: ((char *) debug_info->external_sym
|
640 |
|
|
ecofflink.c: line_info->cache.functionname = (debug_info->ss
|
641 |
|
|
ecofflink.c: line_info->cache.line_num = lineno;
|
642 |
|
|
ecofflink.c: line_info->cache.filename = NULL;
|
643 |
|
|
ecofflink.c: line_info->cache.functionname = NULL;
|
644 |
|
|
ecofflink.c: line_info->cache.line_num = 0;
|
645 |
|
|
ecofflink.c: sym_ptr = ((char *) debug_info->external_sym
|
646 |
|
|
ecofflink.c: debug_info->ss + fdr_ptr->issBase + sym.iss;
|
647 |
|
|
ecofflink.c: debug_info->ss + fdr_ptr->issBase + nextsym.iss;
|
648 |
|
|
ecofflink.c: debug_info->ss + fdr_ptr->issBase + sym.iss;
|
649 |
|
|
ecofflink.c: debug_info->ss + fdr_ptr->issBase + sym.iss;
|
650 |
|
|
ecofflink.c: line_info->cache.line_num = sym.index;
|
651 |
|
|
ecofflink.c: if (line_info->cache.line_num != 0)
|
652 |
|
|
ecofflink.c: if (line_info->find_buffer != NULL)
|
653 |
|
|
ecofflink.c: free (line_info->find_buffer);
|
654 |
|
|
ecofflink.c: line_info->find_buffer = buffer;
|
655 |
|
|
ecofflink.c: line_info->cache.functionname = buffer;
|
656 |
|
|
ecofflink.c: line_info->cache.filename = main_file_name;
|
657 |
|
|
ecofflink.c: line_info->cache.filename = buffer + funclen;
|
658 |
|
|
ecofflink.c: if (line_info->cache.sect == NULL
|
659 |
|
|
ecofflink.c: || line_info->cache.sect != section
|
660 |
|
|
ecofflink.c: || offset < line_info->cache.start
|
661 |
|
|
ecofflink.c: || offset >= line_info->cache.stop)
|
662 |
|
|
ecofflink.c: line_info->cache.sect = section;
|
663 |
|
|
ecofflink.c: line_info->cache.start = offset;
|
664 |
|
|
ecofflink.c: line_info->cache.stop = offset;
|
665 |
|
|
ecofflink.c: line_info->cache.sect = NULL;
|
666 |
|
|
ecofflink.c: *filename_ptr = line_info->cache.filename;
|
667 |
|
|
ecofflink.c: *functionname_ptr = line_info->cache.functionname;
|
668 |
|
|
ecofflink.c: *retline_ptr = line_info->cache.line_num;
|
669 |
|
|
ecofflink.c: return ecoff_collect_shuffle (ainfo->pdr, buff);
|
670 |
|
|
ecofflink.c: return ecoff_collect_shuffle (ainfo->sym, buff);
|
671 |
|
|
ecofflink.c: BFD_ASSERT (ainfo->ss == (struct shuffle *) NULL);
|
672 |
|
|
ecofflink.c: BFD_ASSERT (ainfo->ss_hash == NULL || ainfo->ss_hash->val == 1);
|
673 |
|
|
ecofflink.c: for (sh = ainfo->ss_hash;
|
674 |
|
|
elf32-arm.h: if (info->relocateable)
|
675 |
|
|
elf32-arm.h: if (link_info->relocateable)
|
676 |
|
|
elf32-arm.h: if (info->shared
|
677 |
|
|
elf32-arm.h: && (! info->symbolic
|
678 |
|
|
elf32-arm.h: || ((info->symbolic || h->dynindx == -1)
|
679 |
|
|
elf32-arm.h: (info->shared && (info->symbolic || h->dynindx == -1)
|
680 |
|
|
elf32-arm.h: if (info->shared)
|
681 |
|
|
elf32-arm.h: if (info->relocateable)
|
682 |
|
|
elf32-arm.h: if (info->shared
|
683 |
|
|
elf32-arm.h: (!info->symbolic && h->dynindx != -1)
|
684 |
|
|
elf32-arm.h: && (!info->shared
|
685 |
|
|
elf32-arm.h: || (!info->symbolic && h->dynindx != -1)
|
686 |
|
|
elf32-arm.h: else if (info->shared && !info->symbolic && !info->no_undefined)
|
687 |
|
|
elf32-arm.h: if (!((*info->callbacks->undefined_symbol)
|
688 |
|
|
elf32-arm.h: (!info->shared || info->no_undefined))))
|
689 |
|
|
elf32-arm.h: if (!((*info->callbacks->reloc_overflow)
|
690 |
|
|
elf32-arm.h: if (!((*info->callbacks->undefined_symbol)
|
691 |
|
|
elf32-arm.h: if (!((*info->callbacks->warning)
|
692 |
|
|
elf32-arm.h: if (info->relocateable)
|
693 |
|
|
elf32-arm.h: && (h != NULL || info->shared))
|
694 |
|
|
elf32-arm.h: if (info->shared)
|
695 |
|
|
elf32-arm.h: if (info->shared
|
696 |
|
|
elf32-arm.h: && (! info->symbolic
|
697 |
|
|
elf32-arm.h: if (h != NULL && info->symbolic
|
698 |
|
|
elf32-arm.h: if (! info->shared
|
699 |
|
|
elf32-arm.h: if (! info->shared
|
700 |
|
|
elf32-arm.h: if (info->shared)
|
701 |
|
|
elf32-arm.h: if (! info->shared)
|
702 |
|
|
elf32-arm.h: if (info->shared && info->symbolic)
|
703 |
|
|
elf32-arm.h: if (! info->shared)
|
704 |
|
|
elf32-arm.h: if (info->shared
|
705 |
|
|
elf32-arm.h: && (info->symbolic || h->dynindx == -1)
|
706 |
|
|
elf32-avr.c: if (info->relocateable)
|
707 |
|
|
elf32-avr.c: if (info->relocateable)
|
708 |
|
|
elf32-avr.c: if (! ((*info->callbacks->undefined_symbol)
|
709 |
|
|
elf32-avr.c: r = info->callbacks->reloc_overflow
|
710 |
|
|
elf32-avr.c: r = info->callbacks->undefined_symbol
|
711 |
|
|
elf32-avr.c: r = info->callbacks->warning
|
712 |
|
|
elf32-d10v.c: if (info->relocateable)
|
713 |
|
|
elf32-d10v.c: if (info->relocateable)
|
714 |
|
|
elf32-d10v.c: if (!((*info->callbacks->undefined_symbol)
|
715 |
|
|
elf32-d10v.c: if (!((*info->callbacks->reloc_overflow)
|
716 |
|
|
elf32-d10v.c: if (!((*info->callbacks->undefined_symbol)
|
717 |
|
|
elf32-d10v.c: if (!((*info->callbacks->warning)
|
718 |
|
|
elf32-fr30.c: if (info->relocateable)
|
719 |
|
|
elf32-fr30.c: if (! ((*info->callbacks->undefined_symbol)
|
720 |
|
|
elf32-fr30.c: r = info->callbacks->reloc_overflow
|
721 |
|
|
elf32-fr30.c: r = info->callbacks->undefined_symbol
|
722 |
|
|
elf32-fr30.c: r = info->callbacks->warning
|
723 |
|
|
elf32-fr30.c: if (info->relocateable)
|
724 |
|
|
elf32-hppa.c: if (info->relocateable)
|
725 |
|
|
elf32-hppa.c: if (!((*info->callbacks->undefined_symbol)
|
726 |
|
|
elf32-hppa.c: if (!((*info->callbacks->undefined_symbol)
|
727 |
|
|
elf32-hppa.c: if (!((*info->callbacks->reloc_overflow)
|
728 |
|
|
elf32-hppa.c: for (input_bfd = link_info->input_bfds;
|
729 |
|
|
elf32-hppa.c: if (link_info->relocateable)
|
730 |
|
|
elf32-hppa.c: for (input_bfd = link_info->input_bfds, index = 0;
|
731 |
|
|
elf32-i370.c: if (! info->shared)
|
732 |
|
|
elf32-i370.c: if (info->shared)
|
733 |
|
|
elf32-i370.c: if (! info->shared)
|
734 |
|
|
elf32-i370.c: if (! info->shared)
|
735 |
|
|
elf32-i370.c: if (info->shared)
|
736 |
|
|
elf32-i370.c: if (info->relocateable)
|
737 |
|
|
elf32-i370.c: if (info->shared)
|
738 |
|
|
elf32-i370.c: if (info->shared)
|
739 |
|
|
elf32-i370.c: (info->relocateable) ? " (relocatable)" : "");
|
740 |
|
|
elf32-i370.c: if (info->relocateable)
|
741 |
|
|
elf32-i370.c: if (info->shared
|
742 |
|
|
elf32-i370.c: && ((! info->symbolic && h->dynindx != -1)
|
743 |
|
|
elf32-i370.c: else if (info->shared)
|
744 |
|
|
elf32-i370.c: (*info->callbacks->undefined_symbol)(info,
|
745 |
|
|
elf32-i370.c: if (info->shared)
|
746 |
|
|
elf32-i370.c: && ((! info->symbolic && h->dynindx != -1)
|
747 |
|
|
elf32-i370.c: (*info->callbacks->reloc_overflow)(info,
|
748 |
|
|
elf32-i386.c: if (info->relocateable)
|
749 |
|
|
elf32-i386.c: && (h != NULL || info->shared))
|
750 |
|
|
elf32-i386.c: if (info->shared)
|
751 |
|
|
elf32-i386.c: if (info->shared
|
752 |
|
|
elf32-i386.c: && (! info->symbolic
|
753 |
|
|
elf32-i386.c: if (h != NULL && info->symbolic
|
754 |
|
|
elf32-i386.c: if (! info->shared
|
755 |
|
|
elf32-i386.c: if (! info->shared
|
756 |
|
|
elf32-i386.c: if (info->shared)
|
757 |
|
|
elf32-i386.c: if (! info->shared)
|
758 |
|
|
elf32-i386.c: if (info->shared && info->symbolic)
|
759 |
|
|
elf32-i386.c: if (! info->shared)
|
760 |
|
|
elf32-i386.c: if (info->relocateable)
|
761 |
|
|
elf32-i386.c: && (! info->shared
|
762 |
|
|
elf32-i386.c: || (! info->symbolic && h->dynindx != -1)
|
763 |
|
|
elf32-i386.c: || (info->shared
|
764 |
|
|
elf32-i386.c: && ((! info->symbolic && h->dynindx != -1)
|
765 |
|
|
elf32-i386.c: else if (info->shared && !info->symbolic && !info->no_undefined)
|
766 |
|
|
elf32-i386.c: if (! ((*info->callbacks->undefined_symbol)
|
767 |
|
|
elf32-i386.c: (!info->shared || info->no_undefined))))
|
768 |
|
|
elf32-i386.c: || (info->shared
|
769 |
|
|
elf32-i386.c: && (info->symbolic || h->dynindx == -1)
|
770 |
|
|
elf32-i386.c: if (info->shared)
|
771 |
|
|
elf32-i386.c: if (info->shared
|
772 |
|
|
elf32-i386.c: && (! info->symbolic
|
773 |
|
|
elf32-i386.c: || ((info->symbolic || h->dynindx == -1)
|
774 |
|
|
elf32-i386.c: if (! ((*info->callbacks->reloc_overflow)
|
775 |
|
|
elf32-i386.c: if (! info->shared)
|
776 |
|
|
elf32-i386.c: if (info->shared
|
777 |
|
|
elf32-i386.c: && (info->symbolic || h->dynindx == -1)
|
778 |
|
|
elf32-i386.c: if (info->shared)
|
779 |
|
|
elf32-m32r.c: if (! info->relocateable
|
780 |
|
|
elf32-m32r.c: bfd_link_hash_lookup (info->hash, "_SDA_BASE_", false, false, false);
|
781 |
|
|
elf32-m32r.c: h = bfd_link_hash_lookup (info->hash, "_SDA_BASE_", false, false, true);
|
782 |
|
|
elf32-m32r.c: if (info->relocateable)
|
783 |
|
|
elf32-m32r.c: if (! ((*info->callbacks->undefined_symbol)
|
784 |
|
|
elf32-m32r.c: if (! ((*info->callbacks->reloc_overflow)
|
785 |
|
|
elf32-m32r.c: if (! ((*info->callbacks->undefined_symbol)
|
786 |
|
|
elf32-m32r.c: if (!((*info->callbacks->warning)
|
787 |
|
|
elf32-m32r.c: if (link_info->relocateable
|
788 |
|
|
elf32-m32r.c: link_info->keep_memory));
|
789 |
|
|
elf32-m32r.c: if (! link_info->keep_memory)
|
790 |
|
|
elf32-m32r.c: if (! link_info->keep_memory)
|
791 |
|
|
elf32-m32r.c: if (! link_info->keep_memory)
|
792 |
|
|
elf32-m32r.c: if (info->relocateable)
|
793 |
|
|
elf32-m68k.c: if (info->relocateable)
|
794 |
|
|
elf32-m68k.c: && (h != NULL || info->shared))
|
795 |
|
|
elf32-m68k.c: if (info->shared)
|
796 |
|
|
elf32-m68k.c: if (!(info->shared
|
797 |
|
|
elf32-m68k.c: && (!info->symbolic
|
798 |
|
|
elf32-m68k.c: if (info->shared
|
799 |
|
|
elf32-m68k.c: && info->symbolic)
|
800 |
|
|
elf32-m68k.c: if (info->shared)
|
801 |
|
|
elf32-m68k.c: if (! info->shared
|
802 |
|
|
elf32-m68k.c: if (!info->shared
|
803 |
|
|
elf32-m68k.c: if (info->shared)
|
804 |
|
|
elf32-m68k.c: if (!info->shared)
|
805 |
|
|
elf32-m68k.c: if (info->shared && info->symbolic)
|
806 |
|
|
elf32-m68k.c: if (!info->shared)
|
807 |
|
|
elf32-m68k.c: if (info->relocateable)
|
808 |
|
|
elf32-m68k.c: && (! info->shared
|
809 |
|
|
elf32-m68k.c: || (! info->symbolic && h->dynindx != -1)
|
810 |
|
|
elf32-m68k.c: || (info->shared
|
811 |
|
|
elf32-m68k.c: && ((! info->symbolic && h->dynindx != -1)
|
812 |
|
|
elf32-m68k.c: else if (info->shared && !info->symbolic && !info->no_undefined)
|
813 |
|
|
elf32-m68k.c: if (!(info->callbacks->undefined_symbol
|
814 |
|
|
elf32-m68k.c: (!info->shared || info->no_undefined))))
|
815 |
|
|
elf32-m68k.c: || (info->shared
|
816 |
|
|
elf32-m68k.c: && (info->symbolic || h->dynindx == -1)
|
817 |
|
|
elf32-m68k.c: if (info->shared)
|
818 |
|
|
elf32-m68k.c: if (info->shared
|
819 |
|
|
elf32-m68k.c: || (!info->symbolic
|
820 |
|
|
elf32-m68k.c: && ((! info->symbolic && h->dynindx != -1)
|
821 |
|
|
elf32-m68k.c: if (!(info->callbacks->reloc_overflow
|
822 |
|
|
elf32-m68k.c: if (info->shared
|
823 |
|
|
elf32-m68k.c: && (info->symbolic || h->dynindx == -1)
|
824 |
|
|
elf32-mcore.c: (info->relocateable) ? " (relocatable)" : "");
|
825 |
|
|
elf32-mcore.c: if (info->relocateable)
|
826 |
|
|
elf32-mcore.c: else if (info->shared)
|
827 |
|
|
elf32-mcore.c: if (! ((*info->callbacks->undefined_symbol)
|
828 |
|
|
elf32-mcore.c: (*info->callbacks->reloc_overflow)
|
829 |
|
|
elf32-mcore.c: if (info->relocateable)
|
830 |
|
|
elf32-mips.c: info->shared. I don't know why, and that doesn't make sense,
|
831 |
|
|
elf32-mips.c: info->shared. I don't know why, and that doesn't make sense,
|
832 |
|
|
elf32-mips.c: && ! info->shared
|
833 |
|
|
elf32-mips.c: && info->hash->creator == abfd->xvec
|
834 |
|
|
elf32-mips.c: else if (einfo->info->strip == strip_all
|
835 |
|
|
elf32-mips.c: || (einfo->info->strip == strip_some
|
836 |
|
|
elf32-mips.c: && bfd_hash_lookup (einfo->info->keep_hash,
|
837 |
|
|
elf32-mips.c: if (SGI_COMPAT (einfo->abfd)
|
838 |
|
|
elf32-mips.c: mips_elf_hash_table (einfo->info)->procedure_count;
|
839 |
|
|
elf32-mips.c: h->esym.asym.value = elf_gp (einfo->abfd);
|
840 |
|
|
elf32-mips.c: if (! bfd_ecoff_debug_one_external (einfo->abfd, einfo->debug, einfo->swap,
|
841 |
|
|
elf32-mips.c: einfo->failed = true;
|
842 |
|
|
elf32-mips.c: if (!info->shared
|
843 |
|
|
elf32-mips.c: && !info->relocateable
|
844 |
|
|
elf32-mips.c: if (!mips_elf_sort_hash_table (info, (info->shared
|
845 |
|
|
elf32-mips.c: h = bfd_link_hash_lookup (info->hash, "_gp", false, false, true);
|
846 |
|
|
elf32-mips.c: else if (info->relocateable)
|
847 |
|
|
elf32-mips.c: if (SGI_COMPAT (abfd) && info->shared)
|
848 |
|
|
elf32-mips.c: if (! info->relocateable)
|
849 |
|
|
elf32-mips.c: && (! info->symbolic || (h->root.elf_link_hash_flags
|
850 |
|
|
elf32-mips.c: else if (info->shared && !info->symbolic && !info->no_undefined)
|
851 |
|
|
elf32-mips.c: BFD_ASSERT (! info->shared);
|
852 |
|
|
elf32-mips.c: if (! ((*info->callbacks->undefined_symbol)
|
853 |
|
|
elf32-mips.c: (!info->shared || info->no_undefined))))
|
854 |
|
|
elf32-mips.c: if (r_type != R_MIPS16_26 && !info->relocateable
|
855 |
|
|
elf32-mips.c: else if (r_type == R_MIPS16_26 && !info->relocateable
|
856 |
|
|
elf32-mips.c: *require_jalxp = (!info->relocateable
|
857 |
|
|
elf32-mips.c: if ((info->shared
|
858 |
|
|
elf32-mips.c: if (!info->relocateable)
|
859 |
|
|
elf32-mips.c: if (info->relocateable)
|
860 |
|
|
elf32-mips.c: if (! ((*info->callbacks->reloc_overflow)
|
861 |
|
|
elf32-mips.c: && !info->shared
|
862 |
|
|
elf32-mips.c: if (!info->shared)
|
863 |
|
|
elf32-mips.c: if (info->shared
|
864 |
|
|
elf32-mips.c: if (info->relocateable)
|
865 |
|
|
elf32-mips.c: info->keep_memory));
|
866 |
|
|
elf32-mips.c: if (! info->keep_memory)
|
867 |
|
|
elf32-mips.c: && (info->shared || h != NULL)
|
868 |
|
|
elf32-mips.c: if ((info->shared || h != NULL)
|
869 |
|
|
elf32-mips.c: if (info->shared)
|
870 |
|
|
elf32-mips.c: if (! info->relocateable
|
871 |
|
|
elf32-mips.c: if (info->relocateable
|
872 |
|
|
elf32-mips.c: if (! info->shared)
|
873 |
|
|
elf32-mips.c: for (sub = info->input_bfds; sub; sub = sub->link_next)
|
874 |
|
|
elf32-mips.c: else if (! info->shared
|
875 |
|
|
elf32-mips.c: if (! info->shared)
|
876 |
|
|
elf32-mips.c: && ! info->shared)
|
877 |
|
|
elf32-mips.c: h = bfd_hash_lookup (&link_info->hash->table, "_gp", false, false);
|
878 |
|
|
elf32-mips.c: if (!((*link_info->callbacks->undefined_symbol)
|
879 |
|
|
elf32-mips.c: if (!((*link_info->callbacks->reloc_dangerous)
|
880 |
|
|
elf32-mips.c: if (!((*link_info->callbacks->reloc_overflow)
|
881 |
|
|
elf32-ppc.c: if (link_info->mpc860c0 && (isec->flags & SEC_CODE) && isec->_cooked_size)
|
882 |
|
|
elf32-ppc.c: link_info->keep_memory);
|
883 |
|
|
elf32-ppc.c: if (! link_info->keep_memory)
|
884 |
|
|
elf32-ppc.c: dot -= link_info->mpc860c0;
|
885 |
|
|
elf32-ppc.c: if (! link_info->keep_memory)
|
886 |
|
|
elf32-ppc.c: if (! info->shared)
|
887 |
|
|
elf32-ppc.c: || ((!info->shared || info->symbolic || h->dynindx == -1)
|
888 |
|
|
elf32-ppc.c: || (info->shared && h->plt.refcount <= 0))
|
889 |
|
|
elf32-ppc.c: if (! info->shared
|
890 |
|
|
elf32-ppc.c: if (info->shared)
|
891 |
|
|
elf32-ppc.c: if (! info->shared)
|
892 |
|
|
elf32-ppc.c: if (! info->shared)
|
893 |
|
|
elf32-ppc.c: if (info->relocateable)
|
894 |
|
|
elf32-ppc.c: && (h != NULL || info->shared))
|
895 |
|
|
elf32-ppc.c: if (info->shared)
|
896 |
|
|
elf32-ppc.c: if (info->shared)
|
897 |
|
|
elf32-ppc.c: if (srelgot == NULL && (h != NULL || info->shared))
|
898 |
|
|
elf32-ppc.c: if (info->shared)
|
899 |
|
|
elf32-ppc.c: if (srelgot == NULL && (h != NULL || info->shared))
|
900 |
|
|
elf32-ppc.c: if (info->shared)
|
901 |
|
|
elf32-ppc.c: if (info->shared)
|
902 |
|
|
elf32-ppc.c: && !info->relocateable
|
903 |
|
|
elf32-ppc.c: if (info->shared
|
904 |
|
|
elf32-ppc.c: && (info->symbolic || h->dynindx == -1)
|
905 |
|
|
elf32-ppc.c: (info->relocateable) ? " (relocatable)" : "");
|
906 |
|
|
elf32-ppc.c: if (info->relocateable)
|
907 |
|
|
elf32-ppc.c: && (! info->shared
|
908 |
|
|
elf32-ppc.c: || (! info->symbolic && h->dynindx != -1)
|
909 |
|
|
elf32-ppc.c: || (info->shared
|
910 |
|
|
elf32-ppc.c: && ((! info->symbolic && h->dynindx != -1)
|
911 |
|
|
elf32-ppc.c: else if (info->shared && !info->symbolic && !info->no_undefined)
|
912 |
|
|
elf32-ppc.c: if (! (*info->callbacks->undefined_symbol)(info,
|
913 |
|
|
elf32-ppc.c: (!info->shared
|
914 |
|
|
elf32-ppc.c: || info->no_undefined)))
|
915 |
|
|
elf32-ppc.c: if (! (*info->callbacks->undefined_symbol) (info,
|
916 |
|
|
elf32-ppc.c: if (info->shared)
|
917 |
|
|
elf32-ppc.c: && ((! info->symbolic && h->dynindx != -1)
|
918 |
|
|
elf32-ppc.c: || (info->shared
|
919 |
|
|
elf32-ppc.c: && (info->symbolic || h->dynindx == -1)
|
920 |
|
|
elf32-ppc.c: if (info->shared)
|
921 |
|
|
elf32-ppc.c: if (! (*info->callbacks->reloc_overflow)(info,
|
922 |
|
|
elf32-sh.c: if (link_info->relocateable
|
923 |
|
|
elf32-sh.c: link_info->keep_memory));
|
924 |
|
|
elf32-sh.c: if (! link_info->keep_memory)
|
925 |
|
|
elf32-sh.c: if (! link_info->keep_memory)
|
926 |
|
|
elf32-sh.c: if (! link_info->keep_memory)
|
927 |
|
|
elf32-sh.c: /* We always cache the relocs. Perhaps, if info->keep_memory is
|
928 |
|
|
elf32-sh.c: Perhaps, if info->keep_memory is false, we
|
929 |
|
|
elf32-sh.c: Perhaps, if info->keep_memory is false, we
|
930 |
|
|
elf32-sh.c: if (info->relocateable)
|
931 |
|
|
elf32-sh.c: if (! ((*info->callbacks->undefined_symbol)
|
932 |
|
|
elf32-sh.c: if (! ((*info->callbacks->reloc_overflow)
|
933 |
|
|
elf32-sh.c: if (info->relocateable)
|
934 |
|
|
elf32-sparc.c: if (info->relocateable)
|
935 |
|
|
elf32-sparc.c: && (h != NULL || info->shared))
|
936 |
|
|
elf32-sparc.c: if (info->shared)
|
937 |
|
|
elf32-sparc.c: || (info->symbolic
|
938 |
|
|
elf32-sparc.c: if (info->shared)
|
939 |
|
|
elf32-sparc.c: || ((!info->shared || info->symbolic || h->dynindx == -1)
|
940 |
|
|
elf32-sparc.c: if (! info->shared
|
941 |
|
|
elf32-sparc.c: if (info->shared)
|
942 |
|
|
elf32-sparc.c: if (! info->shared)
|
943 |
|
|
elf32-sparc.c: if (! info->shared)
|
944 |
|
|
elf32-sparc.c: if (info->relocateable)
|
945 |
|
|
elf32-sparc.c: && (! info->shared
|
946 |
|
|
elf32-sparc.c: || (! info->symbolic && h->dynindx != -1)
|
947 |
|
|
elf32-sparc.c: || (info->shared
|
948 |
|
|
elf32-sparc.c: && ((! info->symbolic && h->dynindx != -1)
|
949 |
|
|
elf32-sparc.c: else if (info->shared && !info->symbolic && !info->no_undefined)
|
950 |
|
|
elf32-sparc.c: if (! ((*info->callbacks->undefined_symbol)
|
951 |
|
|
elf32-sparc.c: (!info->shared || info->no_undefined))))
|
952 |
|
|
elf32-sparc.c: || (info->shared
|
953 |
|
|
elf32-sparc.c: && (info->symbolic || h->dynindx == -1)
|
954 |
|
|
elf32-sparc.c: if (info->shared)
|
955 |
|
|
elf32-sparc.c: || (info->symbolic
|
956 |
|
|
elf32-sparc.c: if (info->shared)
|
957 |
|
|
elf32-sparc.c: && ((! info->symbolic && h->dynindx != -1)
|
958 |
|
|
elf32-sparc.c: if (! ((*info->callbacks->reloc_overflow)
|
959 |
|
|
elf32-sparc.c: if (info->shared
|
960 |
|
|
elf32-sparc.c: && (info->symbolic || h->dynindx == -1)
|
961 |
|
|
elf32-v850.c: if (info->relocateable)
|
962 |
|
|
elf32-v850.c: info->callbacks->warning (info, buff, h->root.root.string,
|
963 |
|
|
elf32-v850.c: h = bfd_link_hash_lookup (info->hash, "__gp", false, false, true);
|
964 |
|
|
elf32-v850.c: h = bfd_link_hash_lookup (info->hash, "__ep", false, false, true);
|
965 |
|
|
elf32-v850.c: h = bfd_link_hash_lookup (info->hash, "__ctbp", false, false, true);
|
966 |
|
|
elf32-v850.c: h = bfd_link_hash_lookup (info->hash, "__ctbp", false, false, true);
|
967 |
|
|
elf32-v850.c: info->callbacks->warning
|
968 |
|
|
elf32-v850.c: if (info->relocateable)
|
969 |
|
|
elf32-v850.c: if (! ((*info->callbacks->undefined_symbol)
|
970 |
|
|
elf32-v850.c: if (! ((*info->callbacks->reloc_overflow)
|
971 |
|
|
elf32-v850.c: if (! ((*info->callbacks->undefined_symbol)
|
972 |
|
|
elf32-v850.c: if (!((*info->callbacks->warning)
|
973 |
|
|
elf64-alpha.c: lit_insn = bfd_get_32 (info->abfd, info->contents + irel->r_offset);
|
974 |
|
|
elf64-alpha.c: bfd_get_filename (info->abfd), info->sec->name,
|
975 |
|
|
elf64-alpha.c: disp = symval - info->gp;
|
976 |
|
|
elf64-alpha.c: insn = bfd_get_32 (info->abfd, info->contents + urel->r_offset);
|
977 |
|
|
elf64-alpha.c: info->changed_relocs = true;
|
978 |
|
|
elf64-alpha.c: bfd_put_32 (info->abfd, insn, info->contents + urel->r_offset);
|
979 |
|
|
elf64-alpha.c: info->changed_contents = true;
|
980 |
|
|
elf64-alpha.c: bfd_put_32 (info->abfd, lit_insn,
|
981 |
|
|
elf64-alpha.c: info->contents + irel->r_offset);
|
982 |
|
|
elf64-alpha.c: info->changed_contents = true;
|
983 |
|
|
elf64-alpha.c: info->changed_relocs = true;
|
984 |
|
|
elf64-alpha.c: info->changed_relocs = true;
|
985 |
|
|
elf64-alpha.c: bfd_put_32 (info->abfd, insn, info->contents + urel->r_offset);
|
986 |
|
|
elf64-alpha.c: info->changed_contents = true;
|
987 |
|
|
elf64-alpha.c: bfd_vma org = (info->sec->output_section->vma
|
988 |
|
|
elf64-alpha.c: + info->sec->output_offset
|
989 |
|
|
elf64-alpha.c: bfd_put_32 (info->abfd, insn, info->contents + urel->r_offset);
|
990 |
|
|
elf64-alpha.c: (info->relocs, info->relend, urel->r_offset,
|
991 |
|
|
elf64-alpha.c: info->changed_contents = true;
|
992 |
|
|
elf64-alpha.c: info->changed_relocs = true;
|
993 |
|
|
elf64-alpha.c: info->gotent->use_count -= 1;
|
994 |
|
|
elf64-alpha.c: alpha_elf_tdata (info->gotent->gotobj)->total_got_entries -= 1;
|
995 |
|
|
elf64-alpha.c: if (!info->h)
|
996 |
|
|
elf64-alpha.c: alpha_elf_tdata (info->gotent->gotobj)->n_local_got_entries -= 1;
|
997 |
|
|
elf64-alpha.c: info->changed_relocs = true;
|
998 |
|
|
elf64-alpha.c: bfd_put_32 (info->abfd, INSN_UNOP, info->contents + irel->r_offset);
|
999 |
|
|
elf64-alpha.c: info->changed_contents = true;
|
1000 |
|
|
elf64-alpha.c: if (info->other == STO_ALPHA_NOPV)
|
1001 |
|
|
elf64-alpha.c: else if (info->other == STO_ALPHA_STD_GPLOAD)
|
1002 |
|
|
elf64-alpha.c: if (info->sec == info->tsec)
|
1003 |
|
|
elf64-alpha.c: tsec_relocs = info->relocs;
|
1004 |
|
|
elf64-alpha.c: tsec_relend = info->relend;
|
1005 |
|
|
elf64-alpha.c: (info->abfd, info->tsec, (PTR) NULL,
|
1006 |
|
|
elf64-alpha.c: info->link_info->keep_memory));
|
1007 |
|
|
elf64-alpha.c: tsec_relend = tsec_relocs + info->tsec->reloc_count;
|
1008 |
|
|
elf64-alpha.c: tsec_free = (info->link_info->keep_memory ? NULL : tsec_relocs);
|
1009 |
|
|
elf64-alpha.c: ofs = (symval - info->tsec->output_section->vma
|
1010 |
|
|
elf64-alpha.c: - info->tsec->output_offset);
|
1011 |
|
|
elf64-alpha.c: if (info->link_info->hash->creator != info->tsec->owner->xvec
|
1012 |
|
|
elf64-alpha.c: || info->gotobj != alpha_elf_tdata (info->tsec->owner)->gotobj)
|
1013 |
|
|
elf64-alpha.c: insn = bfd_get_32 (info->abfd, info->contents + irel->r_offset);
|
1014 |
|
|
elf64-alpha.c: bfd_get_filename (info->abfd), info->sec->name,
|
1015 |
|
|
elf64-alpha.c: disp = symval - info->gp;
|
1016 |
|
|
elf64-alpha.c: bfd_put_32 (info->abfd, insn, info->contents + irel->r_offset);
|
1017 |
|
|
elf64-alpha.c: info->changed_contents = true;
|
1018 |
|
|
elf64-alpha.c: info->changed_relocs = true;
|
1019 |
|
|
elf64-alpha.c: info->gotent->use_count -= 1;
|
1020 |
|
|
elf64-alpha.c: alpha_elf_tdata (info->gotent->gotobj)->total_got_entries -= 1;
|
1021 |
|
|
elf64-alpha.c: if (!info->h)
|
1022 |
|
|
elf64-alpha.c: alpha_elf_tdata (info->gotent->gotobj)->n_local_got_entries -= 1;
|
1023 |
|
|
elf64-alpha.c: if (link_info->relocateable
|
1024 |
|
|
elf64-alpha.c: link_info->keep_memory));
|
1025 |
|
|
elf64-alpha.c: if (! link_info->keep_memory)
|
1026 |
|
|
elf64-alpha.c: if (! link_info->keep_memory)
|
1027 |
|
|
elf64-alpha.c: if (! link_info->keep_memory)
|
1028 |
|
|
elf64-alpha.c: && !info->relocateable
|
1029 |
|
|
elf64-alpha.c: if (info->shared
|
1030 |
|
|
elf64-alpha.c: if (info->shared
|
1031 |
|
|
elf64-alpha.c: else if (einfo->info->strip == strip_all
|
1032 |
|
|
elf64-alpha.c: || (einfo->info->strip == strip_some
|
1033 |
|
|
elf64-alpha.c: && bfd_hash_lookup (einfo->info->keep_hash,
|
1034 |
|
|
elf64-alpha.c: sec = bfd_get_section_by_name (einfo->abfd, ".plt");
|
1035 |
|
|
elf64-alpha.c: if (! bfd_ecoff_debug_one_external (einfo->abfd, einfo->debug, einfo->swap,
|
1036 |
|
|
elf64-alpha.c: einfo->failed = true;
|
1037 |
|
|
elf64-alpha.c: if (info->relocateable)
|
1038 |
|
|
elf64-alpha.c: else if (info->shared && (sec->flags & SEC_ALLOC))
|
1039 |
|
|
elf64-alpha.c: if (! info->shared
|
1040 |
|
|
elf64-alpha.c: for (i = info->input_bfds; i ; i = i->link_next)
|
1041 |
|
|
elf64-alpha.c: if (info->relocateable)
|
1042 |
|
|
elf64-alpha.c: if (alpha_elf_dynamic_symbol_p (&h->root, info) || info->shared)
|
1043 |
|
|
elf64-alpha.c: if (!info->shared)
|
1044 |
|
|
elf64-alpha.c: if (info->shared)
|
1045 |
|
|
elf64-alpha.c: if (!info->shared)
|
1046 |
|
|
elf64-alpha.c: if (info->relocateable)
|
1047 |
|
|
elf64-alpha.c: && (!info->shared
|
1048 |
|
|
elf64-alpha.c: || !info->symbolic
|
1049 |
|
|
elf64-alpha.c: || (info->shared
|
1050 |
|
|
elf64-alpha.c: && (!info->symbolic
|
1051 |
|
|
elf64-alpha.c: else if (info->shared && !info->symbolic && !info->no_undefined)
|
1052 |
|
|
elf64-alpha.c: if (!((*info->callbacks->undefined_symbol)
|
1053 |
|
|
elf64-alpha.c: (!info->shared || info->no_undefined))))
|
1054 |
|
|
elf64-alpha.c: if (info->shared && !dynamic_symbol)
|
1055 |
|
|
elf64-alpha.c: else if (info->shared && (input_section->flags & SEC_ALLOC))
|
1056 |
|
|
elf64-alpha.c: if (! ((*info->callbacks->reloc_overflow)
|
1057 |
|
|
elf64-alpha.c: BFD_ASSERT (! info->shared || srel != NULL);
|
1058 |
|
|
elf64-alpha.c: if (info->shared)
|
1059 |
|
|
elf64-alpha.c: (*info->callbacks->warning)
|
1060 |
|
|
elf64-alpha.c: if (info->shared)
|
1061 |
|
|
elf64-alpha.c: if (! info->relocateable)
|
1062 |
|
|
elf64-sparc.c: if (info->relocateable || !(sec->flags & SEC_ALLOC))
|
1063 |
|
|
elf64-sparc.c: if (srelgot == NULL && (h != NULL || info->shared))
|
1064 |
|
|
elf64-sparc.c: if (info->shared)
|
1065 |
|
|
elf64-sparc.c: if (info->shared && (sec->flags & SEC_ALLOC))
|
1066 |
|
|
elf64-sparc.c: if (info->hash->creator != abfd->xvec
|
1067 |
|
|
elf64-sparc.c: bfd_link_hash_lookup (info->hash, *namep, false, false, false);
|
1068 |
|
|
elf64-sparc.c: p->name = bfd_hash_allocate (&info->hash->table,
|
1069 |
|
|
elf64-sparc.c: if (info->strip == strip_all)
|
1070 |
|
|
elf64-sparc.c: if (info->strip == strip_some
|
1071 |
|
|
elf64-sparc.c: && bfd_hash_lookup (info->keep_hash,
|
1072 |
|
|
elf64-sparc.c: if (! info->shared
|
1073 |
|
|
elf64-sparc.c: if (info->shared)
|
1074 |
|
|
elf64-sparc.c: if (! info->shared)
|
1075 |
|
|
elf64-sparc.c: if (! info->shared)
|
1076 |
|
|
elf64-sparc.c: bfd_hash_allocate (&info->hash->table, sizeof (*entry));
|
1077 |
|
|
elf64-sparc.c: if (info->relocateable)
|
1078 |
|
|
elf64-sparc.c: && (!info->shared
|
1079 |
|
|
elf64-sparc.c: || (!info->symbolic && h->dynindx != -1)
|
1080 |
|
|
elf64-sparc.c: if (info->shared
|
1081 |
|
|
elf64-sparc.c: && ((!info->symbolic && h->dynindx != -1)
|
1082 |
|
|
elf64-sparc.c: else if (info->shared && !info->symbolic && !info->no_undefined)
|
1083 |
|
|
elf64-sparc.c: if (! ((*info->callbacks->undefined_symbol)
|
1084 |
|
|
elf64-sparc.c: (!info->shared || info->no_undefined))))
|
1085 |
|
|
elf64-sparc.c: if (info->shared && (input_section->flags & SEC_ALLOC))
|
1086 |
|
|
elf64-sparc.c: && ((! info->symbolic && h->dynindx != -1)
|
1087 |
|
|
elf64-sparc.c: || (info->shared
|
1088 |
|
|
elf64-sparc.c: && (info->symbolic || h->dynindx == -1)
|
1089 |
|
|
elf64-sparc.c: if (info->shared)
|
1090 |
|
|
elf64-sparc.c: if (! ((*info->callbacks->reloc_overflow)
|
1091 |
|
|
elf64-sparc.c: if (info->shared
|
1092 |
|
|
elf64-sparc.c: && (info->symbolic || h->dynindx == -1)
|
1093 |
|
|
elf.c: if (info->hash->creator->flavour != bfd_target_elf_flavour)
|
1094 |
|
|
elf-hppa.h: if (! info->relocateable
|
1095 |
|
|
elf-hppa.h: && ! (info->shared
|
1096 |
|
|
elf-hppa.h: && !info->no_undefined)
|
1097 |
|
|
elf-hppa.h: if (! info->relocateable
|
1098 |
|
|
elf-hppa.h: && ! (info->shared
|
1099 |
|
|
elf-hppa.h: && !info->no_undefined)
|
1100 |
|
|
elf-hppa.h: && value < hppa_info->text_segment_base)
|
1101 |
|
|
elf-hppa.h: hppa_info->text_segment_base = value;
|
1102 |
|
|
elf-hppa.h: && value < hppa_info->data_segment_base)
|
1103 |
|
|
elf-hppa.h: hppa_info->data_segment_base = value;
|
1104 |
|
|
elf-hppa.h: if (! info->relocateable)
|
1105 |
|
|
elf-hppa.h: sec = hppa_info->plt_sec;
|
1106 |
|
|
elf-hppa.h: + hppa_info->gp_offset);
|
1107 |
|
|
elf-hppa.h: sec = hppa_info->dlt_sec;
|
1108 |
|
|
elf-hppa.h: sec = hppa_info->opd_sec;
|
1109 |
|
|
elf-hppa.h: if (info->relocateable)
|
1110 |
|
|
elf-hppa.h: dyn_h = elf64_hppa_dyn_hash_lookup (&hppa_info->dyn_hash_table,
|
1111 |
|
|
elf-hppa.h: dyn_h = elf64_hppa_dyn_hash_lookup (&hppa_info->dyn_hash_table,
|
1112 |
|
|
elf-hppa.h: else if (info->shared && !info->no_undefined)
|
1113 |
|
|
elf-hppa.h: if (info->symbolic)
|
1114 |
|
|
elf-hppa.h: (*info->callbacks->undefined_symbol)
|
1115 |
|
|
elf-hppa.h: dyn_h = elf64_hppa_dyn_hash_lookup (&hppa_info->dyn_hash_table,
|
1116 |
|
|
elf-hppa.h: if (!((*info->callbacks->undefined_symbol)
|
1117 |
|
|
elf-hppa.h: if (!((*info->callbacks->reloc_overflow)
|
1118 |
|
|
elf-hppa.h: value = (dyn_h->stub_offset + hppa_info->stub_sec->output_offset
|
1119 |
|
|
elf-hppa.h: + hppa_info->stub_sec->output_section->vma);
|
1120 |
|
|
elf-hppa.h: value = (dyn_h->stub_offset + hppa_info->stub_sec->output_offset
|
1121 |
|
|
elf-hppa.h: + hppa_info->stub_sec->output_section->vma);
|
1122 |
|
|
elf-hppa.h: bfd_put_64 (hppa_info->dlt_sec->owner,
|
1123 |
|
|
elf-hppa.h: hppa_info->dlt_sec->contents + dyn_h->dlt_offset);
|
1124 |
|
|
elf-hppa.h: memset (hppa_info->opd_sec->contents + dyn_h->opd_offset,
|
1125 |
|
|
elf-hppa.h: bfd_put_64 (hppa_info->opd_sec->owner, value,
|
1126 |
|
|
elf-hppa.h: (hppa_info->opd_sec->contents
|
1127 |
|
|
elf-hppa.h: (hppa_info->opd_sec->output_section->owner);
|
1128 |
|
|
elf-hppa.h: bfd_put_64 (hppa_info->opd_sec->owner, value,
|
1129 |
|
|
elf-hppa.h: (hppa_info->opd_sec->contents
|
1130 |
|
|
elf-hppa.h: + hppa_info->dlt_sec->output_offset
|
1131 |
|
|
elf-hppa.h: + hppa_info->dlt_sec->output_section->vma);
|
1132 |
|
|
elf-hppa.h: + hppa_info->plt_sec->output_offset
|
1133 |
|
|
elf-hppa.h: + hppa_info->plt_sec->output_section->vma);
|
1134 |
|
|
elf-hppa.h: memset (hppa_info->opd_sec->contents + dyn_h->opd_offset, 0, 16);
|
1135 |
|
|
elf-hppa.h: bfd_put_64 (hppa_info->opd_sec->owner, value,
|
1136 |
|
|
elf-hppa.h: (hppa_info->opd_sec->contents
|
1137 |
|
|
elf-hppa.h: (hppa_info->opd_sec->output_section->owner);
|
1138 |
|
|
elf-hppa.h: bfd_put_64 (hppa_info->opd_sec->owner, value,
|
1139 |
|
|
elf-hppa.h: hppa_info->opd_sec->contents + dyn_h->opd_offset + 24);
|
1140 |
|
|
elf-hppa.h: + hppa_info->dlt_sec->output_offset
|
1141 |
|
|
elf-hppa.h: + hppa_info->dlt_sec->output_section->vma);
|
1142 |
|
|
elf-hppa.h: memset (hppa_info->opd_sec->contents + dyn_h->opd_offset, 0, 16);
|
1143 |
|
|
elf-hppa.h: bfd_put_64 (hppa_info->opd_sec->owner, value,
|
1144 |
|
|
elf-hppa.h: (hppa_info->opd_sec->contents
|
1145 |
|
|
elf-hppa.h: (hppa_info->opd_sec->output_section->owner);
|
1146 |
|
|
elf-hppa.h: bfd_put_64 (hppa_info->opd_sec->owner, value,
|
1147 |
|
|
elf-hppa.h: hppa_info->opd_sec->contents + dyn_h->opd_offset + 24);
|
1148 |
|
|
elf-hppa.h: + hppa_info->dlt_sec->output_offset
|
1149 |
|
|
elf-hppa.h: + hppa_info->dlt_sec->output_section->vma);
|
1150 |
|
|
elf-hppa.h: + hppa_info->dlt_sec->output_offset
|
1151 |
|
|
elf-hppa.h: + hppa_info->dlt_sec->output_section->vma);
|
1152 |
|
|
elf-hppa.h: value = (dyn_h->stub_offset + hppa_info->stub_sec->output_offset
|
1153 |
|
|
elf-hppa.h: + hppa_info->stub_sec->output_section->vma);
|
1154 |
|
|
elf-hppa.h: value = (dyn_h->stub_offset + hppa_info->stub_sec->output_offset
|
1155 |
|
|
elf-hppa.h: + hppa_info->stub_sec->output_section->vma);
|
1156 |
|
|
elf-hppa.h: memset (hppa_info->opd_sec->contents + dyn_h->opd_offset, 0, 16);
|
1157 |
|
|
elf-hppa.h: bfd_put_64 (hppa_info->opd_sec->owner, value,
|
1158 |
|
|
elf-hppa.h: (hppa_info->opd_sec->contents
|
1159 |
|
|
elf-hppa.h: (hppa_info->opd_sec->output_section->owner);
|
1160 |
|
|
elf-hppa.h: bfd_put_64 (hppa_info->opd_sec->owner, value,
|
1161 |
|
|
elf-hppa.h: hppa_info->opd_sec->contents + dyn_h->opd_offset + 24);
|
1162 |
|
|
elf-hppa.h: + hppa_info->opd_sec->output_offset
|
1163 |
|
|
elf-hppa.h: + hppa_info->opd_sec->output_section->vma);
|
1164 |
|
|
elf-hppa.h: if (hppa_info->text_segment_base == (bfd_vma) -1)
|
1165 |
|
|
elf-hppa.h: value -= hppa_info->text_segment_base;
|
1166 |
|
|
elf-hppa.h: value -= hppa_info->data_segment_base;
|
1167 |
|
|
elflink.c: if (info->shared
|
1168 |
|
|
elflink.c: if (info->shared
|
1169 |
|
|
elflink.c: if (! info->shared)
|
1170 |
|
|
elflink.c: (*info->callbacks->undefined_symbol)
|
1171 |
|
|
elflink.c: if (info->shared)
|
1172 |
|
|
elflink.c: bfd_link_hash_lookup (info->hash, lsect->sym_name, false, false, false);
|
1173 |
|
|
elflink.c: if (info->shared
|
1174 |
|
|
elflink.h: undefs_tail = info->hash->undefs_tail;
|
1175 |
|
|
elflink.h: if (! (*info->callbacks->add_archive_element) (info, element,
|
1176 |
|
|
elflink.h: if (undefs_tail != info->hash->undefs_tail)
|
1177 |
|
|
elflink.h: if (info->hash->creator != abfd->xvec)
|
1178 |
|
|
elflink.h: if (! ((*info->callbacks->multiple_common)
|
1179 |
|
|
elflink.h: if (! ((*info->callbacks->multiple_common)
|
1180 |
|
|
elflink.h: if (info->relocateable || info->hash->creator != abfd->xvec)
|
1181 |
|
|
elflink.h: if (! info->shared)
|
1182 |
|
|
elflink.h: if (dynamic && abfd->xvec == info->hash->creator)
|
1183 |
|
|
elflink.h: if (! info->relocateable)
|
1184 |
|
|
elflink.h: if (info->shared
|
1185 |
|
|
elflink.h: && abfd->xvec == info->hash->creator)
|
1186 |
|
|
elflink.h: if (info->hash->creator->flavour == bfd_target_elf_flavour)
|
1187 |
|
|
elflink.h: && info->hash->creator->flavour == bfd_target_elf_flavour
|
1188 |
|
|
elflink.h: if (info->hash->creator->flavour == bfd_target_elf_flavour)
|
1189 |
|
|
elflink.h: if (info->shared
|
1190 |
|
|
elflink.h: shortname = bfd_hash_allocate (&info->hash->table,
|
1191 |
|
|
elflink.h: if (info->shared
|
1192 |
|
|
elflink.h: shortname = bfd_hash_allocate (&info->hash->table,
|
1193 |
|
|
elflink.h: if (info->shared
|
1194 |
|
|
elflink.h: && abfd->xvec == info->hash->creator
|
1195 |
|
|
elflink.h: || ((info->strip == strip_all || info->strip == strip_debugger)
|
1196 |
|
|
elflink.h: info->keep_memory));
|
1197 |
|
|
elflink.h: if (! info->keep_memory)
|
1198 |
|
|
elflink.h: && ! info->relocateable
|
1199 |
|
|
elflink.h: && ! info->traditional_format
|
1200 |
|
|
elflink.h: && info->hash->creator->flavour == bfd_target_elf_flavour
|
1201 |
|
|
elflink.h: && (info->strip != strip_all && info->strip != strip_debugger))
|
1202 |
|
|
elflink.h: if (! info->shared)
|
1203 |
|
|
elflink.h: if (info->shared
|
1204 |
|
|
elflink.h: if (info->hash->creator->flavour != bfd_target_elf_flavour)
|
1205 |
|
|
elflink.h: || info->shared)
|
1206 |
|
|
elflink.h: if (info->optimize == true)
|
1207 |
|
|
elflink.h: if (info->hash->creator->flavour != bfd_target_elf_flavour)
|
1208 |
|
|
elflink.h: BFD_ASSERT (*sinterpptr != NULL || info->shared);
|
1209 |
|
|
elflink.h: if (info->symbolic)
|
1210 |
|
|
elflink.h: h = (info->init_function
|
1211 |
|
|
elflink.h: info->init_function, false,
|
1212 |
|
|
elflink.h: h = (info->fini_function
|
1213 |
|
|
elflink.h: info->fini_function, false,
|
1214 |
|
|
elflink.h: && eif->info->shared
|
1215 |
|
|
elflink.h: && eif->info->symbolic
|
1216 |
|
|
elflink.h: for (t = elf_tdata (rinfo->output_bfd)->verref; t != NULL; t = t->vn_nextref)
|
1217 |
|
|
elflink.h: t = (Elf_Internal_Verneed *) bfd_zalloc (rinfo->output_bfd, sizeof *t);
|
1218 |
|
|
elflink.h: rinfo->failed = true;
|
1219 |
|
|
elflink.h: t->vn_nextref = elf_tdata (rinfo->output_bfd)->verref;
|
1220 |
|
|
elflink.h: elf_tdata (rinfo->output_bfd)->verref = t;
|
1221 |
|
|
elflink.h: a = (Elf_Internal_Vernaux *) bfd_zalloc (rinfo->output_bfd, sizeof *a);
|
1222 |
|
|
elflink.h: h->verinfo.verdef->vd_exp_refno = rinfo->vers;
|
1223 |
|
|
elflink.h: ++rinfo->vers;
|
1224 |
|
|
elflink.h: struct bfd_link_info *info = sinfo->info;
|
1225 |
|
|
elflink.h: sinfo->failed = true;
|
1226 |
|
|
elflink.h: bed = get_elf_backend_data (sinfo->output_bfd);
|
1227 |
|
|
elflink.h: for (t = sinfo->verdefs; t != NULL; t = t->next)
|
1228 |
|
|
elflink.h: alc = bfd_alloc (sinfo->output_bfd, len);
|
1229 |
|
|
elflink.h: && info->shared
|
1230 |
|
|
elflink.h: && ! sinfo->export_dynamic)
|
1231 |
|
|
elflink.h: bfd_release (sinfo->output_bfd, alc);
|
1232 |
|
|
elflink.h: if (t == NULL && ! info->shared)
|
1233 |
|
|
elflink.h: bfd_alloc (sinfo->output_bfd, sizeof *t));
|
1234 |
|
|
elflink.h: sinfo->failed = true;
|
1235 |
|
|
elflink.h: for (pp = &sinfo->verdefs; *pp != NULL; pp = &(*pp)->next)
|
1236 |
|
|
elflink.h: bfd_get_filename (sinfo->output_bfd), h->root.root.string);
|
1237 |
|
|
elflink.h: sinfo->failed = true;
|
1238 |
|
|
elflink.h: if (h->verinfo.vertree == NULL && sinfo->verdefs != NULL)
|
1239 |
|
|
elflink.h: for (t = sinfo->verdefs; t != NULL; t = t->next)
|
1240 |
|
|
elflink.h: && info->shared
|
1241 |
|
|
elflink.h: && ! sinfo->export_dynamic)
|
1242 |
|
|
elflink.h: && info->shared
|
1243 |
|
|
elflink.h: && ! sinfo->export_dynamic)
|
1244 |
|
|
elflink.h: if (info->shared)
|
1245 |
|
|
elflink.h: if (info->relocateable)
|
1246 |
|
|
elflink.h: bfd_get_symcount (abfd) = info->strip == strip_all ? 0 : 1;
|
1247 |
|
|
elflink.h: if (info->relocateable)
|
1248 |
|
|
elflink.h: for (sub = info->input_bfds; sub != NULL; sub = sub->link_next)
|
1249 |
|
|
elflink.h: if (! info->keep_memory || max_sym_count < 20)
|
1250 |
|
|
elflink.h: if (info->strip != strip_all || info->relocateable)
|
1251 |
|
|
elflink.h: if (info->strip != strip_all || info->relocateable)
|
1252 |
|
|
elflink.h: if (info->relocateable || o == NULL)
|
1253 |
|
|
elflink.h: for (sub = info->input_bfds; sub != NULL; sub = sub->link_next)
|
1254 |
|
|
elflink.h: if (info->shared)
|
1255 |
|
|
elflink.h: if (info->shared)
|
1256 |
|
|
elflink.h: name = info->init_function;
|
1257 |
|
|
elflink.h: name = info->fini_function;
|
1258 |
|
|
elflink.h: output_symbol_hook = get_elf_backend_data (finfo->output_bfd)->
|
1259 |
|
|
elflink.h: (finfo->output_bfd, finfo->info, name, elfsym, input_sec)))
|
1260 |
|
|
elflink.h: elfsym->st_name = (unsigned long) _bfd_stringtab_add (finfo->symstrtab,
|
1261 |
|
|
elflink.h: if (finfo->symbuf_count >= finfo->symbuf_size)
|
1262 |
|
|
elflink.h: elf_swap_symbol_out (finfo->output_bfd, elfsym,
|
1263 |
|
|
elflink.h: (PTR) (finfo->symbuf + finfo->symbuf_count));
|
1264 |
|
|
elflink.h: ++finfo->symbuf_count;
|
1265 |
|
|
elflink.h: ++ bfd_get_symcount (finfo->output_bfd);
|
1266 |
|
|
elflink.h: if (finfo->symbuf_count > 0)
|
1267 |
|
|
elflink.h: symtab = &elf_tdata (finfo->output_bfd)->symtab_hdr;
|
1268 |
|
|
elflink.h: if (bfd_seek (finfo->output_bfd, symtab->sh_offset + symtab->sh_size,
|
1269 |
|
|
elflink.h: || (bfd_write ((PTR) finfo->symbuf, finfo->symbuf_count,
|
1270 |
|
|
elflink.h: sizeof (Elf_External_Sym), finfo->output_bfd)
|
1271 |
|
|
elflink.h: != finfo->symbuf_count * sizeof (Elf_External_Sym)))
|
1272 |
|
|
elflink.h: symtab->sh_size += finfo->symbuf_count * sizeof (Elf_External_Sym);
|
1273 |
|
|
elflink.h: finfo->symbuf_count = 0;
|
1274 |
|
|
elflink.h: struct elf_final_link_info *finfo = eoinfo->finfo;
|
1275 |
|
|
elflink.h: if (eoinfo->localsyms)
|
1276 |
|
|
elflink.h: if (! finfo->info->relocateable
|
1277 |
|
|
elflink.h: && ! (finfo->info->shared
|
1278 |
|
|
elflink.h: && !finfo->info->no_undefined)
|
1279 |
|
|
elflink.h: if (! ((*finfo->info->callbacks->undefined_symbol)
|
1280 |
|
|
elflink.h: (finfo->info, h->root.root.string, h->root.u.undef.abfd,
|
1281 |
|
|
elflink.h: eoinfo->failed = true;
|
1282 |
|
|
elflink.h: else if (finfo->info->strip == strip_all
|
1283 |
|
|
elflink.h: || (finfo->info->strip == strip_some
|
1284 |
|
|
elflink.h: && bfd_hash_lookup (finfo->info->keep_hash,
|
1285 |
|
|
elflink.h: _bfd_elf_section_from_bfd_section (finfo->output_bfd,
|
1286 |
|
|
elflink.h: bfd_get_filename (finfo->output_bfd),
|
1287 |
|
|
elflink.h: eoinfo->failed = true;
|
1288 |
|
|
elflink.h: if (! finfo->info->relocateable)
|
1289 |
|
|
elflink.h: && elf_hash_table (finfo->info)->dynamic_sections_created)
|
1290 |
|
|
elflink.h: bed = get_elf_backend_data (finfo->output_bfd);
|
1291 |
|
|
elflink.h: (finfo->output_bfd, finfo->info, h, &sym)))
|
1292 |
|
|
elflink.h: eoinfo->failed = true;
|
1293 |
|
|
elflink.h: && elf_hash_table (finfo->info)->dynamic_sections_created)
|
1294 |
|
|
elflink.h: elf_swap_symbol_out (finfo->output_bfd, &sym,
|
1295 |
|
|
elflink.h: finfo->dynsym_sec->contents)
|
1296 |
|
|
elflink.h: bucketcount = elf_hash_table (finfo->info)->bucketcount;
|
1297 |
|
|
elflink.h: = elf_section_data (finfo->hash_sec)->this_hdr.sh_entsize;
|
1298 |
|
|
elflink.h: bucketpos = ((bfd_byte *) finfo->hash_sec->contents
|
1299 |
|
|
elflink.h: chain = bfd_get (8 * hash_entry_size, finfo->output_bfd, bucketpos);
|
1300 |
|
|
elflink.h: bfd_put (8 * hash_entry_size, finfo->output_bfd, h->dynindx, bucketpos);
|
1301 |
|
|
elflink.h: bfd_put (8 * hash_entry_size, finfo->output_bfd, chain,
|
1302 |
|
|
elflink.h: ((bfd_byte *) finfo->hash_sec->contents
|
1303 |
|
|
elflink.h: if (finfo->symver_sec != NULL && finfo->symver_sec->contents != NULL)
|
1304 |
|
|
elflink.h: _bfd_elf_swap_versym_out (finfo->output_bfd, &iversym,
|
1305 |
|
|
elflink.h: finfo->symver_sec->contents)
|
1306 |
|
|
elflink.h: h->indx = bfd_get_symcount (finfo->output_bfd);
|
1307 |
|
|
elflink.h: eoinfo->failed = true;
|
1308 |
|
|
elflink.h: output_bfd = finfo->output_bfd;
|
1309 |
|
|
elflink.h: external_syms = finfo->external_syms;
|
1310 |
|
|
elflink.h: isym = finfo->internal_syms;
|
1311 |
|
|
elflink.h: pindex = finfo->indices;
|
1312 |
|
|
elflink.h: ppsection = finfo->sections;
|
1313 |
|
|
elflink.h: if (finfo->info->strip == strip_all)
|
1314 |
|
|
elflink.h: if (finfo->info->discard == discard_all)
|
1315 |
|
|
elflink.h: || (! finfo->info->relocateable
|
1316 |
|
|
elflink.h: if ((finfo->info->strip == strip_some
|
1317 |
|
|
elflink.h: && (bfd_hash_lookup (finfo->info->keep_hash, name, false, false)
|
1318 |
|
|
elflink.h: || (finfo->info->discard == discard_l
|
1319 |
|
|
elflink.h: if (! finfo->info->relocateable)
|
1320 |
|
|
elflink.h: contents = finfo->contents;
|
1321 |
|
|
elflink.h: (input_bfd, o, finfo->external_relocs,
|
1322 |
|
|
elflink.h: finfo->internal_relocs, false));
|
1323 |
|
|
elflink.h: if (! (*relocate_section) (output_bfd, finfo->info,
|
1324 |
|
|
elflink.h: finfo->internal_syms,
|
1325 |
|
|
elflink.h: finfo->sections))
|
1326 |
|
|
elflink.h: if (finfo->info->relocateable)
|
1327 |
|
|
elflink.h: && finfo->sections[r_symndx] == NULL))
|
1328 |
|
|
elflink.h: isym = finfo->internal_syms + r_symndx;
|
1329 |
|
|
elflink.h: sec = finfo->sections[r_symndx];
|
1330 |
|
|
elflink.h: if (finfo->indices[r_symndx] == -1)
|
1331 |
|
|
elflink.h: if (finfo->info->strip == strip_all)
|
1332 |
|
|
elflink.h: if (! finfo->info->relocateable)
|
1333 |
|
|
elflink.h: finfo->indices[r_symndx] = bfd_get_symcount (output_bfd);
|
1334 |
|
|
elflink.h: r_symndx = finfo->indices[r_symndx];
|
1335 |
|
|
elflink.h: (output_bfd, &elf_hash_table (finfo->info)->stab_info,
|
1336 |
|
|
elflink.h: if (! ((*info->callbacks->unattached_reloc)
|
1337 |
|
|
elflink.h: if (! ((*info->callbacks->reloc_overflow)
|
1338 |
|
|
elflink.h: if (! info->relocateable)
|
1339 |
|
|
elflink.h: if (info->shared)
|
1340 |
|
|
elflink.h: || (info->shared
|
1341 |
|
|
elflink.h: && info->symbolic
|
1342 |
|
|
elflink.h: if (info->shared)
|
1343 |
|
|
elflink.h: info->keep_memory));
|
1344 |
|
|
elflink.h: if (!info->keep_memory)
|
1345 |
|
|
elflink.h: for (sub = info->input_bfds; sub != NULL; sub = sub->link_next)
|
1346 |
|
|
elflink.h: (o->owner, o, NULL, NULL, info->keep_memory));
|
1347 |
|
|
elflink.h: if (!info->keep_memory)
|
1348 |
|
|
elflink.h: || info->relocateable
|
1349 |
|
|
elflink.h: for (sub = info->input_bfds; sub != NULL; sub = sub->link_next)
|
1350 |
|
|
elflink.h: for (i = info->input_bfds; i; i = i->link_next)
|
1351 |
|
|
elf-m10200.c: if (info->relocateable)
|
1352 |
|
|
elf-m10200.c: if (! ((*info->callbacks->undefined_symbol)
|
1353 |
|
|
elf-m10200.c: if (! ((*info->callbacks->reloc_overflow)
|
1354 |
|
|
elf-m10200.c: if (! ((*info->callbacks->undefined_symbol)
|
1355 |
|
|
elf-m10200.c: if (!((*info->callbacks->warning)
|
1356 |
|
|
elf-m10200.c: if (link_info->relocateable
|
1357 |
|
|
elf-m10200.c: link_info->keep_memory));
|
1358 |
|
|
elf-m10200.c: if (! link_info->keep_memory)
|
1359 |
|
|
elf-m10200.c: if (! link_info->keep_memory)
|
1360 |
|
|
elf-m10200.c: if (! link_info->keep_memory)
|
1361 |
|
|
elf-m10300.c: if (info->relocateable)
|
1362 |
|
|
elf-m10300.c: if (info->relocateable)
|
1363 |
|
|
elf-m10300.c: if (! ((*info->callbacks->undefined_symbol)
|
1364 |
|
|
elf-m10300.c: if (! ((*info->callbacks->reloc_overflow)
|
1365 |
|
|
elf-m10300.c: if (! ((*info->callbacks->undefined_symbol)
|
1366 |
|
|
elf-m10300.c: if (!((*info->callbacks->warning)
|
1367 |
|
|
elf-m10300.c: for (input_bfd = link_info->input_bfds;
|
1368 |
|
|
elf-m10300.c: link_info->keep_memory));
|
1369 |
|
|
elf-m10300.c: if (! link_info->keep_memory)
|
1370 |
|
|
elf-m10300.c: if (! link_info->keep_memory)
|
1371 |
|
|
elf-m10300.c: if (! link_info->keep_memory)
|
1372 |
|
|
elf-m10300.c: for (input_bfd = link_info->input_bfds;
|
1373 |
|
|
elf-m10300.c: link_info->keep_memory));
|
1374 |
|
|
elf-m10300.c: if (! link_info->keep_memory)
|
1375 |
|
|
elf-m10300.c: if (! link_info->keep_memory)
|
1376 |
|
|
elf-m10300.c: if (! link_info->keep_memory)
|
1377 |
|
|
elf-m10300.c: if (link_info->relocateable
|
1378 |
|
|
elf-m10300.c: link_info->keep_memory));
|
1379 |
|
|
elf-m10300.c: if (! link_info->keep_memory)
|
1380 |
|
|
elf-m10300.c: if (! link_info->keep_memory)
|
1381 |
|
|
elf-m10300.c: if (! link_info->keep_memory)
|
1382 |
|
|
i386linux.c: f = (struct fixup *) bfd_hash_allocate (&info->hash->table,
|
1383 |
|
|
i386linux.c: FIXME: What if abfd->xvec != info->hash->creator? We may want to
|
1384 |
|
|
i386linux.c: if (! info->relocateable
|
1385 |
|
|
i386linux.c: && abfd->xvec == info->hash->creator)
|
1386 |
|
|
i386linux.c: && abfd->xvec == info->hash->creator)
|
1387 |
|
|
linker.c: if (info->wrap_hash != NULL)
|
1388 |
|
|
linker.c: if (bfd_hash_lookup (info->wrap_hash, l, false, false) != NULL)
|
1389 |
|
|
linker.c: h = bfd_link_hash_lookup (info->hash, n, create, true, follow);
|
1390 |
|
|
linker.c: && bfd_hash_lookup (info->wrap_hash, l + sizeof REAL - 1,
|
1391 |
|
|
linker.c: h = bfd_link_hash_lookup (info->hash, n, create, true, follow);
|
1392 |
|
|
linker.c: return bfd_link_hash_lookup (info->hash, string, create, copy, follow);
|
1393 |
|
|
linker.c: pundef = &info->hash->undefs;
|
1394 |
|
|
linker.c: if (*pundef != info->hash->undefs_tail)
|
1395 |
|
|
linker.c: h = bfd_link_hash_lookup (info->hash, bfd_asymbol_name (p), false,
|
1396 |
|
|
linker.c: if (! (*info->callbacks->add_archive_element) (info, abfd,
|
1397 |
|
|
linker.c: if (! (*info->callbacks->add_archive_element)
|
1398 |
|
|
linker.c: bfd_hash_allocate (&info->hash->table,
|
1399 |
|
|
linker.c: if (info->hash->creator == abfd->xvec)
|
1400 |
|
|
linker.c: h = bfd_link_hash_lookup (info->hash, name, true, copy, false);
|
1401 |
|
|
linker.c: if (info->notice_all
|
1402 |
|
|
linker.c: || (info->notice_hash != (struct bfd_hash_table *) NULL
|
1403 |
|
|
linker.c: && (bfd_hash_lookup (info->notice_hash, name, false, false)
|
1404 |
|
|
linker.c: if (! (*info->callbacks->notice) (info, h->root.string, abfd, section,
|
1405 |
|
|
linker.c: bfd_link_add_undef (info->hash, h);
|
1406 |
|
|
linker.c: if (! ((*info->callbacks->multiple_common)
|
1407 |
|
|
linker.c: if (! ((*info->callbacks->constructor)
|
1408 |
|
|
linker.c: bfd_link_add_undef (info->hash, h);
|
1409 |
|
|
linker.c: bfd_hash_allocate (&info->hash->table,
|
1410 |
|
|
linker.c: if (h->next == NULL && info->hash->undefs_tail != h)
|
1411 |
|
|
linker.c: if (! ((*info->callbacks->multiple_common)
|
1412 |
|
|
linker.c: if (! ((*info->callbacks->multiple_common)
|
1413 |
|
|
linker.c: if (! ((*info->callbacks->multiple_definition)
|
1414 |
|
|
linker.c: if (! ((*info->callbacks->multiple_common)
|
1415 |
|
|
linker.c: bfd_link_add_undef (info->hash, inh);
|
1416 |
|
|
linker.c: if (! (*info->callbacks->add_to_set) (info, h, BFD_RELOC_CTOR,
|
1417 |
|
|
linker.c: if (! (*info->callbacks->warning) (info, h->u.i.warning,
|
1418 |
|
|
linker.c: if (h->next == NULL && info->hash->undefs_tail != h)
|
1419 |
|
|
linker.c: if (! (*info->callbacks->warning) (info, string, h->root.string,
|
1420 |
|
|
linker.c: if (h->next != NULL || info->hash->undefs_tail == h)
|
1421 |
|
|
linker.c: if (! (*info->callbacks->warning) (info, string, h->root.string,
|
1422 |
|
|
linker.c: ((*info->hash->table.newfunc)
|
1423 |
|
|
linker.c: ((struct bfd_hash_entry *) NULL, &info->hash->table,
|
1424 |
|
|
linker.c: w = bfd_hash_allocate (&info->hash->table,
|
1425 |
|
|
linker.c: bfd_hash_replace (&info->hash->table,
|
1426 |
|
|
linker.c: for (sub = info->input_bfds; sub != (bfd *) NULL; sub = sub->link_next)
|
1427 |
|
|
linker.c: if (info->relocateable)
|
1428 |
|
|
linker.c: if (info->create_object_symbols_section != (asection *) NULL)
|
1429 |
|
|
linker.c: if (sec->output_section == info->create_object_symbols_section)
|
1430 |
|
|
linker.c: if (info->hash->creator == input_bfd->xvec)
|
1431 |
|
|
linker.c: if (info->strip == strip_all
|
1432 |
|
|
linker.c: || (info->strip == strip_some
|
1433 |
|
|
linker.c: && (bfd_hash_lookup (info->keep_hash, bfd_asymbol_name (sym),
|
1434 |
|
|
linker.c: if (info->strip == strip_none)
|
1435 |
|
|
linker.c: switch (info->discard)
|
1436 |
|
|
linker.c: if (info->strip != strip_all)
|
1437 |
|
|
linker.c: if (wginfo->info->strip == strip_all
|
1438 |
|
|
linker.c: || (wginfo->info->strip == strip_some
|
1439 |
|
|
linker.c: && bfd_hash_lookup (wginfo->info->keep_hash, h->root.root.string,
|
1440 |
|
|
linker.c: sym = bfd_make_empty_symbol (wginfo->output_bfd);
|
1441 |
|
|
linker.c: if (! generic_add_output_symbol (wginfo->output_bfd, wginfo->psymalloc,
|
1442 |
|
|
linker.c: if (! info->relocateable)
|
1443 |
|
|
linker.c: if (! ((*info->callbacks->unattached_reloc)
|
1444 |
|
|
linker.c: if (! ((*info->callbacks->reloc_overflow)
|
1445 |
|
|
linker.c: if (info->relocateable
|
1446 |
|
|
linker.c: h = bfd_link_hash_lookup (info->hash,
|
1447 |
|
|
linker.c: (output_bfd, info, link_order, contents, info->relocateable,
|
1448 |
|
|
m68klinux.c: f = (struct fixup *) bfd_hash_allocate (&info->hash->table,
|
1449 |
|
|
m68klinux.c: FIXME: What if abfd->xvec != info->hash->creator? We may want to
|
1450 |
|
|
m68klinux.c: if (! info->relocateable
|
1451 |
|
|
m68klinux.c: && abfd->xvec == info->hash->creator)
|
1452 |
|
|
m68klinux.c: && abfd->xvec == info->hash->creator)
|
1453 |
|
|
Makefile:installdirs-recursive install-recursive uninstall-recursive install-info-recursive \
|
1454 |
|
|
Makefile:check-recursive installcheck-recursive info-recursive dvi-recursive:
|
1455 |
|
|
Makefile:info-am:
|
1456 |
|
|
Makefile:info: info-recursive
|
1457 |
|
|
Makefile:install-info-am:
|
1458 |
|
|
Makefile:install-info: install-info-recursive
|
1459 |
|
|
Makefile:installcheck-recursive info-recursive dvi-recursive \
|
1460 |
|
|
Makefile:distclean-tags clean-tags maintainer-clean-tags distdir info-am info \
|
1461 |
|
|
Makefile:dvi-am dvi check check-am installcheck-am installcheck install-info-am \
|
1462 |
|
|
Makefile.in:installdirs-recursive install-recursive uninstall-recursive install-info-recursive \
|
1463 |
|
|
Makefile.in:check-recursive installcheck-recursive info-recursive dvi-recursive:
|
1464 |
|
|
Makefile.in:info-am:
|
1465 |
|
|
Makefile.in:info: info-recursive
|
1466 |
|
|
Makefile.in:install-info-am:
|
1467 |
|
|
Makefile.in:install-info: install-info-recursive
|
1468 |
|
|
Makefile.in:installcheck-recursive info-recursive dvi-recursive \
|
1469 |
|
|
Makefile.in:distclean-tags clean-tags maintainer-clean-tags distdir info-am info \
|
1470 |
|
|
Makefile.in:dvi-am dvi check check-am installcheck-am installcheck install-info-am \
|
1471 |
|
|
peigen.c: && ! coff_data (abfd)->link_info->relocateable
|
1472 |
|
|
peigen.c: && ! coff_data (abfd)->link_info->shared
|
1473 |
|
|
peigen.c: struct bfd_link_info *info = pfinfo->info;
|
1474 |
|
|
pe-mips.c: if (info->relocateable)
|
1475 |
|
|
pe-mips.c: if (info->relocateable)
|
1476 |
|
|
pe-mips.c: else if (! info->relocateable)
|
1477 |
|
|
pe-mips.c: if (! ((*info->callbacks->undefined_symbol)
|
1478 |
|
|
reloc16.c: file) (unless info->keep_memory is false, in which case they should
|
1479 |
|
|
reloc16.c: if (! ((*link_info->callbacks->undefined_symbol)
|
1480 |
|
|
reloc.c: if (!((*link_info->callbacks->undefined_symbol)
|
1481 |
|
|
reloc.c: if (!((*link_info->callbacks->reloc_dangerous)
|
1482 |
|
|
reloc.c: if (!((*link_info->callbacks->reloc_overflow)
|
1483 |
|
|
section.c: for (abfd = info->input_bfds; abfd != NULL; abfd = abfd->link_next)
|
1484 |
|
|
som.c: info->symbol_type = ST_DATA;
|
1485 |
|
|
som.c: info->symbol_scope = SS_UNSAT;
|
1486 |
|
|
som.c: info->symbol_type = ST_STORAGE;
|
1487 |
|
|
som.c: info->symbol_type = ST_CODE;
|
1488 |
|
|
som.c: info->symbol_type = ST_ENTRY;
|
1489 |
|
|
som.c: info->arg_reloc = som_symbol_data (sym)->tc_data.ap.hppa_arg_reloc;
|
1490 |
|
|
som.c: info->priv_level= som_symbol_data (sym)->tc_data.ap.hppa_priv_level;
|
1491 |
|
|
som.c: info->symbol_type = ST_CODE;
|
1492 |
|
|
som.c: info->symbol_type = ST_DATA;
|
1493 |
|
|
som.c: info->symbol_type = ST_DATA;
|
1494 |
|
|
som.c: info->symbol_type = ST_ABSOLUTE;
|
1495 |
|
|
som.c: info->symbol_type = ST_CODE;
|
1496 |
|
|
som.c: info->symbol_type = ST_DATA;
|
1497 |
|
|
som.c: info->symbol_type = ST_MILLICODE;
|
1498 |
|
|
som.c: info->symbol_type = ST_PLABEL;
|
1499 |
|
|
som.c: info->symbol_type = ST_PRI_PROG;
|
1500 |
|
|
som.c: info->symbol_type = ST_SEC_PROG;
|
1501 |
|
|
som.c: info->symbol_scope = SS_UNSAT;
|
1502 |
|
|
som.c: info->symbol_scope = SS_UNIVERSAL;
|
1503 |
|
|
som.c: info->symbol_scope = SS_LOCAL;
|
1504 |
|
|
som.c: info->symbol_info = 0;
|
1505 |
|
|
som.c: info->symbol_info = sym->section->target_index;
|
1506 |
|
|
som.c: info->symbol_value = sym->value + sym->section->vma;
|
1507 |
|
|
som.c: info->secondary_def = true;
|
1508 |
|
|
som.c: info->secondary_def = false;
|
1509 |
|
|
sparclinux.c: f = (struct fixup *) bfd_hash_allocate (&info->hash->table,
|
1510 |
|
|
sparclinux.c: FIXME: What if abfd->xvec != info->hash->creator? We may want to
|
1511 |
|
|
sparclinux.c: if (! info->relocateable
|
1512 |
|
|
sparclinux.c: && abfd->xvec == info->hash->creator)
|
1513 |
|
|
sparclinux.c: && abfd->xvec == info->hash->creator)
|
1514 |
|
|
stabs.c: sinfo->strings = _bfd_stringtab_init ();
|
1515 |
|
|
stabs.c: if (sinfo->strings == NULL)
|
1516 |
|
|
stabs.c: (void) _bfd_stringtab_add (sinfo->strings, "", true, true);
|
1517 |
|
|
stabs.c: if (! bfd_hash_table_init_n (&sinfo->includes.root,
|
1518 |
|
|
stabs.c: sinfo->stabstr = bfd_make_section_anyway (abfd, ".stabstr");
|
1519 |
|
|
stabs.c: sinfo->stabstr->flags |= SEC_HAS_CONTENTS | SEC_READONLY | SEC_DEBUGGING;
|
1520 |
|
|
stabs.c: secinfo->excls = NULL;
|
1521 |
|
|
stabs.c: secinfo->cumulative_skips = NULL;
|
1522 |
|
|
stabs.c: memset (secinfo->stridxs, 0, count * sizeof (bfd_size_type));
|
1523 |
|
|
stabs.c: for (sym = stabbuf, pstridx = secinfo->stridxs;
|
1524 |
|
|
stabs.c: *pstridx = _bfd_stringtab_add (sinfo->strings, string, true, true);
|
1525 |
|
|
stabs.c: incl_entry = stab_link_includes_lookup (&sinfo->includes, string,
|
1526 |
|
|
stabs.c: ne->next = secinfo->excls;
|
1527 |
|
|
stabs.c: secinfo->excls = ne;
|
1528 |
|
|
stabs.c: bfd_hash_allocate (&sinfo->includes.root, sizeof *t));
|
1529 |
|
|
stabs.c: sinfo->stabstr->_cooked_size = _bfd_stringtab_size (sinfo->strings);
|
1530 |
|
|
stabs.c: secinfo->cumulative_skips =
|
1531 |
|
|
stabs.c: if (secinfo->cumulative_skips == NULL)
|
1532 |
|
|
stabs.c: pskips = secinfo->cumulative_skips;
|
1533 |
|
|
stabs.c: pstridx = secinfo->stridxs;
|
1534 |
|
|
stabs.c: for (e = secinfo->excls; e != NULL; e = e->next)
|
1535 |
|
|
stabs.c: for (sym = contents, pstridx = secinfo->stridxs;
|
1536 |
|
|
stabs.c: bfd_put_32 (output_bfd, _bfd_stringtab_size (sinfo->strings),
|
1537 |
|
|
stabs.c: if (bfd_is_abs_section (sinfo->stabstr->output_section))
|
1538 |
|
|
stabs.c: BFD_ASSERT ((sinfo->stabstr->output_offset
|
1539 |
|
|
stabs.c: + _bfd_stringtab_size (sinfo->strings))
|
1540 |
|
|
stabs.c: <= sinfo->stabstr->output_section->_raw_size);
|
1541 |
|
|
stabs.c: (sinfo->stabstr->output_section->filepos
|
1542 |
|
|
stabs.c: + sinfo->stabstr->output_offset),
|
1543 |
|
|
stabs.c: if (! _bfd_stringtab_emit (output_bfd, sinfo->strings))
|
1544 |
|
|
stabs.c: _bfd_stringtab_free (sinfo->strings);
|
1545 |
|
|
stabs.c: bfd_hash_table_free (&sinfo->includes.root);
|
1546 |
|
|
stabs.c: if (secinfo->cumulative_skips)
|
1547 |
|
|
stabs.c: if (secinfo->stridxs [i] == (bfd_size_type) -1)
|
1548 |
|
|
stabs.c: return offset - secinfo->cumulative_skips [i];
|
1549 |
|
|
sunos.c: info->valid = false;
|
1550 |
|
|
sunos.c: info->dynsym = NULL;
|
1551 |
|
|
sunos.c: info->dynstr = NULL;
|
1552 |
|
|
sunos.c: info->canonical_dynsym = NULL;
|
1553 |
|
|
sunos.c: info->dynrel = NULL;
|
1554 |
|
|
sunos.c: info->canonical_dynrel = NULL;
|
1555 |
|
|
sunos.c: info->dyninfo.ld_loaded = GET_WORD (abfd, linkinfo.ld_loaded);
|
1556 |
|
|
sunos.c: info->dyninfo.ld_need = GET_WORD (abfd, linkinfo.ld_need);
|
1557 |
|
|
sunos.c: info->dyninfo.ld_rules = GET_WORD (abfd, linkinfo.ld_rules);
|
1558 |
|
|
sunos.c: info->dyninfo.ld_got = GET_WORD (abfd, linkinfo.ld_got);
|
1559 |
|
|
sunos.c: info->dyninfo.ld_plt = GET_WORD (abfd, linkinfo.ld_plt);
|
1560 |
|
|
sunos.c: info->dyninfo.ld_rel = GET_WORD (abfd, linkinfo.ld_rel);
|
1561 |
|
|
sunos.c: info->dyninfo.ld_hash = GET_WORD (abfd, linkinfo.ld_hash);
|
1562 |
|
|
sunos.c: info->dyninfo.ld_stab = GET_WORD (abfd, linkinfo.ld_stab);
|
1563 |
|
|
sunos.c: info->dyninfo.ld_stab_hash = GET_WORD (abfd, linkinfo.ld_stab_hash);
|
1564 |
|
|
sunos.c: info->dyninfo.ld_buckets = GET_WORD (abfd, linkinfo.ld_buckets);
|
1565 |
|
|
sunos.c: info->dyninfo.ld_symbols = GET_WORD (abfd, linkinfo.ld_symbols);
|
1566 |
|
|
sunos.c: info->dyninfo.ld_symb_size = GET_WORD (abfd, linkinfo.ld_symb_size);
|
1567 |
|
|
sunos.c: info->dyninfo.ld_text = GET_WORD (abfd, linkinfo.ld_text);
|
1568 |
|
|
sunos.c: info->dyninfo.ld_plt_sz = GET_WORD (abfd, linkinfo.ld_plt_sz);
|
1569 |
|
|
sunos.c: info->dyninfo.ld_need += exec_bytes_size;
|
1570 |
|
|
sunos.c: info->dyninfo.ld_rules += exec_bytes_size;
|
1571 |
|
|
sunos.c: info->dyninfo.ld_rel += exec_bytes_size;
|
1572 |
|
|
sunos.c: info->dyninfo.ld_hash += exec_bytes_size;
|
1573 |
|
|
sunos.c: info->dyninfo.ld_stab += exec_bytes_size;
|
1574 |
|
|
sunos.c: info->dyninfo.ld_symbols += exec_bytes_size;
|
1575 |
|
|
sunos.c: info->dynsym_count = ((info->dyninfo.ld_symbols - info->dyninfo.ld_stab)
|
1576 |
|
|
sunos.c: BFD_ASSERT (info->dynsym_count * EXTERNAL_NLIST_SIZE
|
1577 |
|
|
sunos.c: == (unsigned long) (info->dyninfo.ld_symbols
|
1578 |
|
|
sunos.c: - info->dyninfo.ld_stab));
|
1579 |
|
|
sunos.c: info->dynrel_count = ((info->dyninfo.ld_hash - info->dyninfo.ld_rel)
|
1580 |
|
|
sunos.c: BFD_ASSERT (info->dynrel_count * obj_reloc_entry_size (abfd)
|
1581 |
|
|
sunos.c: == (unsigned long) (info->dyninfo.ld_hash
|
1582 |
|
|
sunos.c: - info->dyninfo.ld_rel));
|
1583 |
|
|
sunos.c: info->valid = true;
|
1584 |
|
|
sunos.c: if (! info->valid)
|
1585 |
|
|
sunos.c: return (info->dynsym_count + 1) * sizeof (asymbol *);
|
1586 |
|
|
sunos.c: if (! info->valid)
|
1587 |
|
|
sunos.c: if (info->dynsym == (struct external_nlist *) NULL)
|
1588 |
|
|
sunos.c: info->dynsym = ((struct external_nlist *)
|
1589 |
|
|
sunos.c: (info->dynsym_count
|
1590 |
|
|
sunos.c: if (info->dynsym == NULL && info->dynsym_count != 0)
|
1591 |
|
|
sunos.c: if (bfd_seek (abfd, info->dyninfo.ld_stab, SEEK_SET) != 0
|
1592 |
|
|
sunos.c: || (bfd_read ((PTR) info->dynsym, info->dynsym_count,
|
1593 |
|
|
sunos.c: != info->dynsym_count * EXTERNAL_NLIST_SIZE))
|
1594 |
|
|
sunos.c: if (info->dynsym != NULL)
|
1595 |
|
|
sunos.c: bfd_release (abfd, info->dynsym);
|
1596 |
|
|
sunos.c: info->dynsym = NULL;
|
1597 |
|
|
sunos.c: if (info->dynstr == (char *) NULL)
|
1598 |
|
|
sunos.c: info->dynstr = (char *) bfd_alloc (abfd, info->dyninfo.ld_symb_size);
|
1599 |
|
|
sunos.c: if (info->dynstr == NULL && info->dyninfo.ld_symb_size != 0)
|
1600 |
|
|
sunos.c: if (bfd_seek (abfd, info->dyninfo.ld_symbols, SEEK_SET) != 0
|
1601 |
|
|
sunos.c: || (bfd_read ((PTR) info->dynstr, 1, info->dyninfo.ld_symb_size,
|
1602 |
|
|
sunos.c: != info->dyninfo.ld_symb_size))
|
1603 |
|
|
sunos.c: if (info->dynstr != NULL)
|
1604 |
|
|
sunos.c: bfd_release (abfd, info->dynstr);
|
1605 |
|
|
sunos.c: info->dynstr = NULL;
|
1606 |
|
|
sunos.c: if (info->dyninfo.ld_buckets > info->dynsym_count)
|
1607 |
|
|
sunos.c: table_size = info->dyninfo.ld_stab - info->dyninfo.ld_hash;
|
1608 |
|
|
sunos.c: if (bfd_seek (abfd, info->dyninfo.ld_hash, SEEK_SET) != 0
|
1609 |
|
|
sunos.c: for (i = 0; i < info->dynsym_count; i++)
|
1610 |
|
|
sunos.c: name = ((unsigned char *) info->dynstr
|
1611 |
|
|
sunos.c: + GET_WORD (abfd, info->dynsym[i].e_strx));
|
1612 |
|
|
sunos.c: hash %= info->dyninfo.ld_buckets;
|
1613 |
|
|
sunos.c: if (info->canonical_dynsym == (aout_symbol_type *) NULL)
|
1614 |
|
|
sunos.c: info->canonical_dynsym = ((aout_symbol_type *)
|
1615 |
|
|
sunos.c: (info->dynsym_count
|
1616 |
|
|
sunos.c: if (info->canonical_dynsym == NULL && info->dynsym_count != 0)
|
1617 |
|
|
sunos.c: if (! aout_32_translate_symbol_table (abfd, info->canonical_dynsym,
|
1618 |
|
|
sunos.c: info->dynsym, info->dynsym_count,
|
1619 |
|
|
sunos.c: info->dynstr,
|
1620 |
|
|
sunos.c: info->dyninfo.ld_symb_size,
|
1621 |
|
|
sunos.c: if (info->canonical_dynsym != NULL)
|
1622 |
|
|
sunos.c: bfd_release (abfd, info->canonical_dynsym);
|
1623 |
|
|
sunos.c: info->canonical_dynsym = NULL;
|
1624 |
|
|
sunos.c: for (i = 0; i < info->dynsym_count; i++)
|
1625 |
|
|
sunos.c: *storage++ = (asymbol *) (info->canonical_dynsym + i);
|
1626 |
|
|
sunos.c: return info->dynsym_count;
|
1627 |
|
|
sunos.c: if (! info->valid)
|
1628 |
|
|
sunos.c: return (info->dynrel_count + 1) * sizeof (arelent *);
|
1629 |
|
|
sunos.c: if (! info->valid)
|
1630 |
|
|
sunos.c: if (info->dynrel == NULL)
|
1631 |
|
|
sunos.c: info->dynrel = (PTR) bfd_alloc (abfd,
|
1632 |
|
|
sunos.c: (info->dynrel_count
|
1633 |
|
|
sunos.c: if (info->dynrel == NULL && info->dynrel_count != 0)
|
1634 |
|
|
sunos.c: if (bfd_seek (abfd, info->dyninfo.ld_rel, SEEK_SET) != 0
|
1635 |
|
|
sunos.c: || (bfd_read ((PTR) info->dynrel, info->dynrel_count,
|
1636 |
|
|
sunos.c: != info->dynrel_count * obj_reloc_entry_size (abfd)))
|
1637 |
|
|
sunos.c: if (info->dynrel != NULL)
|
1638 |
|
|
sunos.c: bfd_release (abfd, info->dynrel);
|
1639 |
|
|
sunos.c: info->dynrel = NULL;
|
1640 |
|
|
sunos.c: if (info->canonical_dynrel == (arelent *) NULL)
|
1641 |
|
|
sunos.c: info->canonical_dynrel = ((arelent *)
|
1642 |
|
|
sunos.c: (info->dynrel_count
|
1643 |
|
|
sunos.c: if (info->canonical_dynrel == NULL && info->dynrel_count != 0)
|
1644 |
|
|
sunos.c: to = info->canonical_dynrel;
|
1645 |
|
|
sunos.c: p = (struct reloc_ext_external *) info->dynrel;
|
1646 |
|
|
sunos.c: pend = p + info->dynrel_count;
|
1647 |
|
|
sunos.c: info->dynsym_count);
|
1648 |
|
|
sunos.c: p = (struct reloc_std_external *) info->dynrel;
|
1649 |
|
|
sunos.c: pend = p + info->dynrel_count;
|
1650 |
|
|
sunos.c: info->dynsym_count);
|
1651 |
|
|
sunos.c: for (i = 0; i < info->dynrel_count; i++)
|
1652 |
|
|
sunos.c: *storage++ = info->canonical_dynrel + i;
|
1653 |
|
|
sunos.c: return info->dynrel_count;
|
1654 |
|
|
sunos.c: || info->shared)
|
1655 |
|
|
sunos.c: if (info->hash->creator == abfd->xvec)
|
1656 |
|
|
sunos.c: && ! info->relocateable)
|
1657 |
|
|
sunos.c: if (info->relocateable)
|
1658 |
|
|
sunos.c: if (info->hash->creator != abfd->xvec)
|
1659 |
|
|
sunos.c: *symsp = dinfo->dynsym;
|
1660 |
|
|
sunos.c: *sym_countp = dinfo->dynsym_count;
|
1661 |
|
|
sunos.c: *stringsp = dinfo->dynstr;
|
1662 |
|
|
sunos.c: need = dinfo->dyninfo.ld_need;
|
1663 |
|
|
sunos.c: && abfd->xvec == info->hash->creator
|
1664 |
|
|
sunos.c: if (abfd->xvec == info->hash->creator)
|
1665 |
|
|
sunos.c: if (info->hash->creator != &MY(vec))
|
1666 |
|
|
sunos.c: if (! info->shared || strcmp (name, "__DYNAMIC") != 0)
|
1667 |
|
|
sunos.c: info->keep_memory is true, we keep the relocs in memory; otherwise,
|
1668 |
|
|
sunos.c: if (info->relocateable)
|
1669 |
|
|
sunos.c: for (sub = info->input_bfds; sub != NULL; sub = sub->link_next)
|
1670 |
|
|
sunos.c: if (! info->keep_memory)
|
1671 |
|
|
sunos.c: if (info->shared
|
1672 |
|
|
sunos.c: if (info->shared)
|
1673 |
|
|
sunos.c: && ! info->shared
|
1674 |
|
|
sunos.c: && ! info->shared
|
1675 |
|
|
sunos.c: || info->shared
|
1676 |
|
|
sunos.c: || info->shared
|
1677 |
|
|
sunos.c: if (info->shared || (h->flags & SUNOS_DEF_REGULAR) == 0)
|
1678 |
|
|
sunos.c: if (info->shared && r_type != RELOC_JMP_TBL)
|
1679 |
|
|
sunos.c: if (info->shared || (h->flags & SUNOS_DEF_REGULAR) == 0)
|
1680 |
|
|
sunos.c: if (! info->shared && (h->flags & SUNOS_DEF_REGULAR) != 0)
|
1681 |
|
|
sunos.c: if (info->shared || (h->flags & SUNOS_DEF_REGULAR) == 0)
|
1682 |
|
|
sunos.c: && (info->shared
|
1683 |
|
|
sunos.c: || (! info->shared
|
1684 |
|
|
sunos.c: if (info->shared
|
1685 |
|
|
sunos.c: if (! info->shared)
|
1686 |
|
|
sunos.c: if (info->shared || sdyn->_raw_size == 0)
|
1687 |
|
|
syms.c: if (info->stabsec == NULL || info->strsec == NULL)
|
1688 |
|
|
syms.c: stabsize = info->stabsec->_raw_size;
|
1689 |
|
|
syms.c: strsize = info->strsec->_raw_size;
|
1690 |
|
|
syms.c: info->stabsec = bfd_get_section_by_name (abfd, ".stab");
|
1691 |
|
|
syms.c: info->strsec = bfd_get_section_by_name (abfd, ".stabstr");
|
1692 |
|
|
syms.c: if (info->stabsec == NULL || info->strsec == NULL)
|
1693 |
|
|
syms.c: stabsize = info->stabsec->_raw_size;
|
1694 |
|
|
syms.c: strsize = info->strsec->_raw_size;
|
1695 |
|
|
syms.c: info->stabs = (bfd_byte *) bfd_alloc (abfd, stabsize);
|
1696 |
|
|
syms.c: info->strs = (bfd_byte *) bfd_alloc (abfd, strsize);
|
1697 |
|
|
syms.c: if (info->stabs == NULL || info->strs == NULL)
|
1698 |
|
|
syms.c: if (! bfd_get_section_contents (abfd, info->stabsec, info->stabs, 0,
|
1699 |
|
|
syms.c: || ! bfd_get_section_contents (abfd, info->strsec, info->strs, 0,
|
1700 |
|
|
syms.c: reloc_size = bfd_get_reloc_upper_bound (abfd, info->stabsec);
|
1701 |
|
|
syms.c: reloc_count = bfd_canonicalize_reloc (abfd, info->stabsec, reloc_vector,
|
1702 |
|
|
syms.c: val = bfd_get_32 (abfd, info->stabs + r->address);
|
1703 |
|
|
syms.c: bfd_put_32 (abfd, val, info->stabs + r->address);
|
1704 |
|
|
syms.c: info->indextablesize = 0;
|
1705 |
|
|
syms.c: for (stab = info->stabs; stab < info->stabs + stabsize; stab += STABSIZE)
|
1706 |
|
|
syms.c: ++info->indextablesize;
|
1707 |
|
|
syms.c: if (stab + STABSIZE < info->stabs + stabsize
|
1708 |
|
|
syms.c: ++info->indextablesize;
|
1709 |
|
|
syms.c: ++info->indextablesize;
|
1710 |
|
|
syms.c: if (info->indextablesize == 0)
|
1711 |
|
|
syms.c: ++info->indextablesize;
|
1712 |
|
|
syms.c: info->indextable = ((struct indexentry *)
|
1713 |
|
|
syms.c: * info->indextablesize)));
|
1714 |
|
|
syms.c: if (info->indextable == NULL)
|
1715 |
|
|
syms.c: for (i = 0, stroff = 0, stab = info->stabs, str = info->strs;
|
1716 |
|
|
syms.c: i < info->indextablesize && stab < info->stabs + stabsize;
|
1717 |
|
|
syms.c: if ((bfd_size_type) ((info->strs + strsize) - str) < stroff)
|
1718 |
|
|
syms.c: info->indextable[i].val = bfd_get_32 (abfd, last_stab + VALOFF);
|
1719 |
|
|
syms.c: info->indextable[i].stab = last_stab;
|
1720 |
|
|
syms.c: info->indextable[i].str = str;
|
1721 |
|
|
syms.c: info->indextable[i].directory_name = directory_name;
|
1722 |
|
|
syms.c: info->indextable[i].file_name = file_name;
|
1723 |
|
|
syms.c: info->indextable[i].function_name = NULL;
|
1724 |
|
|
syms.c: if (stab + STABSIZE >= info->stabs + stabsize
|
1725 |
|
|
syms.c: info->indextable[i].val = bfd_get_32 (abfd, stab + VALOFF);
|
1726 |
|
|
syms.c: info->indextable[i].stab = stab;
|
1727 |
|
|
syms.c: info->indextable[i].str = str;
|
1728 |
|
|
syms.c: info->indextable[i].directory_name = directory_name;
|
1729 |
|
|
syms.c: info->indextable[i].file_name = file_name;
|
1730 |
|
|
syms.c: info->indextable[i].function_name = function_name;
|
1731 |
|
|
syms.c: info->indextable[i].val = bfd_get_32 (abfd, last_stab + VALOFF);
|
1732 |
|
|
syms.c: info->indextable[i].stab = last_stab;
|
1733 |
|
|
syms.c: info->indextable[i].str = str;
|
1734 |
|
|
syms.c: info->indextable[i].directory_name = directory_name;
|
1735 |
|
|
syms.c: info->indextable[i].file_name = file_name;
|
1736 |
|
|
syms.c: info->indextable[i].function_name = NULL;
|
1737 |
|
|
syms.c: info->indextable[i].val = (bfd_vma) -1;
|
1738 |
|
|
syms.c: info->indextable[i].stab = info->stabs + stabsize;
|
1739 |
|
|
syms.c: info->indextable[i].str = str;
|
1740 |
|
|
syms.c: info->indextable[i].directory_name = NULL;
|
1741 |
|
|
syms.c: info->indextable[i].file_name = NULL;
|
1742 |
|
|
syms.c: info->indextable[i].function_name = NULL;
|
1743 |
|
|
syms.c: info->indextablesize = i;
|
1744 |
|
|
syms.c: qsort (info->indextable, i, sizeof (struct indexentry), cmpindexentry);
|
1745 |
|
|
syms.c: if (info->cached_indexentry != NULL
|
1746 |
|
|
syms.c: && offset >= info->cached_offset
|
1747 |
|
|
syms.c: && offset < (info->cached_indexentry + 1)->val)
|
1748 |
|
|
syms.c: stab = info->cached_stab;
|
1749 |
|
|
syms.c: indexentry = info->cached_indexentry;
|
1750 |
|
|
syms.c: file_name = info->cached_file_name;
|
1751 |
|
|
syms.c: high = info->indextablesize - 1;
|
1752 |
|
|
syms.c: if (offset >= info->indextable[mid].val
|
1753 |
|
|
syms.c: && offset < info->indextable[mid + 1].val)
|
1754 |
|
|
syms.c: indexentry = &info->indextable[mid];
|
1755 |
|
|
syms.c: if (info->indextable[mid].val > offset)
|
1756 |
|
|
syms.c: info->cached_stab = stab;
|
1757 |
|
|
syms.c: info->cached_offset = val;
|
1758 |
|
|
syms.c: info->cached_file_name = file_name;
|
1759 |
|
|
syms.c: info->cached_indexentry = indexentry;
|
1760 |
|
|
syms.c: if (info->filename == NULL
|
1761 |
|
|
syms.c: || strncmp (info->filename, directory_name, dirlen) != 0
|
1762 |
|
|
syms.c: || strcmp (info->filename + dirlen, file_name) != 0)
|
1763 |
|
|
syms.c: if (info->filename != NULL)
|
1764 |
|
|
syms.c: free (info->filename);
|
1765 |
|
|
syms.c: info->filename = (char *) bfd_malloc (dirlen +
|
1766 |
|
|
syms.c: if (info->filename == NULL)
|
1767 |
|
|
syms.c: strcpy (info->filename, directory_name);
|
1768 |
|
|
syms.c: strcpy (info->filename + dirlen, file_name);
|
1769 |
|
|
syms.c: *pfilename = info->filename;
|
1770 |
|
|
xcofflink.c: if (! info->keep_memory)
|
1771 |
|
|
xcofflink.c: if (! info->keep_memory || ! *pneeded)
|
1772 |
|
|
xcofflink.c: && ! info->static_link
|
1773 |
|
|
xcofflink.c: && info->hash->creator == abfd->xvec)
|
1774 |
|
|
xcofflink.c: h = bfd_link_hash_lookup (info->hash, name, false, false, true);
|
1775 |
|
|
xcofflink.c: && (info->hash->creator != abfd->xvec
|
1776 |
|
|
xcofflink.c: if (! (*info->callbacks->add_archive_element) (info, abfd, name))
|
1777 |
|
|
xcofflink.c: h = bfd_link_hash_lookup (info->hash, name, false, false, true);
|
1778 |
|
|
xcofflink.c: if (! (*info->callbacks->add_archive_element) (info, abfd, name))
|
1779 |
|
|
xcofflink.c: && ! info->static_link)
|
1780 |
|
|
xcofflink.c: if (info->hash->creator == abfd->xvec)
|
1781 |
|
|
xcofflink.c: && info->strip != strip_all)
|
1782 |
|
|
xcofflink.c: && ! info->static_link)
|
1783 |
|
|
xcofflink.c: if (info->keep_memory)
|
1784 |
|
|
xcofflink.c: if ((info->strip == strip_none || info->strip == strip_some)
|
1785 |
|
|
xcofflink.c: if ((info->strip == strip_none || info->strip == strip_some)
|
1786 |
|
|
xcofflink.c: && info->hash->creator == abfd->xvec)
|
1787 |
|
|
xcofflink.c: copy = (! info->keep_memory
|
1788 |
|
|
xcofflink.c: if (info->hash->creator == abfd->xvec)
|
1789 |
|
|
xcofflink.c: || info->hash->undefs_tail == &(*sym_hash)->root)
|
1790 |
|
|
xcofflink.c: if (! ((*info->callbacks->multiple_definition)
|
1791 |
|
|
xcofflink.c: if (info->hash->creator == abfd->xvec)
|
1792 |
|
|
xcofflink.c: if (info->hash->creator == abfd->xvec
|
1793 |
|
|
xcofflink.c: if (! info->keep_memory
|
1794 |
|
|
xcofflink.c: if (info->hash->creator != abfd->xvec)
|
1795 |
|
|
xcofflink.c: if (sec->owner->xvec == info->hash->creator
|
1796 |
|
|
xcofflink.c: if (! info->keep_memory
|
1797 |
|
|
xcofflink.c: for (sub = info->input_bfds; sub != NULL; sub = sub->link_next)
|
1798 |
|
|
xcofflink.c: if (sub->xvec != info->hash->creator
|
1799 |
|
|
xcofflink.c: if (! ((*info->callbacks->multiple_definition)
|
1800 |
|
|
xcofflink.c: if (info->relocateable
|
1801 |
|
|
xcofflink.c: for (sub = info->input_bfds; sub != NULL; sub = sub->link_next)
|
1802 |
|
|
xcofflink.c: if (info->input_bfds == NULL)
|
1803 |
|
|
xcofflink.c: for (sub = info->input_bfds; sub != NULL; sub = sub->link_next)
|
1804 |
|
|
xcofflink.c: if (sub->xvec != info->hash->creator)
|
1805 |
|
|
xcofflink.c: if (info->strip == strip_all
|
1806 |
|
|
xcofflink.c: || info->strip == strip_debugger
|
1807 |
|
|
xcofflink.c: || info->discard == discard_all)
|
1808 |
|
|
xcofflink.c: if (! info->keep_memory)
|
1809 |
|
|
xcofflink.c: if (info->strip != strip_all)
|
1810 |
|
|
xcofflink.c: if (ldinfo->export_defineds
|
1811 |
|
|
xcofflink.c: if (xcoff_hash_table (ldinfo->info)->gc
|
1812 |
|
|
xcofflink.c: != ldinfo->info->hash->creator)))
|
1813 |
|
|
xcofflink.c: && (! xcoff_hash_table (ldinfo->info)->gc
|
1814 |
|
|
xcofflink.c: sec = xcoff_hash_table (ldinfo->info)->linkage_section;
|
1815 |
|
|
xcofflink.c: hds->toc_section = xcoff_hash_table (ldinfo->info)->toc_section;
|
1816 |
|
|
xcofflink.c: ++xcoff_hash_table (ldinfo->info)->ldrel_count;
|
1817 |
|
|
xcofflink.c: sec = xcoff_hash_table (ldinfo->info)->descriptor_section;
|
1818 |
|
|
xcofflink.c: xcoff_hash_table (ldinfo->info)->ldrel_count += 2;
|
1819 |
|
|
xcofflink.c: && (! xcoff_hash_table (ldinfo->info)->gc
|
1820 |
|
|
xcofflink.c: if (xcoff_hash_table (ldinfo->info)->gc
|
1821 |
|
|
xcofflink.c: bfd_zalloc (ldinfo->output_bfd,
|
1822 |
|
|
xcofflink.c: ldinfo->failed = true;
|
1823 |
|
|
xcofflink.c: h->ldindx = ldinfo->ldsym_count + 3;
|
1824 |
|
|
xcofflink.c: ++ldinfo->ldsym_count;
|
1825 |
|
|
xcofflink.c: if (ldinfo->string_size + len + 3 > ldinfo->string_alc)
|
1826 |
|
|
xcofflink.c: newalc = ldinfo->string_alc * 2;
|
1827 |
|
|
xcofflink.c: while (ldinfo->string_size + len + 3 > newalc)
|
1828 |
|
|
xcofflink.c: bfd_realloc ((PTR) ldinfo->strings, newalc));
|
1829 |
|
|
xcofflink.c: ldinfo->failed = true;
|
1830 |
|
|
xcofflink.c: ldinfo->string_alc = newalc;
|
1831 |
|
|
xcofflink.c: ldinfo->strings = newstrings;
|
1832 |
|
|
xcofflink.c: bfd_put_16 (ldinfo->output_bfd, len + 1,
|
1833 |
|
|
xcofflink.c: ldinfo->strings + ldinfo->string_size);
|
1834 |
|
|
xcofflink.c: strcpy (ldinfo->strings + ldinfo->string_size + 2, h->root.root.string);
|
1835 |
|
|
xcofflink.c: h->ldsym->_l._l_l._l_offset = ldinfo->string_size + 2;
|
1836 |
|
|
xcofflink.c: ldinfo->string_size += len + 3;
|
1837 |
|
|
xcofflink.c: if (info->shared)
|
1838 |
|
|
xcofflink.c: if (info->strip == strip_none
|
1839 |
|
|
xcofflink.c: || info->strip == strip_some)
|
1840 |
|
|
xcofflink.c: if (info->strip == strip_all)
|
1841 |
|
|
xcofflink.c: for (sub = info->input_bfds; sub != NULL; sub = sub->link_next)
|
1842 |
|
|
xcofflink.c: if (info->strip == strip_all)
|
1843 |
|
|
xcofflink.c: if (! ((*info->callbacks->unattached_reloc)
|
1844 |
|
|
xcofflink.c: if (! ((*info->callbacks->unattached_reloc)
|
1845 |
|
|
xcofflink.c: && ! finfo->info->static_link)
|
1846 |
|
|
xcofflink.c: output_bfd = finfo->output_bfd;
|
1847 |
|
|
xcofflink.c: if (! finfo->info->keep_memory)
|
1848 |
|
|
xcofflink.c: isymp = finfo->internal_syms;
|
1849 |
|
|
xcofflink.c: indexp = finfo->sym_indices;
|
1850 |
|
|
xcofflink.c: outsym = finfo->outsyms;
|
1851 |
|
|
xcofflink.c: BFD_ASSERT (impbfd->xvec == finfo->output_bfd->xvec);
|
1852 |
|
|
xcofflink.c: xcoff_swap_ldsym_out (finfo->output_bfd, ldsym,
|
1853 |
|
|
xcofflink.c: finfo->ldsym + h->ldindx - 3);
|
1854 |
|
|
xcofflink.c: && xcoff_hash_table (finfo->info)->gc
|
1855 |
|
|
xcofflink.c: if (finfo->toc_symindx != -1)
|
1856 |
|
|
xcofflink.c: finfo->toc_symindx = output_index;
|
1857 |
|
|
xcofflink.c: xcoff_data (finfo->output_bfd)->toc = tocval;
|
1858 |
|
|
xcofflink.c: xcoff_data (finfo->output_bfd)->sntoc =
|
1859 |
|
|
xcofflink.c: && finfo->info->strip == strip_all)
|
1860 |
|
|
xcofflink.c: && finfo->info->discard == discard_all
|
1861 |
|
|
xcofflink.c: && finfo->info->strip == strip_debugger
|
1862 |
|
|
xcofflink.c: && (finfo->info->strip == strip_some
|
1863 |
|
|
xcofflink.c: || finfo->info->discard == discard_l)
|
1864 |
|
|
xcofflink.c: if ((finfo->info->strip == strip_some
|
1865 |
|
|
xcofflink.c: && (bfd_hash_lookup (finfo->info->keep_hash, name, false,
|
1866 |
|
|
xcofflink.c: || (finfo->info->discard == discard_l
|
1867 |
|
|
xcofflink.c: && finfo->info->strip != strip_all)
|
1868 |
|
|
xcofflink.c: indx = _bfd_stringtab_add (finfo->strtab, name, hash, copy);
|
1869 |
|
|
xcofflink.c: if (finfo->last_file_index != -1
|
1870 |
|
|
xcofflink.c: && finfo->last_file.n_value != (long) output_index)
|
1871 |
|
|
xcofflink.c: finfo->last_file.n_value = output_index;
|
1872 |
|
|
xcofflink.c: if ((bfd_size_type) finfo->last_file_index >= syment_base)
|
1873 |
|
|
xcofflink.c: (PTR) &finfo->last_file,
|
1874 |
|
|
xcofflink.c: (PTR) (finfo->outsyms
|
1875 |
|
|
xcofflink.c: + ((finfo->last_file_index
|
1876 |
|
|
xcofflink.c: (PTR) &finfo->last_file,
|
1877 |
|
|
xcofflink.c: + finfo->last_file_index * osymesz),
|
1878 |
|
|
xcofflink.c: finfo->last_file_index = output_index;
|
1879 |
|
|
xcofflink.c: finfo->last_file = isym;
|
1880 |
|
|
xcofflink.c: isym.n_value = finfo->line_filepos;
|
1881 |
|
|
xcofflink.c: isymp = finfo->internal_syms;
|
1882 |
|
|
xcofflink.c: indexp = finfo->sym_indices;
|
1883 |
|
|
xcofflink.c: outsym = finfo->outsyms;
|
1884 |
|
|
xcofflink.c: symindx = finfo->sym_indices[indx];
|
1885 |
|
|
xcofflink.c: indx = _bfd_stringtab_add (finfo->strtab, filename,
|
1886 |
|
|
xcofflink.c: symindx = finfo->sym_indices[indx];
|
1887 |
|
|
xcofflink.c: while (finfo->sym_indices[indx] < 0
|
1888 |
|
|
xcofflink.c: indx = finfo->sym_indices[indx];
|
1889 |
|
|
xcofflink.c: symindx = finfo->sym_indices[indx];
|
1890 |
|
|
xcofflink.c: if (finfo->info->strip != strip_none
|
1891 |
|
|
xcofflink.c: && finfo->info->strip != strip_some)
|
1892 |
|
|
xcofflink.c: || (bfd_read (finfo->linenos, linesz,
|
1893 |
|
|
xcofflink.c: (PTR) (finfo->linenos + linoff),
|
1894 |
|
|
xcofflink.c: (PTR) (finfo->linenos
|
1895 |
|
|
xcofflink.c: linpend = (finfo->linenos
|
1896 |
|
|
xcofflink.c: for (linp = finfo->linenos + linoff + linesz;
|
1897 |
|
|
xcofflink.c: count = (linp - (finfo->linenos + linoff)) / linesz;
|
1898 |
|
|
xcofflink.c: || (bfd_write (finfo->linenos + linoff,
|
1899 |
|
|
xcofflink.c: iisp = finfo->internal_syms;
|
1900 |
|
|
xcofflink.c: iindp = finfo->sym_indices;
|
1901 |
|
|
xcofflink.c: oos = finfo->outsyms;
|
1902 |
|
|
xcofflink.c: if (finfo->last_file_index != -1
|
1903 |
|
|
xcofflink.c: && (bfd_size_type) finfo->last_file_index >= syment_base)
|
1904 |
|
|
xcofflink.c: finfo->last_file.n_value = output_index;
|
1905 |
|
|
xcofflink.c: bfd_coff_swap_sym_out (output_bfd, (PTR) &finfo->last_file,
|
1906 |
|
|
xcofflink.c: (PTR) (finfo->outsyms
|
1907 |
|
|
xcofflink.c: + ((finfo->last_file_index - syment_base)
|
1908 |
|
|
xcofflink.c: if (outsym > finfo->outsyms)
|
1909 |
|
|
xcofflink.c: || (bfd_write (finfo->outsyms, outsym - finfo->outsyms, 1,
|
1910 |
|
|
xcofflink.c: != (bfd_size_type) (outsym - finfo->outsyms)))
|
1911 |
|
|
xcofflink.c: + (outsym - finfo->outsyms) / osymesz)
|
1912 |
|
|
xcofflink.c: if (! bfd_get_section_contents (input_bfd, o, finfo->contents,
|
1913 |
|
|
xcofflink.c: contents = finfo->contents;
|
1914 |
|
|
xcofflink.c: (input_bfd, o, false, finfo->external_relocs,
|
1915 |
|
|
xcofflink.c: (finfo->section_info[target_index].relocs
|
1916 |
|
|
xcofflink.c: if (! bfd_coff_relocate_section (output_bfd, finfo->info,
|
1917 |
|
|
xcofflink.c: finfo->internal_syms,
|
1918 |
|
|
xcofflink.c: rel_hash = (finfo->section_info[target_index].rel_hashes
|
1919 |
|
|
xcofflink.c: if (r_symndx != -1 && finfo->info->strip != strip_all)
|
1920 |
|
|
xcofflink.c: bfd_alloc (finfo->output_bfd,
|
1921 |
|
|
xcofflink.c: si = finfo->section_info + target_index;
|
1922 |
|
|
xcofflink.c: indx = finfo->sym_indices[r_symndx];
|
1923 |
|
|
xcofflink.c: is = finfo->internal_syms + r_symndx;
|
1924 |
|
|
xcofflink.c: indx = finfo->toc_symindx;
|
1925 |
|
|
xcofflink.c: is = finfo->internal_syms + r_symndx;
|
1926 |
|
|
xcofflink.c: if (! ((*finfo->info->callbacks->unattached_reloc)
|
1927 |
|
|
xcofflink.c: (finfo->info, name, input_bfd, o,
|
1928 |
|
|
xcofflink.c: if (! finfo->info->relocateable
|
1929 |
|
|
xcofflink.c: if (xcoff_hash_table (finfo->info)->textro
|
1930 |
|
|
xcofflink.c: bfd_get_section_name (finfo->output_bfd,
|
1931 |
|
|
xcofflink.c: finfo->ldrel);
|
1932 |
|
|
xcofflink.c: ++finfo->ldrel;
|
1933 |
|
|
xcofflink.c: if (! finfo->info->keep_memory)
|
1934 |
|
|
xcofflink.c: output_bfd = finfo->output_bfd;
|
1935 |
|
|
xcofflink.c: outsym = finfo->outsyms;
|
1936 |
|
|
xcofflink.c: if (xcoff_hash_table (finfo->info)->gc
|
1937 |
|
|
xcofflink.c: xcoff_swap_ldsym_out (output_bfd, ldsym, finfo->ldsym + h->ldindx - 3);
|
1938 |
|
|
xcofflink.c: == xcoff_hash_table (finfo->info)->linkage_section))
|
1939 |
|
|
xcofflink.c: irel = finfo->section_info[oindx].relocs + osec->reloc_count;
|
1940 |
|
|
xcofflink.c: finfo->section_info[oindx].rel_hashes[osec->reloc_count] = NULL;
|
1941 |
|
|
xcofflink.c: xcoff_swap_ldrel_out (output_bfd, &ldrel, finfo->ldrel);
|
1942 |
|
|
xcofflink.c: ++finfo->ldrel;
|
1943 |
|
|
xcofflink.c: if (finfo->info->strip != strip_all)
|
1944 |
|
|
xcofflink.c: indx = _bfd_stringtab_add (finfo->strtab, h->root.root.string,
|
1945 |
|
|
xcofflink.c: || (bfd_write (finfo->outsyms, outsym - finfo->outsyms, 1,
|
1946 |
|
|
xcofflink.c: != (bfd_size_type) (outsym - finfo->outsyms)))
|
1947 |
|
|
xcofflink.c: (outsym - finfo->outsyms) / bfd_coff_symesz (output_bfd);
|
1948 |
|
|
xcofflink.c: outsym = finfo->outsyms;
|
1949 |
|
|
xcofflink.c: == xcoff_hash_table (finfo->info)->descriptor_section))
|
1950 |
|
|
xcofflink.c: irel = finfo->section_info[oindx].relocs + osec->reloc_count;
|
1951 |
|
|
xcofflink.c: finfo->section_info[oindx].rel_hashes[osec->reloc_count] = NULL;
|
1952 |
|
|
xcofflink.c: xcoff_swap_ldrel_out (output_bfd, &ldrel, finfo->ldrel);
|
1953 |
|
|
xcofflink.c: ++finfo->ldrel;
|
1954 |
|
|
xcofflink.c: finfo->section_info[oindx].rel_hashes[osec->reloc_count] = NULL;
|
1955 |
|
|
xcofflink.c: xcoff_swap_ldrel_out (output_bfd, &ldrel, finfo->ldrel);
|
1956 |
|
|
xcofflink.c: ++finfo->ldrel;
|
1957 |
|
|
xcofflink.c: if (h->indx >= 0 || finfo->info->strip == strip_all)
|
1958 |
|
|
xcofflink.c: BFD_ASSERT (outsym == finfo->outsyms);
|
1959 |
|
|
xcofflink.c: && (finfo->info->strip == strip_all
|
1960 |
|
|
xcofflink.c: || (finfo->info->strip == strip_some
|
1961 |
|
|
xcofflink.c: && (bfd_hash_lookup (finfo->info->keep_hash,
|
1962 |
|
|
xcofflink.c: BFD_ASSERT (outsym == finfo->outsyms);
|
1963 |
|
|
xcofflink.c: BFD_ASSERT (outsym == finfo->outsyms);
|
1964 |
|
|
xcofflink.c: indx = _bfd_stringtab_add (finfo->strtab, h->root.root.string, hash,
|
1965 |
|
|
xcofflink.c: for (l = xcoff_hash_table (finfo->info)->size_list;
|
1966 |
|
|
xcofflink.c: || (bfd_write (finfo->outsyms, outsym - finfo->outsyms, 1, output_bfd)
|
1967 |
|
|
xcofflink.c: != (bfd_size_type) (outsym - finfo->outsyms)))
|
1968 |
|
|
xcofflink.c: (outsym - finfo->outsyms) / bfd_coff_symesz (output_bfd);
|
1969 |
|
|
xcofflink.c: bfd_wrapped_link_hash_lookup (output_bfd, finfo->info,
|
1970 |
|
|
xcofflink.c: if (! ((*finfo->info->callbacks->unattached_reloc)
|
1971 |
|
|
xcofflink.c: (finfo->info, link_order->u.reloc.p->u.name, (bfd *) NULL,
|
1972 |
|
|
xcofflink.c: if (! ((*finfo->info->callbacks->reloc_overflow)
|
1973 |
|
|
xcofflink.c: (finfo->info, link_order->u.reloc.p->u.name,
|
1974 |
|
|
xcofflink.c: irel = (finfo->section_info[output_section->target_index].relocs
|
1975 |
|
|
xcofflink.c: rel_hash_ptr = (finfo->section_info[output_section->target_index].rel_hashes
|
1976 |
|
|
xcofflink.c: xcoff_swap_ldrel_out (output_bfd, &ldrel, finfo->ldrel);
|
1977 |
|
|
xcofflink.c: ++finfo->ldrel;
|
1978 |
|
|
xcofflink.c: else if (! info->relocateable)
|
1979 |
|
|
xcofflink.c: if (! ((*info->callbacks->undefined_symbol)
|
1980 |
|
|
xcofflink.c: if (! ((*info->callbacks->reloc_overflow)
|