Commit | Line | Data |
---|---|---|
eb1e0e80 NC |
1 | 2002-03-18 Tom Rix <trix@redhat.com> |
2 | ||
3 | * aix5ppc.core.c : New file for AIX 5 64 bit core support. | |
4 | * bfd-in.h : Add bfd_xcoff_ar_archive_set_magic declaration. | |
5 | * coff-rs6000 (do_pad) : New function for archive padding. | |
6 | (do_copy) : New function for object file copying in archives. | |
7 | (do_shared_object_padding) : New function for padding shared | |
8 | objects to their text section alignment in archives. | |
9 | (bfd_xcoff_ar_achive_set_magic) : Stub. | |
10 | (xcoff_write_armap_big) : Use do_copy and do_pad. | |
11 | (xcoff_write_archive_contents_big) : Use do_shared_object_padding, | |
12 | do_copy and do_pad. | |
13 | * coff64-rs6000.c (xcoff64_write_ojbect_contents) : Use | |
14 | bfd_xcoff_magic_number. | |
15 | (xcoff64_bad_format_hook) : New function for _bfd_bad_format_hook | |
16 | fop. | |
17 | (xcoff_backend_data_r) : Use xcoff64_bad_format_hook. | |
18 | (bfd_xcoff_aix5_backend_data) : New Aix 5 backend data. | |
19 | (aix5coff64_vec) : New Aix 5 target aix5coff64-rs6000. | |
20 | * rs6000-core.c : Update copyright date. | |
21 | * xcofflink.c (bfd_xcoff_size_dynamic_sections): Check for NULL | |
22 | csectpp. | |
23 | * coffcode.h (coff_new_section_hook) : Use new accessor macros. | |
24 | (coff_set_arch_mach_hook) : Add Aix 5 U64_TOCMAGIC magic #. | |
25 | (coff_set_flags) : Use bfd_xcoff_magic_number. | |
26 | * libxcoff.h (bfd_xcoff_is_xcoff64): Add U64_TOCMAGIC. | |
27 | * configure.in : Add powerpc-*-aix5 and rs6000-*-aix5 support. | |
28 | * Makefile.am : Same. | |
29 | * config.bfd : Same. | |
30 | * targets.c : Same. | |
31 | * configure : Regnerate. | |
32 | * Makefile.in : Same. | |
33 | * bfd-in2.h : Same. | |
34 | ||
a1c259a1 NC |
35 | 2002-03-18 Nick Clifton <nickc@cambridge.redhat.com> |
36 | ||
37 | * po/fr.po: Updated version. | |
38 | ||
4dae1ae7 AM |
39 | 2002-03-18 Alan Modra <amodra@bigpond.net.au> |
40 | ||
41 | * libbfd.c (bfd_write_bigendian_4byte_int): Return true iff success. | |
42 | * libbfd.h: Regenerate. | |
43 | * archive.c (coff_write_armap): Pass on failures from | |
44 | bfd_write_bigendian_4byte_int. | |
45 | ||
36b4f6e7 L |
46 | 2002-03-14 H.J. Lu <hjl@gnu.org> |
47 | ||
48 | * elflink.h (NAME(bfd_elf,size_dynamic_sections)): Set the BFD | |
49 | error to bfd_error_nonrepresentable_section for reinit_array | |
50 | section in DSO. | |
51 | ||
a1aefc76 NC |
52 | 2002-03-14 Nick Clifton <nickc@cambridge.redhat.com> |
53 | ||
a181be0a NC |
54 | * coffcode.h (coff_slurp_symbol_table): When adding BSF_WEAK flag, |
55 | OR it in rather than replacing previously selected flags. | |
56 | ||
a1aefc76 NC |
57 | * elfxx-target.h (TARGET_BIG_SYM): Set ar_max_namelen to 15. |
58 | (TARGET_LITTLE_SYM): Set ar_max_namelen to 15. | |
59 | ||
c119f9b8 AM |
60 | 2002-03-14 Alan Modra <amodra@bigpond.net.au> |
61 | ||
62 | * cpu-mips.c (mips_compatible): New. Don't check bits_per_word. | |
63 | (N): Use the above. | |
64 | * elflink.h (elf_bfd_final_link): Revert last change. Instead, | |
65 | ensure reloc size matches before calling elf_link_input_bfd. | |
66 | Add an assert to check reloc size when counting output relocs. | |
67 | ||
c295a511 NC |
68 | 2002-03-14 Nick Clifton <nickc@cambridge.redhat.com> |
69 | ||
70 | * mmo.c (mmo_get_loc): Return NULL rather than false. | |
71 | ||
9ce88e60 NC |
72 | 2002-03-13 Nick Clifton <nickc@cambridge.redhat.com> |
73 | ||
74 | * po/fr.po: Updated version. | |
75 | ||
4ddafab0 AM |
76 | 2002-03-13 Alan Modra <amodra@bigpond.net.au> |
77 | ||
b74fa2cd AM |
78 | * archures.c (bfd_default_compatible): Test bits_per_word. |
79 | * cpu-i386.c (i386_compatible): Remove. Replace occurrences with | |
80 | bfd_default_compatible. | |
81 | * cpu-i370.c (i370_compatible): Likewise. | |
82 | * cpu-sparc.c (sparc_compatible): Likewise. | |
83 | * cpu-h8300.c (compatible): Test in->arch == out->arch. | |
84 | ||
40b829d4 AM |
85 | * elflink.h: Formatting fixes. |
86 | (elf_link_output_extsym): Merge undefined and undef weak cases. | |
87 | ||
4ddafab0 AM |
88 | * elflink.h (elf_bfd_final_link): Only call elf_link_input_bfd |
89 | when word size of input matches output word size. | |
90 | ||
dd53c801 AJ |
91 | 2002-03-12 Andreas Jaeger <aj@suse.de> |
92 | ||
93 | * cpu-i386.c (i386_compatible): New. Use it instead of | |
94 | bfd_default_compatible. | |
95 | ||
aa066ac8 L |
96 | 2002-03-07 H.J. Lu (hjl@gnu.org) |
97 | ||
98 | * coff-sh.c (shcoff_reloc_map): Use bfd_reloc_code_real_type | |
99 | as the type for bfd_reloc_val. | |
100 | ||
1bf42538 JL |
101 | 2002-03-05 John David Anglin <dave@hiauly1.hia.nrc.ca> |
102 | ||
103 | * elf-hppa.h (elf_hppa_is_dynamic_loader_symbol): New function. | |
104 | (elf_hppa_relocate_section): Ignore undefined dynamic loader symbols. | |
105 | (elf_hppa_final_link_relocate): Correct relocations for indirect | |
106 | references to local data through the DLT. Fix .opd creation for | |
107 | local symbols using R_PARISC_LTOFF_FPTR32 and R_PARISC_FPTR64 | |
108 | relocations. Use e_lsel selector for R_PARISC_DLTIND21L, | |
109 | R_PARISC_LTOFF_FPTR21L and R_PARISC_LTOFF_TP21L as per | |
110 | "Processor-Specific ELF for PA_RISC, Version 1.43" document. | |
111 | Similarly, use e_rsel for DLT and LTOFF 'R' relocations. | |
112 | * elf32-hppa.c (final_link_relocate): Revise relocation selectors | |
113 | as per "Processor-Specific ELF for PA_RISC, Version 1.43" document. | |
114 | ||
86eaf01e JJ |
115 | 2002-03-05 Jakub Jelinek <jakub@redhat.com> |
116 | ||
117 | * merge.c (_bfd_merge_sections): Don't segfault if there | |
118 | is nothing to merge due to GC. | |
119 | ||
c44233aa AM |
120 | 2002-03-05 Alan Modra <amodra@bigpond.net.au> |
121 | ||
039cc25f AM |
122 | * elf32-hppa.c (clobber_millicode_symbols): Remove hack to keep |
123 | symbols that have been forced local. | |
124 | ||
c44233aa AM |
125 | * elflink.h (elf_bfd_final_link): Call elf_link_output_extsym |
126 | to output forced local syms for non-shared link. | |
127 | (elf_link_output_extsym): Tweak condition for calling backend | |
128 | adjust_dynamic_symbol so that previous behaviour is kept. | |
129 | Whitespace changes throughout file. | |
130 | ||
25e27870 L |
131 | 2002-03-04 H.J. Lu <hjl@gnu.org> |
132 | ||
133 | * elf.c (bfd_section_from_shdr): Handle special sections, | |
134 | .init_array, .fini_array and .preinit_array. | |
135 | (elf_fake_sections): Likewise. | |
136 | ||
137 | * elflink.h (NAME(bfd_elf,size_dynamic_sections)): Create the | |
138 | DT entry only if the section is in output for .init_array, | |
139 | .fini_array and .preinit_array. Complain about .preinit_array | |
140 | section in DSO. | |
141 | (elf_bfd_final_link): Warn zero size for .init_array, | |
142 | .fini_array and .preinit_array sections. | |
143 | ||
144 | * elfxx-ia64.c (elfNN_ia64_section_from_shdr): Remove | |
145 | SHT_INIT_ARRAY, SHT_FINI_ARRAY and SHT_PREINIT_ARRAY. | |
146 | (elfNN_ia64_fake_sections): Remove .init_array, .fini_array and | |
147 | .preinit_array. | |
148 | ||
bb2a49f2 AM |
149 | 2002-03-04 Alan Modra <amodra@bigpond.net.au> |
150 | ||
151 | * configure.in (WIN32LIBADD): Don't eval PICFLAG assignment. | |
152 | * configure: Regenerate. | |
153 | ||
38487e5e TR |
154 | 2002-03-02 Tom Rix <trix@redhat.com> |
155 | ||
c44233aa AM |
156 | * coff64-rs6000.c (xcoff64_howto_table): Replace howto types with |
157 | symbolic equiv. | |
38487e5e TR |
158 | * coff-rs6000.c (xcoff_howto_table): Same. |
159 | ||
30831527 RH |
160 | 2002-03-01 David Mosberger <davidm@hpl.hp.com> |
161 | ||
162 | * elflink.h (size_dynamic_sections): If section named | |
163 | ".preinit_array" exists, create DT_PREINIT_ARRAY and | |
164 | DT_PREINIT_ARRAYSZ entries in dynamic table. Analogously for | |
165 | ".init_array" and ".fini_array". | |
166 | (elf_bfd_final_link): Handle DT_PREINIT_ARRAYSZ, DT_INIT_ARRAYSZ, | |
167 | DT_FINI_ARRAYSZ, DT_PREINIT_ARRAY, DT_INIT_ARRAY, and | |
168 | DT_FINI_ARRAY. | |
169 | ||
c8e5ddc8 AM |
170 | 2002-02-26 Andrew Macleod <amacleod@cygnus.com> |
171 | ||
172 | * elflink.h (elf_bfd_final_link): Don't crash on SHN_UNDEF local | |
173 | dynsyms. | |
174 | ||
96e0dda4 AM |
175 | 2002-02-25 Alan Modra <amodra@bigpond.net.au> |
176 | ||
1c5b6bf8 AM |
177 | * elf64-hppa.h: Update copyright date. |
178 | ||
96e0dda4 AM |
179 | * elf64-ppc.c (ppc64_elf_check_relocs): Warning fix. |
180 | (ppc64_elf_relocate_section): Don't generate power4 style branch | |
181 | hints for *_BRTAKEN and *_BRNTAKEN relocs. | |
182 | ||
0fb19cbc JJ |
183 | 2002-02-22 Jakub Jelinek <jakub@redhat.com> |
184 | ||
185 | * elf64-sh64.c (sh_elf64_relocate_section): Fix a typo from my | |
186 | last patch. | |
187 | * elf64-x86-64.c (elf64_x86_64_relocate_section): Likewise. | |
188 | ||
c434dee6 AJ |
189 | 2002-02-21 Andreas Jaeger <aj@suse.de> |
190 | ||
191 | * elf64-x86-64.c: Major rework that introduces all recent changes | |
192 | to the x86-64 backend. Get a closer match to elf32-i386. | |
193 | (struct elf64_x86_64_dyn_relocs): Rename from | |
194 | elf64_x86_64_pcrel_relocs_copied, add additional fields. Change | |
195 | all users. | |
196 | (struct elf64_x86_64_link_hash_table): Add short cuts to some | |
197 | sections. | |
198 | (link_hash_newfunc): Rename from elf64_x86_64_link_hash_newfunc, | |
199 | remove casts, initialize new hash members. | |
200 | (create_got_section): New. | |
201 | (elf64_x86_64_create_dynamic_sections): New. | |
202 | (elf64_x86_64_copy_indirect_symbol): New. | |
203 | (elf64_x86_64_check_relocs): Don't allocate space for dynamic | |
204 | relocs, .got or .relgot here but do it in allocate_dynrelocs. | |
205 | Reference count possible .plt and .got entries. Don't test input | |
206 | section SEC_READONLY here to try to avoid copy relocs, and keep | |
207 | dyn_relocs regardless of ELF_LINK_NON_GOT_REF. Don't set | |
208 | DF_TEXTREL here. Delay setting of variables until needed. Cache | |
209 | pointer to "sreloc" section in elf_section_data. Tweak condition | |
210 | under which .got created. Report files with bad relocation | |
211 | section names. | |
212 | (elf64_x86_64_gc_sweep_hook): Sweep dyn_relocs and local_dynrel. | |
213 | Reference count possible .plt entries. Don't deallocate .got and | |
214 | .relgot space here. | |
215 | (elf64_x86_64_adjust_dynamic_symbol): Handle nocopyreloc. Don't | |
216 | do copy reloc processing for weakdefs. Remove redundant casts and | |
217 | aborts. Delay setting of vars until needed. Move creation of | |
218 | dynamic symbols and allocation of .plt and .rela.plt to | |
219 | allocate_dynrelocs. Replace BFD_ASSERT with abort. | |
220 | (WILL_CALL_FINISH_DYNAMIC_SYMBOL): New. | |
221 | (allocate_dynrelocs): New. | |
222 | (readonly_dynrelocs): New. | |
223 | (elf64_x86_64_size_dynamic_sections): Call readonly_dynrelocs. | |
224 | Allocate space for dyn relocs. Replace BFD_ASSERT with abort. | |
225 | Zero out the dynamic allocated content space. | |
226 | (elf64_x86_64_discard_copies): Removed. | |
227 | (elf64_x86_64_relocate_section): Make use of dynamic section | |
228 | short-cuts. Localise vars, and delay setting. Better error | |
229 | reporting, replace BFD_ASSERT with abort. Check | |
230 | ELF_LINK_HASH_DEF_DYNAMIC to see if a symbol is not defined in the | |
231 | regular object file and tread the weak definition as the normal | |
232 | one. Don't discard relocs for undefweak or undefined symbols and | |
233 | check !DEF_REGULAR as well as DEF_DYNAMIC in test for avoided copy | |
234 | relocs. | |
235 | (elf64_x86_64_finish_dynamic_symbol): Don't copy relocs for | |
236 | symbols that have been forced local. Use same test to decide if | |
237 | we can use a relative reloc for got as relocate_section. Expand | |
238 | SHN_UNDEF comment. Move expressions out of function calls. | |
239 | Replace BFD_ASSERT with abort. | |
240 | (bfd_elf64_bfd_final_link): Removed. | |
241 | (elf_backend_copy_indirect_symbol): Define. | |
242 | ||
ff3a6ee3 TR |
243 | 2002-02-20 Tom Rix <trix@redhat.com> |
244 | ||
245 | * coff-rs6000.c (xcoff_howto_table): Add 16 bit R_BA. | |
246 | (_bfd_xcoff_reloc_type_lookup): Use it. | |
247 | * coff64-rs6000.c (xcoff64_howto_table): Same. | |
248 | (xcoff64_reloc_type_lookup): Same. | |
c434dee6 | 249 | |
a68d41fb AM |
250 | 2002-02-20 Peter Schauer <pes@regent.e-technik.tu-muenchen.de> |
251 | ||
252 | * osf-core.c (osf_core_vec): OSF/1 (Digital Unix) core files are | |
253 | little endian. | |
254 | ||
befc3abb MS |
255 | 2002-02-19 Martin Schwidefsky <schwidefsky@de.ibm.com> |
256 | ||
257 | * archures.c (bfd_mach_s390_esa): Rename to bfd_mach_s390_31. | |
258 | (bfd_mach_s390_esame): Rename to bfd_mach_s390_64. | |
259 | * bfd-in2.h: Regenerate. | |
260 | * cpu-s390.c (arch_info_struct): Use renamed architecture defines. | |
261 | Replace architecture name "s390" with "s390:31-bit" and "s390:esame" | |
262 | with "s390:64-bit". | |
263 | * elf32-s390.c (elf_howto_table): Add 32 bit pc relative relocations. | |
264 | (elf_s390_reloc_type_lookup): Likewise. | |
265 | (elf_s390_check_relocs): Likewise. | |
266 | (elf_s390_gc_sweep_hook): Likewise. | |
267 | (elf_s390_relocate_section): Likewise. | |
268 | (elf_s390_object_p): Use renamed architecture define. | |
269 | * elf64-s390.c (elf_s390_object_p): Use renamed architecture define. | |
270 | ||
6eeeec9b FCE |
271 | 2002-02-19 Frank Ch. Eigler <fche@redhat.com> |
272 | ||
273 | * syms.c (stt[]): Sorted. Added .init/.fini -> "t" mapping. | |
274 | ||
0bb2d96a JJ |
275 | 2002-02-19 Jakub Jelinek <jakub@redhat.com> |
276 | ||
277 | * elf-eh-frame.c (_bfd_elf_discard_section_eh_frame): Enable | |
278 | absptr -> pcrel optimization for shared libs. | |
279 | Only create minimal .eh_frame_hdr if absptr FDE encoding in shared | |
280 | library cannot be converted to pcrel. | |
281 | (_bfd_elf_eh_frame_section_offset): Return -2 if making absptr | |
282 | relative. | |
283 | * elf32-i386.c (elf_i386_relocate_section): If | |
284 | _bfd_elf_section_offset returned -2, skip, but make sure the | |
285 | relocation is installed. | |
286 | * elf32-arm.h (elf32_arm_final_link_relocate): Likewise. | |
287 | * elf32-cris.c (cris_elf_relocate_section): Likewise. | |
288 | * elf32-hppa.c (elf32_hppa_relocate_section): Likewise. | |
289 | * elf32-i370.c (i370_elf_relocate_section): Likewise. | |
290 | * elf32-m68k.c (elf_m68k_relocate_section): Likewise. | |
291 | * elf32-ppc.c (ppc_elf_relocate_section): Likewise. | |
292 | * elf32-s390.c (elf_s390_relocate_section): Likewise. | |
293 | * elf32-sh.c (sh_elf_relocate_section): Likewise. | |
294 | * elf32-sparc.c (elf32_sparc_relocate_section): Likewise. | |
295 | * elf64-ppc.c (ppc64_elf_relocate_section): Likewise. | |
296 | * elf64-s390.c (elf_s390_relocate_section): Likewise. | |
297 | * elf64-sh64.c (sh_elf64_relocate_section): Likewise. | |
298 | * elf64-sparc.c (sparc64_elf_relocate_section): Likewise. | |
299 | * elf64-x86-64.c (elf64_x86_64_relocate_section): Likewise. | |
300 | * elf64-alpha.c (elf64_alpha_relocate_section): Handle | |
301 | _bfd_elf_section_offset returning -2 the same way as -1. | |
302 | * elfxx-ia64.c (elfNN_ia64_install_dyn_reloc): Likewise. | |
303 | * elf32-mips.c (mips_elf_create_dynamic_relocation): Add FIXME | |
304 | and BFD_ASSERT. | |
305 | * elf64-mips.c (mips_elf64_create_dynamic_relocation): Likewise. | |
306 | ||
69f284c7 TR |
307 | 2002-02-18 Tom Rix <trix@redhat.com> |
308 | ||
309 | * xcofflink.c (bfd_xcoff_link_gernate_rtinit): Add -brtl support. | |
310 | (bfd_xcoff_size_dynamic_sections): Same. | |
311 | * bfd-in.h (bfd_xcoff_link_generate_rtinit): Same. | |
312 | (bfd_xcoff_size_dynamic_sections): Same. | |
313 | * coff-rs6000.c (xcoff_generate_rtinit): Same. | |
314 | * coff-rs646000.c (xcoff64_generate_rtinit): Same. | |
315 | * libxcoff.h (struct xcoff_backend_data_rec): Same. | |
316 | * xcofflink.c (xcoff_build_ldsyms, xcoff_link_add_symbols): Clean. | |
317 | * bfd-in2.h: Regenerate. | |
318 | ||
82bd7b59 AM |
319 | 2002-02-18 Alan Modra <amodra@bigpond.net.au> |
320 | ||
321 | * elf64-ppc.c (STFD_FR0_0R1, LFD_FR0_0R1, BLR): Define. | |
322 | (struct ppc_link_hash_table): Add sfpr. | |
323 | (ppc64_elf_link_hash_table_create): Init it. | |
324 | (ppc64_elf_create_dynamic_sections): Split creation of .stub and | |
325 | .glink out to.. | |
326 | (create_linkage_sections): ..here. Make .sfpr too. | |
327 | (ppc64_elf_check_relocs): Call create_linkage_sections, and set | |
328 | dynobj early. | |
329 | (MIN_SAVE_FPR, MAX_SAVE_FPR): Define. | |
330 | (ppc64_elf_func_desc_adjust): Look for missing ._savef* and | |
331 | ._restf* functions, and create as needed. | |
332 | (func_desc_adjust): Only force_local for shared libs. | |
333 | ||
ef1355e8 NC |
334 | 2002-02-18 David O'Brien <obrien@FreeBSD.org> |
335 | ||
336 | * configure.in: Bump version number post 2.12 branching. | |
337 | * configure: Regenerate. | |
338 | ||
dfa36a69 HPN |
339 | 2002-02-17 Hans-Peter Nilsson <hp@bitrange.com> |
340 | ||
341 | * mmo.c: Correct and improve comments. | |
342 | (mmo_write_chunk): Store trailing byte in bfd buffer; don't | |
343 | zero-pad. Use input to fill up non-empty bfd buffer. | |
344 | (mmo_flush_chunk): New function. | |
345 | (mmo_write_loc_chunk): Add parameter last_vmap, all callers | |
346 | changed. Don't emit location specifier if VMA is same as | |
347 | *LAST_VMAP after omitting leading zero contents. Call | |
348 | mmo_flush_chunk before emitting location specifier. | |
349 | (mmo_write_loc_chunk_list): Call mmo_flush_chunk when finished | |
350 | with mmo_write_loc_chunk calls. | |
351 | (mmo_internal_write_section): Call mmo_flush_chunk after | |
352 | mmo_write_chunk. | |
353 | (mmo_write_symbols_and_terminator): Move :Main to first position | |
354 | in symbol array. Add faked one if it does not exist if there are | |
355 | other symbols. Don't add it if there are no symbols at all. Move | |
356 | out test for value of :Main from symbol loop. Rename table | |
357 | fakemain to maintable and variable mainsym to fakemain. | |
358 | ||
ccf00ab6 RH |
359 | 2002-02-15 Richard Henderson <rth@redhat.com> |
360 | ||
361 | * elf64-alpha.c (elf64_alpha_relocate_section) [BRSGP]: A target | |
362 | section with no got matches any got. Simplify error generaion. | |
363 | ||
88eaccc2 AM |
364 | 2002-02-15 Alan Modra <amodra@bigpond.net.au> |
365 | ||
fd96f80f AM |
366 | Support arbitrary length fill patterns. |
367 | * linker.c (bfd_new_link_order): Zero all fields with bfd_zalloc. | |
368 | (_bfd_default_link_order): Remove bfd_fill_link_order code. | |
369 | Call default_data_link_order. | |
370 | (default_fill_link_order): Delete. | |
371 | (default_data_link_order): New function. | |
372 | * elf32-mips.c (_bfd_mips_elf_final_link): Replace occurrences | |
373 | of bfd_fill_link_order with bfd_data_link_order. | |
374 | * elf64-alpha.c (elf64_alpha_final_link): Likewise. | |
375 | * elf64-mips.c (mips_elf64_final_link): Likewise. | |
376 | ||
88eaccc2 AM |
377 | * bfd.c (bfd_scan_vma): Clamp overflows to max bfd_vma value. |
378 | Correct value returned in "end" for "0x<non-hex>". | |
379 | ||
e2fd756b NC |
380 | 2002-02-14 Nick Clifton <nickc@cambridge.redhat.com> |
381 | ||
382 | * cpu-arm.c (processors): Replace 'arch' field with 'mach'. | |
383 | (scan): Test against 'mach' field in info structure. | |
384 | ||
edd29cf9 AM |
385 | 2002-02-14 Alan Modra <amodra@bigpond.net.au> |
386 | ||
387 | * elf.c (elf_fake_sections): Use SHT_NOBITS when SEC_NEVER_LOAD. | |
388 | ||
1e30956e | 389 | 2002-02-14 Matt Fredette <fredette@netbsd.org> |
76f57f3a JT |
390 | |
391 | * elf32-m68k.c (elf32_m68k_print_private_bfd_data): Recognize | |
392 | EF_M68000. | |
393 | ||
bf36db18 NC |
394 | 2002-02-13 Nick Clifton <nickc@cambridge.redhat.com> |
395 | ||
396 | * elf.c (_bfd_elf_make_section_from_shdr): Do not insist on | |
edd29cf9 AM |
397 | non-zero physical addresses when adjusting the LMAs of new |
398 | sections. | |
bf36db18 | 399 | |
189c6563 AM |
400 | 2002-02-12 John David Anglin <dave@hiauly1.hia.nrc.ca> |
401 | ||
402 | * elf-hppa.h (elf_hppa_reloc_final_type): New function stripped | |
403 | from _bfd_elf_hppa_gen_reloc_type. | |
404 | (_bfd_elf_hppa_gen_reloc_type): Remove duplicate prototype. | |
405 | * elf32-hppa.h (elf32_hppa_reloc_final_type): Add protptype. | |
406 | * elf32-hppa.c: Include elf32-hppa.h before elf-hppa.h. | |
407 | * elf64-hppa.h (elf64_hppa_reloc_final_type): Add protptype. | |
408 | ||
e948afaf AO |
409 | 2002-02-12 Alexandre Oliva <aoliva@redhat.com> |
410 | ||
411 | * elf-m10300.c (mn10300_elf_relax_section): Skip section before | |
412 | loading its contents if there's nothing to do in it. | |
413 | ||
19397422 AM |
414 | 2002-02-12 Alan Modra <amodra@bigpond.net.au> |
415 | ||
0ad3a73b AM |
416 | * elf64-ppc.c (ppc64_elf_size_stubs): Correct test for crossing |
417 | 64k boundary. | |
418 | ||
19397422 AM |
419 | * elf64-ppc.c (ppc64_elf_size_dynamic_sections): Add dynamic |
420 | DT_PPC64_OPD and DT_PPC64_OPDSZ tags. | |
421 | (ppc64_elf_finish_dynamic_sections): Set values for them. | |
422 | ||
51316059 MS |
423 | 2002-02-11 Michael Snyder <msnyder@redhat.com> |
424 | ||
425 | * elf-bfd.h (elfcore_write_lwpstatus): Add prototype. | |
426 | * elf.c (elfcore_grok_pstatus): Add prototype. | |
427 | (elfcore_grok_lwpstatus): Add prototype. | |
428 | (elfcore_write_lwpstatus): New function. | |
429 | (elfcore_write_pstatus): Fix typo, eliminate unnecessary memcpy. | |
430 | ||
518313c3 AO |
431 | 2002-02-11 Alexandre Oliva <aoliva@redhat.com> |
432 | ||
433 | * elf32-sh.c: Added missing prototypes. | |
434 | * elf32-sh64.c: Likewise. | |
435 | (sh_elf_align_loads): Mark unused args as such. | |
436 | * elf64-sh64.c: Added missing prototypes. | |
437 | (struct elf_sh64_link_hash_entry): Fix typo. | |
438 | (sh_elf64_relocate_section): Fix info argument passed to | |
439 | _bfd_elf_section_offset. | |
440 | ||
2c73f9d8 AM |
441 | 2002-02-11 Alan Modra <amodra@bigpond.net.au> |
442 | ||
443 | * Makefile.am: "make dep-am". | |
444 | * Makefile.in: Regenerate. | |
445 | * aclocal.m4: Regenerate. | |
446 | * config.in: Regenerate. | |
447 | * configure: Regenerate. | |
448 | ||
d426c6b0 DJ |
449 | 2002-02-10 Daniel Jacobowitz <drow@mvista.com> |
450 | ||
451 | * coff-rs6000.c (xcoff_generate_rtinit): Silence uninitialized | |
452 | variable warnings. | |
453 | * elf32-sh.c (sh_elf_relax_section): Silence signed/unsigned | |
454 | comparison warning. | |
455 | * trad-core.c (trad_unix_core_file_p): Silence pointer/integer | |
456 | cast warnings for the common case. | |
457 | ||
e58ee0cd HPN |
458 | 2002-02-10 Hans-Peter Nilsson <hp@bitrange.com> |
459 | ||
460 | * config.bfd (sh-*-linux*, sh-*-elf* | sh-*-rtemself*): Add sh64 | |
461 | vectors. | |
462 | (sh-*-netbsdelf*): New, to trump sh*-*-netbsdelf* and add sh64 | |
463 | vectors. | |
464 | ||
7793f4d0 RH |
465 | 2002-02-09 Richard Henderson <rth@redhat.com> |
466 | ||
467 | * elf64-alpha.c (elf64_alpha_howto): Add R_ALPHA_BRSGP. | |
468 | (elf64_alpha_reloc_map, elf64_alpha_check_relocs): Likewise. | |
469 | (elf64_alpha_relocate_section): Likewise. | |
470 | * reloc.c (BFD_RELOC_ALPHA_BRSGP): New. | |
471 | * bfd-in2.h, libbfd.h: Rebuild. | |
472 | ||
7e799044 HPN |
473 | 2002-02-09 Hans-Peter Nilsson <hp@bitrange.com> |
474 | ||
475 | * elf64-mmix.c (_bfd_mmix_finalize_linker_allocated_gregs): Check | |
476 | that base-plus-offset reloc accounting is consistent. | |
477 | (mmix_elf_relax_section): Keep base-plus-offset reloc accounting | |
478 | up to date for undefined symbols. | |
479 | ||
027d73eb EC |
480 | 2002-02-08 Eric Christopher <echristo@redhat.com> |
481 | ||
482 | From Rainer Orth <ro@TechFak.Uni-Bielefeld.DE> | |
483 | ||
484 | * elf32-mips.c (_bfd_mips_elf_fake_sections): Don't create .rela | |
485 | sections for the O32 ABI. | |
486 | ||
517662d4 CD |
487 | 2002-02-08 Chris Demetriou <cgd@broadcom.com> |
488 | ||
489 | * elf32-arm.h: Fix formatting of _("..."). | |
490 | * elf32-d10v.c: Likewise. | |
491 | * elf32-m68k.c: Likewise. | |
492 | * elf32-mips.c: Likewise. | |
493 | ||
5e37cc46 NC |
494 | 2002-02-08 Ivan Guzvinec <ivang@opencores.org> |
495 | ||
496 | * coff-or32.c: Fix compile time warning messages. | |
497 | ||
fbca6ad9 AO |
498 | 2002-02-08 Alexandre Oliva <aoliva@redhat.com> |
499 | ||
500 | Contribute sh64-elf. | |
501 | 2002-01-23 Alexandre Oliva <aoliva@redhat.com> | |
502 | * reloc.c (R_SH_GOTPLT32, R_SH_GOT_LOW16, R_SH_GOT_MEDLOW16, | |
503 | R_SH_GOT_MEDHI16, R_SH_GOT_HI16, R_SH_GOTPLT_LOW16, | |
504 | R_SH_GOTPLT_MEDLOW16, R_SH_GOTPLT_MEDHI16, R_SH_GOTPLT_HI16, | |
505 | R_SH_PLT_LOW16, R_SH_PLT_MEDLOW16, R_SH_PLT_MEDHI16, | |
506 | R_SH_PLT_HI16, R_SH_GOTOFF_LOW16, R_SH_GOTOFF_MEDLOW16, | |
507 | R_SH_GOTOFF_MEDHI16, R_SH_GOTOFF_HI16, R_SH_GOTPC_LOW16, | |
508 | R_SH_GOTPC_MEDLOW16, R_SH_GOTPC_MEDHI16, R_SH_GOTPC_HI16, | |
509 | R_SH_GOT10BY4, R_SH_GOTPLT10BY4, R_SH_GOT10BY8, R_SH_GOTPLT10BY8, | |
510 | R_SH_COPY64, R_SH_GLOB_DAT64, R_SH_JMP_SLOT64, R_SH_RELATIVE64): | |
511 | New relocs. | |
512 | * libbfd.h, bfd-in2.h: Rebuilt. | |
513 | * elf32-sh.c (sh_elf_howto_table): Define new relocs. | |
514 | (sh_reloc_map): Map them. | |
515 | (PLT_ENTRY_SIZE, elf_sh_plt0_entry_be, elf_sh_plt0_entry_le, | |
516 | elf_sh_plt_entry_be, elf_sh_plt_entry_le, elf_sh_pic_plt_entry_be, | |
517 | elf_sh_pic_plt_entry_le, elf_sh_plt0_entry, elf_sh_plt_entry, | |
518 | elf_sh_pic_plt_entry, elf_sh_sizeof_plt, elf_sh_plt_plt0_offset, | |
519 | elf_sh_plt0_gotplt_offset, elf_sh_plt_temp_offset, | |
520 | elf_sh_plt_symbol_offset, elf_sh_plt_reloc_offset, | |
521 | movi_shori_putval) [INCLUDE_SHMEDIA]: New. | |
522 | (elf_sh_link_hash_entry) [INCLUDE_SHMEDIA]: Add | |
523 | datalabel_got_offset. | |
524 | (sh_elf_link_hash_newfunc): Initialize it. | |
525 | (sh_elf_relocate_section): Augment the scope of | |
526 | seen_stt_datalabel. Introduce GOTPLT support. Extend GOTPC, PLT, | |
527 | GOT and GOTOFF handling to new SHmedia relocation types. Support | |
528 | GOT_BIAS. | |
529 | (sh_elf_check_relocs): Likewise. | |
530 | (sh_elf_finish_dynamic_symbol) [TARGET_SHMEDIA]: Set up values in | |
531 | PLT entries using movi_shori_putval. Support GOT_BIAS. | |
532 | (sh_elf_finish_dynamic_sections): Likewise. | |
533 | * elf32-sh64.c (shmedia_prepare_reloc): Do not add addend to | |
534 | relocation, it's now done by the caller. | |
535 | (GOT_BIAS): New. | |
536 | * elf64-sh64.c (GOT_BIAS, PLT_ENTRY_SIZE, elf_sh64_sizeof_plt, | |
537 | elf_sh64_plt_plt0_offset, elf_sh64_plt0_gotplt_offset, | |
538 | elf_sh64_plt_temp_offset, elf_sh64_plt_symbol_offset, | |
539 | elf_sh64_plt_reloc_offset, ELF_DYNAMIC_INTERPRETER, | |
540 | elf_sh64_pcrel_relocs_copied, elf_sh64_link_hash_entry, | |
541 | elf_sh64_link_hash_table, sh64_elf64_link_hash_traverse, | |
542 | sh64_elf64_hash_table): New. | |
543 | (sh_elf64_howto_table): Introduce new relocs. | |
544 | (sh_elf64_info_to_howto): Accept new PIC relocs. | |
545 | (sh_elf64_relocate_section): Augment the scope of | |
546 | seen_stt_datalabel. Support new PIC relocs. | |
547 | (sh_elf64_check_relocs): Support new PIC relocs. | |
548 | (elf_sh64_plt0_entry_be, elf_sh64_plt0_entry_le, | |
549 | elf_sh64_plt_entry_be, elf_sh64_plt_entry_le, | |
550 | elf_sh64_pic_plt_entry_be, elf_sh64_pic_plt_entry_le, | |
551 | elf_sh64_plt0_entry, elf_sh64_plt_entry, elf_sh64_pic_plt_entry, | |
552 | sh64_elf64_link_hash_newfunc, sh64_elf64_link_hash_table_create, | |
553 | movi_shori_putval, movi_3shori_putval, | |
554 | sh64_elf64_create_dynamic_sections, | |
555 | sh64_elf64_adjust_dynamic_symbol, sh64_elf64_discard_copies, | |
556 | sh64_elf64_size_dynamic_sections, | |
557 | sh64_elf64_finish_dynamic_symbol, | |
558 | sh64_elf64_finish_dynamic_sections): New. | |
559 | (elf_backend_create_dynamic-sections, | |
560 | bfd_elf64_bfd_link_hash_table_create, | |
561 | elf_backend_adjust_dynamic_symbol, | |
562 | elf_backend_size_dynamic_sections, | |
563 | elf_backend_finish_dynamic_symbol, | |
564 | elf_backend_finish_dynamic_sections, elf_backend_want_got_plt, | |
565 | elf_backend_plt_readonly, elf_backend_want_plt_sym, | |
566 | elf_backend_got_header_size, elf_backend_plt_header_size): | |
567 | Define. | |
568 | 2001-05-16 Alexandre Oliva <aoliva@redhat.com> | |
569 | * elf32-sh.c: Renumbered and renamed some SH5 relocations to | |
570 | match official numbers and names; moved unmaching ones to the | |
571 | range 0xf2-0xff. | |
572 | * elf32-sh64.c, elf64-sh64.c: Likewise. | |
573 | 2001-03-12 DJ Delorie <dj@redhat.com> | |
574 | * elf32-sh.c (sh_elf_relax_section): Don't relax SHmedia | |
575 | sections. | |
576 | 2001-03-12 DJ Delorie <dj@redhat.com> | |
577 | * elf32-sh64.c (shmedia_prepare_reloc): Validate relocs that must | |
578 | be aligned. | |
579 | * elf64-sh64.c (sh_elf64_relocate_section): Ditto. | |
580 | 2001-01-14 Hans-Peter Nilsson <hpn@cygnus.com> | |
581 | * elf32-sh64.c (bfd_elf32_bfd_copy_private_section_data): Define. | |
582 | (sh64_elf_fake_sections): Set type to SHT_SH5_CR_SORTED for a | |
583 | .cranges section with SEC_SORT_ENTRIES set. | |
584 | (sh64_backend_section_from_shdr): Set SEC_SORT_ENTRIES on an | |
585 | incoming sorted .cranges section. | |
586 | (sh64_bfd_elf_copy_private_section_data): New. | |
587 | (sh64_elf_final_write_processing): Only sort .cranges and modify | |
588 | start address if called by linker. | |
589 | 2001-01-08 Ben Elliston <bje@redhat.com> | |
590 | * elf32-sh64.c (sh64_elf_final_write_processing): Activate | |
591 | Hans-Peter Nilsson's set bit 0 patch from 2001-01-06. | |
592 | * elf64-sh64.c (sh64_elf64_final_write_processing): Ditto. | |
593 | 2001-01-06 Hans-Peter Nilsson <hpn@cygnus.com> | |
594 | * elf64-sh64.c (sh_elf64_howto_table): No open brace at start of | |
595 | line. Add comments before all entries. | |
596 | <R_SH_PT_16, R_SH_SHMEDIA_CODE>: Correct and clarify describing | |
597 | comment. | |
598 | (sh_elf64_reloc): Correct head comment. | |
599 | (sh_elf64_relocate_section): Correct spacing. | |
600 | <relocating for a local symbol>: Do not honour STO_SH5_ISA32; | |
601 | instead call reloc_dangerous callback. | |
602 | <case R_SH_SHMEDIA_CODE>: New case. | |
603 | (sh_elf64_gc_mark_hook): Correct spacing. | |
604 | (sh_elf64_check_relocs): Ditto. | |
605 | * elf32-sh64.c (shmedia_prepare_reloc) <case R_SH_SHMEDIA_CODE>: | |
606 | New case. | |
607 | * elf32-sh.c: Correct #endif comments for #ifndef-wrapped | |
608 | functions. | |
609 | (sh_elf_howto_table) <R_SH_PT_16, R_SH_SHMEDIA_CODE>: Correct, | |
610 | clarify describing comment. Add comments before all entries. | |
611 | (sh_elf_relocate_section) <relocating for a local symbol>: Do not | |
612 | honour STO_SH5_ISA32; instead call reloc_dangerous callback. | |
613 | 2001-01-06 Hans-Peter Nilsson <hpn@cygnus.com> | |
614 | Sort .cranges section in final link. Prepare to set bit 0 on | |
615 | entry address. | |
616 | * elf32-sh64.c (struct sh64_find_section_vma_data): New. | |
617 | (sh64_elf_link_output_symbol_hook): Fix typo in prototype. | |
618 | (sh64_elf_set_mach_from_flags): Set SEC_DEBUGGING on incoming | |
619 | .cranges section. | |
620 | (sh64_backend_section_from_shdr): New, to recognize | |
621 | SHT_SH5_CR_SORTED on incoming .cranges section. | |
622 | (elf_backend_section_from_shdr): Define. | |
623 | (sh64_elf_final_write_processing): Sort outgoing .cranges | |
624 | section. (New, temporarily disabled:) Set bit 0 on entry address | |
625 | according to ISA type. | |
626 | (sh64_find_section_for_address): New. | |
627 | (crange_qsort_cmpb, crange_qsort_cmpl, crange_bsearch_cmpb, | |
628 | crange_bsearch_cmpl): Move here from opcodes/sh64-dis.c. | |
629 | (sh64_address_in_cranges): Move here from opcodes/sh64-dis.c. Use | |
630 | bfd_malloc, not xmalloc. | |
631 | (sh64_get_contents_type): Move here from opcodes/sh64-dis.c. Make | |
632 | global. | |
633 | * elf32-sh64.c (sh64_elf64_final_write_processing): New, (but | |
634 | temporarily disabled) setting bit 0 on entry address. | |
635 | (elf_backend_final_write_processing): Define. | |
636 | 2001-01-05 Hans-Peter Nilsson <hpn@cygnus.com> | |
637 | * elf32-sh.c (sh_elf_howto_table) <R_SH_PT_16>: Adjust fields to | |
638 | be a proper relocation for PTA and PTB rather than a marker. | |
639 | <R_SH_IMMU5, R_SH_IMMS6, R_SH_IMMU6, R_SH_IMMS10, R_SH_IMMS10BY2, | |
640 | R_SH_IMMS10BY4, R_SH_IMMS10BY8, R_SH_IMMS16, R_SH_IMMU16, | |
641 | R_SH_IMM_LOW16, R_SH_IMM_LOW16_PCREL, R_SH_IMM_MEDLOW16, | |
642 | R_SH_IMM_MEDLOW16_PCREL, R_SH_IMM_MEDHI16, R_SH_IMM_MEDHI16_PCREL, | |
643 | R_SH_IMM_HI16, R_SH_IMM_HI16_PCREL, R_SH_64, R_SH_64_PCREL>: | |
644 | Zero src_mask. | |
645 | * elf64-sh64.c: Ditto. | |
646 | (sh_elf64_relocate_section) <case R_SH_PT_16>: New case. | |
647 | * elf32-sh64.c: Include opcodes/sh64-opc.h | |
648 | (shmedia_prepare_reloc): Take a bfd_link_info pointer as first | |
649 | argument. Drop const qualifiers from "bfd *" and "bfd_byte *" | |
650 | parameters. No unused parameters. Caller changed. | |
651 | <case R_SH_PT_16>: New case. | |
652 | * Makefile.am (elf32-sh64.lo): Add dependency on sh64-opc.h. | |
653 | * Makefile.in: Regenerate. | |
654 | 2000-12-30 Hans-Peter Nilsson <hpn@cygnus.com> | |
655 | * elf64-sh64.c (sh64_elf64_fake_sections): Set SHF_SH5_ISA32 for | |
656 | all code sections. | |
657 | (sh_elf64_set_mach_from_flags): Change from EF_SH64 to EF_SH5. | |
658 | (sh64_elf_merge_private_data): Ditto. | |
659 | * elf32-sh64.c (sh64_elf_fake_sections): Use sh64_elf_section_data | |
660 | to access stored section flags. | |
661 | (sh64_elf_final_write_processing): Return immediately unless | |
662 | called by linker. Use sh64_elf_section_data (cranges) to get size | |
663 | of linker-generated cranges entries. | |
664 | (sh64_elf_copy_private_data): Add missing "return true". | |
665 | (sh64_elf_set_mach_from_flags): Change from EF_SH64 to EF_SH5. | |
666 | (sh_elf64_merge_private_data): Ditto. | |
667 | 2000-12-19 Hans-Peter Nilsson <hpn@cygnus.com> | |
668 | * elf64-sh64.c (sh64_elf64_fake_sections): New, copy of | |
669 | elf64-sh64.c:sh64_elf_fake_sections. | |
670 | (elf_backend_fake_sections): Define as sh64_elf64_fake_sections. | |
671 | 2000-12-18 Hans-Peter Nilsson <hpn@cygnus.com> | |
672 | * elf32-sh64.c (sh64_elf_copy_private_data_internal): Delete. | |
673 | (sh64_elf_final_write_processing): New. | |
674 | (elf_backend_final_write_processing): Define. | |
675 | (sh64_elf_fake_sections): Get header flags from tdata field. | |
676 | (sh64_elf_copy_private_data): Do not call | |
677 | sh64_elf_copy_private_data_internal, just copy e_flags field. | |
678 | (sh64_elf_merge_private_data): Do not call | |
679 | sh64_elf_copy_private_data_internal. | |
680 | 2000-12-12 Hans-Peter Nilsson <hpn@cygnus.com> | |
681 | Remove EF_SH64_ABI64, let ELF size make difference. | |
682 | Remove SH64-specific BFD section flag. | |
683 | * elf32-sh64.c (sh64_elf_fake_sections): Recognize section as | |
684 | containing SHmedia through elf_section_data (asect)->tdata | |
685 | non-zero, not using a BFD section flag. | |
686 | (sh64_elf_set_mach_from_flags): Don't recognize EF_SH64_ABI64. | |
687 | (sh64_elf_merge_private_data): Similar. | |
688 | (elf_backend_section_flags): Don't define. | |
689 | (sh64_elf_backend_section_flags): Delete. | |
690 | * elf64-sh64.c (sh_elf64_set_mach_from_flags): Recognize EF_SH64, | |
691 | not EF_SH64_ABI64. | |
692 | (sh_elf64_merge_private_data): Similar. | |
693 | * section.c (Section flags definitions): Don't define | |
694 | SEC_SH_ISA_SHMEDIA. | |
695 | (bfd-in2.h): Regenerate. | |
696 | 2000-12-09 Hans-Peter Nilsson <hpn@cygnus.com> | |
697 | Make DataLabel references work with partial linking. | |
698 | * elf32-sh64.c: Fix formatting. | |
699 | (sh64_elf_link_output_symbol_hook): New. | |
700 | (elf_backend_link_output_symbol_hook): Define to | |
701 | sh64_elf_link_output_symbol_hook. | |
702 | (sh64_elf_add_symbol_hook): Make DataLabel symbol just global | |
703 | undefined if partial linking. Adjust sanity check. | |
704 | * elf64-sh64.c (sh64_elf64_link_output_symbol_hook): New. | |
705 | (elf_backend_link_output_symbol_hook): Define to | |
706 | sh64_elf64_link_output_symbol_hook. | |
707 | (sh64_elf64_add_symbol_hook): Make DataLabel symbol just global | |
708 | undefined if partial linking. Adjust sanity check. | |
709 | 2000-12-07 Hans-Peter Nilsson <hpn@cygnus.com> | |
710 | Implement semantics for inter-file DataLabel references. | |
711 | * elf64-sh64.c (DATALABEL_SUFFIX): Define. | |
712 | (sh64_elf64_add_symbol_hook): New. | |
713 | (sh_elf64_relocate_section): If passing an indirect symbol with | |
714 | st_type STT_DATALABEL on the way to a symbol with st_other | |
715 | STO_SH5_ISA32, do not bitor 1 to the relocation. | |
716 | (elf_backend_add_symbol_hook): Define to | |
717 | sh64_elf64_add_symbol_hook. | |
718 | * elf64-sh32.c: Tweak comments. | |
719 | (DATALABEL_SUFFIX): Define. | |
720 | (sh64_elf_add_symbol_hook): New. | |
721 | (elf_backend_add_symbol_hook): Define to sh64_elf_add_symbol_hook. | |
722 | * elf32-sh.c (sh_elf_relocate_section): If passing an indirect | |
723 | symbol with st_type STT_DATALABEL on the way to a symbol with | |
724 | st_other STO_SH5_ISA32, do not bitor 1 to the relocation. | |
725 | 2000-12-05 Hans-Peter Nilsson <hpn@cygnus.com> | |
726 | Pass through STT_DATALABEL. | |
727 | * elf32-sh64.c (sh64_elf_get_symbol_type): New. | |
728 | (elf_backend_get_symbol_type): Define. | |
729 | * elf64-sh64.c (sh64_elf64_get_symbol_type): New. | |
730 | (elf_backend_get_symbol_type): Define. | |
731 | 2000-11-30 Hans-Peter Nilsson <hpn@cygnus.com> | |
732 | * elf32-sh64.c: Tweak comments. | |
733 | (sh64_elf_copy_private_data_internal): Add prototype. | |
734 | (bfd_elf32_bfd_set_private_flags): Define. | |
735 | (sh64_elf_copy_private_data_internal): Compare machine name, not | |
736 | textual BFD target name, to check whether to copy section flag | |
737 | SHF_SH5_ISA32. | |
738 | (sh64_elf_merge_private_data): Validize bfd_get_arch_size. | |
739 | Tweak section-contents-type-mismatch message. | |
740 | (shmedia_prepare_reloc): Add ATTRIBUTE_UNUSED markers. | |
741 | Validize reloc-types. | |
742 | * elf64-sh64.c: New file. | |
743 | * targets.c (bfd_elf64_sh64_vec, bfd_elf64_sh64l_vec): Declare. | |
744 | * Makefile.am (BFD64_BACKENDS): Add elf64-sh64.lo. | |
745 | (BFD64_BACKENDS_CFILES): Add elf64-sh64.c. | |
746 | Regenerate dependencies. | |
747 | * Makefile.in: Regenerate. | |
748 | * config.bfd (sh64-*-elf*): Add bfd_elf64_sh64_vec and | |
749 | bfd_elf64_sh64l_vec. | |
750 | * configure.in: Handle bfd_elf64_sh64_vec and | |
751 | bfd_elf64_sh64l_vec. | |
752 | * configure: Regenerate. | |
753 | * po/POTFILES.in: Regenerate. | |
754 | * po/bfd.pot: Regenerate. | |
755 | 2000-11-29 Hans-Peter Nilsson <hpn@cygnus.com> | |
756 | * elf32-sh64.c (sh64_elf_set_mach_from_flags): Do not recognize | |
757 | anything else but EF_SH64 and EF_SH64_ABI64. | |
758 | (sh64_elf_merge_private_data): Emit error for anything else but | |
759 | EF_SH64 and EF_SH64_ABI64. | |
760 | * config.bfd: Remove bfd_elf32_shblin_vec and bfd_elf32_shlin_vec | |
761 | from targ_selvecs. | |
762 | * configure.in: Add cofflink.lo to bfd_elf32_sh64_vec and | |
763 | bfd_elf32_sh64l_vec as a temporary measure. | |
764 | * configure: Regenerate. | |
765 | 2000-11-27 Hans-Peter Nilsson <hpn@cygnus.com> | |
766 | * cpu-sh.c (arch_info_struct): Include sh5 item | |
767 | unconditionalized. | |
768 | * config.bfd (sh64-*-elf*): Do not set targ_cflags. | |
769 | Add targ_selvecs bfd_elf32_sh_vec, bfd_elf32_shl_vec, | |
770 | bfd_elf32_shblin_vec and bfd_elf32_shlin_vec. | |
771 | * elf32-sh64.c: Tweak comments. | |
772 | (sh64_elf_set_mach_from_flags): Recognize all machine flags that | |
773 | are proper subsets of SH64 as bfd_mach_sh5. Add EF_SH64_ABI64. | |
774 | (sh64_elf_copy_private_data_internal): Wrap long line. | |
775 | (sh64_elf_merge_private_data): Rewrite to allow objects from | |
776 | SH64 subsets to be linked together. | |
777 | (INCLUDE_SHMEDIA): Define. | |
778 | * elf32-sh.c (sh_elf_relocate_section) <local symbol>: | |
779 | Parenthesize plus-expression inside or-expression. | |
780 | <global symbol>: Ditto. | |
781 | (sh_elf_set_mach_from_flags): Remove code refusing | |
782 | deleted EF_SH64_32BIT_ABI flag. | |
783 | 2000-11-26 Hans-Peter Nilsson <hpn@cygnus.com> | |
784 | * elf32-sh.c (sh_elf_howto_table) <R_SH_IMM_LOW16_PCREL, | |
785 | R_SH_IMM_MEDLOW16_PCREL, R_SH_IMM_MEDHI16_PCREL, | |
786 | R_SH_IMM_HI16_PCREL, R_SH_64_PCREL>: Set pcrel_offset to true. | |
787 | (sh_elf_relocate_section) <local symbol>: Or 1 in | |
788 | calculation of relocation if sym->st_other & STO_SH5_ISA32. | |
789 | <global symbol>: Ditto if h->other & STO_SH5_ISA32. | |
790 | * elf32-sh64.c (shmedia_prepare_reloc): Add rel->r_addend to | |
791 | relocation. | |
792 | 2000-11-24 Hans-Peter Nilsson <hpn@cygnus.com> | |
793 | * Makefile.am (BFD32_BACKENDS): Add elf32-sh64.lo. | |
794 | (BFD32_BACKENDS_CFILES): Add elf32-sh64.c. | |
795 | Regenerate dependencies. | |
796 | * Makefile.in: Regenerate. | |
797 | * archures.c: Add bfd_mach_sh5. | |
798 | * config.bfd: Map targ_cpu sh* to bfd_sh_arch. | |
799 | Handle sh64-*-elf*. Set targ_cflags to -DINCLUDE_SHMEDIA. | |
800 | * configure.in: Handle bfd_elf32_sh64_vec and bfd_elf32_sh64l_vec. | |
801 | * configure: Regenerate. | |
802 | * reloc.c (BFD_RELOC_SH_SHMEDIA_CODE, BFD_RELOC_SH_IMMU5, | |
803 | BFD_RELOC_SH_IMMS6, BFD_RELOC_SH_IMMS6BY32, BFD_RELOC_SH_IMMU6, | |
804 | BFD_RELOC_SH_IMMS10, BFD_RELOC_SH_IMMS10BY2, | |
805 | BFD_RELOC_SH_IMMS10BY4, BFD_RELOC_SH_IMMS10BY8, | |
806 | BFD_RELOC_SH_IMMS16, BFD_RELOC_SH_IMMU16, BFD_RELOC_SH_IMM_LOW16, | |
807 | BFD_RELOC_SH_IMM_LOW16_PCREL, BFD_RELOC_SH_IMM_MEDLOW16, | |
808 | BFD_RELOC_SH_IMM_MEDLOW16_PCREL, BFD_RELOC_SH_IMM_MEDHI16, | |
809 | BFD_RELOC_SH_IMM_MEDHI16_PCREL, BFD_RELOC_SH_IMM_HI16, | |
810 | BFD_RELOC_SH_IMM_HI16_PCREL, BFD_RELOC_SH_PT_16): New relocations. | |
811 | * cpu-sh.c [INCLUDE_SHMEDIA] (arch_info_struct): Define and link | |
812 | in item for SH5. | |
813 | * elf32-sh.c [INCLUDE_SHMEDIA] (sh_elf_howto_table): Add howto items | |
814 | for SHmedia relocs. | |
815 | [INCLUDE_SHMEDIA] (sh_rel): Add mappings for SHmedia relocs. | |
816 | [INCLUDE_SHMEDIA] (sh_elf_relocate_section) [default]: Call | |
817 | shmedia_prepare_reloc, goto final_link_relocate if it returns | |
818 | non-zero, else fail as before. | |
819 | (sh_elf_set_mach_from_flags): Provide function only if not defined | |
820 | as macro. Do not recognize objects with EF_SH64_32BIT_ABI set. | |
821 | (sh_elf_set_private_flags): Provide function only if not defined | |
822 | as a macro. | |
823 | (sh_elf_copy_private_data): Similar. | |
824 | (sh_elf_merge_private_data): Similar. | |
825 | * section.c (SEC_SH_ISA_SHMEDIA): New. | |
826 | * targets.c (bfd_elf32_sh64_vec, bfd_elf32_sh64l_vec): Declare. | |
827 | * elf32-sh64.c: New file. | |
828 | * libbfd.h: Regenerate. | |
829 | * bfd-in2.h: Regenerate. | |
830 | * po/POTFILES.in: Regenerate. | |
831 | * po/bfd.pot: Regenerate. | |
832 | * bfd-in2.h: Regenerate. | |
833 | * libbfd.h: Regenerate. | |
834 | ||
e108f470 DJ |
835 | 2002-02-07 Daniel Jacobowitz <drow@mvista.com> |
836 | ||
837 | * bfd-in.h: Update <stdbool.h> check to only see if <stdbool.h> has | |
838 | been included, not drag it in. | |
839 | * bfd-in2.h: Regenerate. | |
840 | ||
259d18a3 L |
841 | 2002-02-06 H.J. Lu (hjl@gnu.org) |
842 | ||
843 | * elf32-mips.c (_bfd_mips_elf_merge_private_bfd_data): Update | |
844 | the mach and ISA fields if necessary. | |
845 | ||
f13b834e NC |
846 | 2002-02-06 Nick Clifton <nickc@cambridge.redhat.com> |
847 | ||
848 | * coffcode.h (coff_set_arch_mach_hook): Select the highest known | |
849 | ARM architecture when an F_ARM_5 flag is detected, since we cannot | |
850 | be sure exactly which architecture this represents. | |
851 | ||
82f6addb NC |
852 | 2002-02-05 Nick Clifton <nickc@redhat.com> |
853 | ||
854 | * po/tr.po: Updated translation. | |
855 | ||
899f54f5 AM |
856 | 2002-02-05 Alan Modra <amodra@bigpond.net.au> |
857 | ||
858 | From Jimi X <jimix@watson.ibm.com> | |
859 | * archures (bfd_mach_ppc64): Define. | |
860 | (bfd_powerpc_arch): Rename to bfd_powerpc_archs. | |
861 | (bfd_powerpc_arch): Define. | |
862 | * bfd-in2.h: Regenerate. | |
863 | * cpu-powerpc.c (arch_info_struct): Rename to bfd_powerpc_archs. | |
864 | (bfd_powerpc_arch): Move to tail of bfd_powerpc_archs. | |
865 | (bfd_powerpc_archs): Add default powerpc64 arch. | |
866 | ||
248866a8 AM |
867 | 2002-02-05 Alan Modra <amodra@bigpond.net.au> |
868 | ||
869 | * elf64-ppc.c (ppc64_elf_size_dynamic_sections): Check for relocs | |
870 | against section syms in readonly sections. Don't do the global | |
871 | sym check if we find one. | |
872 | * elf64-s390.c (elf_s390_size_dynamic_sections): Likewise. | |
873 | * elf32-hppa.c (elf32_hppa_size_dynamic_sections): Likewise. | |
0a6958db | 874 | * elf32-i386.c (elf_i386_size_dynamic_sections): Likewise. |
248866a8 AM |
875 | * elf32-s390.c (elf_s390_size_dynamic_sections): Likewise. |
876 | (elf_s390_grok_prstatus): Add missing prototype. | |
877 | ||
4fa5c2a8 HPN |
878 | 2002-02-04 Hans-Peter Nilsson <hp@bitrange.com> |
879 | ||
880 | * elf64-mmix.c (mmix_dump_bpo_gregs): New function. | |
881 | (mmix_elf_check_common_relocs) <case R_MMIX_BASE_PLUS_OFFSET>: | |
882 | Call bfd_get_section_by_name only once. Initialize | |
883 | bpodata->n_bpo_relocs_this_section. | |
884 | (_bfd_mmix_prepare_linker_allocated_gregs): Remove comment | |
885 | referring to DSOs. | |
886 | (bpo_reloc_request_sort_fn): Don't use difference of values as | |
887 | return-value. | |
888 | ||
537c972e DB |
889 | 2002-02-02 David O'Brien <obrien@FreeBSD> |
890 | ||
891 | * configure.in: Tweak the FreeBSD 4.x recognition more. Only treat | |
892 | version 4.5 and later the same as 5-CURRENT. | |
893 | * configure: Re-generate. | |
894 | ||
006336b8 JT |
895 | 2002-02-02 Jason Thorpe <thorpej@wasabisystems.com> |
896 | ||
897 | * config.bfd (hppa*-*-netbsd*): New target. | |
898 | ||
6c571f00 PT |
899 | 2002-01-31 Philipp Thomas <pthomas@suse.de> |
900 | ||
19397422 AM |
901 | * coff-arm.c (coff_arm_merge_private_bfd_data): Move ERROR |
902 | to front of message. Unify messages with elf32-arm.h. Use | |
903 | commas where neccessary. | |
904 | * elf32-arm.h (elf32_arm_merge_private_bfd_data): Use all upcase | |
905 | ERROR in messages. Unify messages with coff-arm.c. Correct | |
906 | VFP/FPA error message. | |
907 | (elf32_arm_print_private_bfd_data): Don't mark APCS-26 and | |
908 | APCS-32 for translation. | |
6c571f00 | 909 | |
930b4cb2 HPN |
910 | 2002-02-01 Hans-Peter Nilsson <hp@bitrange.com> |
911 | ||
912 | Perform on-demand global register allocation from | |
913 | R_MMIX_BASE_PLUS_OFFSET relocs. | |
914 | * elf64-mmix.c (struct bpo_reloc_section_info, struct | |
915 | bpo_reloc_request, struct bpo_greg_section_info): New. | |
916 | (mmix_elf_check_common_relocs, mmix_elf_gc_sweep_hook, | |
917 | bpo_reloc_request_sort_fn, mmix_elf_relax_section, | |
918 | _bfd_mmix_check_all_relocs, | |
919 | _bfd_mmix_prepare_linker_allocated_gregs, | |
920 | _bfd_mmix_finalize_linker_allocated_gregs): New functions. | |
921 | (elf_mmix_howto_table): Correct src_mask for most relocs. | |
922 | (mmix_elf_perform_relocation) <case R_MMIX_BASE_PLUS_OFFSET>: New | |
923 | case. | |
924 | (mmix_final_link_relocate) <case R_MMIX_BASE_PLUS_OFFSET>: New | |
925 | case. Fix typo in comment. New label do_mmix_reloc. | |
926 | (mmix_elf_check_relocs): Abuse bfd_link_info member base_file to | |
927 | store first object file with a base-plus-offset reloc. Call | |
928 | mmix_elf_check_common_relocs for the part common with mmo. | |
929 | (mmix_elf_final_link): Write out linker-allocated register | |
930 | contents section. | |
931 | (elf_backend_gc_sweep_hook): Define. | |
932 | (bfd_elf64_bfd_relax_section): Define. | |
933 | ||
934 | * mmo.c: Don't include <ctype.h> | |
935 | (mmo_init): Correct init-once logic. | |
936 | ||
3e36d993 TR |
937 | 2002-02-01 Tom Rix <trix@redhat.com> |
938 | ||
939 | * config.bfd: Conditionally support <aiaff> for pre AIX 4.3. | |
940 | ||
ba323545 AM |
941 | 2002-02-01 Alan Modra <amodra@bigpond.net.au> |
942 | ||
943 | * Makefile.am: Run "make dep-am" | |
944 | * Makefile.in: Regenerate. | |
945 | ||
012884d6 DB |
946 | 2002-01-31 David O'Brien <obrien@FreeBSD> |
947 | ||
948 | * configure.in: Recognize the differences in core files from FreeBSD | |
949 | 4.{0,1} and later versions of 4.x. This treats 4.2+ the same as | |
950 | 5-CURRENT. | |
951 | * configure: Regenerate. | |
952 | ||
3b16e843 NC |
953 | 2002-01-31 Ivan Guzvinec <ivang@opencores.org> |
954 | ||
955 | * coff-or32.c: New file. | |
956 | * cpu-or32.c: New file. | |
957 | * elf32-or32.c: New file. | |
958 | * archures.c: Add support for or32. | |
959 | * targets.c: Add support for or32. | |
960 | * bfd-in2.h: Regenerate. | |
7dc0ab31 | 961 | * coffcode.h (coff_set_arch_mach_hook, coff_set_flags, |
3b16e843 NC |
962 | coff_write_object_contents): Add support for or32. |
963 | * config.bfd: Add target. | |
964 | * configure.in: Add support for or32. | |
965 | * configure: Regenerate. | |
966 | * Makefile.am: Add support for or32. | |
967 | * Makefile.in: Regenerate. | |
3b16e843 NC |
968 | * po/SRC-POTFILES.in: Add or32 files. |
969 | * po/bfd.pot: Regenerate. | |
7dc0ab31 | 970 | |
caf8ca8e NC |
971 | 2002-01-31 Nick Clifton <nickc@cambridge.redhat.com> |
972 | Don Lindsay <lindsayd@cisco.com> | |
973 | ||
974 | * elf32-mips.c (mips_elf_calculate_relocation): Replace 'return | |
975 | false' with a return of a bfd_reloc_ error code. | |
976 | ||
e5dfef09 HPN |
977 | 2002-01-31 Hans-Peter Nilsson <hp@axis.com> |
978 | ||
979 | * elf32-cris.c (elf_cris_discard_excess_program_dynamics): Don't | |
980 | unexport unreferenced symbols when --export-dynamic. Call | |
981 | _bfd_elf_strtab_delref when unexporting. | |
982 | ||
4e4770d0 DJ |
983 | 2002-01-30 Daniel Jacobowitz <drow@mvista.com> |
984 | ||
985 | * bfd-in.h: Include <stdbool.h> if it is available. | |
986 | * bfd-in2.h: Regenerated. | |
987 | ||
e1fa50e7 AM |
988 | 2002-01-31 Alan Modra <amodra@bigpond.net.au> |
989 | ||
990 | * elf64-ppc.c (func_desc_adjust): STV_PROTECTED functions should | |
991 | not go via the plt. | |
992 | ||
b5f79c76 NC |
993 | 2002-01-30 Nick Clifton <nickc@cambridge.redhat.com> |
994 | ||
b5f79c76 NC |
995 | * archures.c: Tidy up formatting of embedded comments. |
996 | * bfd.c: Tidy up formatting of embedded comments. | |
7dc0ab31 | 997 | * bfd-in.h: Fix formatting of comments. |
b5f79c76 NC |
998 | * reloc.c: Tidy up formatting of ordinary & embedded comments. |
999 | * section.c: Tidy up formatting of embedded comments. | |
1000 | * syms.c: Tidy up formatting of embedded comments. | |
1001 | * targets.c: Tidy up formatting of embedded comments. | |
1002 | ||
1003 | * bfd-in2.h: Regenerate. | |
1004 | ||
ca09e32b NC |
1005 | 2002-01-30 Nick Clifton <nickc@cambridge.redhat.com> |
1006 | ||
1007 | * vms-tir.c (cmd_name): New function. | |
1008 | (tir_cmd_name): New function. | |
1009 | (etir_sta, etir_sto, etir_opr, etir_stc): Use cmd_name(). | |
1010 | (tir_opr, tir_ctl, tir_cmd): use tir_cmd_name(). | |
1011 | Fix formatting. | |
7dc0ab31 | 1012 | |
ca09e32b NC |
1013 | * peXXigen.c (pe_print_idata): Rearrange message to aid in |
1014 | translation. | |
1015 | (pe_print_pdata): Rearrange message to aid in translation. | |
1016 | ||
1017 | * libbfd.c (warn_deprecated): Rearrange error message to aid in | |
1018 | translation. | |
1019 | ||
1020 | * ihex.c (ihex_write_object_contents): Fix spelling typo. | |
1021 | ||
1022 | * ieee.c (ieee_slurp_external_symbols): Remove spurious space. | |
1023 | ||
1024 | * elf64-sparc.c (sparc64_elf_add_symbol_hook): Rearrange error | |
1025 | message to aid in translation. | |
1026 | ||
1027 | * elf64-mmix.c (mmix_final_link_relocate): Rearrange error message | |
1028 | to aid in translation. | |
1029 | ||
1030 | * elf32-arm.h (elf32_arm_merge_private_bfd_data): Fix typo. | |
1031 | ||
7dc0ab31 | 1032 | 2002-01-30 Philipp Thomas <pthomas@suse.de> |
ae1a89b7 PT |
1033 | |
1034 | * coff-arm.c, elf32-elf.h: Unify messages. | |
1035 | ||
05f64ac6 NC |
1036 | 2002-01-30 Nick Clifton <nickc@redhat.com> |
1037 | ||
1038 | * po/sv.po: Updated translation. | |
1039 | ||
f5a3e38a NC |
1040 | 2002-01-30 Philipp Thomas <pthomas@suse.de> |
1041 | ||
1042 | * dwarf2.c (read_abbrev): Use full section name in error message. | |
1043 | (decode_line_info): Likewise. | |
661a3fd4 NC |
1044 | |
1045 | * elf.c (_bfd_elf_symbol_from_bfd_symbol): Don't translate debugging | |
1046 | message. | |
1047 | ||
d926e03d AM |
1048 | 2002-01-30 Alan Modra <amodra@bigpond.net.au> |
1049 | ||
1050 | * elf64-ppc.c (func_desc_adjust): Only provide missing function | |
1051 | descriptor symbols for undefined function code syms. Clear | |
1052 | ELF_LINK_NON_ELF so that they can stay weak. | |
1053 | ||
030d18fb | 1054 | 2002-01-29 Chris Demetriou <cgd@broadcom.com> |
7dc0ab31 | 1055 | Mitch Lichtenberg <mpl@broadcom.com> |
030d18fb CD |
1056 | |
1057 | * bfd-in.h (bfd_mips_elf32_create_embedded_relocs): New prototype. | |
1058 | * elf32-mips.c (bfd_mips_elf32_create_embedded_relocs): New function | |
1059 | to handle 32-bit ELF embedded reloc (ld --embedded-relocs) | |
1060 | generation. | |
1061 | * bfd-in2.h: Regenerate. | |
1062 | ||
fcc76bea CD |
1063 | 2002-01-29 Chris Demetriou <cgd@broadcom.com> |
1064 | ||
1065 | * elf32-mips.c: Add additional comments about HI16 relocation | |
1066 | processing. | |
1067 | (_bfd_mips_elf_hi16_reloc): Don't subtract address here for | |
1068 | pc-relative relocations. (Reverts change made on 2001-10-31.) | |
1069 | (_bfd_mips_elf_lo16_reloc): Subtract address of LO16 part here | |
1070 | for pc-relative relocations. | |
1071 | (mips_elf_calculate_relocation): Add a comment about a kludge | |
1072 | in the R_MIPS_GNU_REL_HI16 handling. | |
1073 | (_bfd_mips_elf_relocate_section): Implement that kludge; | |
1074 | adjust pc-relative HI16 relocation for difference in HI16 and | |
1075 | LO16 addresses, since it can't easily be done in | |
1076 | mips_elf_calculate_relocation. | |
1077 | ||
f9cd9119 MS |
1078 | 2002-01-29 Martin Schwidefsky <schwidefsky@de.ibm.com> |
1079 | ||
1080 | * elf32-i386 (elf_i386_adjust_dynamic_symbol): Do not replace PLT32 | |
1081 | relocations with PC32 relocations for undefined or weak symbols. | |
1082 | * elf32-s390 (elf_i386_adjust_dynamic_symbol): Likewise. | |
1083 | * elf64-s390x (elf_i386_adjust_dynamic_symbol): Likewise. | |
1084 | ||
702248bb JT |
1085 | 2002-01-28 Jason Thorpe <thorpej@wasabisystems.com> |
1086 | ||
1087 | * elfcore.h (elf_core_file_p): Improve comment for last change. | |
1088 | ||
4867be41 DJ |
1089 | 2002-01-27 Daniel Jacobowitz <drow@mvista.com> |
1090 | ||
1091 | * configure: Regenerated. | |
1092 | ||
a94cef6a JT |
1093 | 2002-01-27 Jason Thorpe <thorpej@wasabisystems.com> |
1094 | ||
1095 | * elfcore.h (elf_core_file_p): Set the machine architecture | |
1096 | before processing the program headers. | |
1097 | ||
7562a296 HPN |
1098 | 2002-01-26 Hans-Peter Nilsson <hp@bitrange.com> |
1099 | ||
966abd70 HPN |
1100 | * configure.in <64-bit configuration>: If using gcc, check and |
1101 | emit error for egcs-1.1.2. | |
1102 | * configure: Regenerate. | |
1103 | ||
e8eab623 NC |
1104 | 2002-01-26 Egor Duda <deo@logos-m.ru> |
1105 | ||
1106 | * elf.c (elfcore_grok_win32pstatus): Copy only as much information | |
1107 | as possible to avoid stack corruption. | |
1108 | ||
73896efb RH |
1109 | 2002-01-26 Richard Henderson <rth@redhat.com> |
1110 | ||
1111 | * elf64-alpha.c (elf64_alpha_check_relocs): Don't set reltext | |
1112 | for non-allocated sections. | |
1113 | ||
1114 | 2002-01-25 Mark Kettenis <kettenis@gnu.org> | |
c106e334 MK |
1115 | |
1116 | * elf.c (elfcore_write_prstatus): Make sure we pass the address of | |
1117 | prstat.pr_reg even if it is a struct. | |
1118 | ||
73896efb | 1119 | 2002-01-25 Steve Ellcey <sje@cup.hp.com> |
254ed743 NC |
1120 | |
1121 | * bfd/elfxx-ia64.c: Reset AIX vector function overrides for HP-UX. | |
1122 | ||
3d66c4f7 NC |
1123 | 2002-01-25 Philipp Thomas <pthomas@suse.de> |
1124 | ||
1125 | * coffgen.c (coff_print_symbol): Don't mark info message | |
1126 | for translation. | |
1127 | ||
9460ecda NC |
1128 | 2002-01-25 Nick Clifton <nickc@redhat.com> |
1129 | ||
1130 | * po/fr.po: Updated translation. | |
1131 | * po/es.po: Updated translation. | |
1132 | ||
cc9ff76a AM |
1133 | 2002-01-25 Philipp Thomas <pthomas@suse.de> |
1134 | ||
1135 | * coff-alpha.c (alpha_relocate_section): Unify warning message | |
1136 | for GP relative relocations without GP defined. | |
1137 | * coff-mips.c (mips_relocate_section): Likewise. | |
1138 | ||
c68836a9 AM |
1139 | 2002-01-25 Alan Modra <amodra@bigpond.net.au> |
1140 | ||
1141 | * elf-eh-frame.c (_bfd_elf_eh_frame_section_offset): Avoid | |
1142 | unsigned overflow when new_offset < old_offset. | |
1143 | ||
e8eab623 | 1144 | 2002-01-24 Philipp Thomas <pthomas@suse.de> |
391154e9 NC |
1145 | |
1146 | * bfd.c (_bfd_abort): Fix typo. | |
1147 | ||
8ba89f17 RH |
1148 | 2002-01-23 Richard Henderson <rth@redhat.com> |
1149 | ||
1150 | * elf64-alpha.c (elf64_alpha_adjust_dynamic_symbol): Don't suppress | |
1151 | plt entries for undefweak symbols. | |
1152 | ||
c6953948 NC |
1153 | 2002-01-23 Steve Ellcey <sje@cup.hp.com> |
1154 | ||
1155 | * bfd/targets.c (bfd_elf32_ia64_hpux_big_vec): Add to | |
1156 | DEFAULT_VECTOR. | |
1157 | (bfd_elf64_ia64_hpux_big_vec): Ditto. | |
1158 | (bfd_elf32_h8300_vec): Ditto. | |
1159 | ||
41bd81ab AM |
1160 | 2002-01-23 Alan Modra <amodra@bigpond.net.au> |
1161 | ||
1162 | * elf64-ppc.c: Remove stale part of ABI comment. | |
1163 | (NO_OPD_RELOCS): Define. | |
1164 | (ppc64_elf_check_relocs): Use it. | |
1165 | (ppc64_elf_relocate_section): Here too. | |
1166 | (build_one_stub): Don't point function syms at the stub. Instead, | |
1167 | hijack plt.offset. | |
1168 | (ppc64_elf_relocate_section): Check whether REL24 relocs should | |
1169 | really go to the stub. Make all dynamic relocs in opd against | |
1170 | locals. | |
1171 | (ppc64_elf_finish_dynamic_symbol): Allow for non-standard use of | |
1172 | plt.offset. | |
1173 | ||
f304919d RH |
1174 | 2002-01-22 Richard Henderson <rth@redhat.com> |
1175 | ||
1176 | * elf64-alpha.c (INSN_UNOP): Encode with RB as $sp. | |
1177 | ||
c0ef99a7 AM |
1178 | 2002-01-22 Alan Modra <amodra@bigpond.net.au> |
1179 | ||
60ee0d4a AM |
1180 | * elf64-ppc.c (ppc64_elf_finish_dynamic_sections): Correct sign of |
1181 | TOC_BASE_OFF adjustment. | |
1182 | ||
c0ef99a7 AM |
1183 | * Makefile.am: Run "make dep-am". |
1184 | * Makefile.in: Regenerate. | |
1185 | * po/SRC-POTFILES.in: Regenerate. | |
1186 | ||
64328b46 AM |
1187 | 2002-01-22 John David Anglin <dave@hiauly1.hia.nrc.ca> |
1188 | ||
1189 | * configure.host (hppa*64*-*-hpux*, hppa*64*-*-linux*): Add new | |
1190 | host defines. | |
1191 | ||
59953665 | 1192 | 2002-01-21 Hans-Peter Nilsson <hp@axis.com> |
58255df3 HPN |
1193 | |
1194 | * elf32-cris.c (cris_elf_relocate_section) <case R_CRIS_32_GOTREL>: | |
1195 | Check for and emit error if sgot is NULL at this point. | |
1196 | ||
9596feea JT |
1197 | 2002-01-21 Jason Thorpe <thorpej@wasabisystems.com> |
1198 | ||
1199 | * config.bfd (ia64*-*-netbsd*): New target. | |
1200 | ||
7b45c6e1 AM |
1201 | 2002-01-21 Thomas Klausner <wiz@danbala.ifoer.tuwien.ac.at> |
1202 | ||
1203 | * som.c (som_write_space_strings): Comment typo fix. | |
1204 | ||
e5094212 AM |
1205 | 2002-01-21 Alan Modra <amodra@bigpond.net.au> |
1206 | ||
e86ce104 AM |
1207 | * elf64-ppc.c (struct ppc_link_hash_entry): Add is_func and |
1208 | is_func_descriptor fields. | |
1209 | (link_hash_newfunc): Init them. | |
1210 | (ppc64_elf_check_relocs): Only R_PPC24_REL24 syms starting with a | |
1211 | dot are candidates for plt entries. When processing .opd relocs, | |
1212 | set function descriptor strings to point inside function code | |
1213 | string, and set new ppc_link_hash_entry fields. | |
1214 | (ppc64_elf_gc_sweep_hook): Don't sweep R_PPC64_REL24 relocs. | |
1215 | (ppc64_elf_adjust_dynamic_symbol): Remove most code dealing with | |
1216 | function descriptors. It's now done in.. | |
1217 | (func_desc_adjust): New. | |
1218 | (ppc64_elf_func_desc_adjust): New. | |
1219 | (define elf_backend_always_size_sections): Define. | |
1220 | (ppc64_elf_hide_symbol): New. | |
1221 | (define elf_backend_hide_symbol): Define. | |
1222 | (allocate_dynrelocs): Remove code looking up function descriptors | |
1223 | as that has been done earlier. | |
1224 | (ppc64_elf_size_dynamic_sections): Use htab shortcut to elf hash | |
1225 | table. | |
1226 | (ppc64_elf_finish_dynamic_symbol): Likewise. Remove code looking | |
1227 | up function descriptor. | |
1228 | (build_one_stub): Look up the function code sym. Check for | |
1229 | invalid plt offsets. | |
1230 | (ppc64_elf_relocate_section): Tweak calls to undefined weak syms. | |
1231 | Convert R_PPC64_TOC relocs to R_PPC64_RELATIVE in shared libs. | |
1232 | ||
e5094212 AM |
1233 | * elf-bfd.h (elf_backend_data <elf_backend_hide_symbol>): Add |
1234 | boolean param. | |
1235 | (_bfd_elf_link_hash_hide_symbol): Likewise. | |
1236 | * elflink.h (elf_link_add_object_symbols): Adjust call to | |
1237 | elf_backend_hide_symbol. | |
1238 | (elf_fix_symbol_flags): Likewise. | |
1239 | (elf_link_assign_sym_version): Likewise. Use bfd_malloc rather | |
1240 | than bfd_alloc. | |
1241 | * elf.c (_bfd_elf_link_hash_hide_symbol): Add "force_local" param. | |
1242 | Set ELF_LINK_FORCED_LOCAL and call _bfd_elf_strtab_delref. | |
1243 | * elf32-hppa.c (elf32_hppa_hide_symbol): Likewise. | |
1244 | (clobber_millicode_symbols): Adjust to suit new hide_symbol. | |
1245 | * elf32-cris.c (elf_cris_hide_symbol): Add "force_local" param | |
1246 | and adjust to suit. | |
1247 | * elf32-mips.c (_bfd_mips_elf_hide_symbol): Likewise, and call | |
1248 | _bfd_elf_link_hash_hide_symbol rather than duplicating code. | |
1249 | * elfxx-ia64.c (elfNN_ia64_hash_hide_symbol): Likewise. | |
1250 | ||
40b8271b AM |
1251 | 2002-01-18 Alan Modra <amodra@bigpond.net.au> |
1252 | ||
1253 | * elf64-ppc.c (ppc64_elf_adjust_dynamic_symbol): Test for a | |
1254 | dynamic function descriptor symbol, not the associated function | |
1255 | symbol. | |
1256 | ||
55baa95b EC |
1257 | 2002-01-17 Eric Christopher <echristo@redhat.com> |
1258 | ||
1259 | * elf32-mips.c (mips_elf_calculate_relocation): Fix typo. | |
1260 | ||
328577ad NC |
1261 | 2002-01-17 Nick Clifton <nickc@cambridge.redhat.com> |
1262 | ||
1263 | * po/bfd.pot: Regenerate. | |
1264 | * po/fr.po: Regenerate. | |
1265 | ||
af746e92 AM |
1266 | 2002-01-17 Alan Modra <amodra@bigpond.net.au> |
1267 | ||
1268 | * elf-bfd.h (elf_backend_data <elf_backend_section_from_bfd_section>): | |
1269 | Remove "Elf_Internal_Shdr *" param. | |
1270 | (_bfd_mips_elf_section_from_bfd_section): Ditto. | |
1271 | * elf32-mips.c (_bfd_mips_elf_section_from_bfd_section): Ditto. | |
1272 | * elf32-m32r.c (_bfd_m32r_elf_section_from_bfd_section): Ditto. | |
1273 | * elf32-v850.c (v850_elf_section_from_bfd_section): Ditto. | |
1274 | * elf64-mmix.c (mmix_elf_section_from_bfd_section): Ditto. | |
1275 | * elfxx-ia64.c (elfNN_hpux_backend_section_from_bfd_section): Ditto. | |
1276 | * elf.c (_bfd_elf_section_from_bfd_section): Allow backend | |
1277 | function to override special sections. Remove hdr arg from | |
1278 | backend call, and don't loop. | |
1279 | ||
175e9962 EC |
1280 | 2002-01-16 Eric Christopher <echristo@redhat.com> |
1281 | ||
1282 | * elf32-mips.c (mips_elf_calculate_relocation): Set require_jalxp | |
1283 | on R_MIPS_26 and target is 16bit. Add R_MIPS16_GPREL to list of | |
1284 | relocations requiring gp0 and gp. | |
1285 | ||
96a846ea RE |
1286 | 2002-01-16 Richard Earnshaw <rearnsha@arm.com> |
1287 | ||
175e9962 | 1288 | * elf32-arm.h (elf32_arm_merge_private_bfd_data): Handle |
96a846ea RE |
1289 | EF_ARM_VFP_FLOAT. |
1290 | (elf32_arm_print_private_bfd_data): Likewise. | |
1291 | ||
af3ae48d NC |
1292 | 2002-01-16 Nick Clifton <nickc@cambridge.redhat.com> |
1293 | ||
1294 | * po/tr.po: Import new version. | |
1295 | ||
10ed1bba AM |
1296 | 2002-01-16 Alan Modra <amodra@bigpond.net.au> |
1297 | ||
1298 | * elf64-ppc.c (ppc64_elf_howto_raw): Remove stale FIXMEs. | |
1299 | (ppc64_elf_reloc_type_lookup): Use proper CTOR reloc. | |
1300 | (ORI_R0_R0_0): Correct. | |
1301 | ||
5d1634d7 AM |
1302 | 2002-01-16 Alan Modra <amodra@bigpond.net.au> |
1303 | ||
1304 | * elflink.c (_bfd_elf_create_dynamic_sections): Don't set SEC_CODE | |
1305 | when plt_not_loaded. | |
1306 | * elf64-ppc.c (ppc64_elf_create_dynamic_sections): No need to | |
1307 | clear .plt SEC_CODE here. Create .stub and correct .glink flags. | |
1308 | (PLT_INITIAL_ENTRY_SIZE): Set to 24. | |
1309 | (ppc64_elf_glink_code): Delete. | |
1310 | (PPC64_ELF_GLINK_SIZE): Delete. | |
1311 | (ADDIS_R12_R2, STD_R2_40R1, LD_R11_0R12, LD_R2_0R12, MTCTR_R11, | |
1312 | BCTR, ADDIS_R12_R12_1, LD_R2_40R1, NOP, LI_R0_0, B_DOT, LIS_R0_0, | |
1313 | ORI_R0_R0_0): Define. | |
1314 | (PLT_CALL_STUB_SIZE, GLINK_CALL_STUB_SIZE): Define. | |
1315 | (struct ppc_link_hash_table): Add sstub and plt_overflow. | |
1316 | (ppc64_elf_link_hash_table_create): Init them. | |
1317 | (ppc64_elf_check_relocs <R_PPC64_REL24>): Refcount .plt entry. | |
1318 | Don't copy to shared lib. | |
1319 | (ppc64_elf_check_relocs): Call bfd_set_error on errors. | |
1320 | (ppc64_elf_gc_sweep_hook <R_PPC64_REL24>): Sweep plt refcount. | |
1321 | (allocate_dynrelocs <plt>): Don't change function sym here. Make | |
1322 | room for .stub and .glink code. | |
1323 | (ppc64_elf_size_dynamic_sections): Handle .stub. Make entry for | |
1324 | DT_PPC64_GLINK. | |
1325 | (ppc64_elf_final_link): Rename to ppc64_elf_set_toc. Don't call | |
1326 | bfd_elf64_bfd_final_link. | |
1327 | (bfd_elf64_bfd_final_link): Don't define. | |
1328 | (ppc64_elf_size_stubs): New. | |
1329 | (build_plt_stub): New. | |
1330 | (build_one_stub): New. | |
1331 | (ppc64_elf_build_stubs): New. | |
1332 | (ppc64_elf_relocate_section <toc relocs>): Remove assert. | |
1333 | (ppc64_elf_relocate_section): Don't copy R_PPC64_REL24 relocs. | |
1334 | (ppc64_elf_finish_dynamic_symbol): Don't build stubs here. Set | |
1335 | DT_PPC64_GLINK entry. Tweak DT_PLTGOT, DT_JMPREL, DT_PLTRELSZ in | |
1336 | case output sections not separate. Adjust DT_RELASZ to not | |
1337 | include plt relocs. Set reserved got entry. Set got and plt | |
1338 | entry size. | |
1339 | (elf_backend_got_header_size): Set to 8. | |
1340 | * elf64-ppc.h: New file. | |
1341 | ||
c601ffdb AM |
1342 | 2002-01-16 Alan Modra <amodra@bigpond.net.au> |
1343 | ||
1344 | * elf32-arm.h (elf32_arm_size_dynamic_sections): When removing | |
1345 | sections, use bfd_section_list_remove. | |
1346 | * elf32-i370.c (i370_elf_size_dynamic_sections): Likewise. | |
1347 | * elflink.h (elf_link_add_object_symbols): When removing all | |
1348 | sections, use bfd_section_list_clear. | |
1349 | ||
8fb4cb7f NC |
1350 | 2002-01-15 Nick Clifton <nickc@cambridge.redhat.com> |
1351 | ||
1352 | * po/sv.po: New file: Swedish translation. | |
1353 | * configure.in (ALL_LINGUAS): Add sv. | |
1354 | * configure: Regenerate. | |
1355 | ||
d3c456e9 JJ |
1356 | 2002-01-15 Jakub Jelinek <jakub@redhat.com> |
1357 | ||
1358 | * elflink.h (elf_link_input_bfd): Back out 2002-01-07 change. | |
1359 | * elf.c (merge_sections_remove_hook): New function. | |
1360 | (_bfd_elf_merge_sections): Pass it as 3rd argument to | |
1361 | _bfd_merge_sections. | |
1362 | * libbfd-in.h (_bfd_merge_sections): Add 3rd argument. | |
1363 | * libbfd.h: Rebuilt. | |
1364 | * merge.c (_bfd_merge_sections): Add remove_hook argument. | |
1365 | Call remove_hook if a SEC_EXCLUDE section is encountered. | |
1366 | ||
1f7fd478 NC |
1367 | 2002-01-15 Nick Clifton <nickc@cambridge.redhat.com> |
1368 | ||
1369 | * elf32-xstormy16.c (xstormy16_reloc_map): Add new field 'table'. | |
1370 | (xstormy16_reloc_map): Initialise new field with correct howto | |
1371 | table. | |
1372 | (xstormy16_reloc_type_lookup): Use 'table' field to locate correct | |
1373 | howto entry. | |
1374 | ||
b87011e9 MS |
1375 | 2002-01-10 Michael Snyder <msnyder@redhat.com> |
1376 | ||
1377 | * elf.c (elfcore_write_prstatus): Use long instead of pid_t; | |
1378 | (elfcore_write_pstatus): Use long instead of pid_t; | |
1379 | * elf-bfd.h: Change prototypes to use long instead of pid_t; | |
1380 | ||
175e9962 | 1381 | 2002-01-09 Jason Thorpe <thorpej@wasabisystems.com> |
b4db1224 JT |
1382 | |
1383 | * elf.c: Update copyright years. | |
1384 | (elfcore_grok_netbsd_note): Use NT_NETBSDCORE_PROCINFO | |
1385 | and NT_NETBSDCORE_FIRSTMACH. Improve a comment. | |
1386 | ||
7c76fa91 MS |
1387 | 2002-01-08 Michael Snyder <msnyder@redhat.com> |
1388 | ||
1389 | Add capability to write corefile note sections, for gdb. | |
1390 | * elf.c (elfcore_write_note): New function. | |
1391 | (elfcore_write_prpsinfo): New function. | |
1392 | (elfcore_write_prstatus): New function. | |
1393 | (elfcore_write_pstatus): New function. | |
1394 | (elfcore_write_prfpreg): New function. | |
1395 | (elfcore_write_prxfpreg): New function. | |
97996af6 | 1396 | * elf-bfd.h: Add prototypes for above functions. |
7c76fa91 | 1397 | |
e1fddb6b AO |
1398 | 2002-01-08 Alexandre Oliva <aoliva@redhat.com> |
1399 | ||
1400 | * elf.c (elf_fake_sections): Propagate errors from | |
1401 | elf_backend_fake_section. | |
1402 | ||
8d05742f JT |
1403 | 2002-01-07 Jason Thorpe <thorpej@wasabisystems.com> |
1404 | ||
1405 | * Makefile.am (BFD32_BACKENDS): Add elf32-sh-nbsd.lo. | |
1406 | (BFD32_BACKENDS_CFILES): Add elf32-sh-nbsd.c. | |
1407 | (elf32-sh-nbsd.lo): New rule. | |
1408 | * Makefile.in: Regenerate. | |
1409 | * config.bfd (sh*le-*-netbsdelf*): New target. | |
1410 | (sh*-*-netbsdelf*): New target. | |
1411 | * configure.in: Include netbsd-core.lo for native sh*-*-netbsd*. | |
1412 | (bfd_elf32_shnbsd_vec): New vector. | |
1413 | (bfd_elf32_shlnbsd_vec): New vector. | |
1414 | * configure: Regenerate. | |
1415 | * elf32-sh-nbsd.c: New file. | |
1416 | * targets.c: Update copyright years. | |
175e9962 | 1417 | (_bfd_target_vector): Add bfd_elf32_shlnbsd_vec and |
8d05742f JT |
1418 | bfd_elf32_shnbsd_vec. |
1419 | ||
1dba4cb4 AH |
1420 | 2002-01-07 Aldy Hernandez <aldyh@redhat.com> |
1421 | ||
1422 | * coff-rs6000.c (READ20): Use bfd_scan_vma. | |
1423 | ||
47b22aef GK |
1424 | 2002-01-07 Geoffrey Keating <geoffk@redhat.com> |
1425 | ||
1426 | * elflink.h (elf_link_input_bfd): Don't ask for the merged offset | |
1427 | of a symbol in a section that will be deleted. | |
1428 | ||
be2d1673 NC |
1429 | 2002-01-07 Nick Clifton <nickc@cambridge.redhat.com> |
1430 | ||
1431 | * po/es.po: New file: Spanish translation. | |
1432 | * configure.in (ALL_LINGUAS): Add es. | |
1433 | * configure: Regenerate. | |
1434 | ||
d9cf1b54 AM |
1435 | 2002-01-06 Steve Ellcey <sje@cup.hp.com> |
1436 | ||
1437 | * elfxx-ia64.c (is_unwind_section_name): Add target vector as | |
1438 | argument so we can handle HP-UX specially. | |
1439 | (elfNN_ia64_hpux_vec): New for use in is_unwind_section_name. | |
1440 | (elfNN_hpux_backend_section_from_bfd_section): New for support | |
1441 | of SHN_IA_64_ANSI_COMMON. | |
1442 | (elfNN_ia64_relax_section): Add support for SHN_IA_64_ANSI_COMMON. | |
1443 | (is_unwind_section_name): Add special HP-UX support. | |
1444 | (elfNN_ia64_section_from_shdr): Add support for more sections. | |
1445 | (elfNN_ia64_fake_sections): Modify is_unwind_section_name call and | |
1446 | add support for more sections. | |
1447 | (elfNN_ia64_additional_program_headers): Modify | |
1448 | is_unwind_section_name call. | |
1449 | (elfNN_ia64_modify_segment_map): Remove assumption that there is | |
1450 | only one unwind section in segment. | |
1451 | ||
3f3c5c34 AM |
1452 | 2002-01-06 Alan Modra <amodra@bigpond.net.au> |
1453 | ||
1454 | * syms.c (_bfd_generic_make_empty_symbol): New function. | |
1455 | * libbfd-in.h (_bfd_nosymbols_make_empty_symbol): Define as | |
1456 | _bfd_generic_make_empty_symbol. | |
1457 | * libbfd.h: Regenerate. | |
1458 | * bfd-in2.h: Regenerate. | |
1459 | * hppabsd-core.c (hppabsd_core_make_empty_symbol): Delete function. | |
1460 | (hppabsd_core_get_symtab_upper_bound): Don't define. | |
1461 | (hppabsd_core_get_symtab): Likewise. | |
1462 | (hppabsd_core_print_symbol): Likewise. | |
1463 | (hppabsd_core_get_symbol_info): Likewise. | |
1464 | (hppabsd_core_bfd_is_local_label_name): Likewise. | |
1465 | (hppabsd_core_get_lineno): Likewise. | |
1466 | (hppabsd_core_find_nearest_line): Likewise. | |
1467 | (hppabsd_core_bfd_make_debug_symbol): Likewise. | |
1468 | (hppabsd_core_read_minisymbols): Likewise. | |
1469 | (hppabsd_core_minisymbol_to_symbol): Likewise. | |
1470 | (hppabsd_core_vec): Use BFD_JUMP_TABLE_SYMBOLS (_bfd_nosymbols). | |
1471 | Formatting fixes. | |
1472 | * hpux-core.c: Similarly. | |
1473 | * irix-core.c: Similarly. | |
1474 | * osf-core.c: Similarly. | |
1475 | * sco5-core.c: Similarly. | |
1476 | * binary.c (binary_make_empty_symbol): Remove function, define as | |
1477 | _bfd_generic_make_empty_symbol. | |
1478 | * ihex.c (ihex_make_empty_symbol): Likewise. | |
1479 | * mmo.c (mmo_make_empty_symbol): Likewise. | |
1480 | * ppcboot.c (ppcboot_make_empty_symbol): Likewise. | |
1481 | * srec.c (srec_make_empty_symbol): Likewise. | |
1482 | * versados.c (versados_make_empty_symbol): Likewise. | |
1483 | * vms.c (_bfd_vms_make_empty_symbol): Remove. | |
1484 | (vms_make_empty_symbol): Define as _bfd_generic_make_empty_symbol. | |
1485 | * vms-gsd.c (_bfd_vms_slurp_gsd): Call bfd_make_empty_symbol | |
1486 | rather than _bfd_vms_make_empty_symbol. | |
1487 | * vms-misc.c (new_symbol): Likewise. | |
1488 | ||
3f0a7f7f AM |
1489 | 2002-01-05 Alan Modra <amodra@bigpond.net.au> |
1490 | ||
9e7b37b3 AM |
1491 | * section.c (bfd_section_init): Remove unnecessary initialisations. |
1492 | (bfd_section_list_clear): New function. | |
1493 | (bfd_section_list_remove, bfd_section_list_insert): New macros. | |
1494 | (_bfd_strip_section_from_output): Use them. | |
1495 | * coffcode.h (coff_set_alignment_hook): Likewise. | |
1496 | * elf32-mips.c (_bfd_mips_elf_final_link): Likewise. | |
1497 | * elf64-mips.c (mips_elf64_final_link): Likewise. | |
1498 | * elf64-mmix.c (mmix_elf_final_link): Likewise. | |
1499 | * sunos.c (sunos_add_dynamic_symbols): Likewise. | |
1500 | * xcofflink.c (_bfd_xcoff_bfd_final_link): Likewise. | |
1501 | * bfd-in2.h: Regenerate. | |
1502 | ||
1503 | * netbsd-core.c (netbsd_core_file_p): Use bfd_make_section_anyway | |
1504 | rather than doing our own section handling. Clean up after errors | |
1505 | with bfd_release and bfd_section_list_clear. Handle unexpected | |
1506 | flags. | |
1507 | * aoutf1.h (sunos4_core_file_p): Likewise. | |
1508 | * aix386-core.c (aix386_core_file_p): Likewise. | |
1509 | * cisco-core.c (cisco_core_file_validate): Likewise. | |
1510 | * ptrace-core.c (ptrace_unix_core_file_p): Likewise. | |
1511 | * trad-core.c (trad_unix_core_file_p): Likewise. | |
1512 | ||
1513 | * hppabsd-core.c (hppabsd_core_core_file_p): Clean up after errors | |
1514 | with bfd_release and bfd_section_list_clear. | |
1515 | * hpux-core.c (hpux_core_core_file_p): Likewise. | |
1516 | * irix-core.c (irix_core_core_file_p): Likewise. | |
1517 | * lynx-core.c (lynx_core_file_p): Likewise. | |
1518 | * osf-core.c (osf_core_core_file_p): Likewise. | |
1519 | * rs6000-core.c (rs6000coff_core_p): Likewise. | |
1520 | * sco5-core.c (sco5_core_file_p): Likewise. | |
1521 | ||
3f0a7f7f AM |
1522 | * elf32-mips.c (_bfd_mips_elf_lo16_reloc): Simplify, and perform |
1523 | sign extension adjustments without conditionals. | |
1524 | ||
a3aa38ee JJ |
1525 | 2002-01-04 Jakub Jelinek <jakub@redhat.com> |
1526 | ||
1527 | * elf-eh-frame.c (_bfd_elf_write_section_eh_frame): Don't crash if | |
1528 | CIE at .eh_frame start is removed due to no FDEs referencing it. | |
1529 | ||
8a8b2d4b AJ |
1530 | 2002-01-04 Jason Thorpe <thorpej@wasabisystems.com> |
1531 | ||
1532 | * config.bfd (x86_64-*-netbsd*): New target. | |
1533 | * configure.in (x86_64-*-netbsd*): Set COREFILE | |
1534 | to netbsd-core.lo. | |
1535 | * configure: Regenerated. | |
1536 | ||
04b5af89 TR |
1537 | 2002-01-03 Tom Rix <trix@redhat.com> |
1538 | ||
1539 | * xcofflink.c (_bfd_xcoff_bfd_final_link): Update .pad section ordering | |
1540 | for recent bfd_make_section_anyway change. | |
1541 | ||
51c5503b NC |
1542 | 2002-01-03 Nick Clifton <nickc@cambridge.redhat.com> |
1543 | ||
1544 | * elf32-arm.h (elf32_arm_final_link_relocate): Handle | |
1545 | R_ARM_THM_PC11 reloc. | |
1546 | ||
07f7c046 NC |
1547 | 2002-01-02 Nick Clifton <nickc@cambridge.redhat.com> |
1548 | ||
1549 | * configure.in (LINGUAS): Add ja. | |
1550 | * configure: Regenerate. | |
1551 | * po/ja.po: Import from translation project's web site. | |
1552 | ||
5eefb65f NC |
1553 | 2002-01-02 Nick Clifton <nickc@cambridge.redhat.com> |
1554 | ||
1555 | * elf32-arm.h (elf32_arm_merge_private_bfd_data): Reformat error | |
1556 | messages to ease translation into other languages. | |
1557 | ||
39e90f10 | 1558 | For older changes see ChangeLog-0001 |
56882138 AM |
1559 | \f |
1560 | Local Variables: | |
1561 | mode: change-log | |
1562 | left-margin: 8 | |
1563 | fill-column: 74 | |
1564 | version-control: never | |
1565 | End: |