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