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