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