]>
Commit | Line | Data |
---|---|---|
eba91044 AM |
1 | 2002-04-26 Alan Modra <[email protected]> |
2 | ||
e54fdaa5 AM |
3 | * opncls.c (bfd_make_readable): Call bfd_section_list_clear. |
4 | * xcofflink.c (xcoff_link_add_dynamic_symbols): Likewise. | |
5 | ||
a50c1845 AM |
6 | * elflink.h (elf_bfd_final_link): Ensure input bfd class is the |
7 | same as the output before calling elf_link_input_bfd. | |
8 | ||
eba91044 AM |
9 | * coffcode.h (coff_compute_section_file_positions): Set |
10 | section_tail after shuffling section list. | |
11 | ||
3c25c5f6 NC |
12 | 2002-04-24 Christian Groessler <[email protected]> |
13 | ||
14 | * coff-z8k.c (extra_case): Fix R_IMM32 relocations: The | |
15 | addresses are 23bit with a special layout, not plain 32bit | |
16 | values. Prevent relocation of immediate values. | |
17 | ||
40d32fc6 CD |
18 | 2002-04-24 Chris G. Demetriou <[email protected]> |
19 | ||
20 | * elfxx-mips.c (_bfd_mips_elf_print_private_bfd_data): If MDMX or | |
21 | MIPS-16 ASE flags are set, print something to indicate that. | |
22 | ||
067fa4a6 AM |
23 | 2002-04-23 Alan Modra <[email protected]> |
24 | ||
25 | * elf32-hppa.c (hppa_type_of_stub): Correct and simplify condition | |
26 | under which a plt call stub is used. | |
27 | (final_link_relocate): Similarly. | |
28 | (allocate_plt_static): Clear h-plabel except when plt entry is | |
29 | exclusively used for a plabel. | |
30 | (allocate_dynrelocs): Use the above to simplify plt sizing. | |
31 | (struct elf32_hppa_link_hash_table): Add has_22bit_branch. | |
32 | (elf32_hppa_link_hash_table_create): Init. | |
33 | (BL22_RP): Define. | |
34 | (hppa_build_one_stub): Use BL22_RP if has_22bit_branch. | |
35 | (elf32_hppa_check_relocs): Set has_22bit_branch. | |
36 | ||
37 | * elf32-hppa.c (elf32_hppa_check_relocs): Remove debug message. | |
38 | (final_link_relocate): Likewise. | |
39 | ||
af40ce3c JJ |
40 | 2002-04-22 Jakub Jelinek <[email protected]> |
41 | ||
42 | * elf-eh-frame.c (_bfd_elf_discard_section_eh_frame): Don't build | |
43 | search table if some FDE is DW_EH_PE_aligned encoded either. | |
44 | (_bfd_elf_write_section_eh_frame): Handle terminating FDE specially. | |
45 | ||
09ae86c2 JJ |
46 | 2002-04-22 Richard Smith <[email protected]> |
47 | Jakub Jelinek <[email protected]> | |
48 | ||
49 | * elf-eh-frame.c (struct eh_cie_fde): Add per_encoding_relative. | |
50 | (_bfd_elf_discard_section_eh_frame): Set it for CIEs with pcrel | |
51 | encoded personality. | |
52 | (_bfd_elf_write_section_eh_frame): Adjust pcrel encoded personality | |
53 | for CIE/FDE removal. | |
54 | ||
deeb2cd7 TR |
55 | 2002-04-20 Tom Rix <[email protected]> |
56 | ||
57 | * coff64-rs6000.c (_bfd_xcoff64_swap_aux_in): Fix C_FILE auxent. | |
58 | ||
99dc0092 AM |
59 | 2002-04-20 Alan Modra <[email protected]> |
60 | ||
aa3d5824 AM |
61 | * archures.c (bfd_lookup_arch): Move the list order comment.. |
62 | (struct bfd_arch_info): ..to where it belongs. | |
63 | * bfd-in2.h: Regenerate. | |
64 | ||
99dc0092 AM |
65 | * archures.c (bfd_lookup_arch): Add comment on list order. |
66 | (bfd_default_set_arch_mach): Use bfd_lookup_arch. | |
67 | * cpu-powerpc.c (bfd_powerpc_archs): Re-order so that the default | |
68 | is always at head of list. | |
69 | ||
7831a775 NC |
70 | 2002-04-18 Nick Clifton <[email protected]> |
71 | ||
72 | * coff-arm.c (coff_thumb_pcrel_12, coff_thumb_pcrel_9, | |
73 | insert_thumb_branch, record_thumb_to_arm_glue): Suppress | |
74 | definition of these functions for ARM_WINCE builds as they are | |
75 | not used. | |
76 | (SWAP_IN_RELOC_OFFSET, SWAP_OUT_RELOC_OFFSET): Do not define | |
77 | for ARM_WINCE builds. | |
78 | ||
79 | 2002-04-18 Nick Clifton <[email protected]> | |
80 | ||
81 | * coff-arm.c (bfd_arm_process_before_allocation): | |
82 | ||
83 | 2002-04-17 J"orn Rennecke <[email protected]> | |
a44d7f9c JR |
84 | |
85 | * cpu-sh.c (scan_mach): Delete. | |
86 | (arch_info_struct): Replace scan_mach with bfd_default_scan. | |
87 | (bfd_sh_arch): Likewise. | |
88 | ||
3d8dbe36 NC |
89 | 2002-04-16 Nick Clifton <[email protected]> |
90 | ||
91 | * ihex.c (ihex_write_object_contents): Fix check for records | |
92 | crossing 64K boundaries. | |
93 | ||
4ab82700 AM |
94 | 2002-04-16 Alan Modra <[email protected]> |
95 | ||
96 | * elf32-m32r.c (m32r_elf_add_symbol_hook): Check the hash table | |
97 | type rather than just assuming entries are ELF. | |
98 | * elf32-sh64.c (sh64_elf_add_symbol_hook): Likewise. | |
99 | * elf64-sh64.c (sh64_elf64_add_symbol_hook): Likewise. | |
100 | * elf64-sparc.c (sparc64_elf_add_symbol_hook): Likewise. | |
101 | * elf64-mmix.c (mmix_elf_add_symbol_hook): Use bfd_link_hash_entry | |
102 | rather than elf_link_hash_entry. | |
103 | ||
036fe0fe RH |
104 | 2002-04-15 Richard Henderson <[email protected]> |
105 | ||
106 | * elf32-mips.c (mips_elf32_object_p): Revert 0404 fragment: allow | |
107 | n32 binaries. | |
108 | ||
c4f3d130 NC |
109 | 2002-04-15 Michael Snyder <[email protected]> |
110 | ||
111 | * opncls.c (bfd_close): Write contents if writeable. | |
112 | Minor formatting tidy-ups. | |
113 | ||
4ab82700 | 114 | 2002-04-15 Alan Modra <[email protected]> |
27242387 AM |
115 | |
116 | * elf32-ppc.c (ppc_elf_add_symbol_hook): Check the hash table type. | |
117 | ||
0c04d169 MS |
118 | 2002-04-12 Michael Snyder <[email protected]> |
119 | ||
120 | * bfd-in.h (bfd_get_section_lma): New access macro. | |
121 | Minor white-space fix-up. | |
122 | ||
89d4966f AM |
123 | 2002-04-12 Alan Modra <[email protected]> |
124 | ||
125 | * elf.c (prep_headers): Don't zero EI_OSABI, EI_ABIVERSION or | |
126 | header pad. | |
127 | ||
8d0da3c2 DD |
128 | 2002-04-09 DJ Delorie <[email protected]> |
129 | ||
130 | * elfarm-nabi.c (elf32_arm_howto_table): Fix ABS16 masks. | |
131 | ||
05793179 NC |
132 | 2002-04-09 Casper S. Hornstrup <[email protected]> |
133 | ||
134 | * coffcode.h (coff_read_word): New. | |
135 | (coff_compute_checksum): New. | |
136 | (coff_apply_checksum): New. | |
137 | (coff_write_object_contents): Call coff_apply_checksum () to | |
138 | apply checksum to PE image. | |
139 | ||
46fe4e66 AM |
140 | 2002-04-08 Randolph Chung <[email protected]> |
141 | ||
142 | * elf32-hppa.c (hppa_unwind_entry_compare): Move to elf-hppa.h. | |
143 | (elf32_hppa_final_link): Split out sorting logic to.. | |
144 | * elf-hppa.h (elf_hppa_sort_unwind): ..here. | |
145 | (elf_hppa_final_link): Call elf_hppa_sort_unwind. | |
146 | ||
3b5b409c AC |
147 | 2002-04-07 Andrew Cagney <[email protected]> |
148 | ||
149 | * configure.in: Add missing ``|'' to powerpc-*-aix4.[4-9]* | |
150 | pattern. | |
151 | * configure: Re-generate. | |
152 | ||
ac7b6ceb AC |
153 | 2002-04-07 Andrew Cagney <[email protected]> |
154 | ||
155 | * configure.in: Only define AIX_CORE_DUMPX_CORE when AIX version | |
156 | is greater or equal to 4.3.3. | |
157 | * configure: Regenerate. | |
158 | Fix PR gdb/344. | |
159 | ||
44aa49bb HPN |
160 | 2002-04-05 Hans-Peter Nilsson <[email protected]> |
161 | ||
162 | * elf32-cris.c (cris_elf_howto_table) <R_CRIS_16_PCREL, | |
163 | R_CRIS_32_PCREL>: Fix typo in name. | |
164 | (cris_elf_check_relocs): Always create .rela.got here when | |
165 | R_CRIS_16_GOTPLT or R_CRIS_32_GOTPLT is seen. | |
166 | (elf_cris_adjust_gotplt_to_got): Don't create .rela.got here; | |
167 | assume it's created. | |
168 | ||
e2d34d7d DJ |
169 | 2002-04-04 Daniel Jacobowitz <[email protected]> |
170 | ||
171 | * aout-adobe.c (aout_32_bfd_link_hash_table_free): Define. | |
172 | * aout-target.h (MY_bfd_link_hash_table_free): Conditionally | |
173 | define. | |
174 | * aout-tic30.c (MY_bfd_link_hash_table_free): Likewise. | |
175 | * bfd.c (bfd_link_hash_table_free): Define. | |
176 | * binary.c (binary_bfd_link_hash_table_free): Define. | |
177 | * bout.c (b_out_bfd_link_hash_table_free): Define. | |
178 | * coff-rs6000.c (rs6000coff_vec): Include | |
179 | _bfd_generic_link_hash_table_free. | |
180 | (pmac_xcoff_vec): Likewise. | |
181 | * coff64-rs6000.c (rs6000coff64_vec): Likewise. | |
182 | (aix5coff64_vec): Likewise. | |
183 | * coffcode.h (coff_bfd_link_hash_table_free): Conditionally define. | |
184 | * elf-m10300.c (elf32_mn10300_link_hash_table_free): New function. | |
185 | (bfd_elf32_bfd_link_hash_table_free): Define. | |
186 | * elf32-hppa.c (elf32_hppa_link_hash_table_free): New function. | |
187 | (bfd_elf32_bfd_link_hash_table_free): Define. | |
188 | * elfxx-target.h (bfd_elfNN_bfd_link_hash_table_free): Conditionally | |
189 | define. | |
190 | * i386msdos.c (msdos_bfd_link_hash_table_free): Define. | |
191 | * i386os9k.c (os9k_bfd_link_hash_table_free): Define. | |
192 | * ieee.c (ieee_bfd_link_hash_table_free): Define. | |
193 | * ihex.c (ihex_bfd_link_hash_table_free): Define. | |
194 | * libbfd-in.h (_bfd_nolink_bfd_link_hash_table_free): Define. | |
195 | (_bfd_generic_link_hash_table_free): Add prototype. | |
196 | * libcoff-in.h (_bfd_xcoff_bfd_link_hash_table_free): Add prototype. | |
197 | * libecoff.h (_bfd_ecoff_bfd_link_hash_table_free): Define. | |
198 | * linker.c (_bfd_generic_link_hash_table_free): New function. | |
199 | * mmo.c (mmo_bfd_link_hash_table_free): Define. | |
200 | * nlm-target.h (nlm_bfd_link_hash_table_free): Define. | |
201 | * oasys.c (oasys_bfd_link_hash_table_free): Define. | |
202 | * ppcboot.c (ppcboot_bfd_link_hash_table_free): Define. | |
203 | * som.c (som_bfd_link_hash_table_free): Define. | |
204 | * srec.c (srec_bfd_link_hash_table_free): Define. | |
205 | * tekhex.c (tekhex_bfd_link_hash_table_free): Define. | |
206 | * versados.c (versados_bfd_link_hash_table_free): Define. | |
207 | * vms.c (vms_bfd_link_hash_table_free): New function. | |
208 | * xcofflink.c (_bfd_xcoff_bfd_link_hash_table_free): New function. | |
209 | ||
210 | * coff-arm.c (coff_arm_link_hash_table_create): Use bfd_malloc | |
211 | instead of bfd_alloc. | |
212 | * coff-h8300.c (h8300_coff_link_hash_table_create): Likewise. | |
213 | * coff-mcore.c (coff_mcore_link_hash_table_create): Likewise. | |
214 | * coff-ppc.c (ppc_coff_link_hash_table_create): Likewise. | |
215 | * cofflink.c (_bfd_coff_link_hash_table_create): Likewise. | |
216 | * ecoff.c (_bfd_ecoff_bfd_link_hash_table_create): Likewise. | |
217 | * elf-m10300.c (elf32_mn10300_link_hash_table_create): Likewise. | |
218 | * elf.c (_bfd_elf_link_hash_table_create): Likewise. | |
219 | * elf32-arm.h (elf32_arm_link_hash_table_create): Likewise. | |
220 | * elf32-cris.c (elf_cris_link_hash_table_create): Likewise. | |
221 | * elf32-hppa.c (elf32_hppa_link_hash_table_create): Likewise. | |
222 | * elf32-i386.c (elf_i386_link_hash_table_create): Likewise. | |
223 | * elf32-m68k.c (elf_m68k_link_hash_table_create): Likewise. | |
224 | * elf32-s390.c (elf_s390_link_hash_table_create): Likewise. | |
225 | * elf32-sh.c (sh_elf_link_hash_table_create): Likewise. | |
226 | * elf64-alpha.c (elf64_alpha_bfd_link_hash_table_create): Likewise. | |
227 | * elf64-ppc.c (ppc64_elf_link_hash_table_create): Likewise. | |
228 | * elf64-s390.c (elf_s390_link_hash_table_create): Likewise. | |
229 | * elf64-sh64.c (sh64_elf64_link_hash_table_create): Likewise. | |
230 | * elf64-sparc.c (sparc64_elf_bfd_link_hash_table_create): Likewise. | |
231 | * elf64-x86-64.c (elf64_x86_64_link_hash_table_create): Likewise. | |
232 | * elfxx-mips.c (_bfd_mips_elf_link_hash_table_create): Likewise. | |
233 | * linker.c (_bfd_generic_link_hash_table_create): Likewise. | |
234 | * m68klinux.c (linux_link_hash_table_create): Likewise. | |
235 | * sparclinux.c (linux_link_hash_table_create): Likewise. | |
236 | * sunos.c (sunos_link_hash_table_create): Likewise. | |
237 | * xcofflink.c (_bfd_xcoff_bfd_link_hash_table_create): Likewise. | |
238 | ||
239 | * targets.c: Add _bfd_link_hash_table_free to xvec. | |
240 | ||
241 | * bfd-in2.h: Regenerate. | |
242 | * libbfd.h: Regenerate. | |
243 | * libcoff.h: Regenerate. | |
244 | ||
830629ab AM |
245 | 2002-04-04 Alan Modra <[email protected]> |
246 | ||
247 | * dep-in.sed: Cope with absolute paths. | |
248 | * Makefile.am (dep.sed): Subst TOPDIR, and not INCDIR. | |
249 | Run "make dep-am". | |
250 | * Makefile.in: Regenerate. | |
251 | * coff-arm.c: Fix copyright date. | |
252 | * cpu-h8300.c: Likewise. | |
253 | * cpu-i370.c: Likewise. | |
254 | * cpu-s390.c: Likewise. | |
255 | * cpu-mips.c: Likewise. | |
256 | * po/SRC-POTFILES.in: Regenerate. | |
257 | ||
c6e90b02 TS |
258 | 2002-04-04 Thiemo Seufer <[email protected]> |
259 | ||
260 | * Makefile.am: Add elfxx-mips.c to the known backends. | |
261 | (elf32-mips.lo): remove dependency to coff/external.h. | |
262 | * Makefile.in: Regenerate. | |
263 | * configure.in: Add elfxx-mips.lo to all vectors using elf32-mips.lo | |
264 | Remove elf32-mips.lo from 64 bit vectors. Update dependencies | |
265 | accordingly. | |
266 | * configure: Regenerate. | |
267 | * elf-bfd.h: Move all MIPS ELF specific prototypes to elfxx-mips.h. | |
268 | (irix_compat_t): IRIX compatibility level, moved from elf32-mips.c. | |
269 | (elf_backend_mips_irix_compat, elf_backend_mips_rtype_to_howto): New | |
270 | MIPS specific backend functions. | |
271 | * elf32-mips.c: Moved most code to elfxx-mips.c. | |
272 | (mips_elf_hi16_reloc): Rename from _bfd_mips_elf_hi16_reloc and make | |
273 | static. | |
274 | (mips_elf_lo16_reloc): Likewise, was _bfd_mips_elf_lo16_reloc. | |
275 | (mips_elf_got16_reloc): Likewise, was _bfd_mips_elf_got16_reloc. | |
276 | (mips_elf_gprel32_reloc): Likewise, was _bfd_mips_elf_gprel32_reloc. | |
277 | (mips_elf32_rtype_to_howto): Rename from mips_rtype_to_howto. Changed | |
278 | interface to allow selection of the right REL or RELA howto table. | |
279 | (mips_elf32_object_p): Rename from _bfd_mips_elf_object_p and made | |
280 | static. Let it refuse n32 objects. | |
281 | (elf32_mips_grok_prstatus): Rename from _bfd_elf32_mips_grok_prstatus. | |
282 | (elf32_mips_grok_psinfo): Rename from _bfd_elf32_mips_grok_psinfo. | |
283 | (elf32_mips_discard_info): Rename from _bfd_elf32_mips_discard_info. | |
284 | (elf32_mips_ignore_discarded_relocs): Rename from | |
285 | _bfd_elf32_mips_ignore_discarded_relocs. | |
286 | (elf32_mips_write_section): Rename from _bfd_elf32_mips_write_section. | |
287 | (elf32_mips_irix_compat): New function, replaces IRIX_COMPAT. | |
288 | (elf_mips_howto_table_rela): Remove. | |
289 | * elf64-mips.c: Moved most code to elfxx-mips.c. | |
290 | (bfd_elf64_bfd_reloc_type_lookup): Make static. | |
291 | (mips_elf64_rtype_to_howto): New function. | |
292 | (mips_elf64_object_p): Likewise. | |
293 | (elf64_mips_irix_compat): Likewise. | |
294 | * elfxx-mips.c: New file containing common code merged together from | |
295 | elf32-mips.c and elf64-mips.c. | |
296 | * elfxx-mips.h: New file containing MIPS specific prototypes from | |
297 | elf-bfd.h. | |
298 | * elfxx-target.h: Add handling for elf_backend_mips_irix_compat and | |
299 | elf_backend_mips_rtype_to_howto. | |
300 | ||
d8dce692 AM |
301 | 2002-04-04 Alan Modra <[email protected]> |
302 | ||
303 | * srec.c (MAXCHUNK, Chunk): Revise comments. | |
304 | (srec_write_record): Correct buffer size. | |
305 | (srec_write_header): Do without intermediate buffer. | |
306 | (srec_write_section): Validate Chunk. | |
307 | (srec_write_terminator): Pass NULL instead of dummy buffer. | |
308 | (srec_write_symbols): Pass file and symbol names directly to | |
309 | bfd_bwrite so sprintf won't overflow buffer. | |
310 | ||
b88a866a JJ |
311 | 2002-04-03 Jakub Jelinek <[email protected]> |
312 | ||
313 | * elf32-sparc.c (elf32_sparc_relocate_section): Don't emit dynamic | |
314 | PC relative relocs against hidden symbols. | |
315 | * elf64-sparc.c (sparc64_elf_relocate_section): Likewise. | |
316 | ||
d7866f04 AM |
317 | 2002-04-03 Alan Modra <[email protected]> |
318 | ||
319 | * elf.c (_bfd_elf_make_section_from_shdr): When setting section | |
320 | LMAs, loop over segments until p_vaddr and p_memsz specify an | |
321 | extent enclosing the section. | |
322 | ||
9e81ee67 NC |
323 | 2002-04-02 Nick Clifton <[email protected]> |
324 | ||
325 | * ihex.c (ihex_write_object_contents): Do not allow records to | |
326 | cross a 64K boundary - wrap if necessary. | |
327 | ||
d2b64500 JT |
328 | 2002-04-01 Nathan Williams <[email protected]> |
329 | ||
330 | * elf.c (elfcore_netbsd_get_lwpid): Fix off-by-one error | |
331 | which caused the returned LWP ID to always be 0. | |
332 | ||
e36f7d53 RH |
333 | 2002-04-01 Richard Henderson <[email protected]> |
334 | ||
335 | * elf32-sparc.c (WILL_CALL_FINISH_DYNAMIC_SYMBOL): New. | |
336 | (elf32_sparc_relocate_section): Use it to figure out when to | |
337 | initialize .got entries. | |
338 | * elf64-sparc.c: Similarly. | |
339 | ||
e92d460e AM |
340 | 2002-03-28 Alan Modra <[email protected]> |
341 | ||
342 | * linker.c (link_action): Ignore duplicate warning syms. | |
343 | (_bfd_generic_link_write_global_symbol): Follow warning symbol link. | |
344 | * elflink.h (elf_adjust_dynstr_offsets): Likewise. | |
345 | (elf_adjust_dynamic_symbol): Likewise. | |
346 | (elf_export_symbol): Likewise. | |
347 | (elf_link_find_version_dependencies): Likewise. | |
348 | (elf_link_assign_sym_version): Likewise. | |
349 | (elf_link_sec_merge_syms): Likewise. | |
350 | (elf_link_output_extsym): Likewise. | |
351 | (elf_gc_sweep_symbol): Likewise. | |
352 | (elf_gc_propagate_vtable_entries_used): Likewise. | |
353 | (elf_gc_smash_unused_vtentry_relocs): Likewise. | |
354 | (elf_gc_allocate_got_offsets): Likewise. | |
355 | (elf_collect_hash_codes): Likewise. | |
356 | * elflink.c (elf_link_renumber_hash_table_dynsyms): Likewise. | |
357 | * elf-hppa.h (elf_hppa_unmark_useless_dynamic_symbols): Likewise. | |
358 | (elf_hppa_remark_useless_dynamic_symbols): Likewise. | |
359 | * elf-m10300.c (elf32_mn10300_finish_hash_table_entry): Likewise. | |
360 | * elf32-arm.h (elf32_arm_discard_copies): Likewise. | |
361 | * elf32-cris.c (elf_cris_adjust_gotplt_to_got): Likewise. | |
362 | (elf_cris_discard_excess_dso_dynamics): Likewise. | |
363 | * elf32-hppa.c (clobber_millicode_symbols): Likewise. | |
364 | (mark_PIC_calls): Likewise. | |
365 | (allocate_plt_static): Likewise. | |
366 | (allocate_dynrelocs): Likewise. | |
367 | (readonly_dynrelocs): Likewise. | |
368 | * elf32-i386.c (allocate_dynrelocs): Likewise. | |
369 | (readonly_dynrelocs): Likewise. | |
370 | * elf32-i370.c (i370_elf_adjust_dynindx): Likewise. | |
371 | * elf32-m68k.c (elf_m68k_discard_copies): Likewise. | |
372 | * elf32-mips.c (mips_elf_output_extsym): Likewise. | |
373 | (mips_elf_sort_hash_table_f): Likewise. | |
374 | (mips_elf_check_mips16_stubs): Likewise. | |
375 | * elf32-s390.c (allocate_dynrelocs): Likewise. | |
376 | (readonly_dynrelocs): Likewise. | |
377 | * elf32-sh.c (sh_elf_discard_copies): Likewise. | |
378 | * elf32-xstormy16.c (xstormy16_relax_plt_check): Likewise. | |
379 | (xstormy16_relax_plt_realloc): Likewise. | |
380 | * elf64-alpha.c (elf64_alpha_calc_got_offsets_for_symbol): Likewise. | |
381 | (elf64_alpha_output_extsym): Likewise. | |
382 | * elf64-hppa.c (elf64_hppa_mark_exported_functions): Likewise. | |
383 | * elf64-mips.c (mips_elf64_sort_hash_table_f): Likewise. | |
384 | (mips_elf64_check_mips16_stubs): Likewise. | |
385 | (mips_elf64_output_extsym): Likewise. | |
386 | * elf64-ppc.c (func_desc_adjust): Likewise. | |
387 | (allocate_dynrelocs): Likewise. | |
388 | (readonly_dynrelocs): Likewise. | |
389 | * elf64-s390.c (allocate_dynrelocs): Likewise. | |
390 | (readonly_dynrelocs): Likewise. | |
391 | * elf64-sh64.c (sh64_elf64_discard_copies): Likewise. | |
392 | * elf64-x86-64.c (allocate_dynrelocs): Likewise. | |
393 | (readonly_dynrelocs): Likewise. | |
394 | * elfxx-ia64.c (elfNN_ia64_global_dyn_sym_thunk): Likewise. | |
395 | * aoutx.h (aout_link_write_other_symbol): Likewise. | |
396 | * cofflink.c (_bfd_coff_write_task_globals): Likewise. | |
397 | (_bfd_coff_write_global_sym): Likewise. | |
398 | * i386linux.c (linux_tally_symbols): Likewise. | |
399 | * m68klinux.c (linux_tally_symbols): Likewise. | |
400 | * sparclinux.c (linux_tally_symbols): Likewise. | |
401 | * pdp11.c (aout_link_write_other_symbol): Likewise. | |
402 | * sunos.c (sunos_scan_dynamic_symbol): Likewise. | |
403 | * xcofflink.c (xcoff_build_ldsyms): Likewise. | |
404 | (xcoff_write_global_symbol): Likewise. | |
405 | ||
406 | * cofflink.c (_bfd_coff_final_link): Formatting. | |
407 | * cpu-mips.c (mips_compatible): Make static, prototype. | |
408 | * elf32-i386.c (elf_i386_check_relocs): Formatting. | |
409 | * elf32-sh.c (sh_elf_size_dynamic_sections): Likewise. | |
410 | * elf64-alpha.c (elf64_alpha_output_extsym): Likewise. | |
411 | * elf64-mips.c (mips_elf64_sort_hash_table): Likewise. | |
412 | (mips_elf64_final_link): Likewise. | |
413 | * elflink.h (elf_link_find_version_dependencies): Remove duplicate | |
414 | prototype. | |
415 | ||
2106126f NC |
416 | 2002-03-27 Nick Clifton <[email protected]> |
417 | ||
418 | * coff-arm.c (SWAP_IN_RELOC_OFFSET): Define. | |
419 | (SWAP_OUT_RELOC_OFFSET): Define. | |
420 | ||
b99d1833 AM |
421 | 2002-03-27 Gregory Steuck <[email protected]> |
422 | ||
423 | * elf.c (_bfd_elf_get_symtab_upper_bound): Leave space for | |
424 | terminating NULL if empty symbol table. | |
425 | (_bfd_elf_get_dynamic_symtab_upper_bound): Likewise. | |
426 | ||
ad43ed4c L |
427 | 2002-03-26 H.J. Lu ([email protected]) |
428 | ||
429 | * elflink.h (elf_link_input_bfd): Revert the last change since | |
430 | the gcc exception handling isn't fixed yet. | |
431 | ||
3851fca4 L |
432 | 2002-03-26 H.J. Lu ([email protected]) |
433 | ||
434 | * elflink.h (elf_link_input_bfd): Complain about relocations | |
435 | against local symbols in discarded sections. | |
436 | ||
b91afed7 AM |
437 | 2002-03-26 Alan Modra <[email protected]> |
438 | ||
439 | * elflink.h (elf_gc_mark): Don't recurse into non-ELF sections. | |
440 | ||
dba143ef AM |
441 | 2002-03-23 Alan Modra <[email protected]> |
442 | ||
443 | * elf.c (_bfd_elf_make_section_from_shdr): Don't set lma based on | |
444 | section file offset for !SEC_LOAD sections. | |
445 | ||
ee29b9fb RE |
446 | 2002-03-21 Richard Earnshaw <[email protected]> |
447 | ||
830629ab AM |
448 | * elf32-arm.h (elf32_arm_final_link_relocate <case R_ARM_GOTOFF>, |
449 | <case R_ARM_GOT>): Handle relocations to Thumb functions. | |
ee29b9fb | 450 | |
54327882 AM |
451 | 2002-03-21 Alan Modra <[email protected]> |
452 | ||
453 | * coff64-rs6000.c (_bfd_xcoff64_put_symbol_name): Prototype. | |
454 | Whitespace changes. | |
455 | * archive.c: Update copyright date. | |
456 | * bfd-in2.h: Regenerate. | |
457 | * libbfd.h: Regenerate. | |
458 | * Makefile.am: Run "make dep-am" | |
459 | * Makefile.in: Regenerate. | |
460 | * po/SRC-POTFILES.in: Regenerate. | |
461 | ||
1ee24f27 DJ |
462 | 2002-03-20 Daniel Jacobowitz <[email protected]> |
463 | ||
464 | * dwarf2.c (struct funcinfo): Move up. | |
465 | (lookup_address_in_function_table): New argument function_ptr. | |
466 | Set it. | |
467 | (lookup_address_in_line_table): New argument function. If function | |
468 | is non-NULL, use it to handle ``addr'' before the first line note of | |
469 | the function. | |
470 | (comp_unit_find_nearest_line): Update and swap calls to | |
471 | lookup_address_in_function_table and lookup_address_in_line_table. | |
472 | * syms.c (_bfd_stab_section_find_nearest_line): Use the first | |
473 | N_SLINE encountered if we see an N_FUN before any N_SLINE. | |
474 | ||
51b9608c TR |
475 | 2002-03-20 Tom Rix <[email protected]> |
476 | ||
477 | * coff-rs6000.c (_bfd_xcoff_stat_arch_elt): Renamed from | |
478 | _bfd_xcoff_generic_stat_arch_elt. Fix format check. | |
479 | * coff64-rs6000.c : Use _bfd_xcoff_stat_arch_elt. | |
480 | ||
789c90aa TR |
481 | 2002-03-19 Tom Rix <[email protected]> |
482 | ||
483 | * xcofflink.c (_bfd_xcoff_bfd_link_add_symbols): Look through all | |
484 | dynamic objects in archives. | |
485 | ||
1da54d81 HPN |
486 | 2002-03-19 Hans-Peter Nilsson <[email protected]> |
487 | ||
488 | * elflink.h (NAME(bfd_elf,record_link_assignment)): Don't set | |
489 | STT_NOTYPE symbols to STT_OBJECT. | |
490 | ||
7831a775 | 491 | 2002-03-18 Jan Hubicka <[email protected]> |
beb43bb9 JH |
492 | |
493 | * cpu-i386.c (bfd_x86_64_arch): Rename to "i386:x86-64" | |
494 | ||
eb1e0e80 NC |
495 | 2002-03-18 Tom Rix <[email protected]> |
496 | ||
497 | * aix5ppc.core.c : New file for AIX 5 64 bit core support. | |
498 | * bfd-in.h : Add bfd_xcoff_ar_archive_set_magic declaration. | |
499 | * coff-rs6000 (do_pad) : New function for archive padding. | |
500 | (do_copy) : New function for object file copying in archives. | |
501 | (do_shared_object_padding) : New function for padding shared | |
502 | objects to their text section alignment in archives. | |
503 | (bfd_xcoff_ar_achive_set_magic) : Stub. | |
504 | (xcoff_write_armap_big) : Use do_copy and do_pad. | |
505 | (xcoff_write_archive_contents_big) : Use do_shared_object_padding, | |
506 | do_copy and do_pad. | |
507 | * coff64-rs6000.c (xcoff64_write_ojbect_contents) : Use | |
508 | bfd_xcoff_magic_number. | |
509 | (xcoff64_bad_format_hook) : New function for _bfd_bad_format_hook | |
510 | fop. | |
511 | (xcoff_backend_data_r) : Use xcoff64_bad_format_hook. | |
512 | (bfd_xcoff_aix5_backend_data) : New Aix 5 backend data. | |
513 | (aix5coff64_vec) : New Aix 5 target aix5coff64-rs6000. | |
514 | * rs6000-core.c : Update copyright date. | |
515 | * xcofflink.c (bfd_xcoff_size_dynamic_sections): Check for NULL | |
516 | csectpp. | |
517 | * coffcode.h (coff_new_section_hook) : Use new accessor macros. | |
518 | (coff_set_arch_mach_hook) : Add Aix 5 U64_TOCMAGIC magic #. | |
519 | (coff_set_flags) : Use bfd_xcoff_magic_number. | |
520 | * libxcoff.h (bfd_xcoff_is_xcoff64): Add U64_TOCMAGIC. | |
521 | * configure.in : Add powerpc-*-aix5 and rs6000-*-aix5 support. | |
522 | * Makefile.am : Same. | |
523 | * config.bfd : Same. | |
524 | * targets.c : Same. | |
525 | * configure : Regnerate. | |
526 | * Makefile.in : Same. | |
527 | * bfd-in2.h : Same. | |
528 | ||
a1c259a1 NC |
529 | 2002-03-18 Nick Clifton <[email protected]> |
530 | ||
531 | * po/fr.po: Updated version. | |
532 | ||
4dae1ae7 AM |
533 | 2002-03-18 Alan Modra <[email protected]> |
534 | ||
535 | * libbfd.c (bfd_write_bigendian_4byte_int): Return true iff success. | |
536 | * libbfd.h: Regenerate. | |
537 | * archive.c (coff_write_armap): Pass on failures from | |
538 | bfd_write_bigendian_4byte_int. | |
539 | ||
36b4f6e7 L |
540 | 2002-03-14 H.J. Lu <[email protected]> |
541 | ||
542 | * elflink.h (NAME(bfd_elf,size_dynamic_sections)): Set the BFD | |
543 | error to bfd_error_nonrepresentable_section for reinit_array | |
544 | section in DSO. | |
545 | ||
a1aefc76 NC |
546 | 2002-03-14 Nick Clifton <[email protected]> |
547 | ||
a181be0a NC |
548 | * coffcode.h (coff_slurp_symbol_table): When adding BSF_WEAK flag, |
549 | OR it in rather than replacing previously selected flags. | |
550 | ||
a1aefc76 NC |
551 | * elfxx-target.h (TARGET_BIG_SYM): Set ar_max_namelen to 15. |
552 | (TARGET_LITTLE_SYM): Set ar_max_namelen to 15. | |
553 | ||
c119f9b8 AM |
554 | 2002-03-14 Alan Modra <[email protected]> |
555 | ||
556 | * cpu-mips.c (mips_compatible): New. Don't check bits_per_word. | |
557 | (N): Use the above. | |
558 | * elflink.h (elf_bfd_final_link): Revert last change. Instead, | |
559 | ensure reloc size matches before calling elf_link_input_bfd. | |
560 | Add an assert to check reloc size when counting output relocs. | |
561 | ||
c295a511 NC |
562 | 2002-03-14 Nick Clifton <[email protected]> |
563 | ||
564 | * mmo.c (mmo_get_loc): Return NULL rather than false. | |
565 | ||
9ce88e60 NC |
566 | 2002-03-13 Nick Clifton <[email protected]> |
567 | ||
568 | * po/fr.po: Updated version. | |
569 | ||
4ddafab0 AM |
570 | 2002-03-13 Alan Modra <[email protected]> |
571 | ||
b74fa2cd AM |
572 | * archures.c (bfd_default_compatible): Test bits_per_word. |
573 | * cpu-i386.c (i386_compatible): Remove. Replace occurrences with | |
574 | bfd_default_compatible. | |
575 | * cpu-i370.c (i370_compatible): Likewise. | |
576 | * cpu-sparc.c (sparc_compatible): Likewise. | |
577 | * cpu-h8300.c (compatible): Test in->arch == out->arch. | |
578 | ||
40b829d4 AM |
579 | * elflink.h: Formatting fixes. |
580 | (elf_link_output_extsym): Merge undefined and undef weak cases. | |
581 | ||
4ddafab0 AM |
582 | * elflink.h (elf_bfd_final_link): Only call elf_link_input_bfd |
583 | when word size of input matches output word size. | |
584 | ||
dd53c801 AJ |
585 | 2002-03-12 Andreas Jaeger <[email protected]> |
586 | ||
587 | * cpu-i386.c (i386_compatible): New. Use it instead of | |
588 | bfd_default_compatible. | |
589 | ||
aa066ac8 L |
590 | 2002-03-07 H.J. Lu ([email protected]) |
591 | ||
592 | * coff-sh.c (shcoff_reloc_map): Use bfd_reloc_code_real_type | |
593 | as the type for bfd_reloc_val. | |
594 | ||
1bf42538 JL |
595 | 2002-03-05 John David Anglin <[email protected]> |
596 | ||
597 | * elf-hppa.h (elf_hppa_is_dynamic_loader_symbol): New function. | |
598 | (elf_hppa_relocate_section): Ignore undefined dynamic loader symbols. | |
599 | (elf_hppa_final_link_relocate): Correct relocations for indirect | |
600 | references to local data through the DLT. Fix .opd creation for | |
601 | local symbols using R_PARISC_LTOFF_FPTR32 and R_PARISC_FPTR64 | |
602 | relocations. Use e_lsel selector for R_PARISC_DLTIND21L, | |
603 | R_PARISC_LTOFF_FPTR21L and R_PARISC_LTOFF_TP21L as per | |
604 | "Processor-Specific ELF for PA_RISC, Version 1.43" document. | |
605 | Similarly, use e_rsel for DLT and LTOFF 'R' relocations. | |
606 | * elf32-hppa.c (final_link_relocate): Revise relocation selectors | |
607 | as per "Processor-Specific ELF for PA_RISC, Version 1.43" document. | |
608 | ||
86eaf01e JJ |
609 | 2002-03-05 Jakub Jelinek <[email protected]> |
610 | ||
611 | * merge.c (_bfd_merge_sections): Don't segfault if there | |
612 | is nothing to merge due to GC. | |
613 | ||
c44233aa AM |
614 | 2002-03-05 Alan Modra <[email protected]> |
615 | ||
039cc25f AM |
616 | * elf32-hppa.c (clobber_millicode_symbols): Remove hack to keep |
617 | symbols that have been forced local. | |
618 | ||
c44233aa AM |
619 | * elflink.h (elf_bfd_final_link): Call elf_link_output_extsym |
620 | to output forced local syms for non-shared link. | |
621 | (elf_link_output_extsym): Tweak condition for calling backend | |
622 | adjust_dynamic_symbol so that previous behaviour is kept. | |
623 | Whitespace changes throughout file. | |
624 | ||
25e27870 L |
625 | 2002-03-04 H.J. Lu <[email protected]> |
626 | ||
627 | * elf.c (bfd_section_from_shdr): Handle special sections, | |
628 | .init_array, .fini_array and .preinit_array. | |
629 | (elf_fake_sections): Likewise. | |
630 | ||
631 | * elflink.h (NAME(bfd_elf,size_dynamic_sections)): Create the | |
632 | DT entry only if the section is in output for .init_array, | |
633 | .fini_array and .preinit_array. Complain about .preinit_array | |
634 | section in DSO. | |
635 | (elf_bfd_final_link): Warn zero size for .init_array, | |
636 | .fini_array and .preinit_array sections. | |
637 | ||
638 | * elfxx-ia64.c (elfNN_ia64_section_from_shdr): Remove | |
639 | SHT_INIT_ARRAY, SHT_FINI_ARRAY and SHT_PREINIT_ARRAY. | |
640 | (elfNN_ia64_fake_sections): Remove .init_array, .fini_array and | |
641 | .preinit_array. | |
642 | ||
bb2a49f2 AM |
643 | 2002-03-04 Alan Modra <[email protected]> |
644 | ||
645 | * configure.in (WIN32LIBADD): Don't eval PICFLAG assignment. | |
646 | * configure: Regenerate. | |
647 | ||
38487e5e TR |
648 | 2002-03-02 Tom Rix <[email protected]> |
649 | ||
c44233aa AM |
650 | * coff64-rs6000.c (xcoff64_howto_table): Replace howto types with |
651 | symbolic equiv. | |
38487e5e TR |
652 | * coff-rs6000.c (xcoff_howto_table): Same. |
653 | ||
30831527 RH |
654 | 2002-03-01 David Mosberger <[email protected]> |
655 | ||
656 | * elflink.h (size_dynamic_sections): If section named | |
657 | ".preinit_array" exists, create DT_PREINIT_ARRAY and | |
658 | DT_PREINIT_ARRAYSZ entries in dynamic table. Analogously for | |
659 | ".init_array" and ".fini_array". | |
660 | (elf_bfd_final_link): Handle DT_PREINIT_ARRAYSZ, DT_INIT_ARRAYSZ, | |
661 | DT_FINI_ARRAYSZ, DT_PREINIT_ARRAY, DT_INIT_ARRAY, and | |
662 | DT_FINI_ARRAY. | |
663 | ||
c8e5ddc8 AM |
664 | 2002-02-26 Andrew Macleod <[email protected]> |
665 | ||
666 | * elflink.h (elf_bfd_final_link): Don't crash on SHN_UNDEF local | |
667 | dynsyms. | |
668 | ||
96e0dda4 AM |
669 | 2002-02-25 Alan Modra <[email protected]> |
670 | ||
1c5b6bf8 AM |
671 | * elf64-hppa.h: Update copyright date. |
672 | ||
96e0dda4 AM |
673 | * elf64-ppc.c (ppc64_elf_check_relocs): Warning fix. |
674 | (ppc64_elf_relocate_section): Don't generate power4 style branch | |
675 | hints for *_BRTAKEN and *_BRNTAKEN relocs. | |
676 | ||
0fb19cbc JJ |
677 | 2002-02-22 Jakub Jelinek <[email protected]> |
678 | ||
679 | * elf64-sh64.c (sh_elf64_relocate_section): Fix a typo from my | |
680 | last patch. | |
681 | * elf64-x86-64.c (elf64_x86_64_relocate_section): Likewise. | |
682 | ||
c434dee6 AJ |
683 | 2002-02-21 Andreas Jaeger <[email protected]> |
684 | ||
685 | * elf64-x86-64.c: Major rework that introduces all recent changes | |
686 | to the x86-64 backend. Get a closer match to elf32-i386. | |
687 | (struct elf64_x86_64_dyn_relocs): Rename from | |
688 | elf64_x86_64_pcrel_relocs_copied, add additional fields. Change | |
689 | all users. | |
690 | (struct elf64_x86_64_link_hash_table): Add short cuts to some | |
691 | sections. | |
692 | (link_hash_newfunc): Rename from elf64_x86_64_link_hash_newfunc, | |
693 | remove casts, initialize new hash members. | |
694 | (create_got_section): New. | |
695 | (elf64_x86_64_create_dynamic_sections): New. | |
696 | (elf64_x86_64_copy_indirect_symbol): New. | |
697 | (elf64_x86_64_check_relocs): Don't allocate space for dynamic | |
698 | relocs, .got or .relgot here but do it in allocate_dynrelocs. | |
699 | Reference count possible .plt and .got entries. Don't test input | |
700 | section SEC_READONLY here to try to avoid copy relocs, and keep | |
701 | dyn_relocs regardless of ELF_LINK_NON_GOT_REF. Don't set | |
702 | DF_TEXTREL here. Delay setting of variables until needed. Cache | |
703 | pointer to "sreloc" section in elf_section_data. Tweak condition | |
704 | under which .got created. Report files with bad relocation | |
705 | section names. | |
706 | (elf64_x86_64_gc_sweep_hook): Sweep dyn_relocs and local_dynrel. | |
707 | Reference count possible .plt entries. Don't deallocate .got and | |
708 | .relgot space here. | |
709 | (elf64_x86_64_adjust_dynamic_symbol): Handle nocopyreloc. Don't | |
710 | do copy reloc processing for weakdefs. Remove redundant casts and | |
711 | aborts. Delay setting of vars until needed. Move creation of | |
712 | dynamic symbols and allocation of .plt and .rela.plt to | |
713 | allocate_dynrelocs. Replace BFD_ASSERT with abort. | |
714 | (WILL_CALL_FINISH_DYNAMIC_SYMBOL): New. | |
715 | (allocate_dynrelocs): New. | |
716 | (readonly_dynrelocs): New. | |
717 | (elf64_x86_64_size_dynamic_sections): Call readonly_dynrelocs. | |
718 | Allocate space for dyn relocs. Replace BFD_ASSERT with abort. | |
719 | Zero out the dynamic allocated content space. | |
720 | (elf64_x86_64_discard_copies): Removed. | |
721 | (elf64_x86_64_relocate_section): Make use of dynamic section | |
722 | short-cuts. Localise vars, and delay setting. Better error | |
723 | reporting, replace BFD_ASSERT with abort. Check | |
724 | ELF_LINK_HASH_DEF_DYNAMIC to see if a symbol is not defined in the | |
725 | regular object file and tread the weak definition as the normal | |
726 | one. Don't discard relocs for undefweak or undefined symbols and | |
727 | check !DEF_REGULAR as well as DEF_DYNAMIC in test for avoided copy | |
728 | relocs. | |
729 | (elf64_x86_64_finish_dynamic_symbol): Don't copy relocs for | |
730 | symbols that have been forced local. Use same test to decide if | |
731 | we can use a relative reloc for got as relocate_section. Expand | |
732 | SHN_UNDEF comment. Move expressions out of function calls. | |
733 | Replace BFD_ASSERT with abort. | |
734 | (bfd_elf64_bfd_final_link): Removed. | |
735 | (elf_backend_copy_indirect_symbol): Define. | |
736 | ||
ff3a6ee3 TR |
737 | 2002-02-20 Tom Rix <[email protected]> |
738 | ||
739 | * coff-rs6000.c (xcoff_howto_table): Add 16 bit R_BA. | |
740 | (_bfd_xcoff_reloc_type_lookup): Use it. | |
741 | * coff64-rs6000.c (xcoff64_howto_table): Same. | |
742 | (xcoff64_reloc_type_lookup): Same. | |
c434dee6 | 743 | |
a68d41fb AM |
744 | 2002-02-20 Peter Schauer <[email protected]> |
745 | ||
746 | * osf-core.c (osf_core_vec): OSF/1 (Digital Unix) core files are | |
747 | little endian. | |
748 | ||
befc3abb MS |
749 | 2002-02-19 Martin Schwidefsky <[email protected]> |
750 | ||
751 | * archures.c (bfd_mach_s390_esa): Rename to bfd_mach_s390_31. | |
752 | (bfd_mach_s390_esame): Rename to bfd_mach_s390_64. | |
753 | * bfd-in2.h: Regenerate. | |
754 | * cpu-s390.c (arch_info_struct): Use renamed architecture defines. | |
755 | Replace architecture name "s390" with "s390:31-bit" and "s390:esame" | |
756 | with "s390:64-bit". | |
757 | * elf32-s390.c (elf_howto_table): Add 32 bit pc relative relocations. | |
758 | (elf_s390_reloc_type_lookup): Likewise. | |
759 | (elf_s390_check_relocs): Likewise. | |
760 | (elf_s390_gc_sweep_hook): Likewise. | |
761 | (elf_s390_relocate_section): Likewise. | |
762 | (elf_s390_object_p): Use renamed architecture define. | |
763 | * elf64-s390.c (elf_s390_object_p): Use renamed architecture define. | |
764 | ||
6eeeec9b FCE |
765 | 2002-02-19 Frank Ch. Eigler <[email protected]> |
766 | ||
767 | * syms.c (stt[]): Sorted. Added .init/.fini -> "t" mapping. | |
768 | ||
0bb2d96a JJ |
769 | 2002-02-19 Jakub Jelinek <[email protected]> |
770 | ||
771 | * elf-eh-frame.c (_bfd_elf_discard_section_eh_frame): Enable | |
772 | absptr -> pcrel optimization for shared libs. | |
773 | Only create minimal .eh_frame_hdr if absptr FDE encoding in shared | |
774 | library cannot be converted to pcrel. | |
775 | (_bfd_elf_eh_frame_section_offset): Return -2 if making absptr | |
776 | relative. | |
777 | * elf32-i386.c (elf_i386_relocate_section): If | |
778 | _bfd_elf_section_offset returned -2, skip, but make sure the | |
779 | relocation is installed. | |
780 | * elf32-arm.h (elf32_arm_final_link_relocate): Likewise. | |
781 | * elf32-cris.c (cris_elf_relocate_section): Likewise. | |
782 | * elf32-hppa.c (elf32_hppa_relocate_section): Likewise. | |
783 | * elf32-i370.c (i370_elf_relocate_section): Likewise. | |
784 | * elf32-m68k.c (elf_m68k_relocate_section): Likewise. | |
785 | * elf32-ppc.c (ppc_elf_relocate_section): Likewise. | |
786 | * elf32-s390.c (elf_s390_relocate_section): Likewise. | |
787 | * elf32-sh.c (sh_elf_relocate_section): Likewise. | |
788 | * elf32-sparc.c (elf32_sparc_relocate_section): Likewise. | |
789 | * elf64-ppc.c (ppc64_elf_relocate_section): Likewise. | |
790 | * elf64-s390.c (elf_s390_relocate_section): Likewise. | |
791 | * elf64-sh64.c (sh_elf64_relocate_section): Likewise. | |
792 | * elf64-sparc.c (sparc64_elf_relocate_section): Likewise. | |
793 | * elf64-x86-64.c (elf64_x86_64_relocate_section): Likewise. | |
794 | * elf64-alpha.c (elf64_alpha_relocate_section): Handle | |
795 | _bfd_elf_section_offset returning -2 the same way as -1. | |
796 | * elfxx-ia64.c (elfNN_ia64_install_dyn_reloc): Likewise. | |
797 | * elf32-mips.c (mips_elf_create_dynamic_relocation): Add FIXME | |
798 | and BFD_ASSERT. | |
799 | * elf64-mips.c (mips_elf64_create_dynamic_relocation): Likewise. | |
800 | ||
69f284c7 TR |
801 | 2002-02-18 Tom Rix <[email protected]> |
802 | ||
803 | * xcofflink.c (bfd_xcoff_link_gernate_rtinit): Add -brtl support. | |
804 | (bfd_xcoff_size_dynamic_sections): Same. | |
805 | * bfd-in.h (bfd_xcoff_link_generate_rtinit): Same. | |
806 | (bfd_xcoff_size_dynamic_sections): Same. | |
807 | * coff-rs6000.c (xcoff_generate_rtinit): Same. | |
808 | * coff-rs646000.c (xcoff64_generate_rtinit): Same. | |
809 | * libxcoff.h (struct xcoff_backend_data_rec): Same. | |
810 | * xcofflink.c (xcoff_build_ldsyms, xcoff_link_add_symbols): Clean. | |
811 | * bfd-in2.h: Regenerate. | |
812 | ||
82bd7b59 AM |
813 | 2002-02-18 Alan Modra <[email protected]> |
814 | ||
815 | * elf64-ppc.c (STFD_FR0_0R1, LFD_FR0_0R1, BLR): Define. | |
816 | (struct ppc_link_hash_table): Add sfpr. | |
817 | (ppc64_elf_link_hash_table_create): Init it. | |
818 | (ppc64_elf_create_dynamic_sections): Split creation of .stub and | |
819 | .glink out to.. | |
820 | (create_linkage_sections): ..here. Make .sfpr too. | |
821 | (ppc64_elf_check_relocs): Call create_linkage_sections, and set | |
822 | dynobj early. | |
823 | (MIN_SAVE_FPR, MAX_SAVE_FPR): Define. | |
824 | (ppc64_elf_func_desc_adjust): Look for missing ._savef* and | |
825 | ._restf* functions, and create as needed. | |
826 | (func_desc_adjust): Only force_local for shared libs. | |
827 | ||
ef1355e8 NC |
828 | 2002-02-18 David O'Brien <[email protected]> |
829 | ||
830 | * configure.in: Bump version number post 2.12 branching. | |
831 | * configure: Regenerate. | |
832 | ||
dfa36a69 HPN |
833 | 2002-02-17 Hans-Peter Nilsson <[email protected]> |
834 | ||
835 | * mmo.c: Correct and improve comments. | |
836 | (mmo_write_chunk): Store trailing byte in bfd buffer; don't | |
837 | zero-pad. Use input to fill up non-empty bfd buffer. | |
838 | (mmo_flush_chunk): New function. | |
839 | (mmo_write_loc_chunk): Add parameter last_vmap, all callers | |
840 | changed. Don't emit location specifier if VMA is same as | |
841 | *LAST_VMAP after omitting leading zero contents. Call | |
842 | mmo_flush_chunk before emitting location specifier. | |
843 | (mmo_write_loc_chunk_list): Call mmo_flush_chunk when finished | |
844 | with mmo_write_loc_chunk calls. | |
845 | (mmo_internal_write_section): Call mmo_flush_chunk after | |
846 | mmo_write_chunk. | |
847 | (mmo_write_symbols_and_terminator): Move :Main to first position | |
848 | in symbol array. Add faked one if it does not exist if there are | |
849 | other symbols. Don't add it if there are no symbols at all. Move | |
850 | out test for value of :Main from symbol loop. Rename table | |
851 | fakemain to maintable and variable mainsym to fakemain. | |
852 | ||
ccf00ab6 RH |
853 | 2002-02-15 Richard Henderson <[email protected]> |
854 | ||
855 | * elf64-alpha.c (elf64_alpha_relocate_section) [BRSGP]: A target | |
856 | section with no got matches any got. Simplify error generaion. | |
857 | ||
88eaccc2 AM |
858 | 2002-02-15 Alan Modra <[email protected]> |
859 | ||
fd96f80f AM |
860 | Support arbitrary length fill patterns. |
861 | * linker.c (bfd_new_link_order): Zero all fields with bfd_zalloc. | |
862 | (_bfd_default_link_order): Remove bfd_fill_link_order code. | |
863 | Call default_data_link_order. | |
864 | (default_fill_link_order): Delete. | |
865 | (default_data_link_order): New function. | |
866 | * elf32-mips.c (_bfd_mips_elf_final_link): Replace occurrences | |
867 | of bfd_fill_link_order with bfd_data_link_order. | |
868 | * elf64-alpha.c (elf64_alpha_final_link): Likewise. | |
869 | * elf64-mips.c (mips_elf64_final_link): Likewise. | |
870 | ||
88eaccc2 AM |
871 | * bfd.c (bfd_scan_vma): Clamp overflows to max bfd_vma value. |
872 | Correct value returned in "end" for "0x<non-hex>". | |
873 | ||
e2fd756b NC |
874 | 2002-02-14 Nick Clifton <[email protected]> |
875 | ||
876 | * cpu-arm.c (processors): Replace 'arch' field with 'mach'. | |
877 | (scan): Test against 'mach' field in info structure. | |
878 | ||
edd29cf9 AM |
879 | 2002-02-14 Alan Modra <[email protected]> |
880 | ||
881 | * elf.c (elf_fake_sections): Use SHT_NOBITS when SEC_NEVER_LOAD. | |
882 | ||
1e30956e | 883 | 2002-02-14 Matt Fredette <[email protected]> |
76f57f3a JT |
884 | |
885 | * elf32-m68k.c (elf32_m68k_print_private_bfd_data): Recognize | |
886 | EF_M68000. | |
887 | ||
bf36db18 NC |
888 | 2002-02-13 Nick Clifton <[email protected]> |
889 | ||
890 | * elf.c (_bfd_elf_make_section_from_shdr): Do not insist on | |
edd29cf9 AM |
891 | non-zero physical addresses when adjusting the LMAs of new |
892 | sections. | |
bf36db18 | 893 | |
189c6563 AM |
894 | 2002-02-12 John David Anglin <[email protected]> |
895 | ||
896 | * elf-hppa.h (elf_hppa_reloc_final_type): New function stripped | |
897 | from _bfd_elf_hppa_gen_reloc_type. | |
898 | (_bfd_elf_hppa_gen_reloc_type): Remove duplicate prototype. | |
899 | * elf32-hppa.h (elf32_hppa_reloc_final_type): Add protptype. | |
900 | * elf32-hppa.c: Include elf32-hppa.h before elf-hppa.h. | |
901 | * elf64-hppa.h (elf64_hppa_reloc_final_type): Add protptype. | |
902 | ||
e948afaf AO |
903 | 2002-02-12 Alexandre Oliva <[email protected]> |
904 | ||
905 | * elf-m10300.c (mn10300_elf_relax_section): Skip section before | |
906 | loading its contents if there's nothing to do in it. | |
907 | ||
19397422 AM |
908 | 2002-02-12 Alan Modra <[email protected]> |
909 | ||
0ad3a73b AM |
910 | * elf64-ppc.c (ppc64_elf_size_stubs): Correct test for crossing |
911 | 64k boundary. | |
912 | ||
19397422 AM |
913 | * elf64-ppc.c (ppc64_elf_size_dynamic_sections): Add dynamic |
914 | DT_PPC64_OPD and DT_PPC64_OPDSZ tags. | |
915 | (ppc64_elf_finish_dynamic_sections): Set values for them. | |
916 | ||
51316059 MS |
917 | 2002-02-11 Michael Snyder <[email protected]> |
918 | ||
919 | * elf-bfd.h (elfcore_write_lwpstatus): Add prototype. | |
920 | * elf.c (elfcore_grok_pstatus): Add prototype. | |
921 | (elfcore_grok_lwpstatus): Add prototype. | |
922 | (elfcore_write_lwpstatus): New function. | |
923 | (elfcore_write_pstatus): Fix typo, eliminate unnecessary memcpy. | |
924 | ||
518313c3 AO |
925 | 2002-02-11 Alexandre Oliva <[email protected]> |
926 | ||
927 | * elf32-sh.c: Added missing prototypes. | |
928 | * elf32-sh64.c: Likewise. | |
929 | (sh_elf_align_loads): Mark unused args as such. | |
930 | * elf64-sh64.c: Added missing prototypes. | |
931 | (struct elf_sh64_link_hash_entry): Fix typo. | |
932 | (sh_elf64_relocate_section): Fix info argument passed to | |
933 | _bfd_elf_section_offset. | |
934 | ||
2c73f9d8 AM |
935 | 2002-02-11 Alan Modra <[email protected]> |
936 | ||
937 | * Makefile.am: "make dep-am". | |
938 | * Makefile.in: Regenerate. | |
939 | * aclocal.m4: Regenerate. | |
940 | * config.in: Regenerate. | |
941 | * configure: Regenerate. | |
942 | ||
d426c6b0 DJ |
943 | 2002-02-10 Daniel Jacobowitz <[email protected]> |
944 | ||
945 | * coff-rs6000.c (xcoff_generate_rtinit): Silence uninitialized | |
946 | variable warnings. | |
947 | * elf32-sh.c (sh_elf_relax_section): Silence signed/unsigned | |
948 | comparison warning. | |
949 | * trad-core.c (trad_unix_core_file_p): Silence pointer/integer | |
950 | cast warnings for the common case. | |
951 | ||
e58ee0cd HPN |
952 | 2002-02-10 Hans-Peter Nilsson <[email protected]> |
953 | ||
954 | * config.bfd (sh-*-linux*, sh-*-elf* | sh-*-rtemself*): Add sh64 | |
955 | vectors. | |
956 | (sh-*-netbsdelf*): New, to trump sh*-*-netbsdelf* and add sh64 | |
957 | vectors. | |
958 | ||
7793f4d0 RH |
959 | 2002-02-09 Richard Henderson <[email protected]> |
960 | ||
961 | * elf64-alpha.c (elf64_alpha_howto): Add R_ALPHA_BRSGP. | |
962 | (elf64_alpha_reloc_map, elf64_alpha_check_relocs): Likewise. | |
963 | (elf64_alpha_relocate_section): Likewise. | |
964 | * reloc.c (BFD_RELOC_ALPHA_BRSGP): New. | |
965 | * bfd-in2.h, libbfd.h: Rebuild. | |
966 | ||
7e799044 HPN |
967 | 2002-02-09 Hans-Peter Nilsson <[email protected]> |
968 | ||
969 | * elf64-mmix.c (_bfd_mmix_finalize_linker_allocated_gregs): Check | |
970 | that base-plus-offset reloc accounting is consistent. | |
971 | (mmix_elf_relax_section): Keep base-plus-offset reloc accounting | |
972 | up to date for undefined symbols. | |
973 | ||
027d73eb EC |
974 | 2002-02-08 Eric Christopher <[email protected]> |
975 | ||
976 | From Rainer Orth <[email protected]> | |
977 | ||
978 | * elf32-mips.c (_bfd_mips_elf_fake_sections): Don't create .rela | |
979 | sections for the O32 ABI. | |
980 | ||
517662d4 CD |
981 | 2002-02-08 Chris Demetriou <[email protected]> |
982 | ||
983 | * elf32-arm.h: Fix formatting of _("..."). | |
984 | * elf32-d10v.c: Likewise. | |
985 | * elf32-m68k.c: Likewise. | |
986 | * elf32-mips.c: Likewise. | |
987 | ||
5e37cc46 NC |
988 | 2002-02-08 Ivan Guzvinec <[email protected]> |
989 | ||
990 | * coff-or32.c: Fix compile time warning messages. | |
991 | ||
fbca6ad9 AO |
992 | 2002-02-08 Alexandre Oliva <[email protected]> |
993 | ||
994 | Contribute sh64-elf. | |
995 | 2002-01-23 Alexandre Oliva <[email protected]> | |
996 | * reloc.c (R_SH_GOTPLT32, R_SH_GOT_LOW16, R_SH_GOT_MEDLOW16, | |
997 | R_SH_GOT_MEDHI16, R_SH_GOT_HI16, R_SH_GOTPLT_LOW16, | |
998 | R_SH_GOTPLT_MEDLOW16, R_SH_GOTPLT_MEDHI16, R_SH_GOTPLT_HI16, | |
999 | R_SH_PLT_LOW16, R_SH_PLT_MEDLOW16, R_SH_PLT_MEDHI16, | |
1000 | R_SH_PLT_HI16, R_SH_GOTOFF_LOW16, R_SH_GOTOFF_MEDLOW16, | |
1001 | R_SH_GOTOFF_MEDHI16, R_SH_GOTOFF_HI16, R_SH_GOTPC_LOW16, | |
1002 | R_SH_GOTPC_MEDLOW16, R_SH_GOTPC_MEDHI16, R_SH_GOTPC_HI16, | |
1003 | R_SH_GOT10BY4, R_SH_GOTPLT10BY4, R_SH_GOT10BY8, R_SH_GOTPLT10BY8, | |
1004 | R_SH_COPY64, R_SH_GLOB_DAT64, R_SH_JMP_SLOT64, R_SH_RELATIVE64): | |
1005 | New relocs. | |
1006 | * libbfd.h, bfd-in2.h: Rebuilt. | |
1007 | * elf32-sh.c (sh_elf_howto_table): Define new relocs. | |
1008 | (sh_reloc_map): Map them. | |
1009 | (PLT_ENTRY_SIZE, elf_sh_plt0_entry_be, elf_sh_plt0_entry_le, | |
1010 | elf_sh_plt_entry_be, elf_sh_plt_entry_le, elf_sh_pic_plt_entry_be, | |
1011 | elf_sh_pic_plt_entry_le, elf_sh_plt0_entry, elf_sh_plt_entry, | |
1012 | elf_sh_pic_plt_entry, elf_sh_sizeof_plt, elf_sh_plt_plt0_offset, | |
1013 | elf_sh_plt0_gotplt_offset, elf_sh_plt_temp_offset, | |
1014 | elf_sh_plt_symbol_offset, elf_sh_plt_reloc_offset, | |
1015 | movi_shori_putval) [INCLUDE_SHMEDIA]: New. | |
1016 | (elf_sh_link_hash_entry) [INCLUDE_SHMEDIA]: Add | |
1017 | datalabel_got_offset. | |
1018 | (sh_elf_link_hash_newfunc): Initialize it. | |
1019 | (sh_elf_relocate_section): Augment the scope of | |
1020 | seen_stt_datalabel. Introduce GOTPLT support. Extend GOTPC, PLT, | |
1021 | GOT and GOTOFF handling to new SHmedia relocation types. Support | |
1022 | GOT_BIAS. | |
1023 | (sh_elf_check_relocs): Likewise. | |
1024 | (sh_elf_finish_dynamic_symbol) [TARGET_SHMEDIA]: Set up values in | |
1025 | PLT entries using movi_shori_putval. Support GOT_BIAS. | |
1026 | (sh_elf_finish_dynamic_sections): Likewise. | |
1027 | * elf32-sh64.c (shmedia_prepare_reloc): Do not add addend to | |
1028 | relocation, it's now done by the caller. | |
1029 | (GOT_BIAS): New. | |
1030 | * elf64-sh64.c (GOT_BIAS, PLT_ENTRY_SIZE, elf_sh64_sizeof_plt, | |
1031 | elf_sh64_plt_plt0_offset, elf_sh64_plt0_gotplt_offset, | |
1032 | elf_sh64_plt_temp_offset, elf_sh64_plt_symbol_offset, | |
1033 | elf_sh64_plt_reloc_offset, ELF_DYNAMIC_INTERPRETER, | |
1034 | elf_sh64_pcrel_relocs_copied, elf_sh64_link_hash_entry, | |
1035 | elf_sh64_link_hash_table, sh64_elf64_link_hash_traverse, | |
1036 | sh64_elf64_hash_table): New. | |
1037 | (sh_elf64_howto_table): Introduce new relocs. | |
1038 | (sh_elf64_info_to_howto): Accept new PIC relocs. | |
1039 | (sh_elf64_relocate_section): Augment the scope of | |
1040 | seen_stt_datalabel. Support new PIC relocs. | |
1041 | (sh_elf64_check_relocs): Support new PIC relocs. | |
1042 | (elf_sh64_plt0_entry_be, elf_sh64_plt0_entry_le, | |
1043 | elf_sh64_plt_entry_be, elf_sh64_plt_entry_le, | |
1044 | elf_sh64_pic_plt_entry_be, elf_sh64_pic_plt_entry_le, | |
1045 | elf_sh64_plt0_entry, elf_sh64_plt_entry, elf_sh64_pic_plt_entry, | |
1046 | sh64_elf64_link_hash_newfunc, sh64_elf64_link_hash_table_create, | |
1047 | movi_shori_putval, movi_3shori_putval, | |
1048 | sh64_elf64_create_dynamic_sections, | |
1049 | sh64_elf64_adjust_dynamic_symbol, sh64_elf64_discard_copies, | |
1050 | sh64_elf64_size_dynamic_sections, | |
1051 | sh64_elf64_finish_dynamic_symbol, | |
1052 | sh64_elf64_finish_dynamic_sections): New. | |
1053 | (elf_backend_create_dynamic-sections, | |
1054 | bfd_elf64_bfd_link_hash_table_create, | |
1055 | elf_backend_adjust_dynamic_symbol, | |
1056 | elf_backend_size_dynamic_sections, | |
1057 | elf_backend_finish_dynamic_symbol, | |
1058 | elf_backend_finish_dynamic_sections, elf_backend_want_got_plt, | |
1059 | elf_backend_plt_readonly, elf_backend_want_plt_sym, | |
1060 | elf_backend_got_header_size, elf_backend_plt_header_size): | |
1061 | Define. | |
1062 | 2001-05-16 Alexandre Oliva <[email protected]> | |
1063 | * elf32-sh.c: Renumbered and renamed some SH5 relocations to | |
1064 | match official numbers and names; moved unmaching ones to the | |
1065 | range 0xf2-0xff. | |
1066 | * elf32-sh64.c, elf64-sh64.c: Likewise. | |
1067 | 2001-03-12 DJ Delorie <[email protected]> | |
1068 | * elf32-sh.c (sh_elf_relax_section): Don't relax SHmedia | |
1069 | sections. | |
1070 | 2001-03-12 DJ Delorie <[email protected]> | |
1071 | * elf32-sh64.c (shmedia_prepare_reloc): Validate relocs that must | |
1072 | be aligned. | |
1073 | * elf64-sh64.c (sh_elf64_relocate_section): Ditto. | |
1074 | 2001-01-14 Hans-Peter Nilsson <[email protected]> | |
1075 | * elf32-sh64.c (bfd_elf32_bfd_copy_private_section_data): Define. | |
1076 | (sh64_elf_fake_sections): Set type to SHT_SH5_CR_SORTED for a | |
1077 | .cranges section with SEC_SORT_ENTRIES set. | |
1078 | (sh64_backend_section_from_shdr): Set SEC_SORT_ENTRIES on an | |
1079 | incoming sorted .cranges section. | |
1080 | (sh64_bfd_elf_copy_private_section_data): New. | |
1081 | (sh64_elf_final_write_processing): Only sort .cranges and modify | |
1082 | start address if called by linker. | |
1083 | 2001-01-08 Ben Elliston <[email protected]> | |
1084 | * elf32-sh64.c (sh64_elf_final_write_processing): Activate | |
1085 | Hans-Peter Nilsson's set bit 0 patch from 2001-01-06. | |
1086 | * elf64-sh64.c (sh64_elf64_final_write_processing): Ditto. | |
1087 | 2001-01-06 Hans-Peter Nilsson <[email protected]> | |
1088 | * elf64-sh64.c (sh_elf64_howto_table): No open brace at start of | |
1089 | line. Add comments before all entries. | |
1090 | <R_SH_PT_16, R_SH_SHMEDIA_CODE>: Correct and clarify describing | |
1091 | comment. | |
1092 | (sh_elf64_reloc): Correct head comment. | |
1093 | (sh_elf64_relocate_section): Correct spacing. | |
1094 | <relocating for a local symbol>: Do not honour STO_SH5_ISA32; | |
1095 | instead call reloc_dangerous callback. | |
1096 | <case R_SH_SHMEDIA_CODE>: New case. | |
1097 | (sh_elf64_gc_mark_hook): Correct spacing. | |
1098 | (sh_elf64_check_relocs): Ditto. | |
1099 | * elf32-sh64.c (shmedia_prepare_reloc) <case R_SH_SHMEDIA_CODE>: | |
1100 | New case. | |
1101 | * elf32-sh.c: Correct #endif comments for #ifndef-wrapped | |
1102 | functions. | |
1103 | (sh_elf_howto_table) <R_SH_PT_16, R_SH_SHMEDIA_CODE>: Correct, | |
1104 | clarify describing comment. Add comments before all entries. | |
1105 | (sh_elf_relocate_section) <relocating for a local symbol>: Do not | |
1106 | honour STO_SH5_ISA32; instead call reloc_dangerous callback. | |
1107 | 2001-01-06 Hans-Peter Nilsson <[email protected]> | |
1108 | Sort .cranges section in final link. Prepare to set bit 0 on | |
1109 | entry address. | |
1110 | * elf32-sh64.c (struct sh64_find_section_vma_data): New. | |
1111 | (sh64_elf_link_output_symbol_hook): Fix typo in prototype. | |
1112 | (sh64_elf_set_mach_from_flags): Set SEC_DEBUGGING on incoming | |
1113 | .cranges section. | |
1114 | (sh64_backend_section_from_shdr): New, to recognize | |
1115 | SHT_SH5_CR_SORTED on incoming .cranges section. | |
1116 | (elf_backend_section_from_shdr): Define. | |
1117 | (sh64_elf_final_write_processing): Sort outgoing .cranges | |
1118 | section. (New, temporarily disabled:) Set bit 0 on entry address | |
1119 | according to ISA type. | |
1120 | (sh64_find_section_for_address): New. | |
1121 | (crange_qsort_cmpb, crange_qsort_cmpl, crange_bsearch_cmpb, | |
1122 | crange_bsearch_cmpl): Move here from opcodes/sh64-dis.c. | |
1123 | (sh64_address_in_cranges): Move here from opcodes/sh64-dis.c. Use | |
1124 | bfd_malloc, not xmalloc. | |
1125 | (sh64_get_contents_type): Move here from opcodes/sh64-dis.c. Make | |
1126 | global. | |
1127 | * elf32-sh64.c (sh64_elf64_final_write_processing): New, (but | |
1128 | temporarily disabled) setting bit 0 on entry address. | |
1129 | (elf_backend_final_write_processing): Define. | |
1130 | 2001-01-05 Hans-Peter Nilsson <[email protected]> | |
1131 | * elf32-sh.c (sh_elf_howto_table) <R_SH_PT_16>: Adjust fields to | |
1132 | be a proper relocation for PTA and PTB rather than a marker. | |
1133 | <R_SH_IMMU5, R_SH_IMMS6, R_SH_IMMU6, R_SH_IMMS10, R_SH_IMMS10BY2, | |
1134 | R_SH_IMMS10BY4, R_SH_IMMS10BY8, R_SH_IMMS16, R_SH_IMMU16, | |
1135 | R_SH_IMM_LOW16, R_SH_IMM_LOW16_PCREL, R_SH_IMM_MEDLOW16, | |
1136 | R_SH_IMM_MEDLOW16_PCREL, R_SH_IMM_MEDHI16, R_SH_IMM_MEDHI16_PCREL, | |
1137 | R_SH_IMM_HI16, R_SH_IMM_HI16_PCREL, R_SH_64, R_SH_64_PCREL>: | |
1138 | Zero src_mask. | |
1139 | * elf64-sh64.c: Ditto. | |
1140 | (sh_elf64_relocate_section) <case R_SH_PT_16>: New case. | |
1141 | * elf32-sh64.c: Include opcodes/sh64-opc.h | |
1142 | (shmedia_prepare_reloc): Take a bfd_link_info pointer as first | |
1143 | argument. Drop const qualifiers from "bfd *" and "bfd_byte *" | |
1144 | parameters. No unused parameters. Caller changed. | |
1145 | <case R_SH_PT_16>: New case. | |
1146 | * Makefile.am (elf32-sh64.lo): Add dependency on sh64-opc.h. | |
1147 | * Makefile.in: Regenerate. | |
1148 | 2000-12-30 Hans-Peter Nilsson <[email protected]> | |
1149 | * elf64-sh64.c (sh64_elf64_fake_sections): Set SHF_SH5_ISA32 for | |
1150 | all code sections. | |
1151 | (sh_elf64_set_mach_from_flags): Change from EF_SH64 to EF_SH5. | |
1152 | (sh64_elf_merge_private_data): Ditto. | |
1153 | * elf32-sh64.c (sh64_elf_fake_sections): Use sh64_elf_section_data | |
1154 | to access stored section flags. | |
1155 | (sh64_elf_final_write_processing): Return immediately unless | |
1156 | called by linker. Use sh64_elf_section_data (cranges) to get size | |
1157 | of linker-generated cranges entries. | |
1158 | (sh64_elf_copy_private_data): Add missing "return true". | |
1159 | (sh64_elf_set_mach_from_flags): Change from EF_SH64 to EF_SH5. | |
1160 | (sh_elf64_merge_private_data): Ditto. | |
1161 | 2000-12-19 Hans-Peter Nilsson <[email protected]> | |
1162 | * elf64-sh64.c (sh64_elf64_fake_sections): New, copy of | |
1163 | elf64-sh64.c:sh64_elf_fake_sections. | |
1164 | (elf_backend_fake_sections): Define as sh64_elf64_fake_sections. | |
1165 | 2000-12-18 Hans-Peter Nilsson <[email protected]> | |
1166 | * elf32-sh64.c (sh64_elf_copy_private_data_internal): Delete. | |
1167 | (sh64_elf_final_write_processing): New. | |
1168 | (elf_backend_final_write_processing): Define. | |
1169 | (sh64_elf_fake_sections): Get header flags from tdata field. | |
1170 | (sh64_elf_copy_private_data): Do not call | |
1171 | sh64_elf_copy_private_data_internal, just copy e_flags field. | |
1172 | (sh64_elf_merge_private_data): Do not call | |
1173 | sh64_elf_copy_private_data_internal. | |
1174 | 2000-12-12 Hans-Peter Nilsson <[email protected]> | |
1175 | Remove EF_SH64_ABI64, let ELF size make difference. | |
1176 | Remove SH64-specific BFD section flag. | |
1177 | * elf32-sh64.c (sh64_elf_fake_sections): Recognize section as | |
1178 | containing SHmedia through elf_section_data (asect)->tdata | |
1179 | non-zero, not using a BFD section flag. | |
1180 | (sh64_elf_set_mach_from_flags): Don't recognize EF_SH64_ABI64. | |
1181 | (sh64_elf_merge_private_data): Similar. | |
1182 | (elf_backend_section_flags): Don't define. | |
1183 | (sh64_elf_backend_section_flags): Delete. | |
1184 | * elf64-sh64.c (sh_elf64_set_mach_from_flags): Recognize EF_SH64, | |
1185 | not EF_SH64_ABI64. | |
1186 | (sh_elf64_merge_private_data): Similar. | |
1187 | * section.c (Section flags definitions): Don't define | |
1188 | SEC_SH_ISA_SHMEDIA. | |
1189 | (bfd-in2.h): Regenerate. | |
1190 | 2000-12-09 Hans-Peter Nilsson <[email protected]> | |
1191 | Make DataLabel references work with partial linking. | |
1192 | * elf32-sh64.c: Fix formatting. | |
1193 | (sh64_elf_link_output_symbol_hook): New. | |
1194 | (elf_backend_link_output_symbol_hook): Define to | |
1195 | sh64_elf_link_output_symbol_hook. | |
1196 | (sh64_elf_add_symbol_hook): Make DataLabel symbol just global | |
1197 | undefined if partial linking. Adjust sanity check. | |
1198 | * elf64-sh64.c (sh64_elf64_link_output_symbol_hook): New. | |
1199 | (elf_backend_link_output_symbol_hook): Define to | |
1200 | sh64_elf64_link_output_symbol_hook. | |
1201 | (sh64_elf64_add_symbol_hook): Make DataLabel symbol just global | |
1202 | undefined if partial linking. Adjust sanity check. | |
1203 | 2000-12-07 Hans-Peter Nilsson <[email protected]> | |
1204 | Implement semantics for inter-file DataLabel references. | |
1205 | * elf64-sh64.c (DATALABEL_SUFFIX): Define. | |
1206 | (sh64_elf64_add_symbol_hook): New. | |
1207 | (sh_elf64_relocate_section): If passing an indirect symbol with | |
1208 | st_type STT_DATALABEL on the way to a symbol with st_other | |
1209 | STO_SH5_ISA32, do not bitor 1 to the relocation. | |
1210 | (elf_backend_add_symbol_hook): Define to | |
1211 | sh64_elf64_add_symbol_hook. | |
1212 | * elf64-sh32.c: Tweak comments. | |
1213 | (DATALABEL_SUFFIX): Define. | |
1214 | (sh64_elf_add_symbol_hook): New. | |
1215 | (elf_backend_add_symbol_hook): Define to sh64_elf_add_symbol_hook. | |
1216 | * elf32-sh.c (sh_elf_relocate_section): If passing an indirect | |
1217 | symbol with st_type STT_DATALABEL on the way to a symbol with | |
1218 | st_other STO_SH5_ISA32, do not bitor 1 to the relocation. | |
1219 | 2000-12-05 Hans-Peter Nilsson <[email protected]> | |
1220 | Pass through STT_DATALABEL. | |
1221 | * elf32-sh64.c (sh64_elf_get_symbol_type): New. | |
1222 | (elf_backend_get_symbol_type): Define. | |
1223 | * elf64-sh64.c (sh64_elf64_get_symbol_type): New. | |
1224 | (elf_backend_get_symbol_type): Define. | |
1225 | 2000-11-30 Hans-Peter Nilsson <[email protected]> | |
1226 | * elf32-sh64.c: Tweak comments. | |
1227 | (sh64_elf_copy_private_data_internal): Add prototype. | |
1228 | (bfd_elf32_bfd_set_private_flags): Define. | |
1229 | (sh64_elf_copy_private_data_internal): Compare machine name, not | |
1230 | textual BFD target name, to check whether to copy section flag | |
1231 | SHF_SH5_ISA32. | |
1232 | (sh64_elf_merge_private_data): Validize bfd_get_arch_size. | |
1233 | Tweak section-contents-type-mismatch message. | |
1234 | (shmedia_prepare_reloc): Add ATTRIBUTE_UNUSED markers. | |
1235 | Validize reloc-types. | |
1236 | * elf64-sh64.c: New file. | |
1237 | * targets.c (bfd_elf64_sh64_vec, bfd_elf64_sh64l_vec): Declare. | |
1238 | * Makefile.am (BFD64_BACKENDS): Add elf64-sh64.lo. | |
1239 | (BFD64_BACKENDS_CFILES): Add elf64-sh64.c. | |
1240 | Regenerate dependencies. | |
1241 | * Makefile.in: Regenerate. | |
1242 | * config.bfd (sh64-*-elf*): Add bfd_elf64_sh64_vec and | |
1243 | bfd_elf64_sh64l_vec. | |
1244 | * configure.in: Handle bfd_elf64_sh64_vec and | |
1245 | bfd_elf64_sh64l_vec. | |
1246 | * configure: Regenerate. | |
1247 | * po/POTFILES.in: Regenerate. | |
1248 | * po/bfd.pot: Regenerate. | |
1249 | 2000-11-29 Hans-Peter Nilsson <[email protected]> | |
1250 | * elf32-sh64.c (sh64_elf_set_mach_from_flags): Do not recognize | |
1251 | anything else but EF_SH64 and EF_SH64_ABI64. | |
1252 | (sh64_elf_merge_private_data): Emit error for anything else but | |
1253 | EF_SH64 and EF_SH64_ABI64. | |
1254 | * config.bfd: Remove bfd_elf32_shblin_vec and bfd_elf32_shlin_vec | |
1255 | from targ_selvecs. | |
1256 | * configure.in: Add cofflink.lo to bfd_elf32_sh64_vec and | |
1257 | bfd_elf32_sh64l_vec as a temporary measure. | |
1258 | * configure: Regenerate. | |
1259 | 2000-11-27 Hans-Peter Nilsson <[email protected]> | |
1260 | * cpu-sh.c (arch_info_struct): Include sh5 item | |
1261 | unconditionalized. | |
1262 | * config.bfd (sh64-*-elf*): Do not set targ_cflags. | |
1263 | Add targ_selvecs bfd_elf32_sh_vec, bfd_elf32_shl_vec, | |
1264 | bfd_elf32_shblin_vec and bfd_elf32_shlin_vec. | |
1265 | * elf32-sh64.c: Tweak comments. | |
1266 | (sh64_elf_set_mach_from_flags): Recognize all machine flags that | |
1267 | are proper subsets of SH64 as bfd_mach_sh5. Add EF_SH64_ABI64. | |
1268 | (sh64_elf_copy_private_data_internal): Wrap long line. | |
1269 | (sh64_elf_merge_private_data): Rewrite to allow objects from | |
1270 | SH64 subsets to be linked together. | |
1271 | (INCLUDE_SHMEDIA): Define. | |
1272 | * elf32-sh.c (sh_elf_relocate_section) <local symbol>: | |
1273 | Parenthesize plus-expression inside or-expression. | |
1274 | <global symbol>: Ditto. | |
1275 | (sh_elf_set_mach_from_flags): Remove code refusing | |
1276 | deleted EF_SH64_32BIT_ABI flag. | |
1277 | 2000-11-26 Hans-Peter Nilsson <[email protected]> | |
1278 | * elf32-sh.c (sh_elf_howto_table) <R_SH_IMM_LOW16_PCREL, | |
1279 | R_SH_IMM_MEDLOW16_PCREL, R_SH_IMM_MEDHI16_PCREL, | |
1280 | R_SH_IMM_HI16_PCREL, R_SH_64_PCREL>: Set pcrel_offset to true. | |
1281 | (sh_elf_relocate_section) <local symbol>: Or 1 in | |
1282 | calculation of relocation if sym->st_other & STO_SH5_ISA32. | |
1283 | <global symbol>: Ditto if h->other & STO_SH5_ISA32. | |
1284 | * elf32-sh64.c (shmedia_prepare_reloc): Add rel->r_addend to | |
1285 | relocation. | |
1286 | 2000-11-24 Hans-Peter Nilsson <[email protected]> | |
1287 | * Makefile.am (BFD32_BACKENDS): Add elf32-sh64.lo. | |
1288 | (BFD32_BACKENDS_CFILES): Add elf32-sh64.c. | |
1289 | Regenerate dependencies. | |
1290 | * Makefile.in: Regenerate. | |
1291 | * archures.c: Add bfd_mach_sh5. | |
1292 | * config.bfd: Map targ_cpu sh* to bfd_sh_arch. | |
1293 | Handle sh64-*-elf*. Set targ_cflags to -DINCLUDE_SHMEDIA. | |
1294 | * configure.in: Handle bfd_elf32_sh64_vec and bfd_elf32_sh64l_vec. | |
1295 | * configure: Regenerate. | |
1296 | * reloc.c (BFD_RELOC_SH_SHMEDIA_CODE, BFD_RELOC_SH_IMMU5, | |
1297 | BFD_RELOC_SH_IMMS6, BFD_RELOC_SH_IMMS6BY32, BFD_RELOC_SH_IMMU6, | |
1298 | BFD_RELOC_SH_IMMS10, BFD_RELOC_SH_IMMS10BY2, | |
1299 | BFD_RELOC_SH_IMMS10BY4, BFD_RELOC_SH_IMMS10BY8, | |
1300 | BFD_RELOC_SH_IMMS16, BFD_RELOC_SH_IMMU16, BFD_RELOC_SH_IMM_LOW16, | |
1301 | BFD_RELOC_SH_IMM_LOW16_PCREL, BFD_RELOC_SH_IMM_MEDLOW16, | |
1302 | BFD_RELOC_SH_IMM_MEDLOW16_PCREL, BFD_RELOC_SH_IMM_MEDHI16, | |
1303 | BFD_RELOC_SH_IMM_MEDHI16_PCREL, BFD_RELOC_SH_IMM_HI16, | |
1304 | BFD_RELOC_SH_IMM_HI16_PCREL, BFD_RELOC_SH_PT_16): New relocations. | |
1305 | * cpu-sh.c [INCLUDE_SHMEDIA] (arch_info_struct): Define and link | |
1306 | in item for SH5. | |
1307 | * elf32-sh.c [INCLUDE_SHMEDIA] (sh_elf_howto_table): Add howto items | |
1308 | for SHmedia relocs. | |
1309 | [INCLUDE_SHMEDIA] (sh_rel): Add mappings for SHmedia relocs. | |
1310 | [INCLUDE_SHMEDIA] (sh_elf_relocate_section) [default]: Call | |
1311 | shmedia_prepare_reloc, goto final_link_relocate if it returns | |
1312 | non-zero, else fail as before. | |
1313 | (sh_elf_set_mach_from_flags): Provide function only if not defined | |
1314 | as macro. Do not recognize objects with EF_SH64_32BIT_ABI set. | |
1315 | (sh_elf_set_private_flags): Provide function only if not defined | |
1316 | as a macro. | |
1317 | (sh_elf_copy_private_data): Similar. | |
1318 | (sh_elf_merge_private_data): Similar. | |
1319 | * section.c (SEC_SH_ISA_SHMEDIA): New. | |
1320 | * targets.c (bfd_elf32_sh64_vec, bfd_elf32_sh64l_vec): Declare. | |
1321 | * elf32-sh64.c: New file. | |
1322 | * libbfd.h: Regenerate. | |
1323 | * bfd-in2.h: Regenerate. | |
1324 | * po/POTFILES.in: Regenerate. | |
1325 | * po/bfd.pot: Regenerate. | |
1326 | * bfd-in2.h: Regenerate. | |
1327 | * libbfd.h: Regenerate. | |
1328 | ||
e108f470 DJ |
1329 | 2002-02-07 Daniel Jacobowitz <[email protected]> |
1330 | ||
1331 | * bfd-in.h: Update <stdbool.h> check to only see if <stdbool.h> has | |
1332 | been included, not drag it in. | |
1333 | * bfd-in2.h: Regenerate. | |
1334 | ||
259d18a3 L |
1335 | 2002-02-06 H.J. Lu ([email protected]) |
1336 | ||
1337 | * elf32-mips.c (_bfd_mips_elf_merge_private_bfd_data): Update | |
1338 | the mach and ISA fields if necessary. | |
1339 | ||
f13b834e NC |
1340 | 2002-02-06 Nick Clifton <[email protected]> |
1341 | ||
1342 | * coffcode.h (coff_set_arch_mach_hook): Select the highest known | |
1343 | ARM architecture when an F_ARM_5 flag is detected, since we cannot | |
1344 | be sure exactly which architecture this represents. | |
1345 | ||
82f6addb NC |
1346 | 2002-02-05 Nick Clifton <[email protected]> |
1347 | ||
1348 | * po/tr.po: Updated translation. | |
1349 | ||
899f54f5 AM |
1350 | 2002-02-05 Alan Modra <[email protected]> |
1351 | ||
1352 | From Jimi X <[email protected]> | |
1353 | * archures (bfd_mach_ppc64): Define. | |
1354 | (bfd_powerpc_arch): Rename to bfd_powerpc_archs. | |
1355 | (bfd_powerpc_arch): Define. | |
1356 | * bfd-in2.h: Regenerate. | |
1357 | * cpu-powerpc.c (arch_info_struct): Rename to bfd_powerpc_archs. | |
1358 | (bfd_powerpc_arch): Move to tail of bfd_powerpc_archs. | |
1359 | (bfd_powerpc_archs): Add default powerpc64 arch. | |
1360 | ||
248866a8 AM |
1361 | 2002-02-05 Alan Modra <[email protected]> |
1362 | ||
1363 | * elf64-ppc.c (ppc64_elf_size_dynamic_sections): Check for relocs | |
1364 | against section syms in readonly sections. Don't do the global | |
1365 | sym check if we find one. | |
1366 | * elf64-s390.c (elf_s390_size_dynamic_sections): Likewise. | |
1367 | * elf32-hppa.c (elf32_hppa_size_dynamic_sections): Likewise. | |
0a6958db | 1368 | * elf32-i386.c (elf_i386_size_dynamic_sections): Likewise. |
248866a8 AM |
1369 | * elf32-s390.c (elf_s390_size_dynamic_sections): Likewise. |
1370 | (elf_s390_grok_prstatus): Add missing prototype. | |
1371 | ||
4fa5c2a8 HPN |
1372 | 2002-02-04 Hans-Peter Nilsson <[email protected]> |
1373 | ||
1374 | * elf64-mmix.c (mmix_dump_bpo_gregs): New function. | |
1375 | (mmix_elf_check_common_relocs) <case R_MMIX_BASE_PLUS_OFFSET>: | |
1376 | Call bfd_get_section_by_name only once. Initialize | |
1377 | bpodata->n_bpo_relocs_this_section. | |
1378 | (_bfd_mmix_prepare_linker_allocated_gregs): Remove comment | |
1379 | referring to DSOs. | |
1380 | (bpo_reloc_request_sort_fn): Don't use difference of values as | |
1381 | return-value. | |
1382 | ||
537c972e DB |
1383 | 2002-02-02 David O'Brien <obrien@FreeBSD> |
1384 | ||
1385 | * configure.in: Tweak the FreeBSD 4.x recognition more. Only treat | |
1386 | version 4.5 and later the same as 5-CURRENT. | |
1387 | * configure: Re-generate. | |
1388 | ||
006336b8 JT |
1389 | 2002-02-02 Jason Thorpe <[email protected]> |
1390 | ||
1391 | * config.bfd (hppa*-*-netbsd*): New target. | |
1392 | ||
6c571f00 PT |
1393 | 2002-01-31 Philipp Thomas <[email protected]> |
1394 | ||
19397422 AM |
1395 | * coff-arm.c (coff_arm_merge_private_bfd_data): Move ERROR |
1396 | to front of message. Unify messages with elf32-arm.h. Use | |
1397 | commas where neccessary. | |
1398 | * elf32-arm.h (elf32_arm_merge_private_bfd_data): Use all upcase | |
1399 | ERROR in messages. Unify messages with coff-arm.c. Correct | |
1400 | VFP/FPA error message. | |
1401 | (elf32_arm_print_private_bfd_data): Don't mark APCS-26 and | |
1402 | APCS-32 for translation. | |
6c571f00 | 1403 | |
930b4cb2 HPN |
1404 | 2002-02-01 Hans-Peter Nilsson <[email protected]> |
1405 | ||
1406 | Perform on-demand global register allocation from | |
1407 | R_MMIX_BASE_PLUS_OFFSET relocs. | |
1408 | * elf64-mmix.c (struct bpo_reloc_section_info, struct | |
1409 | bpo_reloc_request, struct bpo_greg_section_info): New. | |
1410 | (mmix_elf_check_common_relocs, mmix_elf_gc_sweep_hook, | |
1411 | bpo_reloc_request_sort_fn, mmix_elf_relax_section, | |
1412 | _bfd_mmix_check_all_relocs, | |
1413 | _bfd_mmix_prepare_linker_allocated_gregs, | |
1414 | _bfd_mmix_finalize_linker_allocated_gregs): New functions. | |
1415 | (elf_mmix_howto_table): Correct src_mask for most relocs. | |
1416 | (mmix_elf_perform_relocation) <case R_MMIX_BASE_PLUS_OFFSET>: New | |
1417 | case. | |
1418 | (mmix_final_link_relocate) <case R_MMIX_BASE_PLUS_OFFSET>: New | |
1419 | case. Fix typo in comment. New label do_mmix_reloc. | |
1420 | (mmix_elf_check_relocs): Abuse bfd_link_info member base_file to | |
1421 | store first object file with a base-plus-offset reloc. Call | |
1422 | mmix_elf_check_common_relocs for the part common with mmo. | |
1423 | (mmix_elf_final_link): Write out linker-allocated register | |
1424 | contents section. | |
1425 | (elf_backend_gc_sweep_hook): Define. | |
1426 | (bfd_elf64_bfd_relax_section): Define. | |
1427 | ||
1428 | * mmo.c: Don't include <ctype.h> | |
1429 | (mmo_init): Correct init-once logic. | |
1430 | ||
3e36d993 TR |
1431 | 2002-02-01 Tom Rix <[email protected]> |
1432 | ||
1433 | * config.bfd: Conditionally support <aiaff> for pre AIX 4.3. | |
1434 | ||
ba323545 AM |
1435 | 2002-02-01 Alan Modra <[email protected]> |
1436 | ||
1437 | * Makefile.am: Run "make dep-am" | |
1438 | * Makefile.in: Regenerate. | |
1439 | ||
012884d6 DB |
1440 | 2002-01-31 David O'Brien <obrien@FreeBSD> |
1441 | ||
1442 | * configure.in: Recognize the differences in core files from FreeBSD | |
1443 | 4.{0,1} and later versions of 4.x. This treats 4.2+ the same as | |
1444 | 5-CURRENT. | |
1445 | * configure: Regenerate. | |
1446 | ||
3b16e843 NC |
1447 | 2002-01-31 Ivan Guzvinec <[email protected]> |
1448 | ||
1449 | * coff-or32.c: New file. | |
1450 | * cpu-or32.c: New file. | |
1451 | * elf32-or32.c: New file. | |
1452 | * archures.c: Add support for or32. | |
1453 | * targets.c: Add support for or32. | |
1454 | * bfd-in2.h: Regenerate. | |
7dc0ab31 | 1455 | * coffcode.h (coff_set_arch_mach_hook, coff_set_flags, |
3b16e843 NC |
1456 | coff_write_object_contents): Add support for or32. |
1457 | * config.bfd: Add target. | |
1458 | * configure.in: Add support for or32. | |
1459 | * configure: Regenerate. | |
1460 | * Makefile.am: Add support for or32. | |
1461 | * Makefile.in: Regenerate. | |
3b16e843 NC |
1462 | * po/SRC-POTFILES.in: Add or32 files. |
1463 | * po/bfd.pot: Regenerate. | |
7dc0ab31 | 1464 | |
caf8ca8e NC |
1465 | 2002-01-31 Nick Clifton <[email protected]> |
1466 | Don Lindsay <[email protected]> | |
1467 | ||
1468 | * elf32-mips.c (mips_elf_calculate_relocation): Replace 'return | |
1469 | false' with a return of a bfd_reloc_ error code. | |
1470 | ||
e5dfef09 HPN |
1471 | 2002-01-31 Hans-Peter Nilsson <[email protected]> |
1472 | ||
1473 | * elf32-cris.c (elf_cris_discard_excess_program_dynamics): Don't | |
1474 | unexport unreferenced symbols when --export-dynamic. Call | |
1475 | _bfd_elf_strtab_delref when unexporting. | |
1476 | ||
4e4770d0 DJ |
1477 | 2002-01-30 Daniel Jacobowitz <[email protected]> |
1478 | ||
1479 | * bfd-in.h: Include <stdbool.h> if it is available. | |
1480 | * bfd-in2.h: Regenerated. | |
1481 | ||
e1fa50e7 AM |
1482 | 2002-01-31 Alan Modra <[email protected]> |
1483 | ||
1484 | * elf64-ppc.c (func_desc_adjust): STV_PROTECTED functions should | |
1485 | not go via the plt. | |
1486 | ||
b5f79c76 NC |
1487 | 2002-01-30 Nick Clifton <[email protected]> |
1488 | ||
b5f79c76 NC |
1489 | * archures.c: Tidy up formatting of embedded comments. |
1490 | * bfd.c: Tidy up formatting of embedded comments. | |
7dc0ab31 | 1491 | * bfd-in.h: Fix formatting of comments. |
b5f79c76 NC |
1492 | * reloc.c: Tidy up formatting of ordinary & embedded comments. |
1493 | * section.c: Tidy up formatting of embedded comments. | |
1494 | * syms.c: Tidy up formatting of embedded comments. | |
1495 | * targets.c: Tidy up formatting of embedded comments. | |
1496 | ||
1497 | * bfd-in2.h: Regenerate. | |
1498 | ||
ca09e32b NC |
1499 | 2002-01-30 Nick Clifton <[email protected]> |
1500 | ||
1501 | * vms-tir.c (cmd_name): New function. | |
1502 | (tir_cmd_name): New function. | |
1503 | (etir_sta, etir_sto, etir_opr, etir_stc): Use cmd_name(). | |
1504 | (tir_opr, tir_ctl, tir_cmd): use tir_cmd_name(). | |
1505 | Fix formatting. | |
7dc0ab31 | 1506 | |
ca09e32b NC |
1507 | * peXXigen.c (pe_print_idata): Rearrange message to aid in |
1508 | translation. | |
1509 | (pe_print_pdata): Rearrange message to aid in translation. | |
1510 | ||
1511 | * libbfd.c (warn_deprecated): Rearrange error message to aid in | |
1512 | translation. | |
1513 | ||
1514 | * ihex.c (ihex_write_object_contents): Fix spelling typo. | |
1515 | ||
1516 | * ieee.c (ieee_slurp_external_symbols): Remove spurious space. | |
1517 | ||
1518 | * elf64-sparc.c (sparc64_elf_add_symbol_hook): Rearrange error | |
1519 | message to aid in translation. | |
1520 | ||
1521 | * elf64-mmix.c (mmix_final_link_relocate): Rearrange error message | |
1522 | to aid in translation. | |
1523 | ||
1524 | * elf32-arm.h (elf32_arm_merge_private_bfd_data): Fix typo. | |
1525 | ||
7dc0ab31 | 1526 | 2002-01-30 Philipp Thomas <[email protected]> |
ae1a89b7 PT |
1527 | |
1528 | * coff-arm.c, elf32-elf.h: Unify messages. | |
1529 | ||
05f64ac6 NC |
1530 | 2002-01-30 Nick Clifton <[email protected]> |
1531 | ||
1532 | * po/sv.po: Updated translation. | |
1533 | ||
f5a3e38a NC |
1534 | 2002-01-30 Philipp Thomas <[email protected]> |
1535 | ||
1536 | * dwarf2.c (read_abbrev): Use full section name in error message. | |
1537 | (decode_line_info): Likewise. | |
661a3fd4 NC |
1538 | |
1539 | * elf.c (_bfd_elf_symbol_from_bfd_symbol): Don't translate debugging | |
1540 | message. | |
1541 | ||
d926e03d AM |
1542 | 2002-01-30 Alan Modra <[email protected]> |
1543 | ||
1544 | * elf64-ppc.c (func_desc_adjust): Only provide missing function | |
1545 | descriptor symbols for undefined function code syms. Clear | |
1546 | ELF_LINK_NON_ELF so that they can stay weak. | |
1547 | ||
030d18fb | 1548 | 2002-01-29 Chris Demetriou <[email protected]> |
7dc0ab31 | 1549 | Mitch Lichtenberg <[email protected]> |
030d18fb CD |
1550 | |
1551 | * bfd-in.h (bfd_mips_elf32_create_embedded_relocs): New prototype. | |
1552 | * elf32-mips.c (bfd_mips_elf32_create_embedded_relocs): New function | |
1553 | to handle 32-bit ELF embedded reloc (ld --embedded-relocs) | |
1554 | generation. | |
1555 | * bfd-in2.h: Regenerate. | |
1556 | ||
fcc76bea CD |
1557 | 2002-01-29 Chris Demetriou <[email protected]> |
1558 | ||
1559 | * elf32-mips.c: Add additional comments about HI16 relocation | |
1560 | processing. | |
1561 | (_bfd_mips_elf_hi16_reloc): Don't subtract address here for | |
1562 | pc-relative relocations. (Reverts change made on 2001-10-31.) | |
1563 | (_bfd_mips_elf_lo16_reloc): Subtract address of LO16 part here | |
1564 | for pc-relative relocations. | |
1565 | (mips_elf_calculate_relocation): Add a comment about a kludge | |
1566 | in the R_MIPS_GNU_REL_HI16 handling. | |
1567 | (_bfd_mips_elf_relocate_section): Implement that kludge; | |
1568 | adjust pc-relative HI16 relocation for difference in HI16 and | |
1569 | LO16 addresses, since it can't easily be done in | |
1570 | mips_elf_calculate_relocation. | |
1571 | ||
f9cd9119 MS |
1572 | 2002-01-29 Martin Schwidefsky <[email protected]> |
1573 | ||
1574 | * elf32-i386 (elf_i386_adjust_dynamic_symbol): Do not replace PLT32 | |
1575 | relocations with PC32 relocations for undefined or weak symbols. | |
1576 | * elf32-s390 (elf_i386_adjust_dynamic_symbol): Likewise. | |
1577 | * elf64-s390x (elf_i386_adjust_dynamic_symbol): Likewise. | |
1578 | ||
702248bb JT |
1579 | 2002-01-28 Jason Thorpe <[email protected]> |
1580 | ||
1581 | * elfcore.h (elf_core_file_p): Improve comment for last change. | |
1582 | ||
4867be41 DJ |
1583 | 2002-01-27 Daniel Jacobowitz <[email protected]> |
1584 | ||
1585 | * configure: Regenerated. | |
1586 | ||
a94cef6a JT |
1587 | 2002-01-27 Jason Thorpe <[email protected]> |
1588 | ||
1589 | * elfcore.h (elf_core_file_p): Set the machine architecture | |
1590 | before processing the program headers. | |
1591 | ||
7562a296 HPN |
1592 | 2002-01-26 Hans-Peter Nilsson <[email protected]> |
1593 | ||
966abd70 HPN |
1594 | * configure.in <64-bit configuration>: If using gcc, check and |
1595 | emit error for egcs-1.1.2. | |
1596 | * configure: Regenerate. | |
1597 | ||
e8eab623 NC |
1598 | 2002-01-26 Egor Duda <[email protected]> |
1599 | ||
1600 | * elf.c (elfcore_grok_win32pstatus): Copy only as much information | |
1601 | as possible to avoid stack corruption. | |
1602 | ||
73896efb RH |
1603 | 2002-01-26 Richard Henderson <[email protected]> |
1604 | ||
1605 | * elf64-alpha.c (elf64_alpha_check_relocs): Don't set reltext | |
1606 | for non-allocated sections. | |
1607 | ||
1608 | 2002-01-25 Mark Kettenis <[email protected]> | |
c106e334 MK |
1609 | |
1610 | * elf.c (elfcore_write_prstatus): Make sure we pass the address of | |
1611 | prstat.pr_reg even if it is a struct. | |
1612 | ||
73896efb | 1613 | 2002-01-25 Steve Ellcey <[email protected]> |
254ed743 NC |
1614 | |
1615 | * bfd/elfxx-ia64.c: Reset AIX vector function overrides for HP-UX. | |
1616 | ||
3d66c4f7 NC |
1617 | 2002-01-25 Philipp Thomas <[email protected]> |
1618 | ||
1619 | * coffgen.c (coff_print_symbol): Don't mark info message | |
1620 | for translation. | |
1621 | ||
9460ecda NC |
1622 | 2002-01-25 Nick Clifton <[email protected]> |
1623 | ||
1624 | * po/fr.po: Updated translation. | |
1625 | * po/es.po: Updated translation. | |
1626 | ||
cc9ff76a AM |
1627 | 2002-01-25 Philipp Thomas <[email protected]> |
1628 | ||
1629 | * coff-alpha.c (alpha_relocate_section): Unify warning message | |
1630 | for GP relative relocations without GP defined. | |
1631 | * coff-mips.c (mips_relocate_section): Likewise. | |
1632 | ||
c68836a9 AM |
1633 | 2002-01-25 Alan Modra <[email protected]> |
1634 | ||
1635 | * elf-eh-frame.c (_bfd_elf_eh_frame_section_offset): Avoid | |
1636 | unsigned overflow when new_offset < old_offset. | |
1637 | ||
e8eab623 | 1638 | 2002-01-24 Philipp Thomas <[email protected]> |
391154e9 NC |
1639 | |
1640 | * bfd.c (_bfd_abort): Fix typo. | |
1641 | ||
8ba89f17 RH |
1642 | 2002-01-23 Richard Henderson <[email protected]> |
1643 | ||
1644 | * elf64-alpha.c (elf64_alpha_adjust_dynamic_symbol): Don't suppress | |
1645 | plt entries for undefweak symbols. | |
1646 | ||
c6953948 NC |
1647 | 2002-01-23 Steve Ellcey <[email protected]> |
1648 | ||
1649 | * bfd/targets.c (bfd_elf32_ia64_hpux_big_vec): Add to | |
1650 | DEFAULT_VECTOR. | |
1651 | (bfd_elf64_ia64_hpux_big_vec): Ditto. | |
1652 | (bfd_elf32_h8300_vec): Ditto. | |
1653 | ||
41bd81ab AM |
1654 | 2002-01-23 Alan Modra <[email protected]> |
1655 | ||
1656 | * elf64-ppc.c: Remove stale part of ABI comment. | |
1657 | (NO_OPD_RELOCS): Define. | |
1658 | (ppc64_elf_check_relocs): Use it. | |
1659 | (ppc64_elf_relocate_section): Here too. | |
1660 | (build_one_stub): Don't point function syms at the stub. Instead, | |
1661 | hijack plt.offset. | |
1662 | (ppc64_elf_relocate_section): Check whether REL24 relocs should | |
1663 | really go to the stub. Make all dynamic relocs in opd against | |
1664 | locals. | |
1665 | (ppc64_elf_finish_dynamic_symbol): Allow for non-standard use of | |
1666 | plt.offset. | |
1667 | ||
f304919d RH |
1668 | 2002-01-22 Richard Henderson <[email protected]> |
1669 | ||
1670 | * elf64-alpha.c (INSN_UNOP): Encode with RB as $sp. | |
1671 | ||
c0ef99a7 AM |
1672 | 2002-01-22 Alan Modra <[email protected]> |
1673 | ||
60ee0d4a AM |
1674 | * elf64-ppc.c (ppc64_elf_finish_dynamic_sections): Correct sign of |
1675 | TOC_BASE_OFF adjustment. | |
1676 | ||
c0ef99a7 AM |
1677 | * Makefile.am: Run "make dep-am". |
1678 | * Makefile.in: Regenerate. | |
1679 | * po/SRC-POTFILES.in: Regenerate. | |
1680 | ||
64328b46 AM |
1681 | 2002-01-22 John David Anglin <[email protected]> |
1682 | ||
1683 | * configure.host (hppa*64*-*-hpux*, hppa*64*-*-linux*): Add new | |
1684 | host defines. | |
1685 | ||
59953665 | 1686 | 2002-01-21 Hans-Peter Nilsson <[email protected]> |
58255df3 HPN |
1687 | |
1688 | * elf32-cris.c (cris_elf_relocate_section) <case R_CRIS_32_GOTREL>: | |
1689 | Check for and emit error if sgot is NULL at this point. | |
1690 | ||
9596feea JT |
1691 | 2002-01-21 Jason Thorpe <[email protected]> |
1692 | ||
1693 | * config.bfd (ia64*-*-netbsd*): New target. | |
1694 | ||
7b45c6e1 AM |
1695 | 2002-01-21 Thomas Klausner <[email protected]> |
1696 | ||
1697 | * som.c (som_write_space_strings): Comment typo fix. | |
1698 | ||
e5094212 AM |
1699 | 2002-01-21 Alan Modra <[email protected]> |
1700 | ||
e86ce104 AM |
1701 | * elf64-ppc.c (struct ppc_link_hash_entry): Add is_func and |
1702 | is_func_descriptor fields. | |
1703 | (link_hash_newfunc): Init them. | |
1704 | (ppc64_elf_check_relocs): Only R_PPC24_REL24 syms starting with a | |
1705 | dot are candidates for plt entries. When processing .opd relocs, | |
1706 | set function descriptor strings to point inside function code | |
1707 | string, and set new ppc_link_hash_entry fields. | |
1708 | (ppc64_elf_gc_sweep_hook): Don't sweep R_PPC64_REL24 relocs. | |
1709 | (ppc64_elf_adjust_dynamic_symbol): Remove most code dealing with | |
1710 | function descriptors. It's now done in.. | |
1711 | (func_desc_adjust): New. | |
1712 | (ppc64_elf_func_desc_adjust): New. | |
1713 | (define elf_backend_always_size_sections): Define. | |
1714 | (ppc64_elf_hide_symbol): New. | |
1715 | (define elf_backend_hide_symbol): Define. | |
1716 | (allocate_dynrelocs): Remove code looking up function descriptors | |
1717 | as that has been done earlier. | |
1718 | (ppc64_elf_size_dynamic_sections): Use htab shortcut to elf hash | |
1719 | table. | |
1720 | (ppc64_elf_finish_dynamic_symbol): Likewise. Remove code looking | |
1721 | up function descriptor. | |
1722 | (build_one_stub): Look up the function code sym. Check for | |
1723 | invalid plt offsets. | |
1724 | (ppc64_elf_relocate_section): Tweak calls to undefined weak syms. | |
1725 | Convert R_PPC64_TOC relocs to R_PPC64_RELATIVE in shared libs. | |
1726 | ||
e5094212 AM |
1727 | * elf-bfd.h (elf_backend_data <elf_backend_hide_symbol>): Add |
1728 | boolean param. | |
1729 | (_bfd_elf_link_hash_hide_symbol): Likewise. | |
1730 | * elflink.h (elf_link_add_object_symbols): Adjust call to | |
1731 | elf_backend_hide_symbol. | |
1732 | (elf_fix_symbol_flags): Likewise. | |
1733 | (elf_link_assign_sym_version): Likewise. Use bfd_malloc rather | |
1734 | than bfd_alloc. | |
1735 | * elf.c (_bfd_elf_link_hash_hide_symbol): Add "force_local" param. | |
1736 | Set ELF_LINK_FORCED_LOCAL and call _bfd_elf_strtab_delref. | |
1737 | * elf32-hppa.c (elf32_hppa_hide_symbol): Likewise. | |
1738 | (clobber_millicode_symbols): Adjust to suit new hide_symbol. | |
1739 | * elf32-cris.c (elf_cris_hide_symbol): Add "force_local" param | |
1740 | and adjust to suit. | |
1741 | * elf32-mips.c (_bfd_mips_elf_hide_symbol): Likewise, and call | |
1742 | _bfd_elf_link_hash_hide_symbol rather than duplicating code. | |
1743 | * elfxx-ia64.c (elfNN_ia64_hash_hide_symbol): Likewise. | |
1744 | ||
40b8271b AM |
1745 | 2002-01-18 Alan Modra <[email protected]> |
1746 | ||
1747 | * elf64-ppc.c (ppc64_elf_adjust_dynamic_symbol): Test for a | |
1748 | dynamic function descriptor symbol, not the associated function | |
1749 | symbol. | |
1750 | ||
55baa95b EC |
1751 | 2002-01-17 Eric Christopher <[email protected]> |
1752 | ||
1753 | * elf32-mips.c (mips_elf_calculate_relocation): Fix typo. | |
1754 | ||
328577ad NC |
1755 | 2002-01-17 Nick Clifton <[email protected]> |
1756 | ||
1757 | * po/bfd.pot: Regenerate. | |
1758 | * po/fr.po: Regenerate. | |
1759 | ||
af746e92 AM |
1760 | 2002-01-17 Alan Modra <[email protected]> |
1761 | ||
1762 | * elf-bfd.h (elf_backend_data <elf_backend_section_from_bfd_section>): | |
1763 | Remove "Elf_Internal_Shdr *" param. | |
1764 | (_bfd_mips_elf_section_from_bfd_section): Ditto. | |
1765 | * elf32-mips.c (_bfd_mips_elf_section_from_bfd_section): Ditto. | |
1766 | * elf32-m32r.c (_bfd_m32r_elf_section_from_bfd_section): Ditto. | |
1767 | * elf32-v850.c (v850_elf_section_from_bfd_section): Ditto. | |
1768 | * elf64-mmix.c (mmix_elf_section_from_bfd_section): Ditto. | |
1769 | * elfxx-ia64.c (elfNN_hpux_backend_section_from_bfd_section): Ditto. | |
1770 | * elf.c (_bfd_elf_section_from_bfd_section): Allow backend | |
1771 | function to override special sections. Remove hdr arg from | |
1772 | backend call, and don't loop. | |
1773 | ||
175e9962 EC |
1774 | 2002-01-16 Eric Christopher <[email protected]> |
1775 | ||
1776 | * elf32-mips.c (mips_elf_calculate_relocation): Set require_jalxp | |
1777 | on R_MIPS_26 and target is 16bit. Add R_MIPS16_GPREL to list of | |
1778 | relocations requiring gp0 and gp. | |
1779 | ||
96a846ea RE |
1780 | 2002-01-16 Richard Earnshaw <[email protected]> |
1781 | ||
175e9962 | 1782 | * elf32-arm.h (elf32_arm_merge_private_bfd_data): Handle |
96a846ea RE |
1783 | EF_ARM_VFP_FLOAT. |
1784 | (elf32_arm_print_private_bfd_data): Likewise. | |
1785 | ||
af3ae48d NC |
1786 | 2002-01-16 Nick Clifton <[email protected]> |
1787 | ||
1788 | * po/tr.po: Import new version. | |
1789 | ||
10ed1bba AM |
1790 | 2002-01-16 Alan Modra <[email protected]> |
1791 | ||
1792 | * elf64-ppc.c (ppc64_elf_howto_raw): Remove stale FIXMEs. | |
1793 | (ppc64_elf_reloc_type_lookup): Use proper CTOR reloc. | |
1794 | (ORI_R0_R0_0): Correct. | |
1795 | ||
5d1634d7 AM |
1796 | 2002-01-16 Alan Modra <[email protected]> |
1797 | ||
1798 | * elflink.c (_bfd_elf_create_dynamic_sections): Don't set SEC_CODE | |
1799 | when plt_not_loaded. | |
1800 | * elf64-ppc.c (ppc64_elf_create_dynamic_sections): No need to | |
1801 | clear .plt SEC_CODE here. Create .stub and correct .glink flags. | |
1802 | (PLT_INITIAL_ENTRY_SIZE): Set to 24. | |
1803 | (ppc64_elf_glink_code): Delete. | |
1804 | (PPC64_ELF_GLINK_SIZE): Delete. | |
1805 | (ADDIS_R12_R2, STD_R2_40R1, LD_R11_0R12, LD_R2_0R12, MTCTR_R11, | |
1806 | BCTR, ADDIS_R12_R12_1, LD_R2_40R1, NOP, LI_R0_0, B_DOT, LIS_R0_0, | |
1807 | ORI_R0_R0_0): Define. | |
1808 | (PLT_CALL_STUB_SIZE, GLINK_CALL_STUB_SIZE): Define. | |
1809 | (struct ppc_link_hash_table): Add sstub and plt_overflow. | |
1810 | (ppc64_elf_link_hash_table_create): Init them. | |
1811 | (ppc64_elf_check_relocs <R_PPC64_REL24>): Refcount .plt entry. | |
1812 | Don't copy to shared lib. | |
1813 | (ppc64_elf_check_relocs): Call bfd_set_error on errors. | |
1814 | (ppc64_elf_gc_sweep_hook <R_PPC64_REL24>): Sweep plt refcount. | |
1815 | (allocate_dynrelocs <plt>): Don't change function sym here. Make | |
1816 | room for .stub and .glink code. | |
1817 | (ppc64_elf_size_dynamic_sections): Handle .stub. Make entry for | |
1818 | DT_PPC64_GLINK. | |
1819 | (ppc64_elf_final_link): Rename to ppc64_elf_set_toc. Don't call | |
1820 | bfd_elf64_bfd_final_link. | |
1821 | (bfd_elf64_bfd_final_link): Don't define. | |
1822 | (ppc64_elf_size_stubs): New. | |
1823 | (build_plt_stub): New. | |
1824 | (build_one_stub): New. | |
1825 | (ppc64_elf_build_stubs): New. | |
1826 | (ppc64_elf_relocate_section <toc relocs>): Remove assert. | |
1827 | (ppc64_elf_relocate_section): Don't copy R_PPC64_REL24 relocs. | |
1828 | (ppc64_elf_finish_dynamic_symbol): Don't build stubs here. Set | |
1829 | DT_PPC64_GLINK entry. Tweak DT_PLTGOT, DT_JMPREL, DT_PLTRELSZ in | |
1830 | case output sections not separate. Adjust DT_RELASZ to not | |
1831 | include plt relocs. Set reserved got entry. Set got and plt | |
1832 | entry size. | |
1833 | (elf_backend_got_header_size): Set to 8. | |
1834 | * elf64-ppc.h: New file. | |
1835 | ||
c601ffdb AM |
1836 | 2002-01-16 Alan Modra <[email protected]> |
1837 | ||
1838 | * elf32-arm.h (elf32_arm_size_dynamic_sections): When removing | |
1839 | sections, use bfd_section_list_remove. | |
1840 | * elf32-i370.c (i370_elf_size_dynamic_sections): Likewise. | |
1841 | * elflink.h (elf_link_add_object_symbols): When removing all | |
1842 | sections, use bfd_section_list_clear. | |
1843 | ||
8fb4cb7f NC |
1844 | 2002-01-15 Nick Clifton <[email protected]> |
1845 | ||
1846 | * po/sv.po: New file: Swedish translation. | |
1847 | * configure.in (ALL_LINGUAS): Add sv. | |
1848 | * configure: Regenerate. | |
1849 | ||
d3c456e9 JJ |
1850 | 2002-01-15 Jakub Jelinek <[email protected]> |
1851 | ||
1852 | * elflink.h (elf_link_input_bfd): Back out 2002-01-07 change. | |
1853 | * elf.c (merge_sections_remove_hook): New function. | |
1854 | (_bfd_elf_merge_sections): Pass it as 3rd argument to | |
1855 | _bfd_merge_sections. | |
1856 | * libbfd-in.h (_bfd_merge_sections): Add 3rd argument. | |
1857 | * libbfd.h: Rebuilt. | |
1858 | * merge.c (_bfd_merge_sections): Add remove_hook argument. | |
1859 | Call remove_hook if a SEC_EXCLUDE section is encountered. | |
1860 | ||
1f7fd478 NC |
1861 | 2002-01-15 Nick Clifton <[email protected]> |
1862 | ||
1863 | * elf32-xstormy16.c (xstormy16_reloc_map): Add new field 'table'. | |
1864 | (xstormy16_reloc_map): Initialise new field with correct howto | |
1865 | table. | |
1866 | (xstormy16_reloc_type_lookup): Use 'table' field to locate correct | |
1867 | howto entry. | |
1868 | ||
b87011e9 MS |
1869 | 2002-01-10 Michael Snyder <[email protected]> |
1870 | ||
1871 | * elf.c (elfcore_write_prstatus): Use long instead of pid_t; | |
1872 | (elfcore_write_pstatus): Use long instead of pid_t; | |
1873 | * elf-bfd.h: Change prototypes to use long instead of pid_t; | |
1874 | ||
175e9962 | 1875 | 2002-01-09 Jason Thorpe <[email protected]> |
b4db1224 JT |
1876 | |
1877 | * elf.c: Update copyright years. | |
1878 | (elfcore_grok_netbsd_note): Use NT_NETBSDCORE_PROCINFO | |
1879 | and NT_NETBSDCORE_FIRSTMACH. Improve a comment. | |
1880 | ||
7c76fa91 MS |
1881 | 2002-01-08 Michael Snyder <[email protected]> |
1882 | ||
1883 | Add capability to write corefile note sections, for gdb. | |
1884 | * elf.c (elfcore_write_note): New function. | |
1885 | (elfcore_write_prpsinfo): New function. | |
1886 | (elfcore_write_prstatus): New function. | |
1887 | (elfcore_write_pstatus): New function. | |
1888 | (elfcore_write_prfpreg): New function. | |
1889 | (elfcore_write_prxfpreg): New function. | |
97996af6 | 1890 | * elf-bfd.h: Add prototypes for above functions. |
7c76fa91 | 1891 | |
e1fddb6b AO |
1892 | 2002-01-08 Alexandre Oliva <[email protected]> |
1893 | ||
1894 | * elf.c (elf_fake_sections): Propagate errors from | |
1895 | elf_backend_fake_section. | |
1896 | ||
8d05742f JT |
1897 | 2002-01-07 Jason Thorpe <[email protected]> |
1898 | ||
1899 | * Makefile.am (BFD32_BACKENDS): Add elf32-sh-nbsd.lo. | |
1900 | (BFD32_BACKENDS_CFILES): Add elf32-sh-nbsd.c. | |
1901 | (elf32-sh-nbsd.lo): New rule. | |
1902 | * Makefile.in: Regenerate. | |
1903 | * config.bfd (sh*le-*-netbsdelf*): New target. | |
1904 | (sh*-*-netbsdelf*): New target. | |
1905 | * configure.in: Include netbsd-core.lo for native sh*-*-netbsd*. | |
1906 | (bfd_elf32_shnbsd_vec): New vector. | |
1907 | (bfd_elf32_shlnbsd_vec): New vector. | |
1908 | * configure: Regenerate. | |
1909 | * elf32-sh-nbsd.c: New file. | |
1910 | * targets.c: Update copyright years. | |
175e9962 | 1911 | (_bfd_target_vector): Add bfd_elf32_shlnbsd_vec and |
8d05742f JT |
1912 | bfd_elf32_shnbsd_vec. |
1913 | ||
1dba4cb4 AH |
1914 | 2002-01-07 Aldy Hernandez <[email protected]> |
1915 | ||
1916 | * coff-rs6000.c (READ20): Use bfd_scan_vma. | |
1917 | ||
47b22aef GK |
1918 | 2002-01-07 Geoffrey Keating <[email protected]> |
1919 | ||
1920 | * elflink.h (elf_link_input_bfd): Don't ask for the merged offset | |
1921 | of a symbol in a section that will be deleted. | |
1922 | ||
be2d1673 NC |
1923 | 2002-01-07 Nick Clifton <[email protected]> |
1924 | ||
1925 | * po/es.po: New file: Spanish translation. | |
1926 | * configure.in (ALL_LINGUAS): Add es. | |
1927 | * configure: Regenerate. | |
1928 | ||
d9cf1b54 AM |
1929 | 2002-01-06 Steve Ellcey <[email protected]> |
1930 | ||
1931 | * elfxx-ia64.c (is_unwind_section_name): Add target vector as | |
1932 | argument so we can handle HP-UX specially. | |
1933 | (elfNN_ia64_hpux_vec): New for use in is_unwind_section_name. | |
1934 | (elfNN_hpux_backend_section_from_bfd_section): New for support | |
1935 | of SHN_IA_64_ANSI_COMMON. | |
1936 | (elfNN_ia64_relax_section): Add support for SHN_IA_64_ANSI_COMMON. | |
1937 | (is_unwind_section_name): Add special HP-UX support. | |
1938 | (elfNN_ia64_section_from_shdr): Add support for more sections. | |
1939 | (elfNN_ia64_fake_sections): Modify is_unwind_section_name call and | |
1940 | add support for more sections. | |
1941 | (elfNN_ia64_additional_program_headers): Modify | |
1942 | is_unwind_section_name call. | |
1943 | (elfNN_ia64_modify_segment_map): Remove assumption that there is | |
1944 | only one unwind section in segment. | |
1945 | ||
3f3c5c34 AM |
1946 | 2002-01-06 Alan Modra <[email protected]> |
1947 | ||
1948 | * syms.c (_bfd_generic_make_empty_symbol): New function. | |
1949 | * libbfd-in.h (_bfd_nosymbols_make_empty_symbol): Define as | |
1950 | _bfd_generic_make_empty_symbol. | |
1951 | * libbfd.h: Regenerate. | |
1952 | * bfd-in2.h: Regenerate. | |
1953 | * hppabsd-core.c (hppabsd_core_make_empty_symbol): Delete function. | |
1954 | (hppabsd_core_get_symtab_upper_bound): Don't define. | |
1955 | (hppabsd_core_get_symtab): Likewise. | |
1956 | (hppabsd_core_print_symbol): Likewise. | |
1957 | (hppabsd_core_get_symbol_info): Likewise. | |
1958 | (hppabsd_core_bfd_is_local_label_name): Likewise. | |
1959 | (hppabsd_core_get_lineno): Likewise. | |
1960 | (hppabsd_core_find_nearest_line): Likewise. | |
1961 | (hppabsd_core_bfd_make_debug_symbol): Likewise. | |
1962 | (hppabsd_core_read_minisymbols): Likewise. | |
1963 | (hppabsd_core_minisymbol_to_symbol): Likewise. | |
1964 | (hppabsd_core_vec): Use BFD_JUMP_TABLE_SYMBOLS (_bfd_nosymbols). | |
1965 | Formatting fixes. | |
1966 | * hpux-core.c: Similarly. | |
1967 | * irix-core.c: Similarly. | |
1968 | * osf-core.c: Similarly. | |
1969 | * sco5-core.c: Similarly. | |
1970 | * binary.c (binary_make_empty_symbol): Remove function, define as | |
1971 | _bfd_generic_make_empty_symbol. | |
1972 | * ihex.c (ihex_make_empty_symbol): Likewise. | |
1973 | * mmo.c (mmo_make_empty_symbol): Likewise. | |
1974 | * ppcboot.c (ppcboot_make_empty_symbol): Likewise. | |
1975 | * srec.c (srec_make_empty_symbol): Likewise. | |
1976 | * versados.c (versados_make_empty_symbol): Likewise. | |
1977 | * vms.c (_bfd_vms_make_empty_symbol): Remove. | |
1978 | (vms_make_empty_symbol): Define as _bfd_generic_make_empty_symbol. | |
1979 | * vms-gsd.c (_bfd_vms_slurp_gsd): Call bfd_make_empty_symbol | |
1980 | rather than _bfd_vms_make_empty_symbol. | |
1981 | * vms-misc.c (new_symbol): Likewise. | |
1982 | ||
3f0a7f7f AM |
1983 | 2002-01-05 Alan Modra <[email protected]> |
1984 | ||
9e7b37b3 AM |
1985 | * section.c (bfd_section_init): Remove unnecessary initialisations. |
1986 | (bfd_section_list_clear): New function. | |
1987 | (bfd_section_list_remove, bfd_section_list_insert): New macros. | |
1988 | (_bfd_strip_section_from_output): Use them. | |
1989 | * coffcode.h (coff_set_alignment_hook): Likewise. | |
1990 | * elf32-mips.c (_bfd_mips_elf_final_link): Likewise. | |
1991 | * elf64-mips.c (mips_elf64_final_link): Likewise. | |
1992 | * elf64-mmix.c (mmix_elf_final_link): Likewise. | |
1993 | * sunos.c (sunos_add_dynamic_symbols): Likewise. | |
1994 | * xcofflink.c (_bfd_xcoff_bfd_final_link): Likewise. | |
1995 | * bfd-in2.h: Regenerate. | |
1996 | ||
1997 | * netbsd-core.c (netbsd_core_file_p): Use bfd_make_section_anyway | |
1998 | rather than doing our own section handling. Clean up after errors | |
1999 | with bfd_release and bfd_section_list_clear. Handle unexpected | |
2000 | flags. | |
2001 | * aoutf1.h (sunos4_core_file_p): Likewise. | |
2002 | * aix386-core.c (aix386_core_file_p): Likewise. | |
2003 | * cisco-core.c (cisco_core_file_validate): Likewise. | |
2004 | * ptrace-core.c (ptrace_unix_core_file_p): Likewise. | |
2005 | * trad-core.c (trad_unix_core_file_p): Likewise. | |
2006 | ||
2007 | * hppabsd-core.c (hppabsd_core_core_file_p): Clean up after errors | |
2008 | with bfd_release and bfd_section_list_clear. | |
2009 | * hpux-core.c (hpux_core_core_file_p): Likewise. | |
2010 | * irix-core.c (irix_core_core_file_p): Likewise. | |
2011 | * lynx-core.c (lynx_core_file_p): Likewise. | |
2012 | * osf-core.c (osf_core_core_file_p): Likewise. | |
2013 | * rs6000-core.c (rs6000coff_core_p): Likewise. | |
2014 | * sco5-core.c (sco5_core_file_p): Likewise. | |
2015 | ||
3f0a7f7f AM |
2016 | * elf32-mips.c (_bfd_mips_elf_lo16_reloc): Simplify, and perform |
2017 | sign extension adjustments without conditionals. | |
2018 | ||
a3aa38ee JJ |
2019 | 2002-01-04 Jakub Jelinek <[email protected]> |
2020 | ||
2021 | * elf-eh-frame.c (_bfd_elf_write_section_eh_frame): Don't crash if | |
2022 | CIE at .eh_frame start is removed due to no FDEs referencing it. | |
2023 | ||
8a8b2d4b AJ |
2024 | 2002-01-04 Jason Thorpe <[email protected]> |
2025 | ||
2026 | * config.bfd (x86_64-*-netbsd*): New target. | |
2027 | * configure.in (x86_64-*-netbsd*): Set COREFILE | |
2028 | to netbsd-core.lo. | |
2029 | * configure: Regenerated. | |
2030 | ||
04b5af89 TR |
2031 | 2002-01-03 Tom Rix <[email protected]> |
2032 | ||
2033 | * xcofflink.c (_bfd_xcoff_bfd_final_link): Update .pad section ordering | |
2034 | for recent bfd_make_section_anyway change. | |
2035 | ||
51c5503b NC |
2036 | 2002-01-03 Nick Clifton <[email protected]> |
2037 | ||
2038 | * elf32-arm.h (elf32_arm_final_link_relocate): Handle | |
2039 | R_ARM_THM_PC11 reloc. | |
2040 | ||
07f7c046 NC |
2041 | 2002-01-02 Nick Clifton <[email protected]> |
2042 | ||
2043 | * configure.in (LINGUAS): Add ja. | |
2044 | * configure: Regenerate. | |
2045 | * po/ja.po: Import from translation project's web site. | |
2046 | ||
5eefb65f NC |
2047 | 2002-01-02 Nick Clifton <[email protected]> |
2048 | ||
2049 | * elf32-arm.h (elf32_arm_merge_private_bfd_data): Reformat error | |
2050 | messages to ease translation into other languages. | |
2051 | ||
39e90f10 | 2052 | For older changes see ChangeLog-0001 |
56882138 AM |
2053 | \f |
2054 | Local Variables: | |
2055 | mode: change-log | |
2056 | left-margin: 8 | |
2057 | fill-column: 74 | |
2058 | version-control: never | |
2059 | End: |