]> git.ipfire.org Git - thirdparty/binutils-gdb.git/blame - bfd/ChangeLog
* configure.in: Don't set COREFILE to trad-core.lo for FreeBSD
[thirdparty/binutils-gdb.git] / bfd / ChangeLog
CommitLineData
d2bef492
MK
12004-06-16 Mark Kettenis <kettenis@gnu.org>
2
3 * configure.in: Don't set COREFILE to trad-core.lo for FreeBSD
4 4.10 and beyond.
5 * configure: Regenerate.
6
8528d62e
DJ
72004-06-16 Daniel Jacobowitz <dan@debian.org>
8
9 * elf32-ppc.c (ppc_elf_create_linker_section): Create symbols in
10 the pre-existing section.
11
911d08a7
AM
122004-06-15 Alan Modra <amodra@bigpond.net.au>
13
14 * section.c (struct sec): Remove usused flags. Reorganize a little.
15 (bfd_get_section_size_before_reloc): Delete.
16 (bfd_get_section_size_after_reloc): Delete.
17 (STD_SECTION): Update.
18 (bfd_get_section_size_now): Delete.
19 (bfd_set_section_contents): Don't referece reloc_done.
20 (bfd_get_section_contents): Remove reloc_done comment.
21 * bout.c (b_out_bfd_get_relocated_section_contents): Don't set
22 reloc_done.
23 * coff-alpha.c (alpha_ecoff_get_relocated_section_contents): Likewise.
24 * ecoff.c (bfd_debug_section): Update initializer.
25 * elfxx-mips.c (_bfd_elf_mips_get_relocated_section_contents): Ditto.
26 * reloc.c (bfd_generic_get_relocated_section_contents): Likewise.
27 * bfd-in.h (bfd_section_size): Expand.
28 (bfd_get_section_size): New macro.
29 * bfd-in2.h: Regenerate.
30 * coff64-rs6000.c (xcoff64_write_object_contents): Replace
31 bfd_get_section_size_before_reloc with bfd_get_section_size.
32 * coffcode.h (coff_write_object_contents): Likewise.
33 * coffgen.c (build_debug_section): Likewise.
34 * dwarf1.c (parse_line_table): Likewise.
35 (_bfd_dwarf1_find_nearest_line): Likewise.
36 * ecoff.c (_bfd_ecoff_write_object_contents): Likewise.
37 * i386msdos.c (msdos_write_object_contents): Likewise.
38 * pdp11.c (squirt_out_relocs): Likewise.
39 * elf32-sh64.c (sh64_find_section_for_address): Remove comment.
40 * elf64-mmix.c (mmix_elf_final_link): Update comment.
41
092dcd75
CD
422004-06-14 Chris Demetriou <cgd@broadcom.com>
43
44 * elf32-mips.c (elf_mips_gnu_pcrel32): Add (undoing 2004-04-24
45 removal) with updated comment.
46 (bfd_elf32_bfd_reloc_type_lookup): Add back case for
47 BFD_RELOC_32_PCREL.
48 (mips_elf32_rtype_to_howto): Add back case for R_MIPS_PC32.
49 * elfxx-mips.c (mips_elf_calculate_relocation): Likewise.
50
3ffa5234
AM
512004-06-12 Alan Modra <amodra@bigpond.net.au>
52
53 * elf64-x86-64.c (elf64_x86_64_relocate_section): Ignore reloc
54 overflow on branches to undefweaks.
55
e9edc808
MR
562004-06-11 Maciej W. Rozycki <macro@ds2.pg.gda.pl>
57
58 * coff-alpha.c (alpha_relocate_section): Set used_by_bfd directly
59 as ecoff_section_data() does not return a valid lvalue.
60
a873f25a
AO
612004-06-09 Alexandre Oliva <aoliva@redhat.com>
62
a9b881be
AO
63 * elflink.c (elf_sort_symbol): Compare section id, not pointers.
64 (elf_link_add_object_symbols): Likewise.
65
a873f25a
AO
66 * elf-m10300.c (_bfd_mn10300_elf_reloc_type_class): New.
67 (elf_backend_reloc_type_class): New.
68
eef0f186
MK
692004-06-08 Mark Kettenis <kettenis@gnu.org>
70
71 * configure.in (hppa*-*-netbsd*, hppa*-*-openbsd): Set COREFILE to
72 netbsd-core.lo.
73 * configure: Regenerate.
74
822392ce
DJ
752004-06-07 Daniel Jacobowitz <dan@debian.org>
76
77 From: Albert Chin-A-Young <china@thewrittenword.com>
78 * bfd/elf-bfd.h (struct eh_cie_fde): Convert unsigned char bitfields
79 to unsigned int.
80
9f2e92c5
L
812004-05-29 H.J. Lu <hongjiu.lu@intel.com>
82
83 * elfxx-ia64.c (elfNN_ia64_relax_section): Undo the last
84 change.
85
dd90f1b2
DD
862004-05-28 DJ Delorie <dj@redhat.com>
87
88 * elf-m10300.c (mn10300_elf_relax_section): Preserve reloc addend
89 for linking, but otherwise adjust reloc for merged sections.
90
5dd23ec1
L
912004-05-28 H.J. Lu <hongjiu.lu@intel.com>
92
93 * elfxx-ia64.c (elfNN_ia64_relax_section): Properly call
94 _bfd_merged_section_offset for local symbols.
95
f6f9408f
JR
962004-05-28 Andrew Stubbs <andrew.stubbs@superh.com>
97
98 * Makefile.am: Regenerate dependencies.
99 * Makefile.in: Regenerate.
100 * archures.c: Add bfd_mach_sh3_nommu .
101 * bfd-in2.h: Regenerate.
102 * cpu-sh.c: Add sh3-nommu architecture.
103 (bfd_to_arch_table): Create new table.
104 (sh_get_arch_from_bfd_mach): Create new function.
105 (sh_get_arch_up_from_bfd_mach): Create new function.
106 (sh_merge_bfd_arch): Create new function.
107 * elf32-sh.c (sh_ef_bfd_table): Add table.
108 (sh_elf_check_relocs): Replace switch statement with
109 use of sh_ef_bfd_table .
110 (sh_elf_get_flags_from_mach): Add new function.
111 (sh_find_elf_flags): Likewise.
112 (sh_elf_copy_private_data): Replace most of non-elf contents
113 with a call to sh_merge_bfd_arch() .
114
d866f350
MC
1152004-05-27 Michael Chastain <mec.gnu@mindspring.com>
116
117 * Makefile.am (bfdver.h): Use explicit filename, not $< .
118 * Makefile.in: Regenerate.
119
1055df0f
AO
1202004-05-27 Alexandre Oliva <aoliva@redhat.com>
121
122 * elf-m10300.c (elf32_mn10300_finish_hash_table_entry): Avoid
123 custom calling conventions for dynamic symbols.
124 (mn10300_elf_relax_section): Avoid relaxing a function as a local
125 symbol if it's an alias to a global one.
126
b3096250
L
1272004-05-26 H.J. Lu <hongjiu.lu@intel.com>
128
129 * elf.c (_bfd_elf_make_section_from_shdr): Undo the last
130 change.
131
9bb351fd
AO
1322004-05-27 Alexandre Oliva <aoliva@redhat.com>
133
134 * elf-m10300.c (mn10300_elf_relax_section): Don't test isym within
135 loop over hashes.
136
e49f5022
AM
1372004-05-26 Alan Modra <amodra@bigpond.net.au>
138
139 * elf.c (_bfd_elf_make_section_from_shdr): Don't set SEC_EXCLUDE
140 for SHT_GROUP sections.
141
57ceae94
AM
1422004-05-25 Alan Modra <amodra@bigpond.net.au>
143
144 * elflink.c (elf_link_add_object_symbols): Don't set up merge
145 section data here..
146 * elf.c (_bfd_elf_merge_sections): .. Do it here instead.
147 * merge.c: Formatting. Remove unnecessary casts. Expand
148 bfd_get_section_alignment macro.
149 (struct sec_merge_sec_info): Rename "first" to "first_str". Update
150 use throughout file.
151 (_bfd_add_merge_section): Rename from _bfd_merge_section. Update
152 comment. Abort on dynamic or non-SEC_MERGE input. Don't test
153 section name to determine sinfo group, instead test output section
154 and alignment.
155 (_bfd_merge_sections): Add struct bfd_link_info param. Call
156 _bfd_strip_section_from_output rather than just twiddling flags.
157 * libbfd-in.h (_bfd_add_merge_section): Rename, update comment.
158 (_bfd_merge_sections): Update prototype.
159 * libbfd.h: Regenerate.
160
c6f8758f 1612004-05-24 Mark Kettenis <kettenis@gnu.org>
d34436e8
MK
162
163 * netbsd-core.c: Correctly indent section that sets architecture
164 from machine ID.
165
c6f8758f
NC
166 From Miod Vallat <miod@online.fr>:
167 * m88kopenbsd.c: New file.
168 * targets.c (m88k_openbsd_vec): New.
169 * config.bfd: Add m88k-*-openbsd*.
170 * configure.in (m88k-*-openbsd*): Set COREFILE to netbsd-core.lo.
171 (m88kopenbsd_vec): New.
172 * configure: Regenerate.
173 * Makefile.am (BFD32_BACKENDS): Add m88kopenbsd.lo.
174 (BFD32_BACKENDS_CFILES): Add m88kopenbsd.c.
175 Run "make dep-am".
176 * Makefile.in: Regenerate.
177 * po/SRC-POTFILES.in: Regenerate.
178
7d7e6bc4
NC
1792004-05-24 Nick Clifton <nickc@redhat.com>
180
181 * hash.c: Remove bogus node "Changing the default Hash Table Size"
182 introduced by hash table size patch.
183
bc286f95
BE
1842004-05-22 Ben Elliston <bje@au.ibm.com>
185
186 * configure.in (is_release): Remove.
187 (bfd_version_date, bfd_version, bfd_version_string): Likewise.
188 (AC_OUTPUT): Don't output bfdver.h from version.h.
189 * configure: Regenerate.
190 * Makefile.am (RELEASE): New variable.
191 (bfdver.h): New target.
192 * Makefile.in: Regenerate.
193 * doc/Makefile.in: Likewise.
194
8b89a4eb
BE
1952004-05-22 Ben Elliston <bje@au.ibm.com>
196
197 * Makefile.am (config.status): Don't depend on version.h.
198 * Makefile.in: Regenerate.
199
753731ee
AM
2002004-05-22 Alan Modra <amodra@bigpond.net.au>
201
202 * merge.c (_bfd_merged_section_offset): Remove "addend" param.
203 * libbfd-in.h (_bfd_merged_section_offset): Adjust prototype.
204 * libbfd.h: Regenerate.
205 * elf.c (_bfd_elf_rela_local_sym): Adjust call.
206 (_bfd_elf_rel_local_sym): Likewise.
207 * elflink.c (_bfd_elf_link_sec_merge_syms): Likewise.
208 (elf_link_input_bfd): Likewise.
209 * elf32-ppc.c (ppc_elf_relax_section): Likewise.
210 * elf64-alpha.c (elf64_alpha_relocate_section): Likewise.
211 * elfxx-ia64.c (elfNN_ia64_relax_section): Likewise.
212 (elfNN_ia64_relocate_section): Likewise.
213
2d643429
NC
2142004-05-21 Andy Chittenden <achittenden@bluearc.com>
215
216 * hash.c (bfd_default_hash_table_size): New variable.
217 (bfd_hash_table_init): Use new variable instead of DEFAULT_SIZE.
218 (bfd_hash_set_default_size): New function. Set the default size
219 to a selected prime number close to the argument. Document new
220 function.
221 * bfd-in.h: Add prototype for bfd_hash_set_default_size.
222 * bfd-in2.h: Regenerate.
223 * Makefile.am (hash.lo): Add dependency upon libiberty.h.
224 * Makefile.in: Regenerate.
225
8377c19c
MK
2262004-05-21 Mark Kettenis <kettenis@gnu.org>
227
228 * libaout.h (machine_type): Add M_88K_OPENBSD and M_HPPA_OPENBSD.
229 * netbsd-core.c (netbsd_core_file_p): Set architecture for alpha,
230 arm, m68k, m88k and hppa core files.
231
69fd4758
NC
2322004-05-21 Nick Clifton <nickc@redhat.com>
233
234 * bfdio.c (bfd_bread): Do not use iovec if it is NULL.
235 (bfd_bwrite): Likewise.
236 (bfd_tell): Likewise.
237 (bfd_flush): Likewise.
238 (bfd_stat): Likewise.
239 (bfd_seek): Likewise.
240 (bfd_get_mtime): Likewise.
241 (bfd_get_size): Likewise.
242
cd917290
BE
2432004-05-19 Ben Elliston <bje@au.ibm.com>
244
245 * dwarf2.c (_bfd_dwarf2_find_nearest_line): Comment correction.
246
1b09e940
NC
2472004-05-19 Mikulas Patocka <mikulas@artax.karlin.mff.cuni.cz>
248
249 * archive.c (_bfd_get_elt_at_filepos): Cope with a nested archives.
250 (bfd_generic_openr_next_archived_file): Likewise.
251
096c35a7
BW
2522004-05-17 Bob Wilson <bob.wilson@acm.org>
253
254 * elf32-xtensa.c (xtensa_get_property_section_name): Determine linkonce
255 section names by inserting a new substring after .gnu.linkonce, except
256 for .gnu.linkonce.t.* where the "t." is replaced.
257
b2d65c0b
NC
2582004-05-17 Adam Nemet <anemet@lnxw.com>
259
260 * config.bfd (sparc-*-lynxos* case): Add to obsolete list.
261 (m68-*-lynxos* case): Likewise.
262 (powerpc-*-lyxnos* case): New case.
263 (i[3-7]86-*-lynxos* case): Update to LynxOS 4.0 ELF.
264
80fccad2
BW
2652004-05-17 David Heine <dlheine@tensilica.com>
266
267 * aout-target.h (MY_bfd_copy_private_header_data): Define.
268 * aout-tic30.c (MY_bfd_copy_private_header_data): Define.
269 * bfd.c (bfd_copy_private_header_data): Define.
270 * coff-rs6000.c (rs6000coff_vec, pmac_xcoff_vec): Add entries for new
271 interface.
272 * coff64-rs6000.c (rs6000coff64_vec, aix5coff64_vec): Likewise.
273 * coffcode.h (coff_bfd_copy_private_header_data): Define.
274 * elf-bfd.h (_bfd_elf_copy_private_header_data): Declare.
275 * elf.c (_bfd_elf_copy_private_section_data): Remove code to set up
276 segments by calling copy_private_bfd_data.
277 (_bfd_elf_copy_private_header_data): Define.
278 * elfxx-target.h (bfd_elfNN_bfd_copy_private_header_data): Define.
279 * libbfd-in.h (_bfd_generic_bfd_copy_private_header_data): Define.
280 * libecoff.h (_bfd_ecoff_bfd_copy_private_header_data): Define.
281 * mach-o.c (bfd_mach_o_bfd_copy_private_header_data): Define.
282 * mmo.c (mmo_bfd_copy_private_header_data): Define.
283 * ppcboot.c (ppcboot_bfd_copy_private_header_data): Define.
284 * som.c (som_bfd_copy_private_header_data): Define.
285 * targets.c (BFD_JUMP_TABLE_COPY): Add _bfd_copy_private_header_data.
286 * vms.c (vms_bfd_copy_private_header_data): Define.
287 * bfd-in2.h: Regenerate.
288 * libbfd.h: Regenerate.
289
c5ae1840
TS
2902004-05-15 Thiemo Seufer <seufer@csv.ica.uni-stuttgart.de>
291
292 * elfxx-mips.c (MINUS_TWO): Define.
293 (mips_elf_higher, mips_elf_highest,
294 mips_elf_create_dynamic_relocation): Use MINUS_ONE and MINUS_TWO for
295 some bfd_vma values.
296 (_bfd_mips_elf_finish_dynamic_symbol): Likewise. Code cleanup.
297
a99cf92b
DA
2982004-05-14 John David Anglin <dave.anglin@nrc-cnrc.gc.ca>
299
300 * som.c (log2): Rename to exact_log2. Adjust all callers.
301
0da76f83
NC
3022004-05-13 Paul Brook <paul@codesourcery.com>
303
c273895f 304 * elf-eh-frame.c (_bfd_elf_discard_section_eh_frame): Handle
336b9722
NC
305 dwarf3 format CIE entries. Remove comment about the size of the
306 ra_column field. It is now correctly deduced.
0da76f83 307
4b363073
NC
3082004-05-13 Joel Sherrill <joel@oarcorp.com>
309
310 * config.bfd (or32-*-rtems*): Switch to elf.
311
9598fbe5
NC
3122004-05-13 Nick Clifton <nickc@redhat.com>
313
314 * po/fr.po: Updated French translation.
315
8c37241b
JJ
3162004-05-11 Jakub Jelinek <jakub@redhat.com>
317
318 * elflink.c (elf_bfd_final_link): Don't output STT_SECTION symbol
319 into .dynsym if elf_section_data (sec)->dynindx <= 0.
320 Adjust counting of last_local.
321 (_bfd_elf_link_renumber_dynsyms): Don't assign dynindx to sections
322 other than SHT_PROGBITS/SHT_NOBITS and neither for .got/.got.plt/.plt
323 created by the linker nor !SHF_ALLOC.
324
325 * elf32-i386.c (elf_i386_finish_dynamic_sections): Point
326 DT_PLTGOT to the start of the .got.plt section instead of the
327 .got output section. Set sh_entsize for .got section in addition
328 to .got.plt.
329 (elf_i386_relocate_section): Don't assume _GLOBAL_OFFSET_TABLE_
330 is at sgot->output_section->vma.
331 * elf64-x86-64.c (elf64_x86_64_finish_dynamic_sections): Point
332 DT_PLTGOT to the start of the .got.plt section instead of the
333 .got output section.
334 (elf64_x86_64_relocate_section): Don't assume _GLOBAL_OFFSET_TABLE_
335 is at sgot->output_section->vma. Set sh_entsize for .got section
336 in addition to .got.plt.
337 * elf.c (_bfd_elf_print_private_bfd_data): Handle PT_GNU_RELRO.
338 (bfd_section_from_phdr): Likewise.
339 (map_sections_to_segments): Likewise.
340 (assign_file_positions_for_segments): Likewise.
341 (get_program_header_size): Likewise.
342 * elflink.c (bfd_elf_size_dynamic_sections): Set
343 elf_tdata (output_bfd)->relro from info->relro.
344 * elf-bfd.h (struct elf_obj_tdata): Add relro field.
345
3f980e41
AO
3462004-05-08 Alexandre Oliva <aoliva@redhat.com>
347
348 * elf32-frv.c (_frvfdpic_add_dyn_reloc): Don't warn when we get
349 a zero symndx for which we hadn't accounted a dynamic relocation.
350 (_frvfdpic_add_rofixup): Likewise.
351
d70270c5
BF
3522004-05-07 Brian Ford <ford@vss.fsi.com>
353 DJ Delorie <dj@redhat.com>
354
355 * coffcode.h (coff_write_object_contents) [COFF_IMAGE_WITH_PE]:
356 Propagate IMAGE_FILE_LARGE_ADDRESS_AWARE.
357 * peXXigen.c (_bfd_XX_print_private_bfd_data_common): Recognize
358 IMAGE_FILE_LARGE_ADDRESS_AWARE. Use PE defines.
359
7e9f3bd6
AO
3602004-05-07 Alexandre Oliva <aoliva@redhat.com>
361
362 * elf32-frv.c (elf32_frvfdpic_modify_segment_map): Return
363 immediately if there's no link info.
364 (elf32_frvfdpic_copy_private_bfd_data): New.
365 (bfd_elf32_bfd_copy_private_bfd_data): Use it for frvfdpic.
366
eb61d2d6
ZW
3672004-05-06 Zack Weinberg <zack@codesourcery.com>
368
369 * dwarf2.c (add_line_info): Also set info->filename to NULL if
370 filename argument is null; do not call strlen on a null pointer.
371
ecb2d096
DJ
3722004-05-06 Daniel Jacobowitz <drow@mvista.com>
373
374 * elf32-arm.h (elf32_arm_relocate_section): Remove R_ARM_PLT32
375 special case.
376
43850d5b
AO
3772004-05-05 Alexandre Oliva <aoliva@redhat.com>
378
379 * configure.in (bfd_elf32_frvfdpic_vec): New.
380 * configure: Rebuilt.
381 * targets.c (bfd_elf32_frvfdpic_vec): New.
382 * config.bfd: Enable it on frv-*-elf and frv-*-*linux*, as default
383 on the latter.
384 * elf32-frv.c: Prefix all identifiers added for FDPIC support with
385 frvfdpic instead of frv. Rearrange elf-target macros such that
386 the FDPIC-specific ones are only defined for this new target
387 vector.
388 (bfd_elf32_frvfdpic_vec): Declare.
389 (IS_FDPIC): New.
390 (elf32_frv_relocate_section): Use it to enable segment checking
391 and to control rofixup emission. Add output section vma to
392 applied relocation in non-LOAD non-ALLOC sections. Use
393 _bfd_error_handler for errors.
394 (_frv_create_got_section): Create .rel.got and .rofixup only in
395 FDPIC. Create non-dynamic _gp at .got+2048 in non-FDPIC, like the
396 linker script.
397 (elf32_frvfdpic_size_dynamic_sections): Assume FDPIC.
398 (elf32_frvfdpic_modify_segment_map): Likewise.
399 (elf32_frv_finish_dynamic_sections): New, do-nothing.
400 (elf32_frvfdpic_finish_dynamic_sections): Assume FDPIC. Improve
401 error message if we miscompute the rofixup size.
402 (frvfdpic_elf_use_relative_eh_frame): Assume FDPIC.
403 (frvfdpic_elf_encode_eh_address): Likewise.
404 (elf32_frv_check_relocs): Reject FDPIC-only relocs in non-FDPIC.
405 Record relocs only in FDPIC. Make sure _gp is defined for GPREL
406 relocs. Reject unknown relocation types.
407 (elf32_frv_object_p): Make sure target vector matches FDPIC bits.
408 (frv_elf_merge_private_bfd_data): Likewise.
409 (ELF_MAXPAGESIZE): Revert to 0x1000 for elf32-frv; keep it as
410 0x4000 for newly-added elf32-frvfdpic.
411
06fc8a8c
NC
4122004-05-05 Nick Clifton <nickc@redhat.com>
413
414 PR/136
415 * cache.c (bfd_cache_lookup_worker): Call abort() rather than
416 returning NULL as most users of this function do not check its
417 return value.
33216455
NC
418 * hppabsd-core.c (hppabsd_core_core_file_p): Do not check result
419 of bfd_cache_lookup().
420 * sco5-core.c (sco5_core_file_p): Likewise.
421 * trad-core.c (trad_unix_core_file_p): Likewise.
06fc8a8c
NC
422
4232004-05-05 Nick Clifton <nickc@redhat.com>
424
425 * cache.c (bfd_cache_lookup): Improve formatting.
426 * archive.c: Fix formatting.
427
6b6e92f4
NC
4282004-05-05 Peter Barada <peter@the-baradas.com>
429
430 * bfd_archures.c(bfd_architecture): Add 521x,5249,547x,548x.
431 * cpu-m68k.c(bfd_m68k_arch): Likewise.
432 * bfd-in2.h(bfd_architecture): Regenerate.
433
6a8d1586
AM
4342004-05-03 Alan Modra <amodra@bigpond.net.au>
435
436 * elf.c (_bfd_elf_rela_local_sym): Set kept_section for excluded
437 SEC_MERGE sections.
438 * elflink.c (elf_link_input_bfd): Adjust output reloc index for
439 those against discarded link-once and SEC_MERGE section symbols.
440
fafe6678
L
4412004-05-02 H.J. Lu <hongjiu.lu@intel.com>
442
443 * section.c (bfd_get_section_by_name_if): New.
444 * bfd-in2.h: Regenerated.
445
ad7b9a36
AM
4462004-05-02 Alan Modra <amodra@bigpond.net.au>
447
448 * som.c (som_bfd_is_group_section): Define.
449
73499ab8
AM
4502004-05-01 Alan Modra <amodra@bigpond.net.au>
451
452 * section.c (bfd_make_section_anyway): Copy the whole
453 bfd_hash_entry, not just "next" from existing entry.
454
45c5e9ed
L
4552004-04-30 H.J. Lu <hongjiu.lu@intel.com>
456
457 * elf.c (bfd_section_from_shdr): Maintain the section order in
458 a section group.
459 (special_sections): Add ".note.GNU-stack".
460 (elf_fake_sections): Handle section group for relocatable
461 link..
462
bc87dd2e
L
4632004-04-30 H.J. Lu <hongjiu.lu@intel.com>
464
465 * section.c (bfd_sections_find_if): New.
466 * bfd-in2.h: Regenerated.
467
72adc230
AM
4682004-04-30 Alan Modra <amodra@bigpond.net.au>
469
470 * section.c (bfd_make_section_anyway): Add all sections to hash tab.
471
472 * elf-bfd.h (bfd_elf_is_group_section): Declare.
473 * elf.c (bfd_elf_is_group_section): New function.
474 * elfxx-target.h (bfd_elfNN_bfd_is_group_section
475 * section.c (bfd_generic_is_group_section): New function.
476 * targets.c (struct bfd_target): Add _bfd_is_group_section field.
477 (BFD_JUMP_TABLE_LINK): Adjust.
478 * aout-adobe.c (aout_32_bfd_is_group_section): Define.
479 * aout-target.h (MY_bfd_is_group_section): Define.
480 * aout-tic30.c (MY_bfd_is_group_section): Define.
481 * bfd.c (bfd_is_group_section): Define.
482 * binary.c (binary_bfd_is_group_section): Define.
483 * bout.c (b_out_bfd_is_group_section): Define.
484 * coff-alpha.c (_bfd_ecoff_bfd_is_group_section): Define.
485 * coff-mips.c (_bfd_ecoff_bfd_is_group_section): Define.
486 * coff-rs6000.c (rs6000coff_vec, pmac_xcoff_vec): Adjust.
487 * coff64-rs6000.c (rs6000coff64_vec, aix5coff64_vec): Adjust.
488 * coffcode.h (coff_bfd_is_group_section): Define.
489 * i386msdos.c (msdos_bfd_is_group_section): Define.
490 * i386os9k.c (os9k_bfd_is_group_section): Define.
491 * ieee.c (ieee_bfd_is_group_section): Define.
492 * ihex.c (ihex_bfd_is_group_section): Define.
493 * libbfd-in.h (_bfd_nolink_bfd_is_group_section): Define.
494 * mach-o.c (bfd_mach_o_bfd_is_group_section): Define.
495 * mmo.c (mmo_bfd_is_group_section): Define.
496 * nlm-target.h (nlm_bfd_is_group_section): Define.
497 * oasys.c (oasys_bfd_is_group_section): Define.
498 * pef.c (bfd_pef_bfd_is_group_section): Define.
499 * ppcboot.c (ppcboot_bfd_is_group_section): Define.
500 * srec.c (srec_bfd_is_group_section): Define.
501 * tekhex.c (tekhex_bfd_is_group_section): Define.
502 * versados.c (versados_bfd_is_group_section): Define.
503 * vms.c (vms_bfd_is_group_section): Define.
504 * xsym.c (bfd_sym_bfd_is_group_section): Define.
505 * bfd-in2.h: Regenerate.
506 * libbfd.h: Regenerate.
507
20f0a1ad
AM
5082004-04-30 Alan Modra <amodra@bigpond.net.au>
509
510 * elflink.c (elf_gc_mark): Follow indirect and warning syms.
511
f7458fc9 5122004-04-30 Hans-Peter Nilsson <hp@axis.com>
7dfb3b6b
HPN
513
514 * configure.in: Update version to 2.15.91.
515 * configure: Regenerate.
516
8a7140c3
NC
5172004-04-29 Brian Ford <ford@vss.fsi.com>
518
519 * bfd.c (bfd_get_sign_extend_vma): Add pe[i]-i386 case to DJGPP hack.
520 * coffcode.h (DOT_DEBUG, GNU_LINKONCE_WI): Define.
521 [!COFF_WITH_PE] (sec_to_styp_flags, styp_to_sec_flags): Use them.
522 (coff_compute_section_file_positions) [RS6000COFF_C]: Likewise.
523 [COFF_WITH_PE] (sec_to_styp_flags): Handle DWARF 2/3 .debug* and
524 .gnu.linkonce.wi. sections.
525 * pe-i386.c (COFF_SUPPORT_GNU_LINKONCE): Define.
526 (COFF_SECTION_ALIGNMENT_ENTRIES): Add entries for .debug and
527 .gnu.linkonce.wi..
528 * pei-i386.c (COFF_SUPPORT_GNU_LINKONCE): Likewise.
529 (COFF_SECTION_ALIGNMENT_ENTRIES): Likewise.
530
3e722fb5
CD
5312004-04-28 Chris Demetriou <cgd@broadcom.com>
532
533 * reloc.c: Remove BFD_RELOC_PCREL_HI16_S and BFD_RELOC_PCREL_LO16.
534 * bfd-in2.h: Regenerate.
535 * libbfd.h: Likewise.
536
351e2b5a
DA
5372004-04-28 John David Anglin <dave.anglin@nrc-cnrc.gc.ca>
538
539 * som.c (struct som_misc_symbol_info): Add is_comdat, is_common and
540 dup_common fields.
541 (setup_sections): Use som_subspace_dictionary_record struct instead
542 subspace_dictionary_record. Set SEC_LINK_ONCE if subspace is
543 is_comdat, is_common or dup_common.
544 (som_prep_headers): Use som_subspace_dictionary_record struct. Set
545 is_comdat, is_common and dup_common in section subspace_dict from
546 copy_data.
547 (som_begin_writing): Use som_subspace_dictionary_record struct.
548 (som_finish_writing): Likewise.
549 (som_bfd_derive_misc_symbol_info): Add support to set is_comdat,
550 is_common and dup_common flags in info for symbol. Add comment
551 regarding linker support for these fields. Slightly reorganize
552 function.
553 (som_build_and_write_symbol_table): Set is_comdat, is_common and
554 dup_common fields in symbol table from symbol info.
555 (bfd_som_set_subsection_attributes): Add comdat, common and dup_common
556 arguments. Set corresponding fields in copy_data. Change all callers.
557 (som_bfd_ar_write_symbol_stuff): Set dup_common flag in library
558 symbol table.
559 (som_vec): Add SEC_LINK_ONCE to applicable section flags.
560 * som.h (som_subspace_dictionary_record): Define.
561 (som_copyable_section_data_struct): Add is_comdat, is_common and
562 dup_common fields.
563 (som_section_data_struct): Use som_subspace_dictionary_record struct
564 instead of subspace_dictionary_record.
565 (bfd_boolean bfd_som_set_subsection_attributes): Adjust prototype.
566
3ba3bc8c
BW
5672004-04-27 Bob Wilson <bob.wilson@acm.org>
568
569 * elf32-xtensa.c (xtensa_read_table_entries): Use section _cooked_size
570 if set. Check reloc_done flag before applying relocations. Use
571 output addresses, both when applying relocations and when comparing
572 against the specified section.
573 (elf_xtensa_relocate_section): Use output address to check if dynamic
574 reloc is in a literal pool. Set section's reloc_done flag.
575
beb8df56
L
5762004-04-27 H.J. Lu <hongjiu.lu@intel.com>
577
578 * elf32-sh64.c (elf_backend_section_flags): New. Defined.
579 (sh64_elf_set_mach_from_flags): Remove the kludge for .cranges
580 section.
581 (sh64_elf_section_flags): New. Set SEC_DEBUGGING for .cranges
582 section.
583
1829f4b2
AM
5842004-04-27 Alan Modra <amodra@bigpond.net.au>
585
586 * elf64-alpha.c (elf64_alpha_read_ecoff_info): Don't assign
587 structure field removed in 2004-04-24 patch.
588 * elf64-sparc.c (sparc64_elf_plt_sym_val): Warning fix.
589
590 * elf-bfd.h (struct elf_backend_data <elf_backend_section_flags>):
591 Constify hdr arg.
592 * elf32-arm.h (elf32_arm_section_flags): Likewise.
593 * elf64-alpha.c (elf64_alpha_section_flags): Likewise.
594 * elfxx-ia64.c (elfNN_ia64_section_flags): Likewise.
595 * elf.c (_bfd_elf_make_section_from_shdr): Set the bfd_section
596 field before calling elf_backend_section_flags.
597
4030e8f6
CD
5982004-04-24 Chris Demetriou <cgd@broadcom.com>
599
600 * elf32-mips.c (elf_mips_gnu_rel_hi16, elf_mips_gnu_rel_lo16)
601 (elf_mips_gnu_pcrel64, elf_mips_gnu_pcrel32): Remove.
602 (bfd_elf32_bfd_reloc_type_lookup): Remove cases for
603 BFD_RELOC_PCREL_HI16_S, BFD_RELOC_PCREL_LO16, BFD_RELOC_64_PCREL,
604 and BFD_RELOC_32_PCREL.
605 (mips_elf32_rtype_to_howto): Remove cases for R_MIPS_GNU_REL_HI16,
606 R_MIPS_GNU_REL_LO16, R_MIPS_PC64, R_MIPS_PC32.
607 * elfxx-mips.c (mips_elf_calculate_relocation): Likewise.
608 (_bfd_mips_elf_lo16_reloc): Remove handling for R_MIPS_GNU_REL_HI16.
609 (mips_elf_next_relocation): Move comment about matching HI/LO
610 relocations to...
611 (_bfd_mips_elf_relocate_section): Here. Remove handling for
612 R_MIPS_GNU_REL_HI16.
613
3e27568f
CD
6142004-04-23 Chris Demetriou <cgd@broadcom.com>
615
616 * coff-mips.c (mips_relhi_reloc, mips_rello_reloc)
617 (mips_switch_reloc, mips_read_relocs, mips_relax_section)
618 (mips_relax_pcrel16, PCREL16_EXPANSION_ADJUSTMENT): Remove.
619 (mips_relocate_hi): Remove now-unused 'adjust' and 'pcrel' arguments,
620 and update comments to reflect current usage.
621 (mips_howto_table): Remove entries for MIPS_R_RELHI, MIPS_R_RELLO,
622 and MIPS_R_SWITCH, as well as several empty entries. Update comment
623 for MIPS_R_PCREL16.
624 (mips_ecoff_swap_reloc_in, mips_ecoff_swap_reloc_out)
625 (mips_adjust_reloc_out, mips_bfd_reloc_type_lookup): Remove support
626 for MIPS_R_SWITCH, MIPS_R_RELLO, and MIPS_R_RELHI relocations.
627 (mips_adjust_reloc_in): Likewise, adjust maximum accepted relocation
628 type number to be MIPS_R_PCREL16.
629 (mips_relocate_section): Remove support for link-time relaxation
630 of branches used by embedded-PIC. Remove support for MIPS_R_SWITCH,
631 MIPS_R_RELLO, and MIPS_R_RELHI relocations.
632 (_bfd_ecoff_bfd_relax_section): Redefine to bfd_generic_relax_section.
633 * ecoff.c (ecoff_indirect_link_order): Remove support for link-time
634 relaxation of branches used by embedded-PIC.
635 * ecofflink.c (bfd_ecoff_debug_accumulate): Likewise.
636 * libecoff.h (struct ecoff_section_tdata): Remove embedded-PIC
637 related members, update comment.
638 * pe-mips.c: Remove disabled (commented-out and #if 0'd)
639 code related to embedded-PIC.
640 * elfxx-mips.c (_bfd_mips_elf_read_ecoff_info): Remove
641 initialization of now-removed 'adjust' member of
642 'struct ecoff_debug_info'.
643
b32de0bc 6442004-04-23 Chris Demetriou <cgd@broadcom.com>
8472310d
CD
645
646 * elfxx-mips.c (mips_elf_get_global_gotsym_index): Remove.
647
955af222
PB
6482004-04-21 Philip Blundell <pb@nexus.co.uk>
649
650 * elf32-arm.h (elf32_arm_check_relocs): Don't output REL32
651 relocs for locally defined symbols during -shared final link.
652 (elf32_arm_final_link_relocate): Likewise.
653
47a9f7b3
JJ
6542004-04-22 Jakub Jelinek <jakub@redhat.com>
655
656 * elf64-x86-64.c (elf64_x86_64_copy_indirect_symbol): Copy also
657 ELF_LINK_POINTER_EQUALITY_NEEDED.
658 (elf64_x86_64_check_relocs): Set ELF_LINK_POINTER_EQUALITY_NEEDED
659 if r_type is not R_X86_64_PC32.
660 (elf64_x86_64_finish_dynamic_symbol): If
661 ELF_LINK_POINTER_EQUALITY_NEEDED is not set, clear st_value of
662 SHN_UNDEF symbols.
663
1f1799d5
KK
6642004-04-22 Kaz Kojima <kkojima@rr.iij4u.or.jp>
665
666 * elf32-sh.c (sh_elf_plt_sym_val): New function.
667 (elf_backend_plt_sym_val): Define.
668
0fdea5ce
AC
6692004-04-22 Andrew Cagney <cagney@redhat.com>
670
671 * opncls.c (bfd_alloc): Fix type of "wanted" in doco.
672
5198ba8b
DA
6732004-04-22 John David Anglin <dave.anglin@nrc-cnrc.gc.ca>
674
eb61d2d6 675 * hpux-core.c (hpux_core_core_file_p): Add cast in call to
5198ba8b
DA
676 make_bfd_asection.
677 * som.c (som_set_section_contents): Constantify second argument.
678 (hppa_som_gen_reloc_type): Abort for unsupported selectors.
679 (som_object_setup): Rework to avoid warning.
680 (setup_sections, som_write_fixups, bfd_section_from_som_symbol):
681 Likewise.
682
fe2e161a
AC
6832004-04-22 Andrew Cagney <cagney@redhat.com>
684
685 * cache.c (bfd_cache_close): Check for a previously closed file.
686
4c45e5c9
JJ
6872004-04-22 Jakub Jelinek <jakub@redhat.com>
688
689 * bfd.c (bfd_get_synthetic_symtab): Define.
690 * targets.c (BFD_JUMP_TABLE_DYNAMIC): Add
691 NAME##_get_synthetic_symtab.
692 (struct bfd_target): Add _bfd_get_synthetic_symtab.
693 * libbfd-in.h (_bfd_nodynamic_get_synthetic_symtab): Define.
694 * elf-bfd.h (struct elf_backend_data): Add plt_sym_val and
695 relplt_name fields.
696 (_bfd_elf_get_synthetic_symtab): New prototype.
697 * elfcode.h (elf_get_synthetic_symtab): Define.
698 * elf.c (_bfd_elf_get_synthetic_symtab): New function.
699 * elfxx-target.h (bfd_elfNN_get_synthetic_symtab): Define.
700 (elf_backend_plt_sym_val, elf_backend_relplt_name): Define.
701 (elfNN_bed): Add elf_backend_plt_sym_val and elf_backend_relplt_name.
702 * bfd-in2.h: Rebuilt.
703 * libbfd.h: Rebuilt.
704 * elf32-i386.c (elf_i386_plt_sym_val): New function.
705 (elf_backend_plt_sym_val): Define.
706 * elf64-x86-64.c (elf64_x86_64_plt_sym_val): New function.
707 (elf_backend_plt_sym_val): Define.
708 * elf32-s390.c (elf_s390_plt_sym_val): New function.
709 (elf_backend_plt_sym_val): Define.
710 * elf64-s390.c (elf_s390_plt_sym_val): New function.
711 (elf_backend_plt_sym_val): Define.
712 * elf32-sparc (elf32_sparc_plt_sym_val): New function.
713 (elf_backend_plt_sym_val): Define.
714 * elf64-sparc.c (sparc64_elf_plt_sym_val): New function.
715 (elf_backend_plt_sym_val): Define.
716 * elf32-ppc.c (ppc_elf_plt_sym_val): New function.
717 (elf_backend_plt_sym_val): Define.
718 * aout-target.h (MY_get_synthetic_symtab): Define.
719 * aout-tic30.c (MY_get_synthetic_symtab): Define.
720 * coff-rs6000.c (rs6000coff_vec): Add
721 _bfd_nodynamic_get_synthetic_symtab.
722 (pmac_xcoff_vec): Likewise.
723 * coff64-rs6000.c (rs6000coff64_vec): Add
724 _bfd_nodynamic_get_synthetic_symtab.
725 (aix5coff64_vec): Likewise.
726 * sunos.c (MY_get_synthetic_symtab): Define.
727 * vms.c (vms_get_synthetic_symtab): Define.
728
d2f7ecac
NC
7292004-04-22 Nick Clifton <nickc@redhat.com>
730
731 * bfd.c (bfd_archive_filename): Return NULL on NULL input.
732
fd99574b
NC
7332004-04-22 Peter Barada <peter@the-baradas.com>
734
735 * archures.c: Add bfd_mach_mcfv4e to bfd_architecture.
736 * bfd2-in.h: Regenerate.
737 * cpu-m68k.c: Add 'm68k:mcfv4e' to arch_info_struct[].
738
23867d67
CD
7392004-04-21 Chris Demetriou <cgd@broadcom.com>
740
741 * coff-mips.c (bfd_mips_ecoff_create_embedded_relocs): Remove.
742 * elf32-mips.c (bfd_mips_elf32_create_embedded_relocs): Remove.
743 * bfd-in.h (bfd_mips_ecoff_create_embedded_relocs)
744 (bfd_mips_elf32_create_embedded_relocs): Remove prototypes
745 * bfd-in2.h: Regenerate.
746
2c8c90bc
BW
7472004-04-21 Bob Wilson <bob.wilson@acm.org>
748
749 * elf32-xtensa.c (is_same_value): Add final_static_link argument and
750 require relocations against a weak symbol to reference the same
751 symbol hash entry if not a final, static link.
752 (get_cached_value, add_value_map): Add final_static_link argument.
753 (remove_literals): Pass final_static_link argument as needed.
754
40838a72
AC
7552004-04-21 Andrew Cagney <cagney@redhat.com>
756
757 * opncls.c (_bfd_new_bfd_contained_in): Copy "iovec".
758 (struct opncls, opncls_btell, opncls_bseek, opncls_bread)
759 (opncls_bwrite, opncls_bclose, opncls_bflush)
760 (opncls_bstat, opncls_iovec, bfd_openr_iovec): Implement a
761 bfd iovec that uses function callbacks.
762 (bfd_close): Use the iovec's bclose.
763 * cache.c (cache_btell, cache_bseek, cache_bread, cache_bwrite)
764 (cache_bclose, cache_bflush, cache_bstat)
765 (cache_iovec): New functions and global variable, implement a
766 cache "iovec", where applicable set bfd_error.
767 (bfd_cache_init, bfd_cache_close): Set/test the bfd's iovec.
768 * bfdio.c (struct bfd_iovec): Define.
769 (real_read): Delete function.
770 (bfd_bread, bfd_bread, bfd_bwrite, bfd_tell, bfd_flush, bfd_stat)
771 (bfd_seek, bfd_get_mtime, bfd_get_size): Use the bfd's "iovec",
772 assume that bread and bwrite set bfd_error.
773 * bfd.c (struct bfd): Add "iovec", update comments.
774 * bfd-in2.h, libbfd.h: Re-generate.
775
7f919c84
AC
7762004-04-21 Andrew Cagney <cagney@redhat.com>
777
778 * libaout.h (enum machine_type): Add M_POWERPC_NETBSD.
779
715df9b8
EB
7802004-04-21 Eric Botcazou <ebotcazou@act-europe.fr>
781
782 * elflink.c (elf_gc_mark_dynamic_ref_symbol): New function.
783 (bfd_elf_gc_sections): Fail if a shared object is being created.
784 Do not fail if dynamic sections have been created. Instead call
785 elf_gc_mark_dynamic_ref_symbol to mark sections that contain
786 dynamically referenced symbols. Do not mark the whole graph
787 rooted at .eh_frame, only the section proper.
788
6482c264
NC
7892004-04-20 DJ Delorie <dj@redhat.com>
790
791 * reloc.c: Add BFD_RELOC_32_SECREL.
792 * bfd-in2.h: Regenerate.
793 * libbfd.h: Likewise.
794 * coff-i386.c (howto_table) [COFF_WITH_PE]: Add R_SECREL32.
795 (coff_i386_rtype_to_howto) [COFF_WITH_PE]: Handle it.
796 (coff_i386_reloc_type_lookup) [COFF_WITH_PE]: Likewise.
797
4dc570c2
JJ
7982004-04-19 Jakub Jelinek <jakub@redhat.com>
799
800 * elf32-sparc.c (elf32_sparc_relocate_section): Handle
801 relocs against hidden/protected undefweak symbols properly.
802 * elf64-sparc.c (sparc64_elf_relocate_section): Likewise.
803
0b60d5d3
MK
8042004-04-18 Mark Kettenis <kettenis@gnu.org>
805
806 * libaout.h (enum machine_type): Add M_POWERPC_NETBSD.
807 * netbsd-core.c (netbsd_core_file_p): Set architecture for PowerPC
808 core files.
809
d48bdb99
AM
8102004-04-17 Brian Ford <ford@vss.fsi.com>
811
812 * peXXigen.c (_bfd_XXi_swap_aouthdr_out): Use the first non-zero
813 filepos for the SizeOfHeaders field.
814 (_bfd_XXi_swap_scnhdr_out): Correct section flags lossage on reloc
815 overflow.
816 (_bfd_XXi_swap_sym_in): Remove redundant section flags assignment.
817
57a1784e
AM
8182004-04-16 Alan Modra <amodra@bigpond.net.au>
819
820 * simple.c (bfd_simple_get_relocated_section_contents): Don't
821 change reloc_done. Set and restore _cooked_size.
822 (RETURN): Delete.
823
d1ad3f6f
MK
8242004-04-15 Mark Kettenis <kettenis@gnu.org>
825
826 * netbsd-core.c (netbsd_core_file_p): Set architecture for VAX
827 core files.
828
3d1bca9d
NC
8292004-04-15 Nick Clifton <nickc@redhat.com>
830
831 * bfd.c (bfd_archive_filename): Catch NULL bfd pointers.
832
019b892f
AM
8332004-04-15 Alan Modra <amodra@bigpond.net.au>
834
835 * elf64-sparc.c (sparc64_elf_check_relocs): Fix thinko last change.
836
15b43f48
AM
8372004-04-15 H.J. Lu <hongjiu.lu@intel.com>
838
839 * elflink.c (_bfd_elf_merge_symbol): Treat weak as strong only
840 when it is a definition.
841
6de00a78
AM
8422004-04-14 Alan Modra <amodra@bigpond.net.au>
843
844 * elf32-sparc.c (elf32_sparc_relocate_section): Don't abort
845 when statically linking PIC code.
846 * elf64-sparc.c (sparc64_elf_relocate_section): Likewise.
847
279500de
TS
8482004-04-11 Thiemo Seufer <seufer@csv.ica.uni-stuttgart.de>
849
850 * config.bfd: Remove mips*-*-mach3* and mips*-dec-mach3* targets.
851 * configure.in: Remove mips-dec-bsd*, mips-dec-mach3*, mips-*-mach3*
852 targets amd aout_mips_big_vec, aout_mips_little_vec target vectors.
853 * configure: Regenerate.
854
ccf2f652
RS
8552004-04-08 Richard Sandiford <rsandifo@redhat.com>
856
857 * elflink.c: Include libiberty.h.
858 * Makefile.am (elflink.lo): Depend on libiberty.h.
859 * Makefile.in: Regenerate.
860
ca07892d
DJ
8612004-04-06 Daniel Jacobowitz <drow@mvista.com>
862
863 * elfxx-mips.c (MIPS_ELF_STUB_SECTION_NAME): Always use
864 ".MIPS.stubs".
865
a5a58ba4
L
8662004-04-05 H.J. Lu <hongjiu.lu@intel.com>
867
868 * elfxx-ia64.c (elfNN_ia64_size_dynamic_sections): Always
869 reserve the memory for dynamic linker
870
24d18d30
MK
8712004-04-05 Mark Kettenis <kettenis@gnu.org>
872
873 * netbsd-core.c (CORE_WCOOKIE_OFFSET): New define.
874 (netbsd_core_file_p): Create a .wcookie section for OpenBSD/sparc.
875
a4d7b4b5
L
8762004-04-02 H.J. Lu <hongjiu.lu@intel.com>
877
878 * elf32-cr16c.c (elf32_cr16c_relocate_section): Use
879 RELOC_FOR_GLOBAL_SYMBOL.
880 (elf32_cr16c_add_symbol_hook): Remove const from Elf_Internal_Sym.
881
1f433d93
L
8822004-04-02 H.J. Lu <hongjiu.lu@intel.com>
883
884 * elf32-arm.h (elf32_arm_final_link_relocate): Handle
885 R_ARM_ALU* only if OLD_ARM_ABI is not defined.
886
e489d0ae
PB
8872004-04-01 Paul Brook <paul@codesourcery.com>
888
889 * bfd-in.h (bfd_elf32_arm_process_before_allocation): Update.
890 * elf32-arm.h (struct elf32_elf_section_map): New.
891 (struct _arm_elf_section_data): New.
892 (elf32_arm_section_data): Define.
893 (struct elf32_arm_link_hash_table): Add byteswap_code.
894 (elf32_arm_link_hash_table_create): Initialize byteswap_code.
895 (bfd_elf32_arm_process_before_allocation): Add byteswap_code.
896 (elf32_arm_post_process_headers): Set EF_ARM_BE8.
897 (elf32_arm_output_symbol_hook, elf32_arm_new_section_hook,
898 elf32_arm_compare_mapping, elf32_arm_write_section): New functions.
899 (bfd_elf32_new_section_hook, elf_backend_write_section,
900 elf_backend_link_output_symbol_hook): Define.
901
66a695f0
NC
9022004-04-01 Andy Chittenden <achittenden@bluearc.com>
903
904 * stabs.c (struct stab_link_includes_totals): Add field 'symb'
905 that keeps the characters in a B_INCL..B_EINCL range.
906 (_bfd_link_section_stabs): When computing the sum of the
907 characters in a B_INCL..B_EINCL range also keep a copy of those
908 characters. Use this information to distinguish between
909 include sections that have the same sum and the same length
910 but which are nevertheless unique.
911
8375c36b
PB
9122004-03-31 Paul Brook <paul@codesourcery.com>
913
914 * elf32-arm.h (elf32_arm_final_link_relocate): Add R_ARM_ALU*.
915 * elfarm-nabi.c (elf32_arm_howto_table): Ditto.
916
a56b48eb
NC
9172004-03-31 Andy Chittenden <achittenden@bluearc.com>
918
919 * stabs.c (struct stab_link_includes_totals): Rename field 'total'
920 to 'sum_chars' and add field 'num_chars'.
921 (_bfd_link_section_stabs): When computing the sum of the
922 characters in a B_INCL..B_EINCL range also keep a count of the
923 number of characters. Use this information to help distinguish
924 between include sections when have the same sum but which
925 nevertheless are still unique.
926
3d456464
NC
927