]>
Commit | Line | Data |
---|---|---|
930b4cb2 HPN |
1 | 2002-02-01 Hans-Peter Nilsson <[email protected]> |
2 | ||
3 | Perform on-demand global register allocation from | |
4 | R_MMIX_BASE_PLUS_OFFSET relocs. | |
5 | * elf64-mmix.c (struct bpo_reloc_section_info, struct | |
6 | bpo_reloc_request, struct bpo_greg_section_info): New. | |
7 | (mmix_elf_check_common_relocs, mmix_elf_gc_sweep_hook, | |
8 | bpo_reloc_request_sort_fn, mmix_elf_relax_section, | |
9 | _bfd_mmix_check_all_relocs, | |
10 | _bfd_mmix_prepare_linker_allocated_gregs, | |
11 | _bfd_mmix_finalize_linker_allocated_gregs): New functions. | |
12 | (elf_mmix_howto_table): Correct src_mask for most relocs. | |
13 | (mmix_elf_perform_relocation) <case R_MMIX_BASE_PLUS_OFFSET>: New | |
14 | case. | |
15 | (mmix_final_link_relocate) <case R_MMIX_BASE_PLUS_OFFSET>: New | |
16 | case. Fix typo in comment. New label do_mmix_reloc. | |
17 | (mmix_elf_check_relocs): Abuse bfd_link_info member base_file to | |
18 | store first object file with a base-plus-offset reloc. Call | |
19 | mmix_elf_check_common_relocs for the part common with mmo. | |
20 | (mmix_elf_final_link): Write out linker-allocated register | |
21 | contents section. | |
22 | (elf_backend_gc_sweep_hook): Define. | |
23 | (bfd_elf64_bfd_relax_section): Define. | |
24 | ||
25 | * mmo.c: Don't include <ctype.h> | |
26 | (mmo_init): Correct init-once logic. | |
27 | ||
3e36d993 TR |
28 | 2002-02-01 Tom Rix <[email protected]> |
29 | ||
30 | * config.bfd: Conditionally support <aiaff> for pre AIX 4.3. | |
31 | ||
ba323545 AM |
32 | 2002-02-01 Alan Modra <[email protected]> |
33 | ||
34 | * Makefile.am: Run "make dep-am" | |
35 | * Makefile.in: Regenerate. | |
36 | ||
012884d6 DB |
37 | 2002-01-31 David O'Brien <obrien@FreeBSD> |
38 | ||
39 | * configure.in: Recognize the differences in core files from FreeBSD | |
40 | 4.{0,1} and later versions of 4.x. This treats 4.2+ the same as | |
41 | 5-CURRENT. | |
42 | * configure: Regenerate. | |
43 | ||
3b16e843 NC |
44 | 2002-01-31 Ivan Guzvinec <[email protected]> |
45 | ||
46 | * coff-or32.c: New file. | |
47 | * cpu-or32.c: New file. | |
48 | * elf32-or32.c: New file. | |
49 | * archures.c: Add support for or32. | |
50 | * targets.c: Add support for or32. | |
51 | * bfd-in2.h: Regenerate. | |
7dc0ab31 | 52 | * coffcode.h (coff_set_arch_mach_hook, coff_set_flags, |
3b16e843 NC |
53 | coff_write_object_contents): Add support for or32. |
54 | * config.bfd: Add target. | |
55 | * configure.in: Add support for or32. | |
56 | * configure: Regenerate. | |
57 | * Makefile.am: Add support for or32. | |
58 | * Makefile.in: Regenerate. | |
3b16e843 NC |
59 | * po/SRC-POTFILES.in: Add or32 files. |
60 | * po/bfd.pot: Regenerate. | |
7dc0ab31 | 61 | |
caf8ca8e NC |
62 | 2002-01-31 Nick Clifton <[email protected]> |
63 | Don Lindsay <[email protected]> | |
64 | ||
65 | * elf32-mips.c (mips_elf_calculate_relocation): Replace 'return | |
66 | false' with a return of a bfd_reloc_ error code. | |
67 | ||
e5dfef09 HPN |
68 | 2002-01-31 Hans-Peter Nilsson <[email protected]> |
69 | ||
70 | * elf32-cris.c (elf_cris_discard_excess_program_dynamics): Don't | |
71 | unexport unreferenced symbols when --export-dynamic. Call | |
72 | _bfd_elf_strtab_delref when unexporting. | |
73 | ||
4e4770d0 DJ |
74 | 2002-01-30 Daniel Jacobowitz <[email protected]> |
75 | ||
76 | * bfd-in.h: Include <stdbool.h> if it is available. | |
77 | * bfd-in2.h: Regenerated. | |
78 | ||
e1fa50e7 AM |
79 | 2002-01-31 Alan Modra <[email protected]> |
80 | ||
81 | * elf64-ppc.c (func_desc_adjust): STV_PROTECTED functions should | |
82 | not go via the plt. | |
83 | ||
b5f79c76 NC |
84 | 2002-01-30 Nick Clifton <[email protected]> |
85 | ||
b5f79c76 NC |
86 | * archures.c: Tidy up formatting of embedded comments. |
87 | * bfd.c: Tidy up formatting of embedded comments. | |
7dc0ab31 | 88 | * bfd-in.h: Fix formatting of comments. |
b5f79c76 NC |
89 | * reloc.c: Tidy up formatting of ordinary & embedded comments. |
90 | * section.c: Tidy up formatting of embedded comments. | |
91 | * syms.c: Tidy up formatting of embedded comments. | |
92 | * targets.c: Tidy up formatting of embedded comments. | |
93 | ||
94 | * bfd-in2.h: Regenerate. | |
95 | ||
ca09e32b NC |
96 | 2002-01-30 Nick Clifton <[email protected]> |
97 | ||
98 | * vms-tir.c (cmd_name): New function. | |
99 | (tir_cmd_name): New function. | |
100 | (etir_sta, etir_sto, etir_opr, etir_stc): Use cmd_name(). | |
101 | (tir_opr, tir_ctl, tir_cmd): use tir_cmd_name(). | |
102 | Fix formatting. | |
7dc0ab31 | 103 | |
ca09e32b NC |
104 | * peXXigen.c (pe_print_idata): Rearrange message to aid in |
105 | translation. | |
106 | (pe_print_pdata): Rearrange message to aid in translation. | |
107 | ||
108 | * libbfd.c (warn_deprecated): Rearrange error message to aid in | |
109 | translation. | |
110 | ||
111 | * ihex.c (ihex_write_object_contents): Fix spelling typo. | |
112 | ||
113 | * ieee.c (ieee_slurp_external_symbols): Remove spurious space. | |
114 | ||
115 | * elf64-sparc.c (sparc64_elf_add_symbol_hook): Rearrange error | |
116 | message to aid in translation. | |
117 | ||
118 | * elf64-mmix.c (mmix_final_link_relocate): Rearrange error message | |
119 | to aid in translation. | |
120 | ||
121 | * elf32-arm.h (elf32_arm_merge_private_bfd_data): Fix typo. | |
122 | ||
7dc0ab31 | 123 | 2002-01-30 Philipp Thomas <[email protected]> |
ae1a89b7 PT |
124 | |
125 | * coff-arm.c, elf32-elf.h: Unify messages. | |
126 | ||
05f64ac6 NC |
127 | 2002-01-30 Nick Clifton <[email protected]> |
128 | ||
129 | * po/sv.po: Updated translation. | |
130 | ||
f5a3e38a NC |
131 | 2002-01-30 Philipp Thomas <[email protected]> |
132 | ||
133 | * dwarf2.c (read_abbrev): Use full section name in error message. | |
134 | (decode_line_info): Likewise. | |
661a3fd4 NC |
135 | |
136 | * elf.c (_bfd_elf_symbol_from_bfd_symbol): Don't translate debugging | |
137 | message. | |
138 | ||
d926e03d AM |
139 | 2002-01-30 Alan Modra <[email protected]> |
140 | ||
141 | * elf64-ppc.c (func_desc_adjust): Only provide missing function | |
142 | descriptor symbols for undefined function code syms. Clear | |
143 | ELF_LINK_NON_ELF so that they can stay weak. | |
144 | ||
030d18fb | 145 | 2002-01-29 Chris Demetriou <[email protected]> |
7dc0ab31 | 146 | Mitch Lichtenberg <[email protected]> |
030d18fb CD |
147 | |
148 | * bfd-in.h (bfd_mips_elf32_create_embedded_relocs): New prototype. | |
149 | * elf32-mips.c (bfd_mips_elf32_create_embedded_relocs): New function | |
150 | to handle 32-bit ELF embedded reloc (ld --embedded-relocs) | |
151 | generation. | |
152 | * bfd-in2.h: Regenerate. | |
153 | ||
fcc76bea CD |
154 | 2002-01-29 Chris Demetriou <[email protected]> |
155 | ||
156 | * elf32-mips.c: Add additional comments about HI16 relocation | |
157 | processing. | |
158 | (_bfd_mips_elf_hi16_reloc): Don't subtract address here for | |
159 | pc-relative relocations. (Reverts change made on 2001-10-31.) | |
160 | (_bfd_mips_elf_lo16_reloc): Subtract address of LO16 part here | |
161 | for pc-relative relocations. | |
162 | (mips_elf_calculate_relocation): Add a comment about a kludge | |
163 | in the R_MIPS_GNU_REL_HI16 handling. | |
164 | (_bfd_mips_elf_relocate_section): Implement that kludge; | |
165 | adjust pc-relative HI16 relocation for difference in HI16 and | |
166 | LO16 addresses, since it can't easily be done in | |
167 | mips_elf_calculate_relocation. | |
168 | ||
f9cd9119 MS |
169 | 2002-01-29 Martin Schwidefsky <[email protected]> |
170 | ||
171 | * elf32-i386 (elf_i386_adjust_dynamic_symbol): Do not replace PLT32 | |
172 | relocations with PC32 relocations for undefined or weak symbols. | |
173 | * elf32-s390 (elf_i386_adjust_dynamic_symbol): Likewise. | |
174 | * elf64-s390x (elf_i386_adjust_dynamic_symbol): Likewise. | |
175 | ||
702248bb JT |
176 | 2002-01-28 Jason Thorpe <[email protected]> |
177 | ||
178 | * elfcore.h (elf_core_file_p): Improve comment for last change. | |
179 | ||
4867be41 DJ |
180 | 2002-01-27 Daniel Jacobowitz <[email protected]> |
181 | ||
182 | * configure: Regenerated. | |
183 | ||
a94cef6a JT |
184 | 2002-01-27 Jason Thorpe <[email protected]> |
185 | ||
186 | * elfcore.h (elf_core_file_p): Set the machine architecture | |
187 | before processing the program headers. | |
188 | ||
7562a296 HPN |
189 | 2002-01-26 Hans-Peter Nilsson <[email protected]> |
190 | ||
966abd70 HPN |
191 | * configure.in <64-bit configuration>: If using gcc, check and |
192 | emit error for egcs-1.1.2. | |
193 | * configure: Regenerate. | |
194 | ||
e8eab623 NC |
195 | 2002-01-26 Egor Duda <[email protected]> |
196 | ||
197 | * elf.c (elfcore_grok_win32pstatus): Copy only as much information | |
198 | as possible to avoid stack corruption. | |
199 | ||
73896efb RH |
200 | 2002-01-26 Richard Henderson <[email protected]> |
201 | ||
202 | * elf64-alpha.c (elf64_alpha_check_relocs): Don't set reltext | |
203 | for non-allocated sections. | |
204 | ||
205 | 2002-01-25 Mark Kettenis <[email protected]> | |
c106e334 MK |
206 | |
207 | * elf.c (elfcore_write_prstatus): Make sure we pass the address of | |
208 | prstat.pr_reg even if it is a struct. | |
209 | ||
73896efb | 210 | 2002-01-25 Steve Ellcey <[email protected]> |
254ed743 NC |
211 | |
212 | * bfd/elfxx-ia64.c: Reset AIX vector function overrides for HP-UX. | |
213 | ||
3d66c4f7 NC |
214 | 2002-01-25 Philipp Thomas <[email protected]> |
215 | ||
216 | * coffgen.c (coff_print_symbol): Don't mark info message | |
217 | for translation. | |
218 | ||
9460ecda NC |
219 | 2002-01-25 Nick Clifton <[email protected]> |
220 | ||
221 | * po/fr.po: Updated translation. | |
222 | * po/es.po: Updated translation. | |
223 | ||
cc9ff76a AM |
224 | 2002-01-25 Philipp Thomas <[email protected]> |
225 | ||
226 | * coff-alpha.c (alpha_relocate_section): Unify warning message | |
227 | for GP relative relocations without GP defined. | |
228 | * coff-mips.c (mips_relocate_section): Likewise. | |
229 | ||
c68836a9 AM |
230 | 2002-01-25 Alan Modra <[email protected]> |
231 | ||
232 | * elf-eh-frame.c (_bfd_elf_eh_frame_section_offset): Avoid | |
233 | unsigned overflow when new_offset < old_offset. | |
234 | ||
e8eab623 | 235 | 2002-01-24 Philipp Thomas <[email protected]> |
391154e9 NC |
236 | |
237 | * bfd.c (_bfd_abort): Fix typo. | |
238 | ||
8ba89f17 RH |
239 | 2002-01-23 Richard Henderson <[email protected]> |
240 | ||
241 | * elf64-alpha.c (elf64_alpha_adjust_dynamic_symbol): Don't suppress | |
242 | plt entries for undefweak symbols. | |
243 | ||
c6953948 NC |
244 | 2002-01-23 Steve Ellcey <[email protected]> |
245 | ||
246 | * bfd/targets.c (bfd_elf32_ia64_hpux_big_vec): Add to | |
247 | DEFAULT_VECTOR. | |
248 | (bfd_elf64_ia64_hpux_big_vec): Ditto. | |
249 | (bfd_elf32_h8300_vec): Ditto. | |
250 | ||
41bd81ab AM |
251 | 2002-01-23 Alan Modra <[email protected]> |
252 | ||
253 | * elf64-ppc.c: Remove stale part of ABI comment. | |
254 | (NO_OPD_RELOCS): Define. | |
255 | (ppc64_elf_check_relocs): Use it. | |
256 | (ppc64_elf_relocate_section): Here too. | |
257 | (build_one_stub): Don't point function syms at the stub. Instead, | |
258 | hijack plt.offset. | |
259 | (ppc64_elf_relocate_section): Check whether REL24 relocs should | |
260 | really go to the stub. Make all dynamic relocs in opd against | |
261 | locals. | |
262 | (ppc64_elf_finish_dynamic_symbol): Allow for non-standard use of | |
263 | plt.offset. | |
264 | ||
f304919d RH |
265 | 2002-01-22 Richard Henderson <[email protected]> |
266 | ||
267 | * elf64-alpha.c (INSN_UNOP): Encode with RB as $sp. | |
268 | ||
c0ef99a7 AM |
269 | 2002-01-22 Alan Modra <[email protected]> |
270 | ||
60ee0d4a AM |
271 | * elf64-ppc.c (ppc64_elf_finish_dynamic_sections): Correct sign of |
272 | TOC_BASE_OFF adjustment. | |
273 | ||
c0ef99a7 AM |
274 | * Makefile.am: Run "make dep-am". |
275 | * Makefile.in: Regenerate. | |
276 | * po/SRC-POTFILES.in: Regenerate. | |
277 | ||
64328b46 AM |
278 | 2002-01-22 John David Anglin <[email protected]> |
279 | ||
280 | * configure.host (hppa*64*-*-hpux*, hppa*64*-*-linux*): Add new | |
281 | host defines. | |
282 | ||
59953665 | 283 | 2002-01-21 Hans-Peter Nilsson <[email protected]> |
58255df3 HPN |
284 | |
285 | * elf32-cris.c (cris_elf_relocate_section) <case R_CRIS_32_GOTREL>: | |
286 | Check for and emit error if sgot is NULL at this point. | |
287 | ||
9596feea JT |
288 | 2002-01-21 Jason Thorpe <[email protected]> |
289 | ||
290 | * config.bfd (ia64*-*-netbsd*): New target. | |
291 | ||
7b45c6e1 AM |
292 | 2002-01-21 Thomas Klausner <[email protected]> |
293 | ||
294 | * som.c (som_write_space_strings): Comment typo fix. | |
295 | ||
e5094212 AM |
296 | 2002-01-21 Alan Modra <[email protected]> |
297 | ||
e86ce104 AM |
298 | * elf64-ppc.c (struct ppc_link_hash_entry): Add is_func and |
299 | is_func_descriptor fields. | |
300 | (link_hash_newfunc): Init them. | |
301 | (ppc64_elf_check_relocs): Only R_PPC24_REL24 syms starting with a | |
302 | dot are candidates for plt entries. When processing .opd relocs, | |
303 | set function descriptor strings to point inside function code | |
304 | string, and set new ppc_link_hash_entry fields. | |
305 | (ppc64_elf_gc_sweep_hook): Don't sweep R_PPC64_REL24 relocs. | |
306 | (ppc64_elf_adjust_dynamic_symbol): Remove most code dealing with | |
307 | function descriptors. It's now done in.. | |
308 | (func_desc_adjust): New. | |
309 | (ppc64_elf_func_desc_adjust): New. | |
310 | (define elf_backend_always_size_sections): Define. | |
311 | (ppc64_elf_hide_symbol): New. | |
312 | (define elf_backend_hide_symbol): Define. | |
313 | (allocate_dynrelocs): Remove code looking up function descriptors | |
314 | as that has been done earlier. | |
315 | (ppc64_elf_size_dynamic_sections): Use htab shortcut to elf hash | |
316 | table. | |
317 | (ppc64_elf_finish_dynamic_symbol): Likewise. Remove code looking | |
318 | up function descriptor. | |
319 | (build_one_stub): Look up the function code sym. Check for | |
320 | invalid plt offsets. | |
321 | (ppc64_elf_relocate_section): Tweak calls to undefined weak syms. | |
322 | Convert R_PPC64_TOC relocs to R_PPC64_RELATIVE in shared libs. | |
323 | ||
e5094212 AM |
324 | * elf-bfd.h (elf_backend_data <elf_backend_hide_symbol>): Add |
325 | boolean param. | |
326 | (_bfd_elf_link_hash_hide_symbol): Likewise. | |
327 | * elflink.h (elf_link_add_object_symbols): Adjust call to | |
328 | elf_backend_hide_symbol. | |
329 | (elf_fix_symbol_flags): Likewise. | |
330 | (elf_link_assign_sym_version): Likewise. Use bfd_malloc rather | |
331 | than bfd_alloc. | |
332 | * elf.c (_bfd_elf_link_hash_hide_symbol): Add "force_local" param. | |
333 | Set ELF_LINK_FORCED_LOCAL and call _bfd_elf_strtab_delref. | |
334 | * elf32-hppa.c (elf32_hppa_hide_symbol): Likewise. | |
335 | (clobber_millicode_symbols): Adjust to suit new hide_symbol. | |
336 | * elf32-cris.c (elf_cris_hide_symbol): Add "force_local" param | |
337 | and adjust to suit. | |
338 | * elf32-mips.c (_bfd_mips_elf_hide_symbol): Likewise, and call | |
339 | _bfd_elf_link_hash_hide_symbol rather than duplicating code. | |
340 | * elfxx-ia64.c (elfNN_ia64_hash_hide_symbol): Likewise. | |
341 | ||
40b8271b AM |
342 | 2002-01-18 Alan Modra <[email protected]> |
343 | ||
344 | * elf64-ppc.c (ppc64_elf_adjust_dynamic_symbol): Test for a | |
345 | dynamic function descriptor symbol, not the associated function | |
346 | symbol. | |
347 | ||
55baa95b EC |
348 | 2002-01-17 Eric Christopher <[email protected]> |
349 | ||
350 | * elf32-mips.c (mips_elf_calculate_relocation): Fix typo. | |
351 | ||
328577ad NC |
352 | 2002-01-17 Nick Clifton <[email protected]> |
353 | ||
354 | * po/bfd.pot: Regenerate. | |
355 | * po/fr.po: Regenerate. | |
356 | ||
af746e92 AM |
357 | 2002-01-17 Alan Modra <[email protected]> |
358 | ||
359 | * elf-bfd.h (elf_backend_data <elf_backend_section_from_bfd_section>): | |
360 | Remove "Elf_Internal_Shdr *" param. | |
361 | (_bfd_mips_elf_section_from_bfd_section): Ditto. | |
362 | * elf32-mips.c (_bfd_mips_elf_section_from_bfd_section): Ditto. | |
363 | * elf32-m32r.c (_bfd_m32r_elf_section_from_bfd_section): Ditto. | |
364 | * elf32-v850.c (v850_elf_section_from_bfd_section): Ditto. | |
365 | * elf64-mmix.c (mmix_elf_section_from_bfd_section): Ditto. | |
366 | * elfxx-ia64.c (elfNN_hpux_backend_section_from_bfd_section): Ditto. | |
367 | * elf.c (_bfd_elf_section_from_bfd_section): Allow backend | |
368 | function to override special sections. Remove hdr arg from | |
369 | backend call, and don't loop. | |
370 | ||
175e9962 EC |
371 | 2002-01-16 Eric Christopher <[email protected]> |
372 | ||
373 | * elf32-mips.c (mips_elf_calculate_relocation): Set require_jalxp | |
374 | on R_MIPS_26 and target is 16bit. Add R_MIPS16_GPREL to list of | |
375 | relocations requiring gp0 and gp. | |
376 | ||
96a846ea RE |
377 | 2002-01-16 Richard Earnshaw <[email protected]> |
378 | ||
175e9962 | 379 | * elf32-arm.h (elf32_arm_merge_private_bfd_data): Handle |
96a846ea RE |
380 | EF_ARM_VFP_FLOAT. |
381 | (elf32_arm_print_private_bfd_data): Likewise. | |
382 | ||
af3ae48d NC |
383 | 2002-01-16 Nick Clifton <[email protected]> |
384 | ||
385 | * po/tr.po: Import new version. | |
386 | ||
10ed1bba AM |
387 | 2002-01-16 Alan Modra <[email protected]> |
388 | ||
389 | * elf64-ppc.c (ppc64_elf_howto_raw): Remove stale FIXMEs. | |
390 | (ppc64_elf_reloc_type_lookup): Use proper CTOR reloc. | |
391 | (ORI_R0_R0_0): Correct. | |
392 | ||
5d1634d7 AM |
393 | 2002-01-16 Alan Modra <[email protected]> |
394 | ||
395 | * elflink.c (_bfd_elf_create_dynamic_sections): Don't set SEC_CODE | |
396 | when plt_not_loaded. | |
397 | * elf64-ppc.c (ppc64_elf_create_dynamic_sections): No need to | |
398 | clear .plt SEC_CODE here. Create .stub and correct .glink flags. | |
399 | (PLT_INITIAL_ENTRY_SIZE): Set to 24. | |
400 | (ppc64_elf_glink_code): Delete. | |
401 | (PPC64_ELF_GLINK_SIZE): Delete. | |
402 | (ADDIS_R12_R2, STD_R2_40R1, LD_R11_0R12, LD_R2_0R12, MTCTR_R11, | |
403 | BCTR, ADDIS_R12_R12_1, LD_R2_40R1, NOP, LI_R0_0, B_DOT, LIS_R0_0, | |
404 | ORI_R0_R0_0): Define. | |
405 | (PLT_CALL_STUB_SIZE, GLINK_CALL_STUB_SIZE): Define. | |
406 | (struct ppc_link_hash_table): Add sstub and plt_overflow. | |
407 | (ppc64_elf_link_hash_table_create): Init them. | |
408 | (ppc64_elf_check_relocs <R_PPC64_REL24>): Refcount .plt entry. | |
409 | Don't copy to shared lib. | |
410 | (ppc64_elf_check_relocs): Call bfd_set_error on errors. | |
411 | (ppc64_elf_gc_sweep_hook <R_PPC64_REL24>): Sweep plt refcount. | |
412 | (allocate_dynrelocs <plt>): Don't change function sym here. Make | |
413 | room for .stub and .glink code. | |
414 | (ppc64_elf_size_dynamic_sections): Handle .stub. Make entry for | |
415 | DT_PPC64_GLINK. | |
416 | (ppc64_elf_final_link): Rename to ppc64_elf_set_toc. Don't call | |
417 | bfd_elf64_bfd_final_link. | |
418 | (bfd_elf64_bfd_final_link): Don't define. | |
419 | (ppc64_elf_size_stubs): New. | |
420 | (build_plt_stub): New. | |
421 | (build_one_stub): New. | |
422 | (ppc64_elf_build_stubs): New. | |
423 | (ppc64_elf_relocate_section <toc relocs>): Remove assert. | |
424 | (ppc64_elf_relocate_section): Don't copy R_PPC64_REL24 relocs. | |
425 | (ppc64_elf_finish_dynamic_symbol): Don't build stubs here. Set | |
426 | DT_PPC64_GLINK entry. Tweak DT_PLTGOT, DT_JMPREL, DT_PLTRELSZ in | |
427 | case output sections not separate. Adjust DT_RELASZ to not | |
428 | include plt relocs. Set reserved got entry. Set got and plt | |
429 | entry size. | |
430 | (elf_backend_got_header_size): Set to 8. | |
431 | * elf64-ppc.h: New file. | |
432 | ||
c601ffdb AM |
433 | 2002-01-16 Alan Modra <[email protected]> |
434 | ||
435 | * elf32-arm.h (elf32_arm_size_dynamic_sections): When removing | |
436 | sections, use bfd_section_list_remove. | |
437 | * elf32-i370.c (i370_elf_size_dynamic_sections): Likewise. | |
438 | * elflink.h (elf_link_add_object_symbols): When removing all | |
439 | sections, use bfd_section_list_clear. | |
440 | ||
8fb4cb7f NC |
441 | 2002-01-15 Nick Clifton <[email protected]> |
442 | ||
443 | * po/sv.po: New file: Swedish translation. | |
444 | * configure.in (ALL_LINGUAS): Add sv. | |
445 | * configure: Regenerate. | |
446 | ||
d3c456e9 JJ |
447 | 2002-01-15 Jakub Jelinek <[email protected]> |
448 | ||
449 | * elflink.h (elf_link_input_bfd): Back out 2002-01-07 change. | |
450 | * elf.c (merge_sections_remove_hook): New function. | |
451 | (_bfd_elf_merge_sections): Pass it as 3rd argument to | |
452 | _bfd_merge_sections. | |
453 | * libbfd-in.h (_bfd_merge_sections): Add 3rd argument. | |
454 | * libbfd.h: Rebuilt. | |
455 | * merge.c (_bfd_merge_sections): Add remove_hook argument. | |
456 | Call remove_hook if a SEC_EXCLUDE section is encountered. | |
457 | ||
1f7fd478 NC |
458 | 2002-01-15 Nick Clifton <[email protected]> |
459 | ||
460 | * elf32-xstormy16.c (xstormy16_reloc_map): Add new field 'table'. | |
461 | (xstormy16_reloc_map): Initialise new field with correct howto | |
462 | table. | |
463 | (xstormy16_reloc_type_lookup): Use 'table' field to locate correct | |
464 | howto entry. | |
465 | ||
b87011e9 MS |
466 | 2002-01-10 Michael Snyder <[email protected]> |
467 | ||
468 | * elf.c (elfcore_write_prstatus): Use long instead of pid_t; | |
469 | (elfcore_write_pstatus): Use long instead of pid_t; | |
470 | * elf-bfd.h: Change prototypes to use long instead of pid_t; | |
471 | ||
175e9962 | 472 | 2002-01-09 Jason Thorpe <[email protected]> |
b4db1224 JT |
473 | |
474 | * elf.c: Update copyright years. | |
475 | (elfcore_grok_netbsd_note): Use NT_NETBSDCORE_PROCINFO | |
476 | and NT_NETBSDCORE_FIRSTMACH. Improve a comment. | |
477 | ||
7c76fa91 MS |
478 | 2002-01-08 Michael Snyder <[email protected]> |
479 | ||
480 | Add capability to write corefile note sections, for gdb. | |
481 | * elf.c (elfcore_write_note): New function. | |
482 | (elfcore_write_prpsinfo): New function. | |
483 | (elfcore_write_prstatus): New function. | |
484 | (elfcore_write_pstatus): New function. | |
485 | (elfcore_write_prfpreg): New function. | |
486 | (elfcore_write_prxfpreg): New function. | |
97996af6 | 487 | * elf-bfd.h: Add prototypes for above functions. |
7c76fa91 | 488 | |
e1fddb6b AO |
489 | 2002-01-08 Alexandre Oliva <[email protected]> |
490 | ||
491 | * elf.c (elf_fake_sections): Propagate errors from | |
492 | elf_backend_fake_section. | |
493 | ||
8d05742f JT |
494 | 2002-01-07 Jason Thorpe <[email protected]> |
495 | ||
496 | * Makefile.am (BFD32_BACKENDS): Add elf32-sh-nbsd.lo. | |
497 | (BFD32_BACKENDS_CFILES): Add elf32-sh-nbsd.c. | |
498 | (elf32-sh-nbsd.lo): New rule. | |
499 | * Makefile.in: Regenerate. | |
500 | * config.bfd (sh*le-*-netbsdelf*): New target. | |
501 | (sh*-*-netbsdelf*): New target. | |
502 | * configure.in: Include netbsd-core.lo for native sh*-*-netbsd*. | |
503 | (bfd_elf32_shnbsd_vec): New vector. | |
504 | (bfd_elf32_shlnbsd_vec): New vector. | |
505 | * configure: Regenerate. | |
506 | * elf32-sh-nbsd.c: New file. | |
507 | * targets.c: Update copyright years. | |
175e9962 | 508 | (_bfd_target_vector): Add bfd_elf32_shlnbsd_vec and |
8d05742f JT |
509 | bfd_elf32_shnbsd_vec. |
510 | ||
1dba4cb4 AH |
511 | 2002-01-07 Aldy Hernandez <[email protected]> |
512 | ||
513 | * coff-rs6000.c (READ20): Use bfd_scan_vma. | |
514 | ||
47b22aef GK |
515 | 2002-01-07 Geoffrey Keating <[email protected]> |
516 | ||
517 | * elflink.h (elf_link_input_bfd): Don't ask for the merged offset | |
518 | of a symbol in a section that will be deleted. | |
519 | ||
be2d1673 NC |
520 | 2002-01-07 Nick Clifton <[email protected]> |
521 | ||
522 | * po/es.po: New file: Spanish translation. | |
523 | * configure.in (ALL_LINGUAS): Add es. | |
524 | * configure: Regenerate. | |
525 | ||
d9cf1b54 AM |
526 | 2002-01-06 Steve Ellcey <[email protected]> |
527 | ||
528 | * elfxx-ia64.c (is_unwind_section_name): Add target vector as | |
529 | argument so we can handle HP-UX specially. | |
530 | (elfNN_ia64_hpux_vec): New for use in is_unwind_section_name. | |
531 | (elfNN_hpux_backend_section_from_bfd_section): New for support | |
532 | of SHN_IA_64_ANSI_COMMON. | |
533 | (elfNN_ia64_relax_section): Add support for SHN_IA_64_ANSI_COMMON. | |
534 | (is_unwind_section_name): Add special HP-UX support. | |
535 | (elfNN_ia64_section_from_shdr): Add support for more sections. | |
536 | (elfNN_ia64_fake_sections): Modify is_unwind_section_name call and | |
537 | add support for more sections. | |
538 | (elfNN_ia64_additional_program_headers): Modify | |
539 | is_unwind_section_name call. | |
540 | (elfNN_ia64_modify_segment_map): Remove assumption that there is | |
541 | only one unwind section in segment. | |
542 | ||
3f3c5c34 AM |
543 | 2002-01-06 Alan Modra <[email protected]> |
544 | ||
545 | * syms.c (_bfd_generic_make_empty_symbol): New function. | |
546 | * libbfd-in.h (_bfd_nosymbols_make_empty_symbol): Define as | |
547 | _bfd_generic_make_empty_symbol. | |
548 | * libbfd.h: Regenerate. | |
549 | * bfd-in2.h: Regenerate. | |
550 | * hppabsd-core.c (hppabsd_core_make_empty_symbol): Delete function. | |
551 | (hppabsd_core_get_symtab_upper_bound): Don't define. | |
552 | (hppabsd_core_get_symtab): Likewise. | |
553 | (hppabsd_core_print_symbol): Likewise. | |
554 | (hppabsd_core_get_symbol_info): Likewise. | |
555 | (hppabsd_core_bfd_is_local_label_name): Likewise. | |
556 | (hppabsd_core_get_lineno): Likewise. | |
557 | (hppabsd_core_find_nearest_line): Likewise. | |
558 | (hppabsd_core_bfd_make_debug_symbol): Likewise. | |
559 | (hppabsd_core_read_minisymbols): Likewise. | |
560 | (hppabsd_core_minisymbol_to_symbol): Likewise. | |
561 | (hppabsd_core_vec): Use BFD_JUMP_TABLE_SYMBOLS (_bfd_nosymbols). | |
562 | Formatting fixes. | |
563 | * hpux-core.c: Similarly. | |
564 | * irix-core.c: Similarly. | |
565 | * osf-core.c: Similarly. | |
566 | * sco5-core.c: Similarly. | |
567 | * binary.c (binary_make_empty_symbol): Remove function, define as | |
568 | _bfd_generic_make_empty_symbol. | |
569 | * ihex.c (ihex_make_empty_symbol): Likewise. | |
570 | * mmo.c (mmo_make_empty_symbol): Likewise. | |
571 | * ppcboot.c (ppcboot_make_empty_symbol): Likewise. | |
572 | * srec.c (srec_make_empty_symbol): Likewise. | |
573 | * versados.c (versados_make_empty_symbol): Likewise. | |
574 | * vms.c (_bfd_vms_make_empty_symbol): Remove. | |
575 | (vms_make_empty_symbol): Define as _bfd_generic_make_empty_symbol. | |
576 | * vms-gsd.c (_bfd_vms_slurp_gsd): Call bfd_make_empty_symbol | |
577 | rather than _bfd_vms_make_empty_symbol. | |
578 | * vms-misc.c (new_symbol): Likewise. | |
579 | ||
3f0a7f7f AM |
580 | 2002-01-05 Alan Modra <[email protected]> |
581 | ||
9e7b37b3 AM |
582 | * section.c (bfd_section_init): Remove unnecessary initialisations. |
583 | (bfd_section_list_clear): New function. | |
584 | (bfd_section_list_remove, bfd_section_list_insert): New macros. | |
585 | (_bfd_strip_section_from_output): Use them. | |
586 | * coffcode.h (coff_set_alignment_hook): Likewise. | |
587 | * elf32-mips.c (_bfd_mips_elf_final_link): Likewise. | |
588 | * elf64-mips.c (mips_elf64_final_link): Likewise. | |
589 | * elf64-mmix.c (mmix_elf_final_link): Likewise. | |
590 | * sunos.c (sunos_add_dynamic_symbols): Likewise. | |
591 | * xcofflink.c (_bfd_xcoff_bfd_final_link): Likewise. | |
592 | * bfd-in2.h: Regenerate. | |
593 | ||
594 | * netbsd-core.c (netbsd_core_file_p): Use bfd_make_section_anyway | |
595 | rather than doing our own section handling. Clean up after errors | |
596 | with bfd_release and bfd_section_list_clear. Handle unexpected | |
597 | flags. | |
598 | * aoutf1.h (sunos4_core_file_p): Likewise. | |
599 | * aix386-core.c (aix386_core_file_p): Likewise. | |
600 | * cisco-core.c (cisco_core_file_validate): Likewise. | |
601 | * ptrace-core.c (ptrace_unix_core_file_p): Likewise. | |
602 | * trad-core.c (trad_unix_core_file_p): Likewise. | |
603 | ||
604 | * hppabsd-core.c (hppabsd_core_core_file_p): Clean up after errors | |
605 | with bfd_release and bfd_section_list_clear. | |
606 | * hpux-core.c (hpux_core_core_file_p): Likewise. | |
607 | * irix-core.c (irix_core_core_file_p): Likewise. | |
608 | * lynx-core.c (lynx_core_file_p): Likewise. | |
609 | * osf-core.c (osf_core_core_file_p): Likewise. | |
610 | * rs6000-core.c (rs6000coff_core_p): Likewise. | |
611 | * sco5-core.c (sco5_core_file_p): Likewise. | |
612 | ||
3f0a7f7f AM |
613 | * elf32-mips.c (_bfd_mips_elf_lo16_reloc): Simplify, and perform |
614 | sign extension adjustments without conditionals. | |
615 | ||
a3aa38ee JJ |
616 | 2002-01-04 Jakub Jelinek <[email protected]> |
617 | ||
618 | * elf-eh-frame.c (_bfd_elf_write_section_eh_frame): Don't crash if | |
619 | CIE at .eh_frame start is removed due to no FDEs referencing it. | |
620 | ||
8a8b2d4b AJ |
621 | 2002-01-04 Jason Thorpe <[email protected]> |
622 | ||
623 | * config.bfd (x86_64-*-netbsd*): New target. | |
624 | * configure.in (x86_64-*-netbsd*): Set COREFILE | |
625 | to netbsd-core.lo. | |
626 | * configure: Regenerated. | |
627 | ||
04b5af89 TR |
628 | 2002-01-03 Tom Rix <[email protected]> |
629 | ||
630 | * xcofflink.c (_bfd_xcoff_bfd_final_link): Update .pad section ordering | |
631 | for recent bfd_make_section_anyway change. | |
632 | ||
51c5503b NC |
633 | 2002-01-03 Nick Clifton <[email protected]> |
634 | ||
635 | * elf32-arm.h (elf32_arm_final_link_relocate): Handle | |
636 | R_ARM_THM_PC11 reloc. | |
637 | ||
07f7c046 NC |
638 | 2002-01-02 Nick Clifton <[email protected]> |
639 | ||
640 | * configure.in (LINGUAS): Add ja. | |
641 | * configure: Regenerate. | |
642 | * po/ja.po: Import from translation project's web site. | |
643 | ||
5eefb65f NC |
644 | 2002-01-02 Nick Clifton <[email protected]> |
645 | ||
646 | * elf32-arm.h (elf32_arm_merge_private_bfd_data): Reformat error | |
647 | messages to ease translation into other languages. | |
648 | ||
39e90f10 | 649 | For older changes see ChangeLog-0001 |
56882138 AM |
650 | \f |
651 | Local Variables: | |
652 | mode: change-log | |
653 | left-margin: 8 | |
654 | fill-column: 74 | |
655 | version-control: never | |
656 | End: |