dac6564204abc9d5cc25d63413deceff0497014d
[deliverable/binutils-gdb.git] / bfd / ChangeLog
1 2004-03-22 Bob Wilson <bob.wilson@acm.org>
2
3 * elf32-xtensa.c (elf_xtensa_check_relocs): Remove code to read
4 literal tables and check for relocs outside of literal pools.
5 (elf_xtensa_make_sym_local): Don't clear ELF_LINK_NON_GOT_REF flag.
6 (elf_xtensa_fix_refcounts): Don't check ELF_LINK_NON_GOT_REF or
7 set DF_TEXTREL.
8 (elf_xtensa_size_dynamic_sections): Don't add DT_TEXTREL entry.
9 (elf_xtensa_relocate_section): Read literal tables and check for
10 dynamic relocations in read-only sections and not in literal pools.
11
12 2004-03-23 Alan Modra <amodra@bigpond.net.au>
13
14 PR 51.
15 * linker.c (bfd_wrapped_link_hash_lookup): Handle info->wrap_char.
16
17 2004-03-22 Hans-Peter Nilsson <hp@axis.com>
18
19 * elf32-cris.c (cris_elf_relocate_section) <case R_CRIS_16_GOTPLT,
20 R_CRIS_16_GOTPLT>: Also error if there's no PLT for a symbol
21 not defined by the executable, or defined in a DSO.
22 <eliding run-time relocation of .got>: Initialize GOT entry for a
23 function symbol or ELF_LINK_HASH_NEEDS_PLT statically in an
24 executable.
25 (cris_elf_gc_sweep_hook): Improve fallthrough marking.
26 (elf_cris_try_fold_plt_to_got): Improve head comment. Do not fold
27 a PLT reloc to GOT for an executable.
28 (elf_cris_adjust_dynamic_symbol): Only fold a .got.plt entry with
29 .got for a DSO and explain why.
30 (elf_cris_discard_excess_program_dynamics): Also lose GOT-relocs
31 and unreferenced symbols for which a PLT is defined. Adjust
32 dynamic-symbol pruning correspondingly, to make sure we don't lose
33 a dynamic symbol also defined by a DSO.
34
35 2004-03-22 Alan Modra <amodra@bigpond.net.au>
36
37 * elf-bfd.h (RELOC_FOR_GLOBAL_SYMBOL): Add input_bfd, input_section
38 and rel args. Group input and output args. Wrap to 80 columns.
39 * elf-m10200.c, elf-m10300.c, elf32-arm.h, elf32-avr.c,
40 elf32-cris.c, elf32-d10v.c, elf32-fr30.c, elf32-h8300.c,
41 elf32-hppa.c, elf32-i386.c, elf32-i860.c, elf32-ip2k.c,
42 elf32-iq2000.c, elf32-m68hc1x.c, elf32-m68k.c, elf32-mcore.c,
43 elf32-msp430.c, elf32-openrisc.c, elf32-ppc.c, elf32-s390.c,
44 elf32-sparc.c, elf32-v850.c, elf32-vax.c, elf32-xstormy16.c,
45 elf32-xtensa.c, elf64-alpha.c, elf64-mmix.c, elf64-ppc.c,
46 elf64-s390.c, elf64-sparc.c, elf64-x86-64.c, elfxx-ia64.c: Update
47 RELOC_FOR_GLOBAL_SYMBOL invocation.
48
49 2004-03-20 H.J. Lu <hongjiu.lu@intel.com>
50
51 * elf-bfd.h (RELOC_FOR_GLOBAL_SYMBOL): Report error if
52 unresolved symbols in objects aren't allowed.
53
54 * elf-hppa.h (elf_hppa_relocate_section): Properly handle
55 unresolved symbols.
56 (elf_hppa_remark_useless_dynamic_symbols): Likewise.
57 (elf_hppa_unmark_useless_dynamic_symbols):
58 * elf32-frv.c (elf32_frv_relocate_section): Likewise.
59 * elf32-hppa.c (elf32_hppa_size_stubs): Likewise.
60 (elf32_hppa_relocate_section): Likewise.
61 * elf32-i370.c (i370_elf_relocate_section): Likewise.
62 * elf32-m32r.c (m32r_elf_relocate_section): Likewise.
63 * elf32-sh.c (sh_elf_relocate_section): Likewise.
64 * elf64-sh64.c (sh_elf64_relocate_section): Likewise.
65 * elfxx-mips.c (mips_elf_calculate_relocation): Likewise.
66
67 * elf-m10200.c (mn10200_elf_relocate_section): Use
68 RELOC_FOR_GLOBAL_SYMBOL.
69 * elf32-avr.c (elf32_avr_relocate_section): Likewise.
70 * elf32-d10v.c (elf32_d10v_relocate_section): Likewise.
71 * elf32-fr30.c (fr30_elf_relocate_section): Likewise.
72 * elf32-h8300.c (elf32_h8_relocate_section): Likewise.
73 * elf32-i860.c (elf32_i860_relocate_section): Likewise.
74 * elf32-m68hc1x.c (m68hc11_get_relocation_value): Likewise.
75 * elf32-mcore.c (mcore_elf_relocate_section): Likewise.
76 * elf32-msp430.c (elf32_msp430_relocate_section): Likewise.
77 * elf32-openrisc.c (openrisc_elf_relocate_section): Likewise.
78 * elf32-v850.c (v850_elf_relocate_section): Likewise.
79 * elf32-xstormy16.c (xstormy16_elf_relocate_section): Likewise.
80 * elf64-mmix.c (mmix_elf_relocate_section): Likewise.
81
82 2004-03-19 John David Anglin <dave.anglin@nrc-cnrc.gc.ca>
83
84 * elf32-hppa.c (elf32_hppa_check_relocs): Handle R_PARISC_PCREL32.
85 (final_link_relocate): Likewise.
86 * elf-hppa.h (elf_hppa_reloc_final_type): Handle selectors for
87 R_PARISC_PCREL32 and R_PARISC_PCREL64 relocations.
88
89 2004-03-19 Alan Modra <amodra@bigpond.net.au>
90
91 * Makefile.am: Run "make dep-am".
92 * Makefile.in: Regenerate.
93 * aclocal.m4: Regenerate.
94 * config.in: Regenerate.
95 * po/bfd.pot: Regenerate.
96
97 2004-03-19 Alan Modra <amodra@bigpond.net.au>
98 H.J. Lu <hongjiu.lu@intel.com>
99
100 * elflink.c (_bfd_elf_merge_symbol): Revert last change. Move
101 type and size change code to where it was previously. Remove
102 dt_needed param. Treat old weak syms as strong if new sym is
103 from a shared lib, even when old sym is from another shared
104 lib. Remove unnecessary tests of oldweak and newweak. Correct
105 comments.
106 (_bfd_elf_add_default_symbol): Remove dt_needed param. Update
107 _bfd_elf_merge_symbol calls.
108 * elflink.h (elf_link_add_object_symbols): Update calls. Remove
109 dt_needed local var. Update comments.
110 * elf-bfd.h (_bfd_elf_merge_symbol): Update prototype.
111 (_bfd_elf_add_default_symbol): Likewise.
112
113 * elflink.c (_bfd_elf_merge_symbol): Reinstate code to handle
114 strong syms in one shared object overriding weak syms in another.
115
116 2004-03-18 Alan Modra <amodra@bigpond.net.au>
117
118 * elf-bfd.h (struct elf_obj_tdata): Delete dt_soname field. Add
119 dyn_lib_class field. Rearrange for better packing.
120 (elf_dt_soname): Delete.
121 (elf_dyn_lib_class): Define.
122 * elf.c (bfd_elf_set_dt_needed_name): Update comment.
123 (bfd_elf_set_dt_needed_soname): Delete.
124 (bfd_elf_set_dyn_lib_class): New function.
125 * elflink.h (add_dt_needed_tag): New function. Split out from..
126 (elf_link_add_object_symbols): ..here. Rename "name" to "soname".
127 Use elf_dyn_lib_class to set dt_needed and add_needed. Move fallback
128 initialization of soname.
129 (elf_link_check_versioned_symbol): Test elf_dyn_lib_class instead of
130 elf_dt_soname.
131 * bfd-in.h (enum dynamic_lib_link_class): New.
132 (bfd_elf_set_dt_needed_soname): Delete.
133 (bfd_elf_set_dyn_lib_class): Declare.
134 * bfd-in2.h: Regenerate.
135
136 * elflink.c (_bfd_elf_merge_symbol): Rewrite weak symbol handling.
137 (_bfd_elf_add_default_symbol): Remove indirect BFD_ASSERTs.
138 * elflink.h (elf_link_add_object_symbols): Don't clear dt_needed in
139 symbol loop. Instead use add_needed to flag tag as written.
140
141 2004-03-17 Nathan Sidwell <nathan@codesourcery.com>
142
143 * elfxx-mips.c (_bfd_mips_elf_merge_private_bfd_data): Correct
144 logic for null_input_bfd detection.
145
146 2004-03-17 Ralf Corsepius <corsepiu@faw.uni-ulm.de>
147
148 * config.bfd: Switch sh-*-rtems* to ELF. Add sh-*-rtemscoff*.
149
150 2004-03-16 Mark Kettenis <kettenis@gnu.org>
151
152 * netbsd-core.c (netbsd_core_file_p) [CORE_FPU_OFFSET]: Remove
153 code.
154
155 2004-03-16 Alan Modra <amodra@bigpond.net.au>
156
157 * elflink.c (elf_link_read_relocs_from_section): Don't use
158 NUM_SHDR_ENTRIES in end of reloc calc. Move NULL shdr check..
159 (_bfd_elf_link_read_relocs): ..to here.
160 * elf32-ppc.c (ppc_elf_relax_section): Formatting.
161
162 2004-03-16 Alan Modra <amodra@bigpond.net.au>
163
164 * configure.in (HOST_64BIT_TYPE, HOST_U_64BIT_TYPE): Don't override
165 values selected in configure.host. Require both to be defined
166 before setting BFD_HOST_64_BIT_DEFINED. Protect assignment to
167 corresponding BFD_HOST vars with quotes.
168 <${host64}-${target64}-${want64} in *true*>: Don't exempt gcc;
169 Always require BFD_HOST_64_BIT_DEFINED.
170 <file_ptr type>: Find off_t size before emitting message. Combine
171 off_t and ftello64 conditional.
172 * configure: Regenerate.
173
174 2004-03-16 Alan Modra <amodra@bigpond.net.au>
175
176 * elf32-m32r.c (m32r_elf_create_dynamic_sections): Fix pointer
177 aliasing warning. Remove trailing whitespace throughout file.
178
179 2004-03-15 John David Anglin <dave.anglin@nrc-cnrc.gc.ca>
180
181 * elf-hppa.h (elf_hppa_relocate_section): Pass input_bfd instead of
182 input_section in calls to get_dyn_name.
183 * elf64-hppa.c (get_dyn_name): Change type of first argument to "bfd *". Use section id of first section in input BFD to build dynamic name for
184 local symbols.
185 (elf64_hppa_check_relocs): Pass abfd in call to get_dyn_name.
186
187 2004-03-15 Alan Modra <amodra@bigpond.net.au>
188
189 * bfd-in.h (bfd_int64_t, bfd_uint64_t): New types.
190 (BFD_HOST_64_BIT, BFD_HOST_U_64_BIT): Don't define here.
191 (bfd_getb64, bfd_getl64, bfd_get_bits): Return bfd_uint64_t.
192 (bfd_getb_signed_64, bfd_getl_signed_64): Return bfd_int64_t.
193 (bfd_putb64, bfd_putl64, bfd_put_bits): Accept bfd_uint64_t.
194 * configure.in (HOST_U_64BIT_TYPE): Set when sizeof long is 8.
195 (BFD_HOST_64_BIT_DEFINED, BFD_HOST_64_BIT, BFD_HOST_U_64_BIT): Set
196 when using long.
197 * libbfd.c (EIGHT_GAZILLION, COERCE64): Use bfd_int64_t.
198 (bfd_getb64): Return bfd_uint64_t. Enable when BFD_HOST_64_BIT.
199 (bfd_getl64, bfd_getb_signed_64, bfd_getl_signed_64): Likewise.
200 (bfd_putb64): Accept bfd_uint64_t. Enable when BFD_HOST_64_BIT.
201 (bfd_putl64, bfd_put_bits, bfd_get_bits): Likewise.
202 * dwarf2.c (struct attribute): Use bfd_int64_t and bfd_uint64_t.
203 (read_8_bytes, read_indirect_string, read_address): Likewise.
204 (read_abbrevs, parse_comp_unit): Likewise.
205 * targets.c (struct bfd_target): Likewise.
206 * aix386-core.c (NO_GET64, NO_PUT64, NO_GETS64): Define and use.
207 * hppabsd-core.c: Likewise. Formatting.
208 * hpux-core.c: Likewise.
209 * irix-core.c: Likewise.
210 * netbsd-core.c: Likewise.
211 * osf-core.c: Likewise.
212 * ptrace-core.c: Likewise.
213 * sco5-core.c: Likewise.
214 * trad-core.c: Likewise.
215 * configure: Regenerate.
216 * bfd-in2.h: Regenerate.
217
218 2004-03-15 Alan Modra <amodra@bigpond.net.au>
219
220 * bfd-in.h (bfd_getb64, bfd_getl64): Replace bfd_byte* with void*.
221 (bfd_getb32, bfd_getl32, bfd_getb16, bfd_getl16): Likewise.
222 (bfd_getb_signed_64, bfd_getl_signed_64): Likewise.
223 (bfd_getb_signed_32, bfd_getl_signed_32): Likewise.
224 (bfd_getb_signed_16, bfd_getl_signed_16): Likewise.
225 (bfd_putb64, bfd_putl64, bfd_putb32, bfd_putl32): Likewise.
226 (bfd_putb16, bfd_putl16, bfd_get_bits, bfd_put_bits): Likewise.
227 * libbfd.c: Likewise in function definitions.
228 (bfd_put_8): Mask with 0xff rather than casting to char.
229 (bfd_putb16, bfd_putl16, bfd_putb32, bfd_putl32): Likewise.
230 (bfd_putb64, bfd_putl64, bfd_put_bits): Likewise.
231 (H_PUT_64, H_PUT_32, H_PUT_16, H_PUT_8): Remove casts, simplify.
232 (H_PUT_S64, H_PUT_S32, H_PUT_S16, H_PUT_S8): Likewise.
233 (H_GET_64, H_GET_32, H_GET_16, H_GET_8): Likewise.
234 (H_GET_S64, H_GET_S32, H_GET_S16, H_GET_S8): Likewise.
235 * libaout.h (H_PUT_64 H_PUT_32, H_PUT_16): Remove casts, simplify.
236 (H_PUT_S64, H_PUT_S32, H_PUT_S16): Likewise.
237 (H_GET_64, H_GET_32, H_GET_16): Likewise.
238 (H_GET_S64, H_GET_S32, H_GET_S16): Likewise.
239 * archive.c (do_slurp_coff_armap): Update swap prototype.
240 * coff-tic54x.c (tic54x_getl32): Replace bfd_byte* with void*.
241 (tic54x_getl_signed_32): Likewise.
242 (tic54x_putl32): Likewise. Mask with 0xff rather than casting to char.
243 * mach-o.c (bfd_mach_o_read_header): Update get32 prototype.
244 * pdp11.c (bfd_getp32): Make static, replace bfd_byte* with void*.
245 (bfd_getp_signed_32, bfd_putp32): Likewise.
246 * targets.c (struct bfd_target): Use void* in place of bfd_byte* for
247 bfd_getx64, bfd_getx_signed_64, bfd_putx64, bfd_getx32,
248 bfd_getx_signed_32, bfd_putx32, bfd_getx16, bfd_getx_signed_16,
249 bfd_putx16, bfd_h_getx64, bfd_h_getx_signed_64, bfd_h_putx64,
250 bfd_h_getx32, bfd_h_getx_signed_32, bfd_h_putx32, bfd_h_getx16,
251 bfd_h_getx_signed_16, bfd_h_putx16.
252 * aix386-core.c (NO_GET, NO_GETS, NO_PUT): Update prototypes.
253 * hppabsd-core.c: Similarly. Rename NO_SIGNED_GET to NO_GETS.
254 * hpux-core.c: Likewise.
255 * irix-core.c: Likewise.
256 * netbsd-core.c: Likewise.
257 * osf-core.c: Likewise.
258 * ptrace-core.c: Likewise.
259 * sco5-core.c: Likewise.
260 * trad-core.c: Likewise.
261 * bfd-in2.h: Regenerate.
262
263 2004-03-15 Matt Thomas <matt@3am-software.com>
264
265 * config.bfd: Add x86-64 vector to NetBSD/i386 if 64bit BFD is
266 selected.
267
268 2004-03-13 Mark Kettenis <kettenis@gnu.org>
269
270 * config.bfd: Add x86_64-*-openbsd*.
271 * configure.in (x86_64-*-openbsd*): Set COREFILE to
272 netbsd-core.lo.
273 * configure: Regenerate.
274
275 2004-03-12 Nick Clifton <nickc@redhat.com>
276 Dave Murphy <wintermute2k4@ntlworld.com>
277
278 * elf32-arm.h (elf32_arm_merge_private_bfd_data): Skip most checks
279 if the input bfd does not contain any code.
280
281 2004-03-09 Steve Ellcey <sje@cup.hp.com>
282
283 * elfxx-ia64.c (plt_full_entry): Change ld8 to ld8.acq.
284
285 2004-03-05 Fred Fish <fnf@redhat.com>
286
287 * elfxx-mips.c (_bfd_mips_elf_finish_dynamic_symbol): Just force
288 mips16 symbols to be even rather than testing first for even/odd.
289 (_bfd_mips_elf_link_output_symbol_hook): Ditto.
290
291 2004-03-05 Nathan Sidwell <nathan@codesourcery.com>
292
293 * elf.c (map_sections_to_segments): Ignore .tbss sections for
294 layout purposes.
295
296 2004-03-03 Alexandre Oliva <aoliva@redhat.com>
297
298 * elflink.c (bfd_elf_record_link_assignment): Mark undefweak and
299 undefined symbols as hash_new.
300
301 2003-03-03 Andrew Stubbs <andrew.stubbs@superh.com>
302
303 * archures.c: Add bfd_mach_sh4_nommu_nofpu.
304 * cpu-sh.c: Ditto.
305 * elf32-sh.c: Ditto.
306 * bfd-in2.h: Regenerate.
307
308 2004-03-02 Alexandre Oliva <aoliva@redhat.com>
309
310 * elf32-frv.c (struct frv_pic_relocs_info): Added fixups and
311 dynrelocs.
312 (_frv_count_got_plt_entries): Initialize them.
313 (frv_pic_relocs_info_find): Add insert argument. Adjust all
314 callers.
315 (frv_pic_relocs_info_for_global): Likewise.
316 (frv_pic_relocs_info_for_local): Likewise.
317 (frv_pic_merge_early_relocs_info): New.
318 (_frv_resolve_final_relocs_info): Use it in case one entry maps to
319 another.
320 (_frv_add_dyn_reloc): Add entry argument. Adjust all callers.
321 Check that we don't exceed the allocated count for entry.
322 (_frv_add_rofixup): Likewise.
323 (_frv_emit_got_relocs_plt_entries): Adjust for coding standards.
324 (elf32_frv_finish_dynamic_sections): Improve error message in case
325 we emit too few rofixup entries.
326
327 2004-03-01 Richard Sandiford <rsandifo@redhat.com>
328
329 * archures.c (bfd_mach_fr450): New.
330 * bfd-in2.h: Regenerate.
331 * cpu-frv.c (arch_info_450): New bfd_arch_info_type.
332 (arch_info_500): Link to it.
333 * elf32-frv.c (elf32_frv_machine, frv_elf_merge_private_bfd_data)
334 (frv_elf_print_private_bfd_data): Handle fr405 and fr450 header flags.
335 (frv_elf_arch_extension_p): New function.
336 (frv_elf_merge_private_bfd_data): Use it.
337
338 2004-02-28 H.J. Lu <hongjiu.lu@intel.com>
339
340 * elf-bfd.h (_bfd_elf_link_add_archive_symbols): New prototype.
341
342 * elflink.h (is_global_data_symbol_definition): Moved to
343 elflink.c.
344 (elf_link_is_defined_archive_symbol): Likewise.
345 (elf_link_add_archive_symbols): Likewise. Renamed to
346 _bfd_elf_link_add_archive_symbols.
347
348 * elflink.c (elf_link_is_defined_archive_symbol): Get the size
349 of ELF symbol table entry from backend.
350 (_bfd_elf_link_add_archive_symbols): Call bfd_link_add_symbols
351 instead of elf_link_add_object_symbols.
352
353 2004-02-27 Alexandre Oliva <aoliva@redhat.com>
354
355 * elf-bfd.h (struct elf_backend_data): Added
356 elf_backend_can_make_relative_eh_frame,
357 elf_backend_can_make_lsda_relative_eh_frame and
358 elf_backend_encode_eh_address.
359 (_bfd_elf_encode_eh_address): Declare.
360 (_bfd_elf_can_make_relative): Declare.
361 * elf-eh-frame.c (_bfd_elf_discard_section_eh_frame): Use new
362 hooks to decide whether to attempt to make_relative and
363 make_lsda_relative.
364 (_bfd_elf_write_section_eh_frame_hdr): Call encode_eh_address.
365 (_bfd_elf_can_make_relative): New.
366 (_bfd_elf_encode_eh_address): New.
367 * elf32-frv.c (frv_elf_use_relative_eh_frame): New.
368 (frv_elf_encode_eh_address): New.
369 (elf_backend_can_make_relative_eh_frame): Define.
370 (elf_backend_can_make_lsda_relative_eh_frame): Define.
371 (elf_backend_encode_eh_address): Define.
372 * elfxx-target.h
373 (elf_backend_can_make_relative_eh_frame): Define.
374 (elf_backend_can_make_lsda_relative_eh_frame): Define.
375 (elf_backend_encode_eh_address): Define.
376 (elfNN_bed): Add them.
377
378 2004-02-27 Alexandre Oliva <aoliva@redhat.com>
379
380 * elf32-frv.c (elf32_frv_howto_table) <R_FRV_LABEL16>: Set
381 complain_on_overflow to signed.
382
383 2004-02-27 H.J. Lu <hongjiu.lu@intel.com>
384
385 * elflink.h (sort_symbol): New.
386 (elf_link_add_object_symbols): Use a sorted symbol array for
387 weakdef.
388
389 2004-02-27 Jakub Jelinek <jakub@redhat.com>
390
391 * elf32-s390.c (allocate_dynrelocs): Use SYMBOL_REFERENCES_LOCAL
392 for pc relative relocs.
393 (elf_s390_relocate_section): Likewise.
394 * elf64-s390.c (allocate_dynrelocs): Use SYMBOL_REFERENCES_LOCAL
395 for pc relative relocs.
396 (elf_s390_relocate_section): Likewise.
397
398 2004-02-26 H.J. Lu <hongjiu.lu@intel.com>
399
400 * elfxx-ia64.c (elfNN_ia64_check_relocs): Fix call to
401 count_dyn_reloc.
402
403 2004-02-25 H.J. Lu <hongjiu.lu@intel.com>
404
405 * elfxx-ia64.c (elfNN_ia64_dyn_reloc_entry): Add the reltext.
406 field to track if a relocation is against readonly section.
407 (count_dyn_reloc): Take a new argument for rent->reltext.
408 (elfNN_ia64_check_relocs): Adjust call to count_dyn_reloc.
409 (get_reloc_section): Don't set ia64_info->reltext here.
410 (allocate_dynrel_entries): Set ia64_info->reltext here.
411
412 2004-02-24 Alexandre Oliva <aoliva@redhat.com>
413
414 * elf32-frv.c (FRV_SYM_LOCAL): Weak undefined doesn't imply local.
415 (_frv_emit_got_relocs_plt_entries): Decay relocation to protected
416 function's descriptor to symbol+offset, and map local undefweak
417 symbol to NULL function descriptor.
418 (elf32_frv_relocate_section): Likewise.
419
420 2004-02-23 Mark Kettenis <kettenis@gnu.org>
421
422 * libaout.h (enum machine_type): Add M_SPARC64_NETBSD and
423 M_X86_64_NETBSD.
424 * netbsd-core.c (M_SPARC64_OPENBSD): Define.
425 (netbsd_core_file_p): Set architecture from machine ID for
426 selected machines.
427
428 2004-02-23 Jakub Jelinek <jakub@redhat.com>
429
430 * elflink.h (size_dynamic_sections): If not adding DT_FLAGS and
431 DF_BIND_NOW is set in info->flags, create DT_BIND_NOW dynamic entry.
432
433 2004-02-21 H.J. Lu <hongjiu.lu@intel.com>
434
435 * elflink.c (_bfd_elf_merge_symbol): Properly handle undefined
436 symbols with non-default visibility.
437
438 2004-02-21 Danny Smith <daanysmith@users.sourceforge.net>
439
440 * peXXigen.c (_bfd_XXi_swap_scnhdr_out): Clear
441 IMAGE_SCN_MEM_WRITE on known sections only.
442
443 2004-02-20 Jakub Jelinek <jakub@redhat.com>
444
445 * elf32-ppc.c (allocate_dynrelocs): Create dynsym for undef weak
446 symbols used in PIE relocs.
447
448 2004-02-19 Jakub Jelinek <jakub@redhat.com>
449
450 * elf32-sparc.c (elf32_sparc_finish_dynamic_sections): Clear
451 .plt sh_entsize.
452
453 2004-02-18 Daniel Jacobowitz <drow@mvista.com>
454
455 * configure.in: Update version to 2.15.90.
456 * configure: Regenerate.
457
458 2004-02-17 Daniel Jacobowitz <drow@mvista.com>
459 Richard Sandiford <rsandifo@redhat.com>
460
461 * elfxx-mips.c (mips_elf_calculate_relocation): Use
462 _bfd_elf_symbol_refs_local_p to decide whether to decay
463 a GOT_PAGE/GOT_OFST pair to GOT_DISP/addend.
464 (_bfd_mips_elf_check_relocs): Add a global GOT entry for GOT_PAGE
465 relocs if the symbol wasn't defined by a regular object file.
466 Don't check the symbol's dynindx.
467
468 2004-02-16 Andrew Cagney <cagney@redhat.com>
469
470 * bfd-in.h (file_ptr, ufile_ptr): Configure type using
471 @bfd_file_ptr@.
472 * bfd-in2.h: Re-generate.
473
474 2004-02-14 Andrew Cagney <cagney@redhat.com>
475
476 * configure.host (HDEFINES): When hppa*-*-hpux*, define
477 _LARGEFILE64_SOURCE.
478
479 2004-02-13 Andrew Cagney <cagney@redhat.com>
480
481 * elf.c (vma_page_aligned_bias): New function.
482 (assign_file_positions_except_relocs)
483 (assign_file_positions_for_segments): Replace broken modulo
484 arithmetic with call to vma_page_aligned_bias.
485
486 2004-02-11 Andrew Cagney <cagney@redhat.com>
487
488 * bfd-in.h: Update copyright.
489 (bfd_tell): Change return type to file_ptr.
490 * bfd-in2.h: Re-generate.
491 * cache.c: Update copyright.
492 (bfd_cache_lookup_worker): Use real_fseek, do not cast offset
493 parameter.
494 (close_one): Use real_ftell.
495 * bfdio.c: Update copyright.
496 (real_ftell, real_fseek): New functions.
497 (bfd_tell): Use real_fseek and real_ftell, change return type to
498 file_ptr.
499 (bfd_seek): Use real_ftell and real_fseek, change type of
500 file_position to a file_ptr.
501 * libbfd-in.h: Update copyright.
502 (real_ftell, real_fseek): Declare.
503 * libbfd.h: Re-generate.
504
505 * configure.in (AC_CHECK_FUNCS): Check for ftello, ftello64,
506 fseeko and fseeko64. Determine bfd_file_ptr.
507 * configure: Re-generate.
508 * config.in: Re-generate.
509
510 2004-02-09 Anil Paranjpe <anilp1@KPITCummins.com>
511
512 * coff-h8300.c: Added comments about relaxation for ldc.w and stc.w.
513 * elf32-h8300.c: Likewise.
514
515 2004-02-09 Christian Vogel <vogelchr@vogel.cx>
516 Nick Clifton <nickc@redhat.com>
517
518 * elf64-alpha.c (elf64_alpha_calc_got_offsets_for_symbol): Catch
519 GOT entries with no associated GOT subsection.
520
521 2004-02-09 Richard Sandiford <rsandifo@redhat.com>
522
523 * bfd-elf.h (elf_backend_name_local_section_symbols): New hook.
524 * elf.c (swap_out_syms): Use it to decide whether local section
525 symbols should be named.
526 * elfxx-target.h (elf_backend_name_local_section_symbols): New macro.
527 * elfxx-mips.h (_bfd_mips_elf_name_local_section_symbols): Declare.
528 (elf_backend_name_local_section_symbols): Define.
529 * elfxx-mips.c (_bfd_mips_elf_name_local_section_symbols): New.
530
531 2004-01-30 H.J. Lu <hongjiu.lu@intel.com>
532
533 * elfxx-ia64.c (elfNN_ia64_relax_brl): New function.
534 (elfNN_ia64_relax_section): Optimize brl to br during the relax
535 finalize pass.
536
537 2004-01-30 Alexandre Oliva <aoliva@redhat.com>
538
539 * elf32-frv.c (elf32_frv_always_size_sections): Initialize pointer
540 to bfd_link_hash_entry passed by reference to
541 _bfd_generic_link_add_one_symbol.
542
543 2004-01-25 H.J. Lu <hongjiu.lu@intel.com>
544
545 * elfxx-ia64.c (elfNN_ia64_relocate_section): Disallow imm
546 relocations against dynamic symbols.
547
548 2004-01-23 Daniel Jacobowitz <drow@mvista.com>
549
550 * elf32-arm.h (elf32_arm_check_relocs): Revert part of 2004-01-13
551 change.
552
553 2004-01-21 Tom Rix <tcrix@worldnet.att.net>
554
555 * reloc.c: New 5 bit reloc, BFD_RELOC_M68HC12_5B, for m68hc12 movb/movw.
556 * bfd-in2.h, libbfd.h: Rebuilt.
557
558 2004-01-20 Danny Smith <dannysmith@users.sourceforge.net>
559
560 * peXXigen.c (_bfd_XXi_swap_scnhdr_out): Don't remove
561 IMAGE_SCN_MEM_WRITE flag from .text section if WP_TEXT
562 flag has been cleared.
563
564 2004-01-19 Kazu Hirata <kazu@cs.umass.edu>
565
566 * coff-h8300.c: Add and adjust comments about relaxation.
567 * elf32-h8300.c: Likewise.
568
569 2004-01-16 Kazu Hirata <kazu@cs.umass.edu>
570
571 * coff-h8300.c: Fix comment typos.
572 * elf32-h8300.c: Likewise.
573
574 2004-01-16 Kazu Hirata <kazu@cs.umass.edu>
575
576 * coff-h8300.c: Add comments about relaxation.
577 * elf32-h8300.c: Likewise.
578
579 2004-01-14 Maciej W. Rozycki <macro@ds2.pg.gda.pl>
580
581 * acinclude.m4: Quote names of macros to be defined by AC_DEFUN
582 throughout.
583 * aclocal.m4: Regenerate.
584 * configure: Regenerate.
585
586 2004-01-13 Ian Lance Taylor <ian@wasabisystems.com>
587
588 * elf64-mips.c (mips_elf64_slurp_one_reloc_table): Call
589 mips_elf64_rtype_to_howto instead of using howto_table.
590
591 2004-01-13 Daniel Jacobowitz <drow@mvista.com>
592
593 * elf32-arm.h (elf32_arm_final_link_relocate): Check that we created
594 the .plt section.
595 (elf32_arm_check_relocs): Don't increment the PLT refcount for
596 relocs which would not use the PLT.
597
598 2004-01-13 Alan Modra <amodra@bigpond.net.au>
599
600 * elf64-ppc.c (ppc64_elf_check_relocs): Ignore !SEC_ALLOC relocs.
601 (ppc64_elf_gc_sweep_hook): Likewise.
602 (ppc64_elf_size_dynamic_sections): Test for .plt directly.
603
604 2004-01-12 Anil Paranjpe <anilp1@KPITCummins.com>
605
606 Adds linker relaxation support for bit manipulation insns like
607 band, bclr, biand, bild, bior, bist, bixor, bld, bnot, bor, bset,
608 bst, btst, bxor.
609 * elf32-h8300.c: Opcode for bit manipulation insn is checked in
610 elf32_h8_relax_section function while relxation for aa:16 and aa:32.
611 * coff-h8300.c: Opcode for bit manipulation insn is checked in
612 h8300_reloc16_extra_cases function while relxation for aa:16 and aa:32.
613
614 2004-01-12 Alan Modra <amodra@bigpond.net.au>
615
616 * dwarf2.c: Convert to C90, remove unneeded casts and prototypes.
617
618 2004-01-11 Kazu Hirata <kazu@cs.umass.edu>
619
620 * elf32-h8300.c: Fix formatting.
621
622 2004-01-11 Kazu Hirata <kazu@cs.umass.edu>
623
624 * elf32-cris.c (cris_elf_gc_sweep_hook): Return early if no
625 dynamic object is present. Declare r_symndx and h in an inner
626 scope.
627 * elf32-vax.c (elf_vax_gc_sweep_hook): Likewise.
628
629 2004-01-09 Daniel Jacobowitz <drow@mvista.com>
630
631 * elf32-arm.h (struct elf32_arm_relocs_copied): Remove pc_count.
632 (elf32_arm_copy_indirect_symbol): Don't copy pc_count.
633 (elf32_arm_final_link_relocate): Handle PLT32 and PC24 relocs
634 identically. Do not emit PC24 relocations for shared libraries.
635 (elf32_arm_gc_sweep_hook): Handle PLT32 and PC24 relocs
636 identically. Don't adjust pc_count.
637 (elf32_arm_check_relocs): Handle PLT32 and PC24 relocs identically.
638 Set ELF_LINK_HASH_NEEDS_PLT for both. Don't adjust pc_count; don't
639 adjust count for branch relocations.
640 (allocate_dynrelocs): Correct typo in call to
641 WILL_CALL_FINISH_DYNAMIC_SYMBOL. Never allocate space for
642 PC24 or PLT32 relocs when linking.
643
644 2004-01-09 Dmitry Semyonov <Dmitry.Semyonov@oktet.ru>
645
646 * coff-arm.c (aoutarm_std_reloc_howto): [ARM_WINCE] Synchronize ARM_26D
647 relocation howto with ARM_26 one for consistency.
648 (coff_arm_relocate_section): Set partial_inplace for ARM_26 relocations
649 that will be converted to ARM_26D ones, since we always want 'done'
650 relocations to be reflected in section's data.
651 (coff_arm_relocate_section): [ARM_WINCE] Quick fix for BL instruction
652 offset.
653 (_bfd_final_link_relocate): Do not modify "inplace" data, if not
654 requested.
655
656 2004-01-08 Dmitry Semyonov <Dmitry.Semyonov@oktet.ru>
657
658 * coff-arm.c (coff_arm_relocate_section): Do not alter relocs that
659 are not partial_inplace during a relocatable link.
660
661 2004-01-08 Kazu Hirata <kazu@cs.umass.edu>
662
663 * elf32-m68k.c (elf_m68k_gc_sweep_hook): Return early
664 if no dynamic object is present. Declare r_symndx and h in an
665 inner scope.
666
667 2004-01-07 H.J. Lu <hongjiu.lu@intel.com>
668
669 * elfxx-ia64.c (elfNN_ia64_relax_section): Don't install
670 trampoline if it is known out of range.
671
672 2004-01-06 Alexandre Oliva <aoliva@redhat.com>
673
674 2003-12-17 Alexandre Oliva <aoliva@redhat.com>
675 * elf32-frv.c (_frv_osec_readonly_p): New.
676 (_frv_emit_got_relocs_plt_entries): Don't emit rofixup for
677 undefweak symbol.
678 (_frv_count_got_plt_entries): Adjust expected count accordingly.
679 (elf32_frv_relocate_section): Likewise. Error out if attempting
680 to emit rofixups or dynamic relocs in read-only segments. Use
681 _bfd_elf_section_offset to adjust r_offsets in rofixups and
682 dynamic relocations.
683 2003-12-12 Alexandre Oliva <aoliva@redhat.com>
684 * elf32-frv.c (elf32_frv_relocate_section): Compute dynamic
685 relocations or fixups involving merged sections correctly. Avoid
686 crash when undefined symbol is referenced by R_FRV_32 or
687 R_FRV_FUNCDESC_VALUE.
688 2003-12-02 Alexandre Oliva <aoliva@redhat.com>
689 * elf32-frv.c (elf32_frv_relocate_section): Add output_offset of
690 input section holding local symbol to addend of R_FRV_32 or
691 R_FRV_FUNCDESC_VALUE dynamic relocation.
692 2003-11-27 Alexandre Oliva <aoliva@redhat.com>
693 * elf32-frv.c (elf32_frv_modify_segment_map): Add link info arg.
694 (elf32_frv_always_size_sections): Don't store pointer to
695 __stacksize symbol in sec_info.
696 (elf32_frv_modify_segment_map): Look it up here.
697 2003-11-26 Alexandre Oliva <aoliva@redhat.com>
698 * elf32-frv.c (_frv_emit_got_relocs_plt_entries): Emit the address
699 of the lazy PLT entry, not only its offset, as the low word of a
700 function descriptor.
701 2003-11-10 Alexandre Oliva <aoliva@redhat.com>
702 * elf32-frv.c (elf32_frv_always_size_sections): Define __stacksize
703 if a hash table entry already exists but is not a definition.
704 2003-11-05 Alexandre Oliva <aoliva@redhat.com>
705 * elf32-frv.c (frv_elf_link_hash_table_create): Use bfd_zalloc.
706 (_frv_add_rofixup): Don't inline.
707 (_frv_emit_got_relocs_plt_entries): Use NULL as funcdesc address
708 for undefweak symbols.
709 (elf32_frv_relocate_section): Avoid crash while computing
710 relocation when linking with shared library. Only emit rofixups
711 and dynamic relocations for alloc&load sections. Mark binaries
712 with inter-segment relocations for relocation as a unit.
713 (_frv_create_got_section): Rename .rofixup.got to .rofixup.
714 (DEFAULT_STACK_SIZE): New.
715 (_frv_count_got_plt_entries): Fix thinko in deciding whether to
716 emit rofixups or dynamic relocs when linking dynamic non-PIE
717 executables.
718 (elf32_frv_size_dynamic_sections): Generate rofixup on PIEs and
719 shared libs too. Reserve the last entry for the GOT pointer.
720 (elf32_frv_finish_dynamic_sections): Emit it.
721 (elf32_frv_always_size_sections): New.
722 (elf32_frv_modify_segment_map): New.
723 (elf32_frv_check_relocs): Reserve relocs32 space only in ALLOC
724 sections.
725 (frv_elf_merge_private_bfd_data): Clear PIC bit if FDPIC is set.
726 (frv_elf_print_private_bfd_data): Handle FDPIC and LIBPIC.
727 (elf_backend_always_size_sections): New.
728 (elf_backend_modify_segment_map): New.
729 2003-10-31 Alexandre Oliva <aoliva@redhat.com>
730 * config.bfd: Added frv-*-*linux*.
731 * elf32-frv.c (_frv_emit_got_relocs_plt_entries): Use idx 0 for
732 ABS section, instead of crashing.
733 (elf32_frv_relocate_section): Don't crash before warning about
734 different segments in non-PIC relocation.
735 2003-10-17 Alexandre Oliva <aoliva@redhat.com>
736 * elf32-frv.c (elf32_frv_relocate_section): Don't warn on LABEL24
737 relocs to undefweak symbols.
738 (elf32_frv_relocate_section): Ditto for undefined symbols.
739 2003-10-06 Alexandre Oliva <aoliva@redhat.com>
740 * elf32-frv.c (elf32_frv_create_dynamic_sections): Make sure
741 gotfixup section was created.
742 2003-09-30 Alexandre Oliva <aoliva@redhat.com>
743 * elf32-frv.c (elf32_frv_howto_table): Change GOT12,
744 FUNCDESC_GOT12, GOTOFF12 and FUNCDESC_GOTOFF12 to
745 complain_overflow_signed.
746 * elf32-frv.c (_frv_add_rofixup): Do not error out if contents
747 have not been allocated.
748 (_frv_emit_got_relocs_plt_entries): Return non-void. Assert
749 privfd only if dynamic sections were created.
750 (elf32_frv_relocate_section): Compute gprel_segment, and use it
751 for GPREL relocs. When linking relocatable FDPIC executables,
752 emit warnings for relocations that would be illegal on PIE or
753 shared libraries. Emit rofixup for R_FRV_32 only if input object
754 is not FDPIC.
755 (_frv_create_got_section): Define _gp symbol in the rofixup
756 section.
757 (elf32_frv_finish_dynamic_sections): If rofixups needed but
758 dynamic sections missing, error out requesting -melf32frvfd.
759 2003-09-19 Alexandre Oliva <aoliva@redhat.com>
760 * elf32-frv.c (_frv_emit_got_relocs_plt_entries): Rearrange
761 computation of addends from section and global or local symbol
762 value. Change return type to bfd_boolean, and return a failure if
763 a dynamic FUNCDESC or FUNCDESC_VALUE relocation that requires a
764 nonzero addend is required.
765 (elf32_frv_relocate_section): Likewise. Print error for
766 unsupported nonzero addends.
767 2003-09-18 Alexandre Oliva <aoliva@redhat.com>
768 * elf32-frv.c (FRV_SYM_LOCAL): In the absence of dynamic sections,
769 force everything local.
770 (_frv_emit_got_relocs_plt_entries): Cope with NULL sec.
771 * elf32-frv.c (struct frv_elf_link_hash_table): Added sgotfixup.
772 (frv_gotfixup_section): New.
773 (FRV_SYM_LOCAL): Accept undefweak and local common symbols.
774 (struct frv_pic_relocs_info): Split relocs into relocs32, relocsfd
775 and relocsfdv.
776 (_frv_add_rofixup): New.
777 (_frv_emit_got_relocs_plt_entries): Generate fixups for non-PIE
778 fdpic executables. Use FRV_SYM_LOCAL more widely to simplify and
779 improve some ugly conditions.
780 (elf32_frv_relocate_section): Likewise. Reject inter-segment
781 relocations in fdpic.
782 (_frv_create_got_section): Create .rofixup.got section.
783 (struct _frv_dynamic_got_info): Added fixups.
784 (_frv_count_got_plt_entries): Account in-GOT relocations into
785 relocs32, relocsfd and relocsfdv. Account them into relocs or
786 fixups, as appropriate.
787 (elf32_frv_size_dynamic_sections): Size rofixup section. Simplify
788 sizing of gotrel.
789 (elf32_frv_finish_dynamic_sections): Verify that the right number
790 of relocations and fixups was generated.
791 (elf32_frv_check_relocs): Compute relocs32, relocsfd and
792 relocsfdv.
793 * elf32-frv.c (FRV_SYM_LOCAL): New macro, used instead of
794 SYMBOL_CALLS_LOCAL and SYMBOL_REFERENCES_LOCAL.
795 (FRV_FUNCDESC_LOCAL): New macro, used to decide whether a function
796 descriptor of a (formerly-)global symbol is local.
797 (struct frv_pic_relocs_info): Adjust comments.
798 (_frv_emit_got_relocs_plt_entries): Adjust.
799 (elf32_frv_relocate_section): Likewise.
800 (_frv_count_got_plt_entries): Likewise.
801 * elf32-frv.c (_frv_emit_got_relocs_plt_entries): Don't add global
802 symbol's value to addend in the common preamble. Decay dynamic
803 symbols to section+offset if they bind or call locally, for GOT
804 and FUNCDESC_VALUE, respectively.
805 (elf32_frv_relocate_section): Likewise.
806 (elf32_frv_check_relocs): Don't register as dynamic symbols of
807 internal or hidden visibility.
808 2003-09-17 Alexandre Oliva <aoliva@redhat.com>
809 * elf32-frv.c (_frv_emit_got_relocs_plt_entries): Get addend as
810 argument, so as to not call _bfd_elf_rel_local_sym to compute it.
811 (elf32_frv_relocate_section): Pass relocation addend in. Use
812 original relocation addend to look up the got relocs/plt entries
813 table. Do not call _bfd_elf_rel_local_sym. Don't error out when
814 processing relocations that reference .scommon symbols.
815 2003-09-15 Alexandre Oliva <aoliva@redhat.com>
816 Introduce support for dynamic linking.
817 * elf32-frv.c (R_FRV_FUNCDESC_VALUE): Mark it as 64 bits.
818 (elf32_frv_rel_32_howto, elf32_frv_rel_funcdesc_howto,
819 elf32_frv_rel_funcdesc_value_howto): New REL descriptors.
820 (frv_reloc_type_lookup): Return REL howtos for executables and
821 dynamic libraries.
822 (frv_info_to_howto_rel): New.
823 (struct frv_elf_link_hash_table): New.
824 (frv_hash_table, frv_got_section, frv_gotrel_section,
825 frv_plt_section, frv_pltrel_section, frv_relocs_info,
826 frv_got_initial_offset, frv_plt_initial_offset): New macros.
827 (frv_elf_link_hash_table_create): New.
828 (struct frv_pic_relocs_info): New.
829 (frv_pic_relocs_info_hash, frv_pic_relocs_info_eq): New.
830 (frv_pic_relocs_info_find): New.
831 (frv_pic_relocs_info_for_global, frv_pic_relocs_info_for_local):
832 New.
833 (FRV_LZPLT_BLOCK_SIZE, FRV_LZPLT_RESOLVE_LOC): New.
834 (_frv_add_dyn_reloc, _frv_osec_to_segment): New.
835 (_frv_emit_got_relocs_plt_entries): New.
836 (elf32_frv_relocate_section): Add support for dynamic linking.
837 Handle new relocations.
838 (_frv_create_got_section): New.
839 (elf32_frv_create_dynamic_sections): New.
840 (ELF_DYNAMIC_INTERPRETER): New.
841 (struct _frv_dynamic_got_info): New.
842 (_frv_count_got_plt_entries): New.
843 (struct _frv_dynamic_got_plt_info): New.
844 (_frv_compute_got_alloc_data): New.
845 (_frv_get_got_entry, _frv_get_fd_entry): New.
846 (_frv_assign_got_entries, _frv_assign_plt_entries): New.
847 (_frv_resolve_final_relocs_info): New.
848 (elf32_frv_size_dynamic_sections): New.
849 (elf32_frv_finish_dynamic_sections): New.
850 (elf32_frv_adjust_dynamic_symbol): New.
851 (elf32_frv_finish_dynamic_symbol): New.
852 (elf32_frv_check_relocs): Handle new relocs. Explain how the
853 whole thing works.
854 (elf_info_to_howto_rel): Define.
855 (bfd_elf32_bfd_link_hash_table_create): Define.
856 (elf_backend_create_dynamic_sections): Define.
857 (elf_backend_adjust_dynamic_symbol): Define.
858 (elf_backend_size_dynamic_sections): Define.
859 (elf_backend_finish_dynamic_symbol): Define.
860 (elf_backend_finish_dynamic_sections): Define.
861 (elf_backend_want_got_sym): Define.
862 (elf_backend_got_header_size): Define.
863 (elf_backend_want_got_plt): Define.
864 (elf_backend_plt_readonly): Define.
865 (elf_backend_want_plt_sym): Define.
866 (elf_backend_plt_header_size): Define.
867 (elf_backend_may_use_rel_p): Define.
868 (elf_backend_may_use_rela_p): Define.
869 (elf_backend_default_use_rela_p): Define.
870 2003-08-08 Alexandre Oliva <aoliva@redhat.com>
871 * elf32-frv.c (R_FRV_FUNCDESC_VALUE, R_FRV_FUNCDESC_GOTOFF12,
872 R_FRV_FUNCDESC_GOTOFFHI, R_FRV_FUNCDESC_GOTOFFLO, R_FRV_GOTOFF12,
873 R_FRV_GOTOFFHI, R_FRV_GOTOFFLO): New.
874 (frv_reloc_map): Map the corresponding BFD relocs to them.
875 (frv_reloc_type_lookup): ... and back to BFD relocs.
876 * reloc.c: New relocs.
877 * bfd-in2.h, libbfd.h: Rebuilt.
878 2003-08-04 Alexandre Oliva <aoliva@redhat.com>
879 * elf32-frv.c (R_FRV_GOT12, R_FRV_GOTHI, R_FRV_GOTLO,
880 R_FRV_FUNCDESC, R_FRV_FUNCDESC_GOT12, R_FRV_FUNCDESC_GOTHI,
881 R_FRV_FUNCDESC_GOTLO): New.
882 (frv_reloc_map): Map the corresponding BFD relocs to them.
883 (frv_reloc_type_lookup): ... and back to BFD relocs.
884 * reloc.c: New relocs.
885 * bfd-in2.h, libbfd.h: Rebuilt.
886
887 2004-01-05 Maciej W. Rozycki <macro@ds2.pg.gda.pl>
888
889 * elf32-mips.c (ELF_MAXPAGESIZE): Redefine for traditional
890 targets to support pages of up to 64kB.
891 (elf32_bed): Redefine to get a separate backend data structure for
892 traditional targets.
893 * elf64-mips.c (ELF_MAXPAGESIZE): Redefine for traditional
894 targets to support pages of up to 64kB.
895 (elf64_bed): Redefine to get a separate backend data structure for
896 traditional targets.
897 * elfn32-mips.c (ELF_MAXPAGESIZE): Redefine for traditional
898 targets to support pages of up to 64kB.
899 (elf32_bed): Redefine to get a separate backend data structure for
900 traditional targets.
901
902 2004-01-04 Mark Kettenis <kettenis@gnu.org>
903
904 * elf32-sparc.c (elf32_sparc_grok_psinfo): New function.
905
906 2004-01-02 Mark Kettenis <kettenis@gnu.org>
907
908 * elf32-i386.c (elf_i386_grok_prstatus): Add support for FreeBSD.
909 (elf_i386_grok_psinfo): Likewise.
910
911 2004-01-02 Bernardo Innocenti <bernie@develer.com>
912
913 * config.bfd: Add m68k-uClinux target.
914
915 2004-01-01 Grant Edwards <grante@visi.com>
916
917 * elflink.h (elf_gc_sections): Warn when gc-sections option is ignored.
918 * elf32-h8300.c (elf32_h8_gc_mark_hook): New function.
919 (elf32_h8_gc_sweep_hook): New function.
920 (elf_backend_gc_mark_hook): Define.
921 (elf_backend_gc_sweep_hook): Define.
922 (elf_backend_can_gc_sections): Define.
923
924 For older changes see ChangeLog-0203
925 \f
926 Local Variables:
927 mode: change-log
928 left-margin: 8
929 fill-column: 74
930 version-control: never
931 End:
This page took 0.049084 seconds and 4 git commands to generate.