Commit | Line | Data |
---|---|---|
6a8d1586 AM |
1 | 2004-05-03 Alan Modra <amodra@bigpond.net.au> |
2 | ||
3 | * elf.c (_bfd_elf_rela_local_sym): Set kept_section for excluded | |
4 | SEC_MERGE sections. | |
5 | * elflink.c (elf_link_input_bfd): Adjust output reloc index for | |
6 | those against discarded link-once and SEC_MERGE section symbols. | |
7 | ||
fafe6678 L |
8 | 2004-05-02 H.J. Lu <hongjiu.lu@intel.com> |
9 | ||
10 | * section.c (bfd_get_section_by_name_if): New. | |
11 | * bfd-in2.h: Regenerated. | |
12 | ||
ad7b9a36 AM |
13 | 2004-05-02 Alan Modra <amodra@bigpond.net.au> |
14 | ||
15 | * som.c (som_bfd_is_group_section): Define. | |
16 | ||
73499ab8 AM |
17 | 2004-05-01 Alan Modra <amodra@bigpond.net.au> |
18 | ||
19 | * section.c (bfd_make_section_anyway): Copy the whole | |
20 | bfd_hash_entry, not just "next" from existing entry. | |
21 | ||
45c5e9ed L |
22 | 2004-04-30 H.J. Lu <hongjiu.lu@intel.com> |
23 | ||
24 | * elf.c (bfd_section_from_shdr): Maintain the section order in | |
25 | a section group. | |
26 | (special_sections): Add ".note.GNU-stack". | |
27 | (elf_fake_sections): Handle section group for relocatable | |
28 | link.. | |
29 | ||
bc87dd2e L |
30 | 2004-04-30 H.J. Lu <hongjiu.lu@intel.com> |
31 | ||
32 | * section.c (bfd_sections_find_if): New. | |
33 | * bfd-in2.h: Regenerated. | |
34 | ||
72adc230 AM |
35 | 2004-04-30 Alan Modra <amodra@bigpond.net.au> |
36 | ||
37 | * section.c (bfd_make_section_anyway): Add all sections to hash tab. | |
38 | ||
39 | * elf-bfd.h (bfd_elf_is_group_section): Declare. | |
40 | * elf.c (bfd_elf_is_group_section): New function. | |
41 | * elfxx-target.h (bfd_elfNN_bfd_is_group_section | |
42 | * section.c (bfd_generic_is_group_section): New function. | |
43 | * targets.c (struct bfd_target): Add _bfd_is_group_section field. | |
44 | (BFD_JUMP_TABLE_LINK): Adjust. | |
45 | * aout-adobe.c (aout_32_bfd_is_group_section): Define. | |
46 | * aout-target.h (MY_bfd_is_group_section): Define. | |
47 | * aout-tic30.c (MY_bfd_is_group_section): Define. | |
48 | * bfd.c (bfd_is_group_section): Define. | |
49 | * binary.c (binary_bfd_is_group_section): Define. | |
50 | * bout.c (b_out_bfd_is_group_section): Define. | |
51 | * coff-alpha.c (_bfd_ecoff_bfd_is_group_section): Define. | |
52 | * coff-mips.c (_bfd_ecoff_bfd_is_group_section): Define. | |
53 | * coff-rs6000.c (rs6000coff_vec, pmac_xcoff_vec): Adjust. | |
54 | * coff64-rs6000.c (rs6000coff64_vec, aix5coff64_vec): Adjust. | |
55 | * coffcode.h (coff_bfd_is_group_section): Define. | |
56 | * i386msdos.c (msdos_bfd_is_group_section): Define. | |
57 | * i386os9k.c (os9k_bfd_is_group_section): Define. | |
58 | * ieee.c (ieee_bfd_is_group_section): Define. | |
59 | * ihex.c (ihex_bfd_is_group_section): Define. | |
60 | * libbfd-in.h (_bfd_nolink_bfd_is_group_section): Define. | |
61 | * mach-o.c (bfd_mach_o_bfd_is_group_section): Define. | |
62 | * mmo.c (mmo_bfd_is_group_section): Define. | |
63 | * nlm-target.h (nlm_bfd_is_group_section): Define. | |
64 | * oasys.c (oasys_bfd_is_group_section): Define. | |
65 | * pef.c (bfd_pef_bfd_is_group_section): Define. | |
66 | * ppcboot.c (ppcboot_bfd_is_group_section): Define. | |
67 | * srec.c (srec_bfd_is_group_section): Define. | |
68 | * tekhex.c (tekhex_bfd_is_group_section): Define. | |
69 | * versados.c (versados_bfd_is_group_section): Define. | |
70 | * vms.c (vms_bfd_is_group_section): Define. | |
71 | * xsym.c (bfd_sym_bfd_is_group_section): Define. | |
72 | * bfd-in2.h: Regenerate. | |
73 | * libbfd.h: Regenerate. | |
74 | ||
20f0a1ad AM |
75 | 2004-04-30 Alan Modra <amodra@bigpond.net.au> |
76 | ||
77 | * elflink.c (elf_gc_mark): Follow indirect and warning syms. | |
78 | ||
f7458fc9 | 79 | 2004-04-30 Hans-Peter Nilsson <hp@axis.com> |
7dfb3b6b HPN |
80 | |
81 | * configure.in: Update version to 2.15.91. | |
82 | * configure: Regenerate. | |
83 | ||
8a7140c3 NC |
84 | 2004-04-29 Brian Ford <ford@vss.fsi.com> |
85 | ||
86 | * bfd.c (bfd_get_sign_extend_vma): Add pe[i]-i386 case to DJGPP hack. | |
87 | * coffcode.h (DOT_DEBUG, GNU_LINKONCE_WI): Define. | |
88 | [!COFF_WITH_PE] (sec_to_styp_flags, styp_to_sec_flags): Use them. | |
89 | (coff_compute_section_file_positions) [RS6000COFF_C]: Likewise. | |
90 | [COFF_WITH_PE] (sec_to_styp_flags): Handle DWARF 2/3 .debug* and | |
91 | .gnu.linkonce.wi. sections. | |
92 | * pe-i386.c (COFF_SUPPORT_GNU_LINKONCE): Define. | |
93 | (COFF_SECTION_ALIGNMENT_ENTRIES): Add entries for .debug and | |
94 | .gnu.linkonce.wi.. | |
95 | * pei-i386.c (COFF_SUPPORT_GNU_LINKONCE): Likewise. | |
96 | (COFF_SECTION_ALIGNMENT_ENTRIES): Likewise. | |
97 | ||
3e722fb5 CD |
98 | 2004-04-28 Chris Demetriou <cgd@broadcom.com> |
99 | ||
100 | * reloc.c: Remove BFD_RELOC_PCREL_HI16_S and BFD_RELOC_PCREL_LO16. | |
101 | * bfd-in2.h: Regenerate. | |
102 | * libbfd.h: Likewise. | |
103 | ||
351e2b5a DA |
104 | 2004-04-28 John David Anglin <dave.anglin@nrc-cnrc.gc.ca> |
105 | ||
106 | * som.c (struct som_misc_symbol_info): Add is_comdat, is_common and | |
107 | dup_common fields. | |
108 | (setup_sections): Use som_subspace_dictionary_record struct instead | |
109 | subspace_dictionary_record. Set SEC_LINK_ONCE if subspace is | |
110 | is_comdat, is_common or dup_common. | |
111 | (som_prep_headers): Use som_subspace_dictionary_record struct. Set | |
112 | is_comdat, is_common and dup_common in section subspace_dict from | |
113 | copy_data. | |
114 | (som_begin_writing): Use som_subspace_dictionary_record struct. | |
115 | (som_finish_writing): Likewise. | |
116 | (som_bfd_derive_misc_symbol_info): Add support to set is_comdat, | |
117 | is_common and dup_common flags in info for symbol. Add comment | |
118 | regarding linker support for these fields. Slightly reorganize | |
119 | function. | |
120 | (som_build_and_write_symbol_table): Set is_comdat, is_common and | |
121 | dup_common fields in symbol table from symbol info. | |
122 | (bfd_som_set_subsection_attributes): Add comdat, common and dup_common | |
123 | arguments. Set corresponding fields in copy_data. Change all callers. | |
124 | (som_bfd_ar_write_symbol_stuff): Set dup_common flag in library | |
125 | symbol table. | |
126 | (som_vec): Add SEC_LINK_ONCE to applicable section flags. | |
127 | * som.h (som_subspace_dictionary_record): Define. | |
128 | (som_copyable_section_data_struct): Add is_comdat, is_common and | |
129 | dup_common fields. | |
130 | (som_section_data_struct): Use som_subspace_dictionary_record struct | |
131 | instead of subspace_dictionary_record. | |
132 | (bfd_boolean bfd_som_set_subsection_attributes): Adjust prototype. | |
133 | ||
3ba3bc8c BW |
134 | 2004-04-27 Bob Wilson <bob.wilson@acm.org> |
135 | ||
136 | * elf32-xtensa.c (xtensa_read_table_entries): Use section _cooked_size | |
137 | if set. Check reloc_done flag before applying relocations. Use | |
138 | output addresses, both when applying relocations and when comparing | |
139 | against the specified section. | |
140 | (elf_xtensa_relocate_section): Use output address to check if dynamic | |
141 | reloc is in a literal pool. Set section's reloc_done flag. | |
142 | ||
beb8df56 L |
143 | 2004-04-27 H.J. Lu <hongjiu.lu@intel.com> |
144 | ||
145 | * elf32-sh64.c (elf_backend_section_flags): New. Defined. | |
146 | (sh64_elf_set_mach_from_flags): Remove the kludge for .cranges | |
147 | section. | |
148 | (sh64_elf_section_flags): New. Set SEC_DEBUGGING for .cranges | |
149 | section. | |
150 | ||
1829f4b2 AM |
151 | 2004-04-27 Alan Modra <amodra@bigpond.net.au> |
152 | ||
153 | * elf64-alpha.c (elf64_alpha_read_ecoff_info): Don't assign | |
154 | structure field removed in 2004-04-24 patch. | |
155 | * elf64-sparc.c (sparc64_elf_plt_sym_val): Warning fix. | |
156 | ||
157 | * elf-bfd.h (struct elf_backend_data <elf_backend_section_flags>): | |
158 | Constify hdr arg. | |
159 | * elf32-arm.h (elf32_arm_section_flags): Likewise. | |
160 | * elf64-alpha.c (elf64_alpha_section_flags): Likewise. | |
161 | * elfxx-ia64.c (elfNN_ia64_section_flags): Likewise. | |
162 | * elf.c (_bfd_elf_make_section_from_shdr): Set the bfd_section | |
163 | field before calling elf_backend_section_flags. | |
164 | ||
4030e8f6 CD |
165 | 2004-04-24 Chris Demetriou <cgd@broadcom.com> |
166 | ||
167 | * elf32-mips.c (elf_mips_gnu_rel_hi16, elf_mips_gnu_rel_lo16) | |
168 | (elf_mips_gnu_pcrel64, elf_mips_gnu_pcrel32): Remove. | |
169 | (bfd_elf32_bfd_reloc_type_lookup): Remove cases for | |
170 | BFD_RELOC_PCREL_HI16_S, BFD_RELOC_PCREL_LO16, BFD_RELOC_64_PCREL, | |
171 | and BFD_RELOC_32_PCREL. | |
172 | (mips_elf32_rtype_to_howto): Remove cases for R_MIPS_GNU_REL_HI16, | |
173 | R_MIPS_GNU_REL_LO16, R_MIPS_PC64, R_MIPS_PC32. | |
174 | * elfxx-mips.c (mips_elf_calculate_relocation): Likewise. | |
175 | (_bfd_mips_elf_lo16_reloc): Remove handling for R_MIPS_GNU_REL_HI16. | |
176 | (mips_elf_next_relocation): Move comment about matching HI/LO | |
177 | relocations to... | |
178 | (_bfd_mips_elf_relocate_section): Here. Remove handling for | |
179 | R_MIPS_GNU_REL_HI16. | |
180 | ||
3e27568f CD |
181 | 2004-04-23 Chris Demetriou <cgd@broadcom.com> |
182 | ||
183 | * coff-mips.c (mips_relhi_reloc, mips_rello_reloc) | |
184 | (mips_switch_reloc, mips_read_relocs, mips_relax_section) | |
185 | (mips_relax_pcrel16, PCREL16_EXPANSION_ADJUSTMENT): Remove. | |
186 | (mips_relocate_hi): Remove now-unused 'adjust' and 'pcrel' arguments, | |
187 | and update comments to reflect current usage. | |
188 | (mips_howto_table): Remove entries for MIPS_R_RELHI, MIPS_R_RELLO, | |
189 | and MIPS_R_SWITCH, as well as several empty entries. Update comment | |
190 | for MIPS_R_PCREL16. | |
191 | (mips_ecoff_swap_reloc_in, mips_ecoff_swap_reloc_out) | |
192 | (mips_adjust_reloc_out, mips_bfd_reloc_type_lookup): Remove support | |
193 | for MIPS_R_SWITCH, MIPS_R_RELLO, and MIPS_R_RELHI relocations. | |
194 | (mips_adjust_reloc_in): Likewise, adjust maximum accepted relocation | |
195 | type number to be MIPS_R_PCREL16. | |
196 | (mips_relocate_section): Remove support for link-time relaxation | |
197 | of branches used by embedded-PIC. Remove support for MIPS_R_SWITCH, | |
198 | MIPS_R_RELLO, and MIPS_R_RELHI relocations. | |
199 | (_bfd_ecoff_bfd_relax_section): Redefine to bfd_generic_relax_section. | |
200 | * ecoff.c (ecoff_indirect_link_order): Remove support for link-time | |
201 | relaxation of branches used by embedded-PIC. | |
202 | * ecofflink.c (bfd_ecoff_debug_accumulate): Likewise. | |
203 | * libecoff.h (struct ecoff_section_tdata): Remove embedded-PIC | |
204 | related members, update comment. | |
205 | * pe-mips.c: Remove disabled (commented-out and #if 0'd) | |
206 | code related to embedded-PIC. | |
207 | * elfxx-mips.c (_bfd_mips_elf_read_ecoff_info): Remove | |
208 | initialization of now-removed 'adjust' member of | |
209 | 'struct ecoff_debug_info'. | |
210 | ||
b32de0bc | 211 | 2004-04-23 Chris Demetriou <cgd@broadcom.com> |
8472310d CD |
212 | |
213 | * elfxx-mips.c (mips_elf_get_global_gotsym_index): Remove. | |
214 | ||
955af222 PB |
215 | 2004-04-21 Philip Blundell <pb@nexus.co.uk> |
216 | ||
217 | * elf32-arm.h (elf32_arm_check_relocs): Don't output REL32 | |
218 | relocs for locally defined symbols during -shared final link. | |
219 | (elf32_arm_final_link_relocate): Likewise. | |
220 | ||
47a9f7b3 JJ |
221 | 2004-04-22 Jakub Jelinek <jakub@redhat.com> |
222 | ||
223 | * elf64-x86-64.c (elf64_x86_64_copy_indirect_symbol): Copy also | |
224 | ELF_LINK_POINTER_EQUALITY_NEEDED. | |
225 | (elf64_x86_64_check_relocs): Set ELF_LINK_POINTER_EQUALITY_NEEDED | |
226 | if r_type is not R_X86_64_PC32. | |
227 | (elf64_x86_64_finish_dynamic_symbol): If | |
228 | ELF_LINK_POINTER_EQUALITY_NEEDED is not set, clear st_value of | |
229 | SHN_UNDEF symbols. | |
230 | ||
1f1799d5 KK |
231 | 2004-04-22 Kaz Kojima <kkojima@rr.iij4u.or.jp> |
232 | ||
233 | * elf32-sh.c (sh_elf_plt_sym_val): New function. | |
234 | (elf_backend_plt_sym_val): Define. | |
235 | ||
0fdea5ce AC |
236 | 2004-04-22 Andrew Cagney <cagney@redhat.com> |
237 | ||
238 | * opncls.c (bfd_alloc): Fix type of "wanted" in doco. | |
239 | ||
5198ba8b DA |
240 | 2004-04-22 John David Anglin <dave.anglin@nrc-cnrc.gc.ca> |
241 | ||
242 | * hpux-core.c (hpux_core_core_file_p): Add cast in call to | |
243 | make_bfd_asection. | |
244 | * som.c (som_set_section_contents): Constantify second argument. | |
245 | (hppa_som_gen_reloc_type): Abort for unsupported selectors. | |
246 | (som_object_setup): Rework to avoid warning. | |
247 | (setup_sections, som_write_fixups, bfd_section_from_som_symbol): | |
248 | Likewise. | |
249 | ||
fe2e161a AC |
250 | 2004-04-22 Andrew Cagney <cagney@redhat.com> |
251 | ||
252 | * cache.c (bfd_cache_close): Check for a previously closed file. | |
253 | ||
4c45e5c9 JJ |
254 | 2004-04-22 Jakub Jelinek <jakub@redhat.com> |
255 | ||
256 | * bfd.c (bfd_get_synthetic_symtab): Define. | |
257 | * targets.c (BFD_JUMP_TABLE_DYNAMIC): Add | |
258 | NAME##_get_synthetic_symtab. | |
259 | (struct bfd_target): Add _bfd_get_synthetic_symtab. | |
260 | * libbfd-in.h (_bfd_nodynamic_get_synthetic_symtab): Define. | |
261 | * elf-bfd.h (struct elf_backend_data): Add plt_sym_val and | |
262 | relplt_name fields. | |
263 | (_bfd_elf_get_synthetic_symtab): New prototype. | |
264 | * elfcode.h (elf_get_synthetic_symtab): Define. | |
265 | * elf.c (_bfd_elf_get_synthetic_symtab): New function. | |
266 | * elfxx-target.h (bfd_elfNN_get_synthetic_symtab): Define. | |
267 | (elf_backend_plt_sym_val, elf_backend_relplt_name): Define. | |
268 | (elfNN_bed): Add elf_backend_plt_sym_val and elf_backend_relplt_name. | |
269 | * bfd-in2.h: Rebuilt. | |
270 | * libbfd.h: Rebuilt. | |
271 | * elf32-i386.c (elf_i386_plt_sym_val): New function. | |
272 | (elf_backend_plt_sym_val): Define. | |
273 | * elf64-x86-64.c (elf64_x86_64_plt_sym_val): New function. | |
274 | (elf_backend_plt_sym_val): Define. | |
275 | * elf32-s390.c (elf_s390_plt_sym_val): New function. | |
276 | (elf_backend_plt_sym_val): Define. | |
277 | * elf64-s390.c (elf_s390_plt_sym_val): New function. | |
278 | (elf_backend_plt_sym_val): Define. | |
279 | * elf32-sparc (elf32_sparc_plt_sym_val): New function. | |
280 | (elf_backend_plt_sym_val): Define. | |
281 | * elf64-sparc.c (sparc64_elf_plt_sym_val): New function. | |
282 | (elf_backend_plt_sym_val): Define. | |
283 | * elf32-ppc.c (ppc_elf_plt_sym_val): New function. | |
284 | (elf_backend_plt_sym_val): Define. | |
285 | * aout-target.h (MY_get_synthetic_symtab): Define. | |
286 | * aout-tic30.c (MY_get_synthetic_symtab): Define. | |
287 | * coff-rs6000.c (rs6000coff_vec): Add | |
288 | _bfd_nodynamic_get_synthetic_symtab. | |
289 | (pmac_xcoff_vec): Likewise. | |
290 | * coff64-rs6000.c (rs6000coff64_vec): Add | |
291 | _bfd_nodynamic_get_synthetic_symtab. | |
292 | (aix5coff64_vec): Likewise. | |
293 | * sunos.c (MY_get_synthetic_symtab): Define. | |
294 | * vms.c (vms_get_synthetic_symtab): Define. | |
295 | ||
d2f7ecac NC |
296 | 2004-04-22 Nick Clifton <nickc@redhat.com> |
297 | ||
298 | * bfd.c (bfd_archive_filename): Return NULL on NULL input. | |
299 | ||
fd99574b NC |
300 | 2004-04-22 Peter Barada <peter@the-baradas.com> |
301 | ||
302 | * archures.c: Add bfd_mach_mcfv4e to bfd_architecture. | |
303 | * bfd2-in.h: Regenerate. | |
304 | * cpu-m68k.c: Add 'm68k:mcfv4e' to arch_info_struct[]. | |
305 | ||
23867d67 CD |
306 | 2004-04-21 Chris Demetriou <cgd@broadcom.com> |
307 | ||
308 | * coff-mips.c (bfd_mips_ecoff_create_embedded_relocs): Remove. | |
309 | * elf32-mips.c (bfd_mips_elf32_create_embedded_relocs): Remove. | |
310 | * bfd-in.h (bfd_mips_ecoff_create_embedded_relocs) | |
311 | (bfd_mips_elf32_create_embedded_relocs): Remove prototypes | |
312 | * bfd-in2.h: Regenerate. | |
313 | ||
2c8c90bc BW |
314 | 2004-04-21 Bob Wilson <bob.wilson@acm.org> |
315 | ||
316 | * elf32-xtensa.c (is_same_value): Add final_static_link argument and | |
317 | require relocations against a weak symbol to reference the same | |
318 | symbol hash entry if not a final, static link. | |
319 | (get_cached_value, add_value_map): Add final_static_link argument. | |
320 | (remove_literals): Pass final_static_link argument as needed. | |
321 | ||
40838a72 AC |
322 | 2004-04-21 Andrew Cagney <cagney@redhat.com> |
323 | ||
324 | * opncls.c (_bfd_new_bfd_contained_in): Copy "iovec". | |
325 | (struct opncls, opncls_btell, opncls_bseek, opncls_bread) | |
326 | (opncls_bwrite, opncls_bclose, opncls_bflush) | |
327 | (opncls_bstat, opncls_iovec, bfd_openr_iovec): Implement a | |
328 | bfd iovec that uses function callbacks. | |
329 | (bfd_close): Use the iovec's bclose. | |
330 | * cache.c (cache_btell, cache_bseek, cache_bread, cache_bwrite) | |
331 | (cache_bclose, cache_bflush, cache_bstat) | |
332 | (cache_iovec): New functions and global variable, implement a | |
333 | cache "iovec", where applicable set bfd_error. | |
334 | (bfd_cache_init, bfd_cache_close): Set/test the bfd's iovec. | |
335 | * bfdio.c (struct bfd_iovec): Define. | |
336 | (real_read): Delete function. | |
337 | (bfd_bread, bfd_bread, bfd_bwrite, bfd_tell, bfd_flush, bfd_stat) | |
338 | (bfd_seek, bfd_get_mtime, bfd_get_size): Use the bfd's "iovec", | |
339 | assume that bread and bwrite set bfd_error. | |
340 | * bfd.c (struct bfd): Add "iovec", update comments. | |
341 | * bfd-in2.h, libbfd.h: Re-generate. | |
342 | ||
7f919c84 AC |
343 | 2004-04-21 Andrew Cagney <cagney@redhat.com> |
344 | ||
345 | * libaout.h (enum machine_type): Add M_POWERPC_NETBSD. | |
346 | ||
715df9b8 EB |
347 | 2004-04-21 Eric Botcazou <ebotcazou@act-europe.fr> |
348 | ||
349 | * elflink.c (elf_gc_mark_dynamic_ref_symbol): New function. | |
350 | (bfd_elf_gc_sections): Fail if a shared object is being created. | |
351 | Do not fail if dynamic sections have been created. Instead call | |
352 | elf_gc_mark_dynamic_ref_symbol to mark sections that contain | |
353 | dynamically referenced symbols. Do not mark the whole graph | |
354 | rooted at .eh_frame, only the section proper. | |
355 | ||
6482c264 NC |
356 | 2004-04-20 DJ Delorie <dj@redhat.com> |
357 | ||
358 | * reloc.c: Add BFD_RELOC_32_SECREL. | |
359 | * bfd-in2.h: Regenerate. | |
360 | * libbfd.h: Likewise. | |
361 | * coff-i386.c (howto_table) [COFF_WITH_PE]: Add R_SECREL32. | |
362 | (coff_i386_rtype_to_howto) [COFF_WITH_PE]: Handle it. | |
363 | (coff_i386_reloc_type_lookup) [COFF_WITH_PE]: Likewise. | |
364 | ||
4dc570c2 JJ |
365 | 2004-04-19 Jakub Jelinek <jakub@redhat.com> |
366 | ||
367 | * elf32-sparc.c (elf32_sparc_relocate_section): Handle | |
368 | relocs against hidden/protected undefweak symbols properly. | |
369 | * elf64-sparc.c (sparc64_elf_relocate_section): Likewise. | |
370 | ||
0b60d5d3 MK |
371 | 2004-04-18 Mark Kettenis <kettenis@gnu.org> |
372 | ||
373 | * libaout.h (enum machine_type): Add M_POWERPC_NETBSD. | |
374 | * netbsd-core.c (netbsd_core_file_p): Set architecture for PowerPC | |
375 | core files. | |
376 | ||
d48bdb99 AM |
377 | 2004-04-17 Brian Ford <ford@vss.fsi.com> |
378 | ||
379 | * peXXigen.c (_bfd_XXi_swap_aouthdr_out): Use the first non-zero | |
380 | filepos for the SizeOfHeaders field. | |
381 | (_bfd_XXi_swap_scnhdr_out): Correct section flags lossage on reloc | |
382 | overflow. | |
383 | (_bfd_XXi_swap_sym_in): Remove redundant section flags assignment. | |
384 | ||
57a1784e AM |
385 | 2004-04-16 Alan Modra <amodra@bigpond.net.au> |
386 | ||
387 | * simple.c (bfd_simple_get_relocated_section_contents): Don't | |
388 | change reloc_done. Set and restore _cooked_size. | |
389 | (RETURN): Delete. | |
390 | ||
d1ad3f6f MK |
391 | 2004-04-15 Mark Kettenis <kettenis@gnu.org> |
392 | ||
393 | * netbsd-core.c (netbsd_core_file_p): Set architecture for VAX | |
394 | core files. | |
395 | ||
3d1bca9d NC |
396 | 2004-04-15 Nick Clifton <nickc@redhat.com> |
397 | ||
398 | * bfd.c (bfd_archive_filename): Catch NULL bfd pointers. | |
399 | ||
019b892f AM |
400 | 2004-04-15 Alan Modra <amodra@bigpond.net.au> |
401 | ||
402 | * elf64-sparc.c (sparc64_elf_check_relocs): Fix thinko last change. | |
403 | ||
15b43f48 AM |
404 | 2004-04-15 H.J. Lu <hongjiu.lu@intel.com> |
405 | ||
406 | * elflink.c (_bfd_elf_merge_symbol): Treat weak as strong only | |
407 | when it is a definition. | |
408 | ||
6de00a78 AM |
409 | 2004-04-14 Alan Modra <amodra@bigpond.net.au> |
410 | ||
411 | * elf32-sparc.c (elf32_sparc_relocate_section): Don't abort | |
412 | when statically linking PIC code. | |
413 | * elf64-sparc.c (sparc64_elf_relocate_section): Likewise. | |
414 | ||
279500de TS |
415 | 2004-04-11 Thiemo Seufer <seufer@csv.ica.uni-stuttgart.de> |
416 | ||
417 | * config.bfd: Remove mips*-*-mach3* and mips*-dec-mach3* targets. | |
418 | * configure.in: Remove mips-dec-bsd*, mips-dec-mach3*, mips-*-mach3* | |
419 | targets amd aout_mips_big_vec, aout_mips_little_vec target vectors. | |
420 | * configure: Regenerate. | |
421 | ||
ccf2f652 RS |
422 | 2004-04-08 Richard Sandiford <rsandifo@redhat.com> |
423 | ||
424 | * elflink.c: Include libiberty.h. | |
425 | * Makefile.am (elflink.lo): Depend on libiberty.h. | |
426 | * Makefile.in: Regenerate. | |
427 | ||
ca07892d DJ |
428 | 2004-04-06 Daniel Jacobowitz <drow@mvista.com> |
429 | ||
430 | * elfxx-mips.c (MIPS_ELF_STUB_SECTION_NAME): Always use | |
431 | ".MIPS.stubs". | |
432 | ||
a5a58ba4 L |
433 | 2004-04-05 H.J. Lu <hongjiu.lu@intel.com> |
434 | ||
435 | * elfxx-ia64.c (elfNN_ia64_size_dynamic_sections): Always | |
436 | reserve the memory for dynamic linker | |
437 | ||
24d18d30 MK |
438 | 2004-04-05 Mark Kettenis <kettenis@gnu.org> |
439 | ||
440 | * netbsd-core.c (CORE_WCOOKIE_OFFSET): New define. | |
441 | (netbsd_core_file_p): Create a .wcookie section for OpenBSD/sparc. | |
442 | ||
a4d7b4b5 L |
443 | 2004-04-02 H.J. Lu <hongjiu.lu@intel.com> |
444 | ||
445 | * elf32-cr16c.c (elf32_cr16c_relocate_section): Use | |
446 | RELOC_FOR_GLOBAL_SYMBOL. | |
447 | (elf32_cr16c_add_symbol_hook): Remove const from Elf_Internal_Sym. | |
448 | ||
1f433d93 L |
449 | 2004-04-02 H.J. Lu <hongjiu.lu@intel.com> |
450 | ||
451 | * elf32-arm.h (elf32_arm_final_link_relocate): Handle | |
452 | R_ARM_ALU* only if OLD_ARM_ABI is not defined. | |
453 | ||
e489d0ae PB |
454 | 2004-04-01 Paul Brook <paul@codesourcery.com> |
455 | ||
456 | * bfd-in.h (bfd_elf32_arm_process_before_allocation): Update. | |
457 | * elf32-arm.h (struct elf32_elf_section_map): New. | |
458 | (struct _arm_elf_section_data): New. | |
459 | (elf32_arm_section_data): Define. | |
460 | (struct elf32_arm_link_hash_table): Add byteswap_code. | |
461 | (elf32_arm_link_hash_table_create): Initialize byteswap_code. | |
462 | (bfd_elf32_arm_process_before_allocation): Add byteswap_code. | |
463 | (elf32_arm_post_process_headers): Set EF_ARM_BE8. | |
464 | (elf32_arm_output_symbol_hook, elf32_arm_new_section_hook, | |
465 | elf32_arm_compare_mapping, elf32_arm_write_section): New functions. | |
466 | (bfd_elf32_new_section_hook, elf_backend_write_section, | |
467 | elf_backend_link_output_symbol_hook): Define. | |
468 | ||
66a695f0 NC |
469 | 2004-04-01 Andy Chittenden <achittenden@bluearc.com> |
470 | ||
471 | * stabs.c (struct stab_link_includes_totals): Add field 'symb' | |
472 | that keeps the characters in a B_INCL..B_EINCL range. | |
473 | (_bfd_link_section_stabs): When computing the sum of the | |
474 | characters in a B_INCL..B_EINCL range also keep a copy of those | |
475 | characters. Use this information to distinguish between | |
476 | include sections that have the same sum and the same length | |
477 | but which are nevertheless unique. | |
478 | ||
8375c36b PB |
479 | 2004-03-31 Paul Brook <paul@codesourcery.com> |
480 | ||
481 | * elf32-arm.h (elf32_arm_final_link_relocate): Add R_ARM_ALU*. | |
482 | * elfarm-nabi.c (elf32_arm_howto_table): Ditto. | |
483 | ||
a56b48eb NC |
484 | 2004-03-31 Andy Chittenden <achittenden@bluearc.com> |
485 | ||
486 | * stabs.c (struct stab_link_includes_totals): Rename field 'total' | |
487 | to 'sum_chars' and add field 'num_chars'. | |
488 | (_bfd_link_section_stabs): When computing the sum of the | |
489 | characters in a B_INCL..B_EINCL range also keep a count of the | |
490 | number of characters. Use this information to help distinguish | |
491 | between include sections when have the same sum but which | |
492 | nevertheless are still unique. | |
493 |