]> git.ipfire.org Git - thirdparty/binutils-gdb.git/blame - bfd/ChangeLog
Add Danish translation
[thirdparty/binutils-gdb.git] / bfd / ChangeLog
CommitLineData
41bd81ab
AM
12002-01-23 Alan Modra <amodra@bigpond.net.au>
2
3 * elf64-ppc.c: Remove stale part of ABI comment.
4 (NO_OPD_RELOCS): Define.
5 (ppc64_elf_check_relocs): Use it.
6 (ppc64_elf_relocate_section): Here too.
7 (build_one_stub): Don't point function syms at the stub. Instead,
8 hijack plt.offset.
9 (ppc64_elf_relocate_section): Check whether REL24 relocs should
10 really go to the stub. Make all dynamic relocs in opd against
11 locals.
12 (ppc64_elf_finish_dynamic_symbol): Allow for non-standard use of
13 plt.offset.
14
f304919d
RH
152002-01-22 Richard Henderson <rth@redhat.com>
16
17 * elf64-alpha.c (INSN_UNOP): Encode with RB as $sp.
18
c0ef99a7
AM
192002-01-22 Alan Modra <amodra@bigpond.net.au>
20
60ee0d4a
AM
21 * elf64-ppc.c (ppc64_elf_finish_dynamic_sections): Correct sign of
22 TOC_BASE_OFF adjustment.
23
c0ef99a7
AM
24 * Makefile.am: Run "make dep-am".
25 * Makefile.in: Regenerate.
26 * po/SRC-POTFILES.in: Regenerate.
27
64328b46
AM
282002-01-22 John David Anglin <dave@hiauly1.hia.nrc.ca>
29
30 * configure.host (hppa*64*-*-hpux*, hppa*64*-*-linux*): Add new
31 host defines.
32
59953665 332002-01-21 Hans-Peter Nilsson <hp@axis.com>
58255df3
HPN
34
35 * elf32-cris.c (cris_elf_relocate_section) <case R_CRIS_32_GOTREL>:
36 Check for and emit error if sgot is NULL at this point.
37
9596feea
JT
382002-01-21 Jason Thorpe <thorpej@wasabisystems.com>
39
40 * config.bfd (ia64*-*-netbsd*): New target.
41
7b45c6e1
AM
422002-01-21 Thomas Klausner <wiz@danbala.ifoer.tuwien.ac.at>
43
44 * som.c (som_write_space_strings): Comment typo fix.
45
e5094212
AM
462002-01-21 Alan Modra <amodra@bigpond.net.au>
47
e86ce104
AM
48 * elf64-ppc.c (struct ppc_link_hash_entry): Add is_func and
49 is_func_descriptor fields.
50 (link_hash_newfunc): Init them.
51 (ppc64_elf_check_relocs): Only R_PPC24_REL24 syms starting with a
52 dot are candidates for plt entries. When processing .opd relocs,
53 set function descriptor strings to point inside function code
54 string, and set new ppc_link_hash_entry fields.
55 (ppc64_elf_gc_sweep_hook): Don't sweep R_PPC64_REL24 relocs.
56 (ppc64_elf_adjust_dynamic_symbol): Remove most code dealing with
57 function descriptors. It's now done in..
58 (func_desc_adjust): New.
59 (ppc64_elf_func_desc_adjust): New.
60 (define elf_backend_always_size_sections): Define.
61 (ppc64_elf_hide_symbol): New.
62 (define elf_backend_hide_symbol): Define.
63 (allocate_dynrelocs): Remove code looking up function descriptors
64 as that has been done earlier.
65 (ppc64_elf_size_dynamic_sections): Use htab shortcut to elf hash
66 table.
67 (ppc64_elf_finish_dynamic_symbol): Likewise. Remove code looking
68 up function descriptor.
69 (build_one_stub): Look up the function code sym. Check for
70 invalid plt offsets.
71 (ppc64_elf_relocate_section): Tweak calls to undefined weak syms.
72 Convert R_PPC64_TOC relocs to R_PPC64_RELATIVE in shared libs.
73
e5094212
AM
74 * elf-bfd.h (elf_backend_data <elf_backend_hide_symbol>): Add
75 boolean param.
76 (_bfd_elf_link_hash_hide_symbol): Likewise.
77 * elflink.h (elf_link_add_object_symbols): Adjust call to
78 elf_backend_hide_symbol.
79 (elf_fix_symbol_flags): Likewise.
80 (elf_link_assign_sym_version): Likewise. Use bfd_malloc rather
81 than bfd_alloc.
82 * elf.c (_bfd_elf_link_hash_hide_symbol): Add "force_local" param.
83 Set ELF_LINK_FORCED_LOCAL and call _bfd_elf_strtab_delref.
84 * elf32-hppa.c (elf32_hppa_hide_symbol): Likewise.
85 (clobber_millicode_symbols): Adjust to suit new hide_symbol.
86 * elf32-cris.c (elf_cris_hide_symbol): Add "force_local" param
87 and adjust to suit.
88 * elf32-mips.c (_bfd_mips_elf_hide_symbol): Likewise, and call
89 _bfd_elf_link_hash_hide_symbol rather than duplicating code.
90 * elfxx-ia64.c (elfNN_ia64_hash_hide_symbol): Likewise.
91
40b8271b
AM
922002-01-18 Alan Modra <amodra@bigpond.net.au>
93
94 * elf64-ppc.c (ppc64_elf_adjust_dynamic_symbol): Test for a
95 dynamic function descriptor symbol, not the associated function
96 symbol.
97
55baa95b
EC
982002-01-17 Eric Christopher <echristo@redhat.com>
99
100 * elf32-mips.c (mips_elf_calculate_relocation): Fix typo.
101
328577ad
NC
1022002-01-17 Nick Clifton <nickc@cambridge.redhat.com>
103
104 * po/bfd.pot: Regenerate.
105 * po/fr.po: Regenerate.
106
af746e92
AM
1072002-01-17 Alan Modra <amodra@bigpond.net.au>
108
109 * elf-bfd.h (elf_backend_data <elf_backend_section_from_bfd_section>):
110 Remove "Elf_Internal_Shdr *" param.
111 (_bfd_mips_elf_section_from_bfd_section): Ditto.
112 * elf32-mips.c (_bfd_mips_elf_section_from_bfd_section): Ditto.
113 * elf32-m32r.c (_bfd_m32r_elf_section_from_bfd_section): Ditto.
114 * elf32-v850.c (v850_elf_section_from_bfd_section): Ditto.
115 * elf64-mmix.c (mmix_elf_section_from_bfd_section): Ditto.
116 * elfxx-ia64.c (elfNN_hpux_backend_section_from_bfd_section): Ditto.
117 * elf.c (_bfd_elf_section_from_bfd_section): Allow backend
118 function to override special sections. Remove hdr arg from
119 backend call, and don't loop.
120
175e9962
EC
1212002-01-16 Eric Christopher <echristo@redhat.com>
122
123 * elf32-mips.c (mips_elf_calculate_relocation): Set require_jalxp
124 on R_MIPS_26 and target is 16bit. Add R_MIPS16_GPREL to list of
125 relocations requiring gp0 and gp.
126
96a846ea
RE
1272002-01-16 Richard Earnshaw <rearnsha@arm.com>
128
175e9962 129 * elf32-arm.h (elf32_arm_merge_private_bfd_data): Handle
96a846ea
RE
130 EF_ARM_VFP_FLOAT.
131 (elf32_arm_print_private_bfd_data): Likewise.
132
af3ae48d
NC
1332002-01-16 Nick Clifton <nickc@cambridge.redhat.com>
134
135 * po/tr.po: Import new version.
136
10ed1bba
AM
1372002-01-16 Alan Modra <amodra@bigpond.net.au>
138
139 * elf64-ppc.c (ppc64_elf_howto_raw): Remove stale FIXMEs.
140 (ppc64_elf_reloc_type_lookup): Use proper CTOR reloc.
141 (ORI_R0_R0_0): Correct.
142
5d1634d7
AM
1432002-01-16 Alan Modra <amodra@bigpond.net.au>
144
145 * elflink.c (_bfd_elf_create_dynamic_sections): Don't set SEC_CODE
146 when plt_not_loaded.
147 * elf64-ppc.c (ppc64_elf_create_dynamic_sections): No need to
148 clear .plt SEC_CODE here. Create .stub and correct .glink flags.
149 (PLT_INITIAL_ENTRY_SIZE): Set to 24.
150 (ppc64_elf_glink_code): Delete.
151 (PPC64_ELF_GLINK_SIZE): Delete.
152 (ADDIS_R12_R2, STD_R2_40R1, LD_R11_0R12, LD_R2_0R12, MTCTR_R11,
153 BCTR, ADDIS_R12_R12_1, LD_R2_40R1, NOP, LI_R0_0, B_DOT, LIS_R0_0,
154 ORI_R0_R0_0): Define.
155 (PLT_CALL_STUB_SIZE, GLINK_CALL_STUB_SIZE): Define.
156 (struct ppc_link_hash_table): Add sstub and plt_overflow.
157 (ppc64_elf_link_hash_table_create): Init them.
158 (ppc64_elf_check_relocs <R_PPC64_REL24>): Refcount .plt entry.
159 Don't copy to shared lib.
160 (ppc64_elf_check_relocs): Call bfd_set_error on errors.
161 (ppc64_elf_gc_sweep_hook <R_PPC64_REL24>): Sweep plt refcount.
162 (allocate_dynrelocs <plt>): Don't change function sym here. Make
163 room for .stub and .glink code.
164 (ppc64_elf_size_dynamic_sections): Handle .stub. Make entry for
165 DT_PPC64_GLINK.
166 (ppc64_elf_final_link): Rename to ppc64_elf_set_toc. Don't call
167 bfd_elf64_bfd_final_link.
168 (bfd_elf64_bfd_final_link): Don't define.
169 (ppc64_elf_size_stubs): New.
170 (build_plt_stub): New.
171 (build_one_stub): New.
172 (ppc64_elf_build_stubs): New.
173 (ppc64_elf_relocate_section <toc relocs>): Remove assert.
174 (ppc64_elf_relocate_section): Don't copy R_PPC64_REL24 relocs.
175 (ppc64_elf_finish_dynamic_symbol): Don't build stubs here. Set
176 DT_PPC64_GLINK entry. Tweak DT_PLTGOT, DT_JMPREL, DT_PLTRELSZ in
177 case output sections not separate. Adjust DT_RELASZ to not
178 include plt relocs. Set reserved got entry. Set got and plt
179 entry size.
180 (elf_backend_got_header_size): Set to 8.
181 * elf64-ppc.h: New file.
182
c601ffdb
AM
1832002-01-16 Alan Modra <amodra@bigpond.net.au>
184
185 * elf32-arm.h (elf32_arm_size_dynamic_sections): When removing
186 sections, use bfd_section_list_remove.
187 * elf32-i370.c (i370_elf_size_dynamic_sections): Likewise.
188 * elflink.h (elf_link_add_object_symbols): When removing all
189 sections, use bfd_section_list_clear.
190
8fb4cb7f
NC
1912002-01-15 Nick Clifton <nickc@cambridge.redhat.com>
192
193 * po/sv.po: New file: Swedish translation.
194 * configure.in (ALL_LINGUAS): Add sv.
195 * configure: Regenerate.
196
d3c456e9
JJ
1972002-01-15 Jakub Jelinek <jakub@redhat.com>
198
199 * elflink.h (elf_link_input_bfd): Back out 2002-01-07 change.
200 * elf.c (merge_sections_remove_hook): New function.
201 (_bfd_elf_merge_sections): Pass it as 3rd argument to
202 _bfd_merge_sections.
203 * libbfd-in.h (_bfd_merge_sections): Add 3rd argument.
204 * libbfd.h: Rebuilt.
205 * merge.c (_bfd_merge_sections): Add remove_hook argument.
206 Call remove_hook if a SEC_EXCLUDE section is encountered.
207
1f7fd478
NC
2082002-01-15 Nick Clifton <nickc@cambridge.redhat.com>
209
210 * elf32-xstormy16.c (xstormy16_reloc_map): Add new field 'table'.
211 (xstormy16_reloc_map): Initialise new field with correct howto
212 table.
213 (xstormy16_reloc_type_lookup): Use 'table' field to locate correct
214 howto entry.
215
b87011e9
MS
2162002-01-10 Michael Snyder <msnyder@redhat.com>
217
218 * elf.c (elfcore_write_prstatus): Use long instead of pid_t;
219 (elfcore_write_pstatus): Use long instead of pid_t;
220 * elf-bfd.h: Change prototypes to use long instead of pid_t;
221
175e9962 2222002-01-09 Jason Thorpe <thorpej@wasabisystems.com>
b4db1224
JT
223
224 * elf.c: Update copyright years.
225 (elfcore_grok_netbsd_note): Use NT_NETBSDCORE_PROCINFO
226 and NT_NETBSDCORE_FIRSTMACH. Improve a comment.
227
7c76fa91
MS
2282002-01-08 Michael Snyder <msnyder@redhat.com>
229
230 Add capability to write corefile note sections, for gdb.
231 * elf.c (elfcore_write_note): New function.
232 (elfcore_write_prpsinfo): New function.
233 (elfcore_write_prstatus): New function.
234 (elfcore_write_pstatus): New function.
235 (elfcore_write_prfpreg): New function.
236 (elfcore_write_prxfpreg): New function.
97996af6 237 * elf-bfd.h: Add prototypes for above functions.
7c76fa91 238
e1fddb6b
AO
2392002-01-08 Alexandre Oliva <aoliva@redhat.com>
240
241 * elf.c (elf_fake_sections): Propagate errors from
242 elf_backend_fake_section.
243
8d05742f
JT
2442002-01-07 Jason Thorpe <thorpej@wasabisystems.com>
245
246 * Makefile.am (BFD32_BACKENDS): Add elf32-sh-nbsd.lo.
247 (BFD32_BACKENDS_CFILES): Add elf32-sh-nbsd.c.
248 (elf32-sh-nbsd.lo): New rule.
249 * Makefile.in: Regenerate.
250 * config.bfd (sh*le-*-netbsdelf*): New target.
251 (sh*-*-netbsdelf*): New target.
252 * configure.in: Include netbsd-core.lo for native sh*-*-netbsd*.
253 (bfd_elf32_shnbsd_vec): New vector.
254 (bfd_elf32_shlnbsd_vec): New vector.
255 * configure: Regenerate.
256 * elf32-sh-nbsd.c: New file.
257 * targets.c: Update copyright years.
175e9962 258 (_bfd_target_vector): Add bfd_elf32_shlnbsd_vec and
8d05742f
JT
259 bfd_elf32_shnbsd_vec.
260
1dba4cb4
AH
2612002-01-07 Aldy Hernandez <aldyh@redhat.com>
262
263 * coff-rs6000.c (READ20): Use bfd_scan_vma.
264
47b22aef
GK
2652002-01-07 Geoffrey Keating <geoffk@redhat.com>
266
267 * elflink.h (elf_link_input_bfd): Don't ask for the merged offset
268 of a symbol in a section that will be deleted.
269
be2d1673
NC
2702002-01-07 Nick Clifton <nickc@cambridge.redhat.com>
271
272 * po/es.po: New file: Spanish translation.
273 * configure.in (ALL_LINGUAS): Add es.
274 * configure: Regenerate.
275
d9cf1b54
AM
2762002-01-06 Steve Ellcey <sje@cup.hp.com>
277
278 * elfxx-ia64.c (is_unwind_section_name): Add target vector as
279 argument so we can handle HP-UX specially.
280 (elfNN_ia64_hpux_vec): New for use in is_unwind_section_name.
281 (elfNN_hpux_backend_section_from_bfd_section): New for support
282 of SHN_IA_64_ANSI_COMMON.
283 (elfNN_ia64_relax_section): Add support for SHN_IA_64_ANSI_COMMON.
284 (is_unwind_section_name): Add special HP-UX support.
285 (elfNN_ia64_section_from_shdr): Add support for more sections.
286 (elfNN_ia64_fake_sections): Modify is_unwind_section_name call and
287 add support for more sections.
288 (elfNN_ia64_additional_program_headers): Modify
289 is_unwind_section_name call.
290 (elfNN_ia64_modify_segment_map): Remove assumption that there is
291 only one unwind section in segment.
292
3f3c5c34
AM
2932002-01-06 Alan Modra <amodra@bigpond.net.au>
294
295 * syms.c (_bfd_generic_make_empty_symbol): New function.
296 * libbfd-in.h (_bfd_nosymbols_make_empty_symbol): Define as
297 _bfd_generic_make_empty_symbol.
298 * libbfd.h: Regenerate.
299 * bfd-in2.h: Regenerate.
300 * hppabsd-core.c (hppabsd_core_make_empty_symbol): Delete function.
301 (hppabsd_core_get_symtab_upper_bound): Don't define.
302 (hppabsd_core_get_symtab): Likewise.
303 (hppabsd_core_print_symbol): Likewise.
304 (hppabsd_core_get_symbol_info): Likewise.
305 (hppabsd_core_bfd_is_local_label_name): Likewise.
306 (hppabsd_core_get_lineno): Likewise.
307 (hppabsd_core_find_nearest_line): Likewise.
308 (hppabsd_core_bfd_make_debug_symbol): Likewise.
309 (hppabsd_core_read_minisymbols): Likewise.
310 (hppabsd_core_minisymbol_to_symbol): Likewise.
311 (hppabsd_core_vec): Use BFD_JUMP_TABLE_SYMBOLS (_bfd_nosymbols).
312 Formatting fixes.
313 * hpux-core.c: Similarly.
314 * irix-core.c: Similarly.
315 * osf-core.c: Similarly.
316 * sco5-core.c: Similarly.
317 * binary.c (binary_make_empty_symbol): Remove function, define as
318 _bfd_generic_make_empty_symbol.
319 * ihex.c (ihex_make_empty_symbol): Likewise.
320 * mmo.c (mmo_make_empty_symbol): Likewise.
321 * ppcboot.c (ppcboot_make_empty_symbol): Likewise.
322 * srec.c (srec_make_empty_symbol): Likewise.
323 * versados.c (versados_make_empty_symbol): Likewise.
324 * vms.c (_bfd_vms_make_empty_symbol): Remove.
325 (vms_make_empty_symbol): Define as _bfd_generic_make_empty_symbol.
326 * vms-gsd.c (_bfd_vms_slurp_gsd): Call bfd_make_empty_symbol
327 rather than _bfd_vms_make_empty_symbol.
328 * vms-misc.c (new_symbol): Likewise.
329
3f0a7f7f
AM
3302002-01-05 Alan Modra <amodra@bigpond.net.au>
331
9e7b37b3
AM
332 * section.c (bfd_section_init): Remove unnecessary initialisations.
333 (bfd_section_list_clear): New function.
334 (bfd_section_list_remove, bfd_section_list_insert): New macros.
335 (_bfd_strip_section_from_output): Use them.
336 * coffcode.h (coff_set_alignment_hook): Likewise.
337 * elf32-mips.c (_bfd_mips_elf_final_link): Likewise.
338 * elf64-mips.c (mips_elf64_final_link): Likewise.
339 * elf64-mmix.c (mmix_elf_final_link): Likewise.
340 * sunos.c (sunos_add_dynamic_symbols): Likewise.
341 * xcofflink.c (_bfd_xcoff_bfd_final_link): Likewise.
342 * bfd-in2.h: Regenerate.
343
344 * netbsd-core.c (netbsd_core_file_p): Use bfd_make_section_anyway
345 rather than doing our own section handling. Clean up after errors
346 with bfd_release and bfd_section_list_clear. Handle unexpected
347 flags.
348 * aoutf1.h (sunos4_core_file_p): Likewise.
349 * aix386-core.c (aix386_core_file_p): Likewise.
350 * cisco-core.c (cisco_core_file_validate): Likewise.
351 * ptrace-core.c (ptrace_unix_core_file_p): Likewise.
352 * trad-core.c (trad_unix_core_file_p): Likewise.
353
354 * hppabsd-core.c (hppabsd_core_core_file_p): Clean up after errors
355 with bfd_release and bfd_section_list_clear.
356 * hpux-core.c (hpux_core_core_file_p): Likewise.
357 * irix-core.c (irix_core_core_file_p): Likewise.
358 * lynx-core.c (lynx_core_file_p): Likewise.
359 * osf-core.c (osf_core_core_file_p): Likewise.
360 * rs6000-core.c (rs6000coff_core_p): Likewise.
361 * sco5-core.c (sco5_core_file_p): Likewise.
362
3f0a7f7f
AM
363 * elf32-mips.c (_bfd_mips_elf_lo16_reloc): Simplify, and perform
364 sign extension adjustments without conditionals.
365
a3aa38ee
JJ
3662002-01-04 Jakub Jelinek <jakub@redhat.com>
367
368 * elf-eh-frame.c (_bfd_elf_write_section_eh_frame): Don't crash if
369 CIE at .eh_frame start is removed due to no FDEs referencing it.
370
8a8b2d4b
AJ
3712002-01-04 Jason Thorpe <thorpej@wasabisystems.com>
372
373 * config.bfd (x86_64-*-netbsd*): New target.
374 * configure.in (x86_64-*-netbsd*): Set COREFILE
375 to netbsd-core.lo.
376 * configure: Regenerated.
377
04b5af89
TR
3782002-01-03 Tom Rix <trix@redhat.com>
379
380 * xcofflink.c (_bfd_xcoff_bfd_final_link): Update .pad section ordering
381 for recent bfd_make_section_anyway change.
382
51c5503b
NC
3832002-01-03 Nick Clifton <nickc@cambridge.redhat.com>
384
385 * elf32-arm.h (elf32_arm_final_link_relocate): Handle
386 R_ARM_THM_PC11 reloc.
387
07f7c046
NC
3882002-01-02 Nick Clifton <nickc@cambridge.redhat.com>
389
390 * configure.in (LINGUAS): Add ja.
391 * configure: Regenerate.
392 * po/ja.po: Import from translation project's web site.
393
5eefb65f
NC
3942002-01-02 Nick Clifton <nickc@cambridge.redhat.com>
395
396 * elf32-arm.h (elf32_arm_merge_private_bfd_data): Reformat error
397 messages to ease translation into other languages.
398
39e90f10 399For older changes see ChangeLog-0001
56882138
AM
400\f
401Local Variables:
402mode: change-log
403left-margin: 8
404fill-column: 74
405version-control: never
406End: