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