]> Git Repo - binutils.git/blame - bfd/ChangeLog
2002-03-04 H.J. Lu <[email protected]>
[binutils.git] / bfd / ChangeLog
CommitLineData
bb2a49f2
AM
12002-03-04 Alan Modra <[email protected]>
2
3 * configure.in (WIN32LIBADD): Don't eval PICFLAG assignment.
4 * configure: Regenerate.
5
38487e5e
TR
62002-03-02 Tom Rix <[email protected]>
7
8 * coff64-rs6000.c (xcoff64_howto_table): Replace howto types with
9 symbolic equiv.
10 * coff-rs6000.c (xcoff_howto_table): Same.
11
30831527
RH
122002-03-01 David Mosberger <[email protected]>
13
14 * elflink.h (size_dynamic_sections): If section named
15 ".preinit_array" exists, create DT_PREINIT_ARRAY and
16 DT_PREINIT_ARRAYSZ entries in dynamic table. Analogously for
17 ".init_array" and ".fini_array".
18 (elf_bfd_final_link): Handle DT_PREINIT_ARRAYSZ, DT_INIT_ARRAYSZ,
19 DT_FINI_ARRAYSZ, DT_PREINIT_ARRAY, DT_INIT_ARRAY, and
20 DT_FINI_ARRAY.
21
c8e5ddc8
AM
222002-02-26 Andrew Macleod <[email protected]>
23
24 * elflink.h (elf_bfd_final_link): Don't crash on SHN_UNDEF local
25 dynsyms.
26
96e0dda4
AM
272002-02-25 Alan Modra <[email protected]>
28
1c5b6bf8
AM
29 * elf64-hppa.h: Update copyright date.
30
96e0dda4
AM
31 * elf64-ppc.c (ppc64_elf_check_relocs): Warning fix.
32 (ppc64_elf_relocate_section): Don't generate power4 style branch
33 hints for *_BRTAKEN and *_BRNTAKEN relocs.
34
0fb19cbc
JJ
352002-02-22 Jakub Jelinek <[email protected]>
36
37 * elf64-sh64.c (sh_elf64_relocate_section): Fix a typo from my
38 last patch.
39 * elf64-x86-64.c (elf64_x86_64_relocate_section): Likewise.
40
c434dee6
AJ
412002-02-21 Andreas Jaeger <[email protected]>
42
43 * elf64-x86-64.c: Major rework that introduces all recent changes
44 to the x86-64 backend. Get a closer match to elf32-i386.
45 (struct elf64_x86_64_dyn_relocs): Rename from
46 elf64_x86_64_pcrel_relocs_copied, add additional fields. Change
47 all users.
48 (struct elf64_x86_64_link_hash_table): Add short cuts to some
49 sections.
50 (link_hash_newfunc): Rename from elf64_x86_64_link_hash_newfunc,
51 remove casts, initialize new hash members.
52 (create_got_section): New.
53 (elf64_x86_64_create_dynamic_sections): New.
54 (elf64_x86_64_copy_indirect_symbol): New.
55 (elf64_x86_64_check_relocs): Don't allocate space for dynamic
56 relocs, .got or .relgot here but do it in allocate_dynrelocs.
57 Reference count possible .plt and .got entries. Don't test input
58 section SEC_READONLY here to try to avoid copy relocs, and keep
59 dyn_relocs regardless of ELF_LINK_NON_GOT_REF. Don't set
60 DF_TEXTREL here. Delay setting of variables until needed. Cache
61 pointer to "sreloc" section in elf_section_data. Tweak condition
62 under which .got created. Report files with bad relocation
63 section names.
64 (elf64_x86_64_gc_sweep_hook): Sweep dyn_relocs and local_dynrel.
65 Reference count possible .plt entries. Don't deallocate .got and
66 .relgot space here.
67 (elf64_x86_64_adjust_dynamic_symbol): Handle nocopyreloc. Don't
68 do copy reloc processing for weakdefs. Remove redundant casts and
69 aborts. Delay setting of vars until needed. Move creation of
70 dynamic symbols and allocation of .plt and .rela.plt to
71 allocate_dynrelocs. Replace BFD_ASSERT with abort.
72 (WILL_CALL_FINISH_DYNAMIC_SYMBOL): New.
73 (allocate_dynrelocs): New.
74 (readonly_dynrelocs): New.
75 (elf64_x86_64_size_dynamic_sections): Call readonly_dynrelocs.
76 Allocate space for dyn relocs. Replace BFD_ASSERT with abort.
77 Zero out the dynamic allocated content space.
78 (elf64_x86_64_discard_copies): Removed.
79 (elf64_x86_64_relocate_section): Make use of dynamic section
80 short-cuts. Localise vars, and delay setting. Better error
81 reporting, replace BFD_ASSERT with abort. Check
82 ELF_LINK_HASH_DEF_DYNAMIC to see if a symbol is not defined in the
83 regular object file and tread the weak definition as the normal
84 one. Don't discard relocs for undefweak or undefined symbols and
85 check !DEF_REGULAR as well as DEF_DYNAMIC in test for avoided copy
86 relocs.
87 (elf64_x86_64_finish_dynamic_symbol): Don't copy relocs for
88 symbols that have been forced local. Use same test to decide if
89 we can use a relative reloc for got as relocate_section. Expand
90 SHN_UNDEF comment. Move expressions out of function calls.
91 Replace BFD_ASSERT with abort.
92 (bfd_elf64_bfd_final_link): Removed.
93 (elf_backend_copy_indirect_symbol): Define.
94
ff3a6ee3
TR
952002-02-20 Tom Rix <[email protected]>
96
97 * coff-rs6000.c (xcoff_howto_table): Add 16 bit R_BA.
98 (_bfd_xcoff_reloc_type_lookup): Use it.
99 * coff64-rs6000.c (xcoff64_howto_table): Same.
100 (xcoff64_reloc_type_lookup): Same.
c434dee6 101
a68d41fb
AM
1022002-02-20 Peter Schauer <[email protected]>
103
104 * osf-core.c (osf_core_vec): OSF/1 (Digital Unix) core files are
105 little endian.
106
befc3abb
MS
1072002-02-19 Martin Schwidefsky <[email protected]>
108
109 * archures.c (bfd_mach_s390_esa): Rename to bfd_mach_s390_31.
110 (bfd_mach_s390_esame): Rename to bfd_mach_s390_64.
111 * bfd-in2.h: Regenerate.
112 * cpu-s390.c (arch_info_struct): Use renamed architecture defines.
113 Replace architecture name "s390" with "s390:31-bit" and "s390:esame"
114 with "s390:64-bit".
115 * elf32-s390.c (elf_howto_table): Add 32 bit pc relative relocations.
116 (elf_s390_reloc_type_lookup): Likewise.
117 (elf_s390_check_relocs): Likewise.
118 (elf_s390_gc_sweep_hook): Likewise.
119 (elf_s390_relocate_section): Likewise.
120 (elf_s390_object_p): Use renamed architecture define.
121 * elf64-s390.c (elf_s390_object_p): Use renamed architecture define.
122
6eeeec9b
FCE
1232002-02-19 Frank Ch. Eigler <[email protected]>
124
125 * syms.c (stt[]): Sorted. Added .init/.fini -> "t" mapping.
126
0bb2d96a
JJ
1272002-02-19 Jakub Jelinek <[email protected]>
128
129 * elf-eh-frame.c (_bfd_elf_discard_section_eh_frame): Enable
130 absptr -> pcrel optimization for shared libs.
131 Only create minimal .eh_frame_hdr if absptr FDE encoding in shared
132 library cannot be converted to pcrel.
133 (_bfd_elf_eh_frame_section_offset): Return -2 if making absptr
134 relative.
135 * elf32-i386.c (elf_i386_relocate_section): If
136 _bfd_elf_section_offset returned -2, skip, but make sure the
137 relocation is installed.
138 * elf32-arm.h (elf32_arm_final_link_relocate): Likewise.
139 * elf32-cris.c (cris_elf_relocate_section): Likewise.
140 * elf32-hppa.c (elf32_hppa_relocate_section): Likewise.
141 * elf32-i370.c (i370_elf_relocate_section): Likewise.
142 * elf32-m68k.c (elf_m68k_relocate_section): Likewise.
143 * elf32-ppc.c (ppc_elf_relocate_section): Likewise.
144 * elf32-s390.c (elf_s390_relocate_section): Likewise.
145 * elf32-sh.c (sh_elf_relocate_section): Likewise.
146 * elf32-sparc.c (elf32_sparc_relocate_section): Likewise.
147 * elf64-ppc.c (ppc64_elf_relocate_section): Likewise.
148 * elf64-s390.c (elf_s390_relocate_section): Likewise.
149 * elf64-sh64.c (sh_elf64_relocate_section): Likewise.
150 * elf64-sparc.c (sparc64_elf_relocate_section): Likewise.
151 * elf64-x86-64.c (elf64_x86_64_relocate_section): Likewise.
152 * elf64-alpha.c (elf64_alpha_relocate_section): Handle
153 _bfd_elf_section_offset returning -2 the same way as -1.
154 * elfxx-ia64.c (elfNN_ia64_install_dyn_reloc): Likewise.
155 * elf32-mips.c (mips_elf_create_dynamic_relocation): Add FIXME
156 and BFD_ASSERT.
157 * elf64-mips.c (mips_elf64_create_dynamic_relocation): Likewise.
158
69f284c7
TR
1592002-02-18 Tom Rix <[email protected]>
160
161 * xcofflink.c (bfd_xcoff_link_gernate_rtinit): Add -brtl support.
162 (bfd_xcoff_size_dynamic_sections): Same.
163 * bfd-in.h (bfd_xcoff_link_generate_rtinit): Same.
164 (bfd_xcoff_size_dynamic_sections): Same.
165 * coff-rs6000.c (xcoff_generate_rtinit): Same.
166 * coff-rs646000.c (xcoff64_generate_rtinit): Same.
167 * libxcoff.h (struct xcoff_backend_data_rec): Same.
168 * xcofflink.c (xcoff_build_ldsyms, xcoff_link_add_symbols): Clean.
169 * bfd-in2.h: Regenerate.
170
82bd7b59
AM
1712002-02-18 Alan Modra <[email protected]>
172
173 * elf64-ppc.c (STFD_FR0_0R1, LFD_FR0_0R1, BLR): Define.
174 (struct ppc_link_hash_table): Add sfpr.
175 (ppc64_elf_link_hash_table_create): Init it.
176 (ppc64_elf_create_dynamic_sections): Split creation of .stub and
177 .glink out to..
178 (create_linkage_sections): ..here. Make .sfpr too.
179 (ppc64_elf_check_relocs): Call create_linkage_sections, and set
180 dynobj early.
181 (MIN_SAVE_FPR, MAX_SAVE_FPR): Define.
182 (ppc64_elf_func_desc_adjust): Look for missing ._savef* and
183 ._restf* functions, and create as needed.
184 (func_desc_adjust): Only force_local for shared libs.
185
ef1355e8
NC
1862002-02-18 David O'Brien <[email protected]>
187
188 * configure.in: Bump version number post 2.12 branching.
189 * configure: Regenerate.
190
dfa36a69
HPN
1912002-02-17 Hans-Peter Nilsson <[email protected]>
192
193 * mmo.c: Correct and improve comments.
194 (mmo_write_chunk): Store trailing byte in bfd buffer; don't
195 zero-pad. Use input to fill up non-empty bfd buffer.
196 (mmo_flush_chunk): New function.
197 (mmo_write_loc_chunk): Add parameter last_vmap, all callers
198 changed. Don't emit location specifier if VMA is same as
199 *LAST_VMAP after omitting leading zero contents. Call
200 mmo_flush_chunk before emitting location specifier.
201 (mmo_write_loc_chunk_list): Call mmo_flush_chunk when finished
202 with mmo_write_loc_chunk calls.
203 (mmo_internal_write_section): Call mmo_flush_chunk after
204 mmo_write_chunk.
205 (mmo_write_symbols_and_terminator): Move :Main to first position
206 in symbol array. Add faked one if it does not exist if there are
207 other symbols. Don't add it if there are no symbols at all. Move
208 out test for value of :Main from symbol loop. Rename table
209 fakemain to maintable and variable mainsym to fakemain.
210
ccf00ab6
RH
2112002-02-15 Richard Henderson <[email protected]>
212
213 * elf64-alpha.c (elf64_alpha_relocate_section) [BRSGP]: A target
214 section with no got matches any got. Simplify error generaion.
215
88eaccc2
AM
2162002-02-15 Alan Modra <[email protected]>
217
fd96f80f
AM
218 Support arbitrary length fill patterns.
219 * linker.c (bfd_new_link_order): Zero all fields with bfd_zalloc.
220 (_bfd_default_link_order): Remove bfd_fill_link_order code.
221 Call default_data_link_order.
222 (default_fill_link_order): Delete.
223 (default_data_link_order): New function.
224 * elf32-mips.c (_bfd_mips_elf_final_link): Replace occurrences
225 of bfd_fill_link_order with bfd_data_link_order.
226 * elf64-alpha.c (elf64_alpha_final_link): Likewise.
227 * elf64-mips.c (mips_elf64_final_link): Likewise.
228
88eaccc2
AM
229 * bfd.c (bfd_scan_vma): Clamp overflows to max bfd_vma value.
230 Correct value returned in "end" for "0x<non-hex>".
231
e2fd756b
NC
2322002-02-14 Nick Clifton <[email protected]>
233
234 * cpu-arm.c (processors): Replace 'arch' field with 'mach'.
235 (scan): Test against 'mach' field in info structure.
236
edd29cf9
AM
2372002-02-14 Alan Modra <[email protected]>
238
239 * elf.c (elf_fake_sections): Use SHT_NOBITS when SEC_NEVER_LOAD.
240
1e30956e 2412002-02-14 Matt Fredette <[email protected]>
76f57f3a
JT
242
243 * elf32-m68k.c (elf32_m68k_print_private_bfd_data): Recognize
244 EF_M68000.
245
bf36db18
NC
2462002-02-13 Nick Clifton <[email protected]>
247
248 * elf.c (_bfd_elf_make_section_from_shdr): Do not insist on
edd29cf9
AM
249 non-zero physical addresses when adjusting the LMAs of new
250 sections.
bf36db18 251
189c6563
AM
2522002-02-12 John David Anglin <[email protected]>
253
254 * elf-hppa.h (elf_hppa_reloc_final_type): New function stripped
255 from _bfd_elf_hppa_gen_reloc_type.
256 (_bfd_elf_hppa_gen_reloc_type): Remove duplicate prototype.
257 * elf32-hppa.h (elf32_hppa_reloc_final_type): Add protptype.
258 * elf32-hppa.c: Include elf32-hppa.h before elf-hppa.h.
259 * elf64-hppa.h (elf64_hppa_reloc_final_type): Add protptype.
260
e948afaf
AO
2612002-02-12 Alexandre Oliva <[email protected]>
262
263 * elf-m10300.c (mn10300_elf_relax_section): Skip section before
264 loading its contents if there's nothing to do in it.
265
19397422
AM
2662002-02-12 Alan Modra <[email protected]>
267
0ad3a73b
AM
268 * elf64-ppc.c (ppc64_elf_size_stubs): Correct test for crossing
269 64k boundary.
270
19397422
AM
271 * elf64-ppc.c (ppc64_elf_size_dynamic_sections): Add dynamic
272 DT_PPC64_OPD and DT_PPC64_OPDSZ tags.
273 (ppc64_elf_finish_dynamic_sections): Set values for them.
274
51316059
MS
2752002-02-11 Michael Snyder <[email protected]>
276
277 * elf-bfd.h (elfcore_write_lwpstatus): Add prototype.
278 * elf.c (elfcore_grok_pstatus): Add prototype.
279 (elfcore_grok_lwpstatus): Add prototype.
280 (elfcore_write_lwpstatus): New function.
281 (elfcore_write_pstatus): Fix typo, eliminate unnecessary memcpy.
282
518313c3
AO
2832002-02-11 Alexandre Oliva <[email protected]>
284
285 * elf32-sh.c: Added missing prototypes.
286 * elf32-sh64.c: Likewise.
287 (sh_elf_align_loads): Mark unused args as such.
288 * elf64-sh64.c: Added missing prototypes.
289 (struct elf_sh64_link_hash_entry): Fix typo.
290 (sh_elf64_relocate_section): Fix info argument passed to
291 _bfd_elf_section_offset.
292
2c73f9d8
AM
2932002-02-11 Alan Modra <[email protected]>
294
295 * Makefile.am: "make dep-am".
296 * Makefile.in: Regenerate.
297 * aclocal.m4: Regenerate.
298 * config.in: Regenerate.
299 * configure: Regenerate.
300
d426c6b0
DJ
3012002-02-10 Daniel Jacobowitz <[email protected]>
302
303 * coff-rs6000.c (xcoff_generate_rtinit): Silence uninitialized
304 variable warnings.
305 * elf32-sh.c (sh_elf_relax_section): Silence signed/unsigned
306 comparison warning.
307 * trad-core.c (trad_unix_core_file_p): Silence pointer/integer
308 cast warnings for the common case.
309
e58ee0cd
HPN
3102002-02-10 Hans-Peter Nilsson <[email protected]>
311
312 * config.bfd (sh-*-linux*, sh-*-elf* | sh-*-rtemself*): Add sh64
313 vectors.
314 (sh-*-netbsdelf*): New, to trump sh*-*-netbsdelf* and add sh64
315 vectors.
316
7793f4d0
RH
3172002-02-09 Richard Henderson <[email protected]>
318
319 * elf64-alpha.c (elf64_alpha_howto): Add R_ALPHA_BRSGP.
320 (elf64_alpha_reloc_map, elf64_alpha_check_relocs): Likewise.
321 (elf64_alpha_relocate_section): Likewise.
322 * reloc.c (BFD_RELOC_ALPHA_BRSGP): New.
323 * bfd-in2.h, libbfd.h: Rebuild.
324
7e799044
HPN
3252002-02-09 Hans-Peter Nilsson <[email protected]>
326
327 * elf64-mmix.c (_bfd_mmix_finalize_linker_allocated_gregs): Check
328 that base-plus-offset reloc accounting is consistent.
329 (mmix_elf_relax_section): Keep base-plus-offset reloc accounting
330 up to date for undefined symbols.
331
027d73eb
EC
3322002-02-08 Eric Christopher <[email protected]>
333
334 From Rainer Orth <[email protected]>
335
336 * elf32-mips.c (_bfd_mips_elf_fake_sections): Don't create .rela
337 sections for the O32 ABI.
338
517662d4
CD
3392002-02-08 Chris Demetriou <[email protected]>
340
341 * elf32-arm.h: Fix formatting of _("...").
342 * elf32-d10v.c: Likewise.
343 * elf32-m68k.c: Likewise.
344 * elf32-mips.c: Likewise.
345
5e37cc46
NC
3462002-02-08 Ivan Guzvinec <[email protected]>
347
348 * coff-or32.c: Fix compile time warning messages.
349
fbca6ad9
AO
3502002-02-08 Alexandre Oliva <[email protected]>
351
352 Contribute sh64-elf.
353 2002-01-23 Alexandre Oliva <[email protected]>
354 * reloc.c (R_SH_GOTPLT32, R_SH_GOT_LOW16, R_SH_GOT_MEDLOW16,
355 R_SH_GOT_MEDHI16, R_SH_GOT_HI16, R_SH_GOTPLT_LOW16,
356 R_SH_GOTPLT_MEDLOW16, R_SH_GOTPLT_MEDHI16, R_SH_GOTPLT_HI16,
357 R_SH_PLT_LOW16, R_SH_PLT_MEDLOW16, R_SH_PLT_MEDHI16,
358 R_SH_PLT_HI16, R_SH_GOTOFF_LOW16, R_SH_GOTOFF_MEDLOW16,
359 R_SH_GOTOFF_MEDHI16, R_SH_GOTOFF_HI16, R_SH_GOTPC_LOW16,
360 R_SH_GOTPC_MEDLOW16, R_SH_GOTPC_MEDHI16, R_SH_GOTPC_HI16,
361 R_SH_GOT10BY4, R_SH_GOTPLT10BY4, R_SH_GOT10BY8, R_SH_GOTPLT10BY8,
362 R_SH_COPY64, R_SH_GLOB_DAT64, R_SH_JMP_SLOT64, R_SH_RELATIVE64):
363 New relocs.
364 * libbfd.h, bfd-in2.h: Rebuilt.
365 * elf32-sh.c (sh_elf_howto_table): Define new relocs.
366 (sh_reloc_map): Map them.
367 (PLT_ENTRY_SIZE, elf_sh_plt0_entry_be, elf_sh_plt0_entry_le,
368 elf_sh_plt_entry_be, elf_sh_plt_entry_le, elf_sh_pic_plt_entry_be,
369 elf_sh_pic_plt_entry_le, elf_sh_plt0_entry, elf_sh_plt_entry,
370 elf_sh_pic_plt_entry, elf_sh_sizeof_plt, elf_sh_plt_plt0_offset,
371 elf_sh_plt0_gotplt_offset, elf_sh_plt_temp_offset,
372 elf_sh_plt_symbol_offset, elf_sh_plt_reloc_offset,
373 movi_shori_putval) [INCLUDE_SHMEDIA]: New.
374 (elf_sh_link_hash_entry) [INCLUDE_SHMEDIA]: Add
375 datalabel_got_offset.
376 (sh_elf_link_hash_newfunc): Initialize it.
377 (sh_elf_relocate_section): Augment the scope of
378 seen_stt_datalabel. Introduce GOTPLT support. Extend GOTPC, PLT,
379 GOT and GOTOFF handling to new SHmedia relocation types. Support
380 GOT_BIAS.
381 (sh_elf_check_relocs): Likewise.
382 (sh_elf_finish_dynamic_symbol) [TARGET_SHMEDIA]: Set up values in
383 PLT entries using movi_shori_putval. Support GOT_BIAS.
384 (sh_elf_finish_dynamic_sections): Likewise.
385 * elf32-sh64.c (shmedia_prepare_reloc): Do not add addend to
386 relocation, it's now done by the caller.
387 (GOT_BIAS): New.
388 * elf64-sh64.c (GOT_BIAS, PLT_ENTRY_SIZE, elf_sh64_sizeof_plt,
389 elf_sh64_plt_plt0_offset, elf_sh64_plt0_gotplt_offset,
390 elf_sh64_plt_temp_offset, elf_sh64_plt_symbol_offset,
391 elf_sh64_plt_reloc_offset, ELF_DYNAMIC_INTERPRETER,
392 elf_sh64_pcrel_relocs_copied, elf_sh64_link_hash_entry,
393 elf_sh64_link_hash_table, sh64_elf64_link_hash_traverse,
394 sh64_elf64_hash_table): New.
395 (sh_elf64_howto_table): Introduce new relocs.
396 (sh_elf64_info_to_howto): Accept new PIC relocs.
397 (sh_elf64_relocate_section): Augment the scope of
398 seen_stt_datalabel. Support new PIC relocs.
399 (sh_elf64_check_relocs): Support new PIC relocs.
400 (elf_sh64_plt0_entry_be, elf_sh64_plt0_entry_le,
401 elf_sh64_plt_entry_be, elf_sh64_plt_entry_le,
402 elf_sh64_pic_plt_entry_be, elf_sh64_pic_plt_entry_le,
403 elf_sh64_plt0_entry, elf_sh64_plt_entry, elf_sh64_pic_plt_entry,
404 sh64_elf64_link_hash_newfunc, sh64_elf64_link_hash_table_create,
405 movi_shori_putval, movi_3shori_putval,
406 sh64_elf64_create_dynamic_sections,
407 sh64_elf64_adjust_dynamic_symbol, sh64_elf64_discard_copies,
408 sh64_elf64_size_dynamic_sections,
409 sh64_elf64_finish_dynamic_symbol,
410 sh64_elf64_finish_dynamic_sections): New.
411 (elf_backend_create_dynamic-sections,
412 bfd_elf64_bfd_link_hash_table_create,
413 elf_backend_adjust_dynamic_symbol,
414 elf_backend_size_dynamic_sections,
415 elf_backend_finish_dynamic_symbol,
416 elf_backend_finish_dynamic_sections, elf_backend_want_got_plt,
417 elf_backend_plt_readonly, elf_backend_want_plt_sym,
418 elf_backend_got_header_size, elf_backend_plt_header_size):
419 Define.
420 2001-05-16 Alexandre Oliva <[email protected]>
421 * elf32-sh.c: Renumbered and renamed some SH5 relocations to
422 match official numbers and names; moved unmaching ones to the
423 range 0xf2-0xff.
424 * elf32-sh64.c, elf64-sh64.c: Likewise.
425 2001-03-12 DJ Delorie <[email protected]>
426 * elf32-sh.c (sh_elf_relax_section): Don't relax SHmedia
427 sections.
428 2001-03-12 DJ Delorie <[email protected]>
429 * elf32-sh64.c (shmedia_prepare_reloc): Validate relocs that must
430 be aligned.
431 * elf64-sh64.c (sh_elf64_relocate_section): Ditto.
432 2001-01-14 Hans-Peter Nilsson <[email protected]>
433 * elf32-sh64.c (bfd_elf32_bfd_copy_private_section_data): Define.
434 (sh64_elf_fake_sections): Set type to SHT_SH5_CR_SORTED for a
435 .cranges section with SEC_SORT_ENTRIES set.
436 (sh64_backend_section_from_shdr): Set SEC_SORT_ENTRIES on an
437 incoming sorted .cranges section.
438 (sh64_bfd_elf_copy_private_section_data): New.
439 (sh64_elf_final_write_processing): Only sort .cranges and modify
440 start address if called by linker.
441 2001-01-08 Ben Elliston <[email protected]>
442 * elf32-sh64.c (sh64_elf_final_write_processing): Activate
443 Hans-Peter Nilsson's set bit 0 patch from 2001-01-06.
444 * elf64-sh64.c (sh64_elf64_final_write_processing): Ditto.
445 2001-01-06 Hans-Peter Nilsson <[email protected]>
446 * elf64-sh64.c (sh_elf64_howto_table): No open brace at start of
447 line. Add comments before all entries.
448 <R_SH_PT_16, R_SH_SHMEDIA_CODE>: Correct and clarify describing
449 comment.
450 (sh_elf64_reloc): Correct head comment.
451 (sh_elf64_relocate_section): Correct spacing.
452 <relocating for a local symbol>: Do not honour STO_SH5_ISA32;
453 instead call reloc_dangerous callback.
454 <case R_SH_SHMEDIA_CODE>: New case.
455 (sh_elf64_gc_mark_hook): Correct spacing.
456 (sh_elf64_check_relocs): Ditto.
457 * elf32-sh64.c (shmedia_prepare_reloc) <case R_SH_SHMEDIA_CODE>:
458 New case.
459 * elf32-sh.c: Correct #endif comments for #ifndef-wrapped
460 functions.
461 (sh_elf_howto_table) <R_SH_PT_16, R_SH_SHMEDIA_CODE>: Correct,
462 clarify describing comment. Add comments before all entries.
463 (sh_elf_relocate_section) <relocating for a local symbol>: Do not
464 honour STO_SH5_ISA32; instead call reloc_dangerous callback.
465 2001-01-06 Hans-Peter Nilsson <[email protected]>
466 Sort .cranges section in final link. Prepare to set bit 0 on
467 entry address.
468 * elf32-sh64.c (struct sh64_find_section_vma_data): New.
469 (sh64_elf_link_output_symbol_hook): Fix typo in prototype.
470 (sh64_elf_set_mach_from_flags): Set SEC_DEBUGGING on incoming
471 .cranges section.
472 (sh64_backend_section_from_shdr): New, to recognize
473 SHT_SH5_CR_SORTED on incoming .cranges section.
474 (elf_backend_section_from_shdr): Define.
475 (sh64_elf_final_write_processing): Sort outgoing .cranges
476 section. (New, temporarily disabled:) Set bit 0 on entry address
477 according to ISA type.
478 (sh64_find_section_for_address): New.
479 (crange_qsort_cmpb, crange_qsort_cmpl, crange_bsearch_cmpb,
480 crange_bsearch_cmpl): Move here from opcodes/sh64-dis.c.
481 (sh64_address_in_cranges): Move here from opcodes/sh64-dis.c. Use
482 bfd_malloc, not xmalloc.
483 (sh64_get_contents_type): Move here from opcodes/sh64-dis.c. Make
484 global.
485 * elf32-sh64.c (sh64_elf64_final_write_processing): New, (but
486 temporarily disabled) setting bit 0 on entry address.
487 (elf_backend_final_write_processing): Define.
488 2001-01-05 Hans-Peter Nilsson <[email protected]>
489 * elf32-sh.c (sh_elf_howto_table) <R_SH_PT_16>: Adjust fields to
490 be a proper relocation for PTA and PTB rather than a marker.
491 <R_SH_IMMU5, R_SH_IMMS6, R_SH_IMMU6, R_SH_IMMS10, R_SH_IMMS10BY2,
492 R_SH_IMMS10BY4, R_SH_IMMS10BY8, R_SH_IMMS16, R_SH_IMMU16,
493 R_SH_IMM_LOW16, R_SH_IMM_LOW16_PCREL, R_SH_IMM_MEDLOW16,
494 R_SH_IMM_MEDLOW16_PCREL, R_SH_IMM_MEDHI16, R_SH_IMM_MEDHI16_PCREL,
495 R_SH_IMM_HI16, R_SH_IMM_HI16_PCREL, R_SH_64, R_SH_64_PCREL>:
496 Zero src_mask.
497 * elf64-sh64.c: Ditto.
498 (sh_elf64_relocate_section) <case R_SH_PT_16>: New case.
499 * elf32-sh64.c: Include opcodes/sh64-opc.h
500 (shmedia_prepare_reloc): Take a bfd_link_info pointer as first
501 argument. Drop const qualifiers from "bfd *" and "bfd_byte *"
502 parameters. No unused parameters. Caller changed.
503 <case R_SH_PT_16>: New case.
504 * Makefile.am (elf32-sh64.lo): Add dependency on sh64-opc.h.
505 * Makefile.in: Regenerate.
506 2000-12-30 Hans-Peter Nilsson <[email protected]>
507 * elf64-sh64.c (sh64_elf64_fake_sections): Set SHF_SH5_ISA32 for
508 all code sections.
509 (sh_elf64_set_mach_from_flags): Change from EF_SH64 to EF_SH5.
510 (sh64_elf_merge_private_data): Ditto.
511 * elf32-sh64.c (sh64_elf_fake_sections): Use sh64_elf_section_data
512 to access stored section flags.
513 (sh64_elf_final_write_processing): Return immediately unless
514 called by linker. Use sh64_elf_section_data (cranges) to get size
515 of linker-generated cranges entries.
516 (sh64_elf_copy_private_data): Add missing "return true".
517 (sh64_elf_set_mach_from_flags): Change from EF_SH64 to EF_SH5.
518 (sh_elf64_merge_private_data): Ditto.
519 2000-12-19 Hans-Peter Nilsson <[email protected]>
520 * elf64-sh64.c (sh64_elf64_fake_sections): New, copy of
521 elf64-sh64.c:sh64_elf_fake_sections.
522 (elf_backend_fake_sections): Define as sh64_elf64_fake_sections.
523 2000-12-18 Hans-Peter Nilsson <[email protected]>
524 * elf32-sh64.c (sh64_elf_copy_private_data_internal): Delete.
525 (sh64_elf_final_write_processing): New.
526 (elf_backend_final_write_processing): Define.
527 (sh64_elf_fake_sections): Get header flags from tdata field.
528 (sh64_elf_copy_private_data): Do not call
529 sh64_elf_copy_private_data_internal, just copy e_flags field.
530 (sh64_elf_merge_private_data): Do not call
531 sh64_elf_copy_private_data_internal.
532 2000-12-12 Hans-Peter Nilsson <[email protected]>
533 Remove EF_SH64_ABI64, let ELF size make difference.
534 Remove SH64-specific BFD section flag.
535 * elf32-sh64.c (sh64_elf_fake_sections): Recognize section as
536 containing SHmedia through elf_section_data (asect)->tdata
537 non-zero, not using a BFD section flag.
538 (sh64_elf_set_mach_from_flags): Don't recognize EF_SH64_ABI64.
539 (sh64_elf_merge_private_data): Similar.
540 (elf_backend_section_flags): Don't define.
541 (sh64_elf_backend_section_flags): Delete.
542 * elf64-sh64.c (sh_elf64_set_mach_from_flags): Recognize EF_SH64,
543 not EF_SH64_ABI64.
544 (sh_elf64_merge_private_data): Similar.
545 * section.c (Section flags definitions): Don't define
546 SEC_SH_ISA_SHMEDIA.
547 (bfd-in2.h): Regenerate.
548 2000-12-09 Hans-Peter Nilsson <[email protected]>
549 Make DataLabel references work with partial linking.
550 * elf32-sh64.c: Fix formatting.
551 (sh64_elf_link_output_symbol_hook): New.
552 (elf_backend_link_output_symbol_hook): Define to
553 sh64_elf_link_output_symbol_hook.
554 (sh64_elf_add_symbol_hook): Make DataLabel symbol just global
555 undefined if partial linking. Adjust sanity check.
556 * elf64-sh64.c (sh64_elf64_link_output_symbol_hook): New.
557 (elf_backend_link_output_symbol_hook): Define to
558 sh64_elf64_link_output_symbol_hook.
559 (sh64_elf64_add_symbol_hook): Make DataLabel symbol just global
560 undefined if partial linking. Adjust sanity check.
561 2000-12-07 Hans-Peter Nilsson <[email protected]>
562 Implement semantics for inter-file DataLabel references.
563 * elf64-sh64.c (DATALABEL_SUFFIX): Define.
564 (sh64_elf64_add_symbol_hook): New.
565 (sh_elf64_relocate_section): If passing an indirect symbol with
566 st_type STT_DATALABEL on the way to a symbol with st_other
567 STO_SH5_ISA32, do not bitor 1 to the relocation.
568 (elf_backend_add_symbol_hook): Define to
569 sh64_elf64_add_symbol_hook.
570 * elf64-sh32.c: Tweak comments.
571 (DATALABEL_SUFFIX): Define.
572 (sh64_elf_add_symbol_hook): New.
573 (elf_backend_add_symbol_hook): Define to sh64_elf_add_symbol_hook.
574 * elf32-sh.c (sh_elf_relocate_section): If passing an indirect
575 symbol with st_type STT_DATALABEL on the way to a symbol with
576 st_other STO_SH5_ISA32, do not bitor 1 to the relocation.
577 2000-12-05 Hans-Peter Nilsson <[email protected]>
578 Pass through STT_DATALABEL.
579 * elf32-sh64.c (sh64_elf_get_symbol_type): New.
580 (elf_backend_get_symbol_type): Define.
581 * elf64-sh64.c (sh64_elf64_get_symbol_type): New.
582 (elf_backend_get_symbol_type): Define.
583 2000-11-30 Hans-Peter Nilsson <[email protected]>
584 * elf32-sh64.c: Tweak comments.
585 (sh64_elf_copy_private_data_internal): Add prototype.
586 (bfd_elf32_bfd_set_private_flags): Define.
587 (sh64_elf_copy_private_data_internal): Compare machine name, not
588 textual BFD target name, to check whether to copy section flag
589 SHF_SH5_ISA32.
590 (sh64_elf_merge_private_data): Validize bfd_get_arch_size.
591 Tweak section-contents-type-mismatch message.
592 (shmedia_prepare_reloc): Add ATTRIBUTE_UNUSED markers.
593 Validize reloc-types.
594 * elf64-sh64.c: New file.
595 * targets.c (bfd_elf64_sh64_vec, bfd_elf64_sh64l_vec): Declare.
596 * Makefile.am (BFD64_BACKENDS): Add elf64-sh64.lo.
597 (BFD64_BACKENDS_CFILES): Add elf64-sh64.c.
598 Regenerate dependencies.
599 * Makefile.in: Regenerate.
600 * config.bfd (sh64-*-elf*): Add bfd_elf64_sh64_vec and
601 bfd_elf64_sh64l_vec.
602 * configure.in: Handle bfd_elf64_sh64_vec and
603 bfd_elf64_sh64l_vec.
604 * configure: Regenerate.
605 * po/POTFILES.in: Regenerate.
606 * po/bfd.pot: Regenerate.
607 2000-11-29 Hans-Peter Nilsson <[email protected]>
608 * elf32-sh64.c (sh64_elf_set_mach_from_flags): Do not recognize
609 anything else but EF_SH64 and EF_SH64_ABI64.
610 (sh64_elf_merge_private_data): Emit error for anything else but
611 EF_SH64 and EF_SH64_ABI64.
612 * config.bfd: Remove bfd_elf32_shblin_vec and bfd_elf32_shlin_vec
613 from targ_selvecs.
614 * configure.in: Add cofflink.lo to bfd_elf32_sh64_vec and
615 bfd_elf32_sh64l_vec as a temporary measure.
616 * configure: Regenerate.
617 2000-11-27 Hans-Peter Nilsson <[email protected]>
618 * cpu-sh.c (arch_info_struct): Include sh5 item
619 unconditionalized.
620 * config.bfd (sh64-*-elf*): Do not set targ_cflags.
621 Add targ_selvecs bfd_elf32_sh_vec, bfd_elf32_shl_vec,
622 bfd_elf32_shblin_vec and bfd_elf32_shlin_vec.
623 * elf32-sh64.c: Tweak comments.
624 (sh64_elf_set_mach_from_flags): Recognize all machine flags that
625 are proper subsets of SH64 as bfd_mach_sh5. Add EF_SH64_ABI64.
626 (sh64_elf_copy_private_data_internal): Wrap long line.
627 (sh64_elf_merge_private_data): Rewrite to allow objects from
628 SH64 subsets to be linked together.
629 (INCLUDE_SHMEDIA): Define.
630 * elf32-sh.c (sh_elf_relocate_section) <local symbol>:
631 Parenthesize plus-expression inside or-expression.
632 <global symbol>: Ditto.
633 (sh_elf_set_mach_from_flags): Remove code refusing
634 deleted EF_SH64_32BIT_ABI flag.
635 2000-11-26 Hans-Peter Nilsson <[email protected]>
636 * elf32-sh.c (sh_elf_howto_table) <R_SH_IMM_LOW16_PCREL,
637 R_SH_IMM_MEDLOW16_PCREL, R_SH_IMM_MEDHI16_PCREL,
638 R_SH_IMM_HI16_PCREL, R_SH_64_PCREL>: Set pcrel_offset to true.
639 (sh_elf_relocate_section) <local symbol>: Or 1 in
640 calculation of relocation if sym->st_other & STO_SH5_ISA32.
641 <global symbol>: Ditto if h->other & STO_SH5_ISA32.
642 * elf32-sh64.c (shmedia_prepare_reloc): Add rel->r_addend to
643 relocation.
644 2000-11-24 Hans-Peter Nilsson <[email protected]>
645 * Makefile.am (BFD32_BACKENDS): Add elf32-sh64.lo.
646 (BFD32_BACKENDS_CFILES): Add elf32-sh64.c.
647 Regenerate dependencies.
648 * Makefile.in: Regenerate.
649 * archures.c: Add bfd_mach_sh5.
650 * config.bfd: Map targ_cpu sh* to bfd_sh_arch.
651 Handle sh64-*-elf*. Set targ_cflags to -DINCLUDE_SHMEDIA.
652 * configure.in: Handle bfd_elf32_sh64_vec and bfd_elf32_sh64l_vec.
653 * configure: Regenerate.
654 * reloc.c (BFD_RELOC_SH_SHMEDIA_CODE, BFD_RELOC_SH_IMMU5,
655 BFD_RELOC_SH_IMMS6, BFD_RELOC_SH_IMMS6BY32, BFD_RELOC_SH_IMMU6,
656 BFD_RELOC_SH_IMMS10, BFD_RELOC_SH_IMMS10BY2,
657 BFD_RELOC_SH_IMMS10BY4, BFD_RELOC_SH_IMMS10BY8,
658 BFD_RELOC_SH_IMMS16, BFD_RELOC_SH_IMMU16, BFD_RELOC_SH_IMM_LOW16,
659 BFD_RELOC_SH_IMM_LOW16_PCREL, BFD_RELOC_SH_IMM_MEDLOW16,
660 BFD_RELOC_SH_IMM_MEDLOW16_PCREL, BFD_RELOC_SH_IMM_MEDHI16,
661 BFD_RELOC_SH_IMM_MEDHI16_PCREL, BFD_RELOC_SH_IMM_HI16,
662 BFD_RELOC_SH_IMM_HI16_PCREL, BFD_RELOC_SH_PT_16): New relocations.
663 * cpu-sh.c [INCLUDE_SHMEDIA] (arch_info_struct): Define and link
664 in item for SH5.
665 * elf32-sh.c [INCLUDE_SHMEDIA] (sh_elf_howto_table): Add howto items
666 for SHmedia relocs.
667 [INCLUDE_SHMEDIA] (sh_rel): Add mappings for SHmedia relocs.
668 [INCLUDE_SHMEDIA] (sh_elf_relocate_section) [default]: Call
669 shmedia_prepare_reloc, goto final_link_relocate if it returns
670 non-zero, else fail as before.
671 (sh_elf_set_mach_from_flags): Provide function only if not defined
672 as macro. Do not recognize objects with EF_SH64_32BIT_ABI set.
673 (sh_elf_set_private_flags): Provide function only if not defined
674 as a macro.
675 (sh_elf_copy_private_data): Similar.
676 (sh_elf_merge_private_data): Similar.
677 * section.c (SEC_SH_ISA_SHMEDIA): New.
678 * targets.c (bfd_elf32_sh64_vec, bfd_elf32_sh64l_vec): Declare.
679 * elf32-sh64.c: New file.
680 * libbfd.h: Regenerate.
681 * bfd-in2.h: Regenerate.
682 * po/POTFILES.in: Regenerate.
683 * po/bfd.pot: Regenerate.
684 * bfd-in2.h: Regenerate.
685 * libbfd.h: Regenerate.
686
e108f470
DJ
6872002-02-07 Daniel Jacobowitz <[email protected]>
688
689 * bfd-in.h: Update <stdbool.h> check to only see if <stdbool.h> has
690 been included, not drag it in.
691 * bfd-in2.h: Regenerate.
692
259d18a3
L
6932002-02-06 H.J. Lu ([email protected])
694
695 * elf32-mips.c (_bfd_mips_elf_merge_private_bfd_data): Update
696 the mach and ISA fields if necessary.
697
f13b834e
NC
6982002-02-06 Nick Clifton <[email protected]>
699
700 * coffcode.h (coff_set_arch_mach_hook): Select the highest known
701 ARM architecture when an F_ARM_5 flag is detected, since we cannot
702 be sure exactly which architecture this represents.
703
82f6addb
NC
7042002-02-05 Nick Clifton <[email protected]>
705
706 * po/tr.po: Updated translation.
707
899f54f5
AM
7082002-02-05 Alan Modra <[email protected]>
709
710 From Jimi X <[email protected]>
711 * archures (bfd_mach_ppc64): Define.
712 (bfd_powerpc_arch): Rename to bfd_powerpc_archs.
713 (bfd_powerpc_arch): Define.
714 * bfd-in2.h: Regenerate.
715 * cpu-powerpc.c (arch_info_struct): Rename to bfd_powerpc_archs.
716 (bfd_powerpc_arch): Move to tail of bfd_powerpc_archs.
717 (bfd_powerpc_archs): Add default powerpc64 arch.
718
248866a8
AM
7192002-02-05 Alan Modra <[email protected]>
720
721 * elf64-ppc.c (ppc64_elf_size_dynamic_sections): Check for relocs
722 against section syms in readonly sections. Don't do the global
723 sym check if we find one.
724 * elf64-s390.c (elf_s390_size_dynamic_sections): Likewise.
725 * elf32-hppa.c (elf32_hppa_size_dynamic_sections): Likewise.
0a6958db 726 * elf32-i386.c (elf_i386_size_dynamic_sections): Likewise.
248866a8
AM
727 * elf32-s390.c (elf_s390_size_dynamic_sections): Likewise.
728 (elf_s390_grok_prstatus): Add missing prototype.
729
4fa5c2a8
HPN
7302002-02-04 Hans-Peter Nilsson <[email protected]>
731
732 * elf64-mmix.c (mmix_dump_bpo_gregs): New function.
733 (mmix_elf_check_common_relocs) <case R_MMIX_BASE_PLUS_OFFSET>:
734 Call bfd_get_section_by_name only once. Initialize
735 bpodata->n_bpo_relocs_this_section.
736 (_bfd_mmix_prepare_linker_allocated_gregs): Remove comment
737 referring to DSOs.
738 (bpo_reloc_request_sort_fn): Don't use difference of values as
739 return-value.
740
537c972e
DB
7412002-02-02 David O'Brien <obrien@FreeBSD>
742
743 * configure.in: Tweak the FreeBSD 4.x recognition more. Only treat
744 version 4.5 and later the same as 5-CURRENT.
745 * configure: Re-generate.
746
006336b8
JT
7472002-02-02 Jason Thorpe <[email protected]>
748
749 * config.bfd (hppa*-*-netbsd*): New target.
750
6c571f00
PT
7512002-01-31 Philipp Thomas <[email protected]>
752
19397422
AM
753 * coff-arm.c (coff_arm_merge_private_bfd_data): Move ERROR
754 to front of message. Unify messages with elf32-arm.h. Use
755 commas where neccessary.
756 * elf32-arm.h (elf32_arm_merge_private_bfd_data): Use all upcase
757 ERROR in messages. Unify messages with coff-arm.c. Correct
758 VFP/FPA error message.
759 (elf32_arm_print_private_bfd_data): Don't mark APCS-26 and
760 APCS-32 for translation.
6c571f00 761
930b4cb2
HPN
7622002-02-01 Hans-Peter Nilsson <[email protected]>
763
764 Perform on-demand global register allocation from
765 R_MMIX_BASE_PLUS_OFFSET relocs.
766 * elf64-mmix.c (struct bpo_reloc_section_info, struct
767 bpo_reloc_request, struct bpo_greg_section_info): New.
768 (mmix_elf_check_common_relocs, mmix_elf_gc_sweep_hook,
769 bpo_reloc_request_sort_fn, mmix_elf_relax_section,
770 _bfd_mmix_check_all_relocs,
771 _bfd_mmix_prepare_linker_allocated_gregs,
772 _bfd_mmix_finalize_linker_allocated_gregs): New functions.
773 (elf_mmix_howto_table): Correct src_mask for most relocs.
774 (mmix_elf_perform_relocation) <case R_MMIX_BASE_PLUS_OFFSET>: New
775 case.
776 (mmix_final_link_relocate) <case R_MMIX_BASE_PLUS_OFFSET>: New
777 case. Fix typo in comment. New label do_mmix_reloc.
778 (mmix_elf_check_relocs): Abuse bfd_link_info member base_file to
779 store first object file with a base-plus-offset reloc. Call
780 mmix_elf_check_common_relocs for the part common with mmo.
781 (mmix_elf_final_link): Write out linker-allocated register
782 contents section.
783 (elf_backend_gc_sweep_hook): Define.
784 (bfd_elf64_bfd_relax_section): Define.
785
786 * mmo.c: Don't include <ctype.h>
787 (mmo_init): Correct init-once logic.
788
3e36d993
TR
7892002-02-01 Tom Rix <[email protected]>
790
791 * config.bfd: Conditionally support <aiaff> for pre AIX 4.3.
792
ba323545
AM
7932002-02-01 Alan Modra <[email protected]>
794
795 * Makefile.am: Run "make dep-am"
796 * Makefile.in: Regenerate.
797
012884d6
DB
7982002-01-31 David O'Brien <obrien@FreeBSD>
799
800 * configure.in: Recognize the differences in core files from FreeBSD
801 4.{0,1} and later versions of 4.x. This treats 4.2+ the same as
802 5-CURRENT.
803 * configure: Regenerate.
804
3b16e843
NC
8052002-01-31 Ivan Guzvinec <[email protected]>
806
807 * coff-or32.c: New file.
808 * cpu-or32.c: New file.
809 * elf32-or32.c: New file.
810 * archures.c: Add support for or32.
811 * targets.c: Add support for or32.
812 * bfd-in2.h: Regenerate.
7dc0ab31 813 * coffcode.h (coff_set_arch_mach_hook, coff_set_flags,
3b16e843
NC
814 coff_write_object_contents): Add support for or32.
815 * config.bfd: Add target.
816 * configure.in: Add support for or32.
817 * configure: Regenerate.
818 * Makefile.am: Add support for or32.
819 * Makefile.in: Regenerate.
3b16e843
NC
820 * po/SRC-POTFILES.in: Add or32 files.
821 * po/bfd.pot: Regenerate.
7dc0ab31 822
caf8ca8e
NC
8232002-01-31 Nick Clifton <[email protected]>
824 Don Lindsay <[email protected]>
825
826 * elf32-mips.c (mips_elf_calculate_relocation): Replace 'return
827 false' with a return of a bfd_reloc_ error code.
828
e5dfef09
HPN
8292002-01-31 Hans-Peter Nilsson <[email protected]>
830
831 * elf32-cris.c (elf_cris_discard_excess_program_dynamics): Don't
832 unexport unreferenced symbols when --export-dynamic. Call
833 _bfd_elf_strtab_delref when unexporting.
834
4e4770d0
DJ
8352002-01-30 Daniel Jacobowitz <[email protected]>
836
837 * bfd-in.h: Include <stdbool.h> if it is available.
838 * bfd-in2.h: Regenerated.
839
e1fa50e7
AM
8402002-01-31 Alan Modra <[email protected]>
841
842 * elf64-ppc.c (func_desc_adjust): STV_PROTECTED functions should
843 not go via the plt.
844
b5f79c76
NC
8452002-01-30 Nick Clifton <[email protected]>
846
b5f79c76
NC
847 * archures.c: Tidy up formatting of embedded comments.
848 * bfd.c: Tidy up formatting of embedded comments.
7dc0ab31 849 * bfd-in.h: Fix formatting of comments.
b5f79c76
NC
850 * reloc.c: Tidy up formatting of ordinary & embedded comments.
851 * section.c: Tidy up formatting of embedded comments.
852 * syms.c: Tidy up formatting of embedded comments.
853 * targets.c: Tidy up formatting of embedded comments.
854
855 * bfd-in2.h: Regenerate.
856
ca09e32b
NC
8572002-01-30 Nick Clifton <[email protected]>
858
859 * vms-tir.c (cmd_name): New function.
860 (tir_cmd_name): New function.
861 (etir_sta, etir_sto, etir_opr, etir_stc): Use cmd_name().
862 (tir_opr, tir_ctl, tir_cmd): use tir_cmd_name().
863 Fix formatting.
7dc0ab31 864
ca09e32b
NC
865 * peXXigen.c (pe_print_idata): Rearrange message to aid in
866 translation.
867 (pe_print_pdata): Rearrange message to aid in translation.
868
869 * libbfd.c (warn_deprecated): Rearrange error message to aid in
870 translation.
871
872 * ihex.c (ihex_write_object_contents): Fix spelling typo.
873
874 * ieee.c (ieee_slurp_external_symbols): Remove spurious space.
875
876 * elf64-sparc.c (sparc64_elf_add_symbol_hook): Rearrange error
877 message to aid in translation.
878
879 * elf64-mmix.c (mmix_final_link_relocate): Rearrange error message
880 to aid in translation.
881
882 * elf32-arm.h (elf32_arm_merge_private_bfd_data): Fix typo.
883
7dc0ab31 8842002-01-30 Philipp Thomas <[email protected]>
ae1a89b7
PT
885
886 * coff-arm.c, elf32-elf.h: Unify messages.
887
05f64ac6
NC
8882002-01-30 Nick Clifton <[email protected]>
889
890 * po/sv.po: Updated translation.
891
f5a3e38a
NC
8922002-01-30 Philipp Thomas <[email protected]>
893
894 * dwarf2.c (read_abbrev): Use full section name in error message.
895 (decode_line_info): Likewise.
661a3fd4
NC
896
897 * elf.c (_bfd_elf_symbol_from_bfd_symbol): Don't translate debugging
898 message.
899
d926e03d
AM
9002002-01-30 Alan Modra <[email protected]>
901
902 * elf64-ppc.c (func_desc_adjust): Only provide missing function
903 descriptor symbols for undefined function code syms. Clear
904 ELF_LINK_NON_ELF so that they can stay weak.
905
030d18fb 9062002-01-29 Chris Demetriou <[email protected]>
7dc0ab31 907 Mitch Lichtenberg <[email protected]>
030d18fb
CD
908
909 * bfd-in.h (bfd_mips_elf32_create_embedded_relocs): New prototype.
910 * elf32-mips.c (bfd_mips_elf32_create_embedded_relocs): New function
911 to handle 32-bit ELF embedded reloc (ld --embedded-relocs)
912 generation.
913 * bfd-in2.h: Regenerate.
914
fcc76bea
CD
9152002-01-29 Chris Demetriou <[email protected]>
916
917 * elf32-mips.c: Add additional comments about HI16 relocation
918 processing.
919 (_bfd_mips_elf_hi16_reloc): Don't subtract address here for
920 pc-relative relocations. (Reverts change made on 2001-10-31.)
921 (_bfd_mips_elf_lo16_reloc): Subtract address of LO16 part here
922 for pc-relative relocations.
923 (mips_elf_calculate_relocation): Add a comment about a kludge
924 in the R_MIPS_GNU_REL_HI16 handling.
925 (_bfd_mips_elf_relocate_section): Implement that kludge;
926 adjust pc-relative HI16 relocation for difference in HI16 and
927 LO16 addresses, since it can't easily be done in
928 mips_elf_calculate_relocation.
929
f9cd9119
MS
9302002-01-29 Martin Schwidefsky <[email protected]>
931
932 * elf32-i386 (elf_i386_adjust_dynamic_symbol): Do not replace PLT32
933 relocations with PC32 relocations for undefined or weak symbols.
934 * elf32-s390 (elf_i386_adjust_dynamic_symbol): Likewise.
935 * elf64-s390x (elf_i386_adjust_dynamic_symbol): Likewise.
936
702248bb
JT
9372002-01-28 Jason Thorpe <[email protected]>
938
939 * elfcore.h (elf_core_file_p): Improve comment for last change.
940
4867be41
DJ
9412002-01-27 Daniel Jacobowitz <[email protected]>
942
943 * configure: Regenerated.
944
a94cef6a
JT
9452002-01-27 Jason Thorpe <[email protected]>
946
947 * elfcore.h (elf_core_file_p): Set the machine architecture
948 before processing the program headers.
949
7562a296
HPN
9502002-01-26 Hans-Peter Nilsson <[email protected]>
951
966abd70
HPN
952 * configure.in <64-bit configuration>: If using gcc, check and
953 emit error for egcs-1.1.2.
954 * configure: Regenerate.
955
e8eab623
NC
9562002-01-26 Egor Duda <[email protected]>
957
958 * elf.c (elfcore_grok_win32pstatus): Copy only as much information
959 as possible to avoid stack corruption.
960
73896efb
RH
9612002-01-26 Richard Henderson <[email protected]>
962
963 * elf64-alpha.c (elf64_alpha_check_relocs): Don't set reltext
964 for non-allocated sections.
965
9662002-01-25 Mark Kettenis <[email protected]>
c106e334
MK
967
968 * elf.c (elfcore_write_prstatus): Make sure we pass the address of
969 prstat.pr_reg even if it is a struct.
970
73896efb 9712002-01-25 Steve Ellcey <[email protected]>
254ed743
NC
972
973 * bfd/elfxx-ia64.c: Reset AIX vector function overrides for HP-UX.
974
3d66c4f7
NC
9752002-01-25 Philipp Thomas <[email protected]>
976
977 * coffgen.c (coff_print_symbol): Don't mark info message
978 for translation.
979
9460ecda
NC
9802002-01-25 Nick Clifton <[email protected]>
981
982 * po/fr.po: Updated translation.
983 * po/es.po: Updated translation.
984
cc9ff76a
AM
9852002-01-25 Philipp Thomas <[email protected]>
986
987 * coff-alpha.c (alpha_relocate_section): Unify warning message
988 for GP relative relocations without GP defined.
989 * coff-mips.c (mips_relocate_section): Likewise.
990
c68836a9
AM
9912002-01-25 Alan Modra <[email protected]>
992
993 * elf-eh-frame.c (_bfd_elf_eh_frame_section_offset): Avoid
994 unsigned overflow when new_offset < old_offset.
995
e8eab623 9962002-01-24 Philipp Thomas <[email protected]>
391154e9
NC
997
998 * bfd.c (_bfd_abort): Fix typo.
999
8ba89f17
RH
10002002-01-23 Richard Henderson <[email protected]>
1001
1002 * elf64-alpha.c (elf64_alpha_adjust_dynamic_symbol): Don't suppress
1003 plt entries for undefweak symbols.
1004
c6953948
NC
10052002-01-23 Steve Ellcey <[email protected]>
1006
1007 * bfd/targets.c (bfd_elf32_ia64_hpux_big_vec): Add to
1008 DEFAULT_VECTOR.
1009 (bfd_elf64_ia64_hpux_big_vec): Ditto.
1010 (bfd_elf32_h8300_vec): Ditto.
1011
41bd81ab
AM
10122002-01-23 Alan Modra <[email protected]>
1013
1014 * elf64-ppc.c: Remove stale part of ABI comment.
1015 (NO_OPD_RELOCS): Define.
1016 (ppc64_elf_check_relocs): Use it.
1017 (ppc64_elf_relocate_section): Here too.
1018 (build_one_stub): Don't point function syms at the stub. Instead,
1019 hijack plt.offset.
1020 (ppc64_elf_relocate_section): Check whether REL24 relocs should
1021 really go to the stub. Make all dynamic relocs in opd against
1022 locals.
1023 (ppc64_elf_finish_dynamic_symbol): Allow for non-standard use of
1024 plt.offset.
1025
f304919d
RH
10262002-01-22 Richard Henderson <[email protected]>
1027
1028 * elf64-alpha.c (INSN_UNOP): Encode with RB as $sp.
1029
c0ef99a7
AM
10302002-01-22 Alan Modra <[email protected]>
1031
60ee0d4a
AM
1032 * elf64-ppc.c (ppc64_elf_finish_dynamic_sections): Correct sign of
1033 TOC_BASE_OFF adjustment.
1034
c0ef99a7
AM
1035 * Makefile.am: Run "make dep-am".
1036 * Makefile.in: Regenerate.
1037 * po/SRC-POTFILES.in: Regenerate.
1038
64328b46
AM
10392002-01-22 John David Anglin <[email protected]>
1040
1041 * configure.host (hppa*64*-*-hpux*, hppa*64*-*-linux*): Add new
1042 host defines.
1043
59953665 10442002-01-21 Hans-Peter Nilsson <[email protected]>
58255df3
HPN
1045
1046 * elf32-cris.c (cris_elf_relocate_section) <case R_CRIS_32_GOTREL>:
1047 Check for and emit error if sgot is NULL at this point.
1048
9596feea
JT
10492002-01-21 Jason Thorpe <[email protected]>
1050
1051 * config.bfd (ia64*-*-netbsd*): New target.
1052
7b45c6e1
AM
10532002-01-21 Thomas Klausner <[email protected]>
1054
1055 * som.c (som_write_space_strings): Comment typo fix.
1056
e5094212
AM
10572002-01-21 Alan Modra <[email protected]>
1058
e86ce104
AM
1059 * elf64-ppc.c (struct ppc_link_hash_entry): Add is_func and
1060 is_func_descriptor fields.
1061 (link_hash_newfunc): Init them.
1062 (ppc64_elf_check_relocs): Only R_PPC24_REL24 syms starting with a
1063 dot are candidates for plt entries. When processing .opd relocs,
1064 set function descriptor strings to point inside function code
1065 string, and set new ppc_link_hash_entry fields.
1066 (ppc64_elf_gc_sweep_hook): Don't sweep R_PPC64_REL24 relocs.
1067 (ppc64_elf_adjust_dynamic_symbol): Remove most code dealing with
1068 function descriptors. It's now done in..
1069 (func_desc_adjust): New.
1070 (ppc64_elf_func_desc_adjust): New.
1071 (define elf_backend_always_size_sections): Define.
1072 (ppc64_elf_hide_symbol): New.
1073 (define elf_backend_hide_symbol): Define.
1074 (allocate_dynrelocs): Remove code looking up function descriptors
1075 as that has been done earlier.
1076 (ppc64_elf_size_dynamic_sections): Use htab shortcut to elf hash
1077 table.
1078 (ppc64_elf_finish_dynamic_symbol): Likewise. Remove code looking
1079 up function descriptor.
1080 (build_one_stub): Look up the function code sym. Check for
1081 invalid plt offsets.
1082 (ppc64_elf_relocate_section): Tweak calls to undefined weak syms.
1083 Convert R_PPC64_TOC relocs to R_PPC64_RELATIVE in shared libs.
1084
e5094212
AM
1085 * elf-bfd.h (elf_backend_data <elf_backend_hide_symbol>): Add
1086 boolean param.
1087 (_bfd_elf_link_hash_hide_symbol): Likewise.
1088 * elflink.h (elf_link_add_object_symbols): Adjust call to
1089 elf_backend_hide_symbol.
1090 (elf_fix_symbol_flags): Likewise.
1091 (elf_link_assign_sym_version): Likewise. Use bfd_malloc rather
1092 than bfd_alloc.
1093 * elf.c (_bfd_elf_link_hash_hide_symbol): Add "force_local" param.
1094 Set ELF_LINK_FORCED_LOCAL and call _bfd_elf_strtab_delref.
1095 * elf32-hppa.c (elf32_hppa_hide_symbol): Likewise.
1096 (clobber_millicode_symbols): Adjust to suit new hide_symbol.
1097 * elf32-cris.c (elf_cris_hide_symbol): Add "force_local" param
1098 and adjust to suit.
1099 * elf32-mips.c (_bfd_mips_elf_hide_symbol): Likewise, and call
1100 _bfd_elf_link_hash_hide_symbol rather than duplicating code.
1101 * elfxx-ia64.c (elfNN_ia64_hash_hide_symbol): Likewise.
1102
40b8271b
AM
11032002-01-18 Alan Modra <[email protected]>
1104
1105 * elf64-ppc.c (ppc64_elf_adjust_dynamic_symbol): Test for a
1106 dynamic function descriptor symbol, not the associated function
1107 symbol.
1108
55baa95b
EC
11092002-01-17 Eric Christopher <[email protected]>
1110
1111 * elf32-mips.c (mips_elf_calculate_relocation): Fix typo.
1112
328577ad
NC
11132002-01-17 Nick Clifton <[email protected]>
1114
1115 * po/bfd.pot: Regenerate.
1116 * po/fr.po: Regenerate.
1117
af746e92
AM
11182002-01-17 Alan Modra <[email protected]>
1119
1120 * elf-bfd.h (elf_backend_data <elf_backend_section_from_bfd_section>):
1121 Remove "Elf_Internal_Shdr *" param.
1122 (_bfd_mips_elf_section_from_bfd_section): Ditto.
1123 * elf32-mips.c (_bfd_mips_elf_section_from_bfd_section): Ditto.
1124 * elf32-m32r.c (_bfd_m32r_elf_section_from_bfd_section): Ditto.
1125 * elf32-v850.c (v850_elf_section_from_bfd_section): Ditto.
1126 * elf64-mmix.c (mmix_elf_section_from_bfd_section): Ditto.
1127 * elfxx-ia64.c (elfNN_hpux_backend_section_from_bfd_section): Ditto.
1128 * elf.c (_bfd_elf_section_from_bfd_section): Allow backend
1129 function to override special sections. Remove hdr arg from
1130 backend call, and don't loop.
1131
175e9962
EC
11322002-01-16 Eric Christopher <[email protected]>
1133
1134 * elf32-mips.c (mips_elf_calculate_relocation): Set require_jalxp
1135 on R_MIPS_26 and target is 16bit. Add R_MIPS16_GPREL to list of
1136 relocations requiring gp0 and gp.
1137
96a846ea
RE
11382002-01-16 Richard Earnshaw <[email protected]>
1139
175e9962 1140 * elf32-arm.h (elf32_arm_merge_private_bfd_data): Handle
96a846ea
RE
1141 EF_ARM_VFP_FLOAT.
1142 (elf32_arm_print_private_bfd_data): Likewise.
1143
af3ae48d
NC
11442002-01-16 Nick Clifton <[email protected]>
1145
1146 * po/tr.po: Import new version.
1147
10ed1bba
AM
11482002-01-16 Alan Modra <[email protected]>
1149
1150 * elf64-ppc.c (ppc64_elf_howto_raw): Remove stale FIXMEs.
1151 (ppc64_elf_reloc_type_lookup): Use proper CTOR reloc.
1152 (ORI_R0_R0_0): Correct.
1153
5d1634d7
AM
11542002-01-16 Alan Modra <[email protected]>
1155
1156 * elflink.c (_bfd_elf_create_dynamic_sections): Don't set SEC_CODE
1157 when plt_not_loaded.
1158 * elf64-ppc.c (ppc64_elf_create_dynamic_sections): No need to
1159 clear .plt SEC_CODE here. Create .stub and correct .glink flags.
1160 (PLT_INITIAL_ENTRY_SIZE): Set to 24.
1161 (ppc64_elf_glink_code): Delete.
1162 (PPC64_ELF_GLINK_SIZE): Delete.
1163 (ADDIS_R12_R2, STD_R2_40R1, LD_R11_0R12, LD_R2_0R12, MTCTR_R11,
1164 BCTR, ADDIS_R12_R12_1, LD_R2_40R1, NOP, LI_R0_0, B_DOT, LIS_R0_0,
1165 ORI_R0_R0_0): Define.
1166 (PLT_CALL_STUB_SIZE, GLINK_CALL_STUB_SIZE): Define.
1167 (struct ppc_link_hash_table): Add sstub and plt_overflow.
1168 (ppc64_elf_link_hash_table_create): Init them.
1169 (ppc64_elf_check_relocs <R_PPC64_REL24>): Refcount .plt entry.
1170 Don't copy to shared lib.
1171 (ppc64_elf_check_relocs): Call bfd_set_error on errors.
1172 (ppc64_elf_gc_sweep_hook <R_PPC64_REL24>): Sweep plt refcount.
1173 (allocate_dynrelocs <plt>): Don't change function sym here. Make
1174 room for .stub and .glink code.
1175 (ppc64_elf_size_dynamic_sections): Handle .stub. Make entry for
1176 DT_PPC64_GLINK.
1177 (ppc64_elf_final_link): Rename to ppc64_elf_set_toc. Don't call
1178 bfd_elf64_bfd_final_link.
1179 (bfd_elf64_bfd_final_link): Don't define.
1180 (ppc64_elf_size_stubs): New.
1181 (build_plt_stub): New.
1182 (build_one_stub): New.
1183 (ppc64_elf_build_stubs): New.
1184 (ppc64_elf_relocate_section <toc relocs>): Remove assert.
1185 (ppc64_elf_relocate_section): Don't copy R_PPC64_REL24 relocs.
1186 (ppc64_elf_finish_dynamic_symbol): Don't build stubs here. Set
1187 DT_PPC64_GLINK entry. Tweak DT_PLTGOT, DT_JMPREL, DT_PLTRELSZ in
1188 case output sections not separate. Adjust DT_RELASZ to not
1189 include plt relocs. Set reserved got entry. Set got and plt
1190 entry size.
1191 (elf_backend_got_header_size): Set to 8.
1192 * elf64-ppc.h: New file.
1193
c601ffdb
AM
11942002-01-16 Alan Modra <[email protected]>
1195
1196 * elf32-arm.h (elf32_arm_size_dynamic_sections): When removing
1197 sections, use bfd_section_list_remove.
1198 * elf32-i370.c (i370_elf_size_dynamic_sections): Likewise.
1199 * elflink.h (elf_link_add_object_symbols): When removing all
1200 sections, use bfd_section_list_clear.
1201
8fb4cb7f
NC
12022002-01-15 Nick Clifton <[email protected]>
1203
1204 * po/sv.po: New file: Swedish translation.
1205 * configure.in (ALL_LINGUAS): Add sv.
1206 * configure: Regenerate.
1207
d3c456e9
JJ
12082002-01-15 Jakub Jelinek <[email protected]>
1209
1210 * elflink.h (elf_link_input_bfd): Back out 2002-01-07 change.
1211 * elf.c (merge_sections_remove_hook): New function.
1212 (_bfd_elf_merge_sections): Pass it as 3rd argument to
1213 _bfd_merge_sections.
1214 * libbfd-in.h (_bfd_merge_sections): Add 3rd argument.
1215 * libbfd.h: Rebuilt.
1216 * merge.c (_bfd_merge_sections): Add remove_hook argument.
1217 Call remove_hook if a SEC_EXCLUDE section is encountered.
1218
1f7fd478
NC
12192002-01-15 Nick Clifton <[email protected]>
1220
1221 * elf32-xstormy16.c (xstormy16_reloc_map): Add new field 'table'.
1222 (xstormy16_reloc_map): Initialise new field with correct howto
1223 table.
1224 (xstormy16_reloc_type_lookup): Use 'table' field to locate correct
1225 howto entry.
1226
b87011e9
MS
12272002-01-10 Michael Snyder <[email protected]>
1228
1229 * elf.c (elfcore_write_prstatus): Use long instead of pid_t;
1230 (elfcore_write_pstatus): Use long instead of pid_t;
1231 * elf-bfd.h: Change prototypes to use long instead of pid_t;
1232
175e9962 12332002-01-09 Jason Thorpe <[email protected]>
b4db1224
JT
1234
1235 * elf.c: Update copyright years.
1236 (elfcore_grok_netbsd_note): Use NT_NETBSDCORE_PROCINFO
1237 and NT_NETBSDCORE_FIRSTMACH. Improve a comment.
1238
7c76fa91
MS
12392002-01-08 Michael Snyder <[email protected]>
1240
1241 Add capability to write corefile note sections, for gdb.
1242 * elf.c (elfcore_write_note): New function.
1243 (elfcore_write_prpsinfo): New function.
1244 (elfcore_write_prstatus): New function.
1245 (elfcore_write_pstatus): New function.
1246 (elfcore_write_prfpreg): New function.
1247 (elfcore_write_prxfpreg): New function.
97996af6 1248 * elf-bfd.h: Add prototypes for above functions.
7c76fa91 1249
e1fddb6b
AO
12502002-01-08 Alexandre Oliva <[email protected]>
1251
1252 * elf.c (elf_fake_sections): Propagate errors from
1253 elf_backend_fake_section.
1254
8d05742f
JT
12552002-01-07 Jason Thorpe <[email protected]>
1256
1257 * Makefile.am (BFD32_BACKENDS): Add elf32-sh-nbsd.lo.
1258 (BFD32_BACKENDS_CFILES): Add elf32-sh-nbsd.c.
1259 (elf32-sh-nbsd.lo): New rule.
1260 * Makefile.in: Regenerate.
1261 * config.bfd (sh*le-*-netbsdelf*): New target.
1262 (sh*-*-netbsdelf*): New target.
1263 * configure.in: Include netbsd-core.lo for native sh*-*-netbsd*.
1264 (bfd_elf32_shnbsd_vec): New vector.
1265 (bfd_elf32_shlnbsd_vec): New vector.
1266 * configure: Regenerate.
1267 * elf32-sh-nbsd.c: New file.
1268 * targets.c: Update copyright years.
175e9962 1269 (_bfd_target_vector): Add bfd_elf32_shlnbsd_vec and
8d05742f
JT
1270 bfd_elf32_shnbsd_vec.
1271
1dba4cb4
AH
12722002-01-07 Aldy Hernandez <[email protected]>
1273
1274 * coff-rs6000.c (READ20): Use bfd_scan_vma.
1275
47b22aef
GK
12762002-01-07 Geoffrey Keating <[email protected]>
1277
1278 * elflink.h (elf_link_input_bfd): Don't ask for the merged offset
1279 of a symbol in a section that will be deleted.
1280
be2d1673
NC
12812002-01-07 Nick Clifton <[email protected]>
1282
1283 * po/es.po: New file: Spanish translation.
1284 * configure.in (ALL_LINGUAS): Add es.
1285 * configure: Regenerate.
1286
d9cf1b54
AM
12872002-01-06 Steve Ellcey <[email protected]>
1288
1289 * elfxx-ia64.c (is_unwind_section_name): Add target vector as
1290 argument so we can handle HP-UX specially.
1291 (elfNN_ia64_hpux_vec): New for use in is_unwind_section_name.
1292 (elfNN_hpux_backend_section_from_bfd_section): New for support
1293 of SHN_IA_64_ANSI_COMMON.
1294 (elfNN_ia64_relax_section): Add support for SHN_IA_64_ANSI_COMMON.
1295 (is_unwind_section_name): Add special HP-UX support.
1296 (elfNN_ia64_section_from_shdr): Add support for more sections.
1297 (elfNN_ia64_fake_sections): Modify is_unwind_section_name call and
1298 add support for more sections.
1299 (elfNN_ia64_additional_program_headers): Modify
1300 is_unwind_section_name call.
1301 (elfNN_ia64_modify_segment_map): Remove assumption that there is
1302 only one unwind section in segment.
1303
3f3c5c34
AM
13042002-01-06 Alan Modra <[email protected]>
1305
1306 * syms.c (_bfd_generic_make_empty_symbol): New function.
1307 * libbfd-in.h (_bfd_nosymbols_make_empty_symbol): Define as
1308 _bfd_generic_make_empty_symbol.
1309 * libbfd.h: Regenerate.
1310 * bfd-in2.h: Regenerate.
1311 * hppabsd-core.c (hppabsd_core_make_empty_symbol): Delete function.
1312 (hppabsd_core_get_symtab_upper_bound): Don't define.
1313 (hppabsd_core_get_symtab): Likewise.
1314 (hppabsd_core_print_symbol): Likewise.
1315 (hppabsd_core_get_symbol_info): Likewise.
1316 (hppabsd_core_bfd_is_local_label_name): Likewise.
1317 (hppabsd_core_get_lineno): Likewise.
1318 (hppabsd_core_find_nearest_line): Likewise.
1319 (hppabsd_core_bfd_make_debug_symbol): Likewise.
1320 (hppabsd_core_read_minisymbols): Likewise.
1321 (hppabsd_core_minisymbol_to_symbol): Likewise.
1322 (hppabsd_core_vec): Use BFD_JUMP_TABLE_SYMBOLS (_bfd_nosymbols).
1323 Formatting fixes.
1324 * hpux-core.c: Similarly.
1325 * irix-core.c: Similarly.
1326 * osf-core.c: Similarly.
1327 * sco5-core.c: Similarly.
1328 * binary.c (binary_make_empty_symbol): Remove function, define as
1329 _bfd_generic_make_empty_symbol.
1330 * ihex.c (ihex_make_empty_symbol): Likewise.
1331 * mmo.c (mmo_make_empty_symbol): Likewise.
1332 * ppcboot.c (ppcboot_make_empty_symbol): Likewise.
1333 * srec.c (srec_make_empty_symbol): Likewise.
1334 * versados.c (versados_make_empty_symbol): Likewise.
1335 * vms.c (_bfd_vms_make_empty_symbol): Remove.
1336 (vms_make_empty_symbol): Define as _bfd_generic_make_empty_symbol.
1337 * vms-gsd.c (_bfd_vms_slurp_gsd): Call bfd_make_empty_symbol
1338 rather than _bfd_vms_make_empty_symbol.
1339 * vms-misc.c (new_symbol): Likewise.
1340
3f0a7f7f
AM
13412002-01-05 Alan Modra <[email protected]>
1342
9e7b37b3
AM
1343 * section.c (bfd_section_init): Remove unnecessary initialisations.
1344 (bfd_section_list_clear): New function.
1345 (bfd_section_list_remove, bfd_section_list_insert): New macros.
1346 (_bfd_strip_section_from_output): Use them.
1347 * coffcode.h (coff_set_alignment_hook): Likewise.
1348 * elf32-mips.c (_bfd_mips_elf_final_link): Likewise.
1349 * elf64-mips.c (mips_elf64_final_link): Likewise.
1350 * elf64-mmix.c (mmix_elf_final_link): Likewise.
1351 * sunos.c (sunos_add_dynamic_symbols): Likewise.
1352 * xcofflink.c (_bfd_xcoff_bfd_final_link): Likewise.
1353 * bfd-in2.h: Regenerate.
1354
1355 * netbsd-core.c (netbsd_core_file_p): Use bfd_make_section_anyway
1356 rather than doing our own section handling. Clean up after errors
1357 with bfd_release and bfd_section_list_clear. Handle unexpected
1358 flags.
1359 * aoutf1.h (sunos4_core_file_p): Likewise.
1360 * aix386-core.c (aix386_core_file_p): Likewise.
1361 * cisco-core.c (cisco_core_file_validate): Likewise.
1362 * ptrace-core.c (ptrace_unix_core_file_p): Likewise.
1363 * trad-core.c (trad_unix_core_file_p): Likewise.
1364
1365 * hppabsd-core.c (hppabsd_core_core_file_p): Clean up after errors
1366 with bfd_release and bfd_section_list_clear.
1367 * hpux-core.c (hpux_core_core_file_p): Likewise.
1368 * irix-core.c (irix_core_core_file_p): Likewise.
1369 * lynx-core.c (lynx_core_file_p): Likewise.
1370 * osf-core.c (osf_core_core_file_p): Likewise.
1371 * rs6000-core.c (rs6000coff_core_p): Likewise.
1372 * sco5-core.c (sco5_core_file_p): Likewise.
1373
3f0a7f7f
AM
1374 * elf32-mips.c (_bfd_mips_elf_lo16_reloc): Simplify, and perform
1375 sign extension adjustments without conditionals.
1376
a3aa38ee
JJ
13772002-01-04 Jakub Jelinek <[email protected]>
1378
1379 * elf-eh-frame.c (_bfd_elf_write_section_eh_frame): Don't crash if
1380 CIE at .eh_frame start is removed due to no FDEs referencing it.
1381
8a8b2d4b
AJ
13822002-01-04 Jason Thorpe <[email protected]>
1383
1384 * config.bfd (x86_64-*-netbsd*): New target.
1385 * configure.in (x86_64-*-netbsd*): Set COREFILE
1386 to netbsd-core.lo.
1387 * configure: Regenerated.
1388
04b5af89
TR
13892002-01-03 Tom Rix <[email protected]>
1390
1391 * xcofflink.c (_bfd_xcoff_bfd_final_link): Update .pad section ordering
1392 for recent bfd_make_section_anyway change.
1393
51c5503b
NC
13942002-01-03 Nick Clifton <[email protected]>
1395
1396 * elf32-arm.h (elf32_arm_final_link_relocate): Handle
1397 R_ARM_THM_PC11 reloc.
1398
07f7c046
NC
13992002-01-02 Nick Clifton <[email protected]>
1400
1401 * configure.in (LINGUAS): Add ja.
1402 * configure: Regenerate.
1403 * po/ja.po: Import from translation project's web site.
1404
5eefb65f
NC
14052002-01-02 Nick Clifton <[email protected]>
1406
1407 * elf32-arm.h (elf32_arm_merge_private_bfd_data): Reformat error
1408 messages to ease translation into other languages.
1409
39e90f10 1410For older changes see ChangeLog-0001
56882138
AM
1411\f
1412Local Variables:
1413mode: change-log
1414left-margin: 8
1415fill-column: 74
1416version-control: never
1417End:
This page took 0.319871 seconds and 4 git commands to generate.