]>
Commit | Line | Data |
---|---|---|
3c25c5f6 NC |
1 | 2002-04-24 Christian Groessler <chris@groessler.org> |
2 | ||
3 | * coff-z8k.c (extra_case): Fix R_IMM32 relocations: The | |
4 | addresses are 23bit with a special layout, not plain 32bit | |
5 | values. Prevent relocation of immediate values. | |
6 | ||
40d32fc6 CD |
7 | 2002-04-24 Chris G. Demetriou <cgd@broadcom.com> |
8 | ||
9 | * elfxx-mips.c (_bfd_mips_elf_print_private_bfd_data): If MDMX or | |
10 | MIPS-16 ASE flags are set, print something to indicate that. | |
11 | ||
067fa4a6 AM |
12 | 2002-04-23 Alan Modra <amodra@bigpond.net.au> |
13 | ||
14 | * elf32-hppa.c (hppa_type_of_stub): Correct and simplify condition | |
15 | under which a plt call stub is used. | |
16 | (final_link_relocate): Similarly. | |
17 | (allocate_plt_static): Clear h-plabel except when plt entry is | |
18 | exclusively used for a plabel. | |
19 | (allocate_dynrelocs): Use the above to simplify plt sizing. | |
20 | (struct elf32_hppa_link_hash_table): Add has_22bit_branch. | |
21 | (elf32_hppa_link_hash_table_create): Init. | |
22 | (BL22_RP): Define. | |
23 | (hppa_build_one_stub): Use BL22_RP if has_22bit_branch. | |
24 | (elf32_hppa_check_relocs): Set has_22bit_branch. | |
25 | ||
26 | * elf32-hppa.c (elf32_hppa_check_relocs): Remove debug message. | |
27 | (final_link_relocate): Likewise. | |
28 | ||
af40ce3c JJ |
29 | 2002-04-22 Jakub Jelinek <jakub@redhat.com> |
30 | ||
31 | * elf-eh-frame.c (_bfd_elf_discard_section_eh_frame): Don't build | |
32 | search table if some FDE is DW_EH_PE_aligned encoded either. | |
33 | (_bfd_elf_write_section_eh_frame): Handle terminating FDE specially. | |
34 | ||
09ae86c2 JJ |
35 | 2002-04-22 Richard Smith <richard@ex-parrot.com> |
36 | Jakub Jelinek <jakub@redhat.com> | |
37 | ||
38 | * elf-eh-frame.c (struct eh_cie_fde): Add per_encoding_relative. | |
39 | (_bfd_elf_discard_section_eh_frame): Set it for CIEs with pcrel | |
40 | encoded personality. | |
41 | (_bfd_elf_write_section_eh_frame): Adjust pcrel encoded personality | |
42 | for CIE/FDE removal. | |
43 | ||
deeb2cd7 TR |
44 | 2002-04-20 Tom Rix <trix@redhat.com> |
45 | ||
46 | * coff64-rs6000.c (_bfd_xcoff64_swap_aux_in): Fix C_FILE auxent. | |
47 | ||
99dc0092 AM |
48 | 2002-04-20 Alan Modra <amodra@bigpond.net.au> |
49 | ||
aa3d5824 AM |
50 | * archures.c (bfd_lookup_arch): Move the list order comment.. |
51 | (struct bfd_arch_info): ..to where it belongs. | |
52 | * bfd-in2.h: Regenerate. | |
53 | ||
99dc0092 AM |
54 | * archures.c (bfd_lookup_arch): Add comment on list order. |
55 | (bfd_default_set_arch_mach): Use bfd_lookup_arch. | |
56 | * cpu-powerpc.c (bfd_powerpc_archs): Re-order so that the default | |
57 | is always at head of list. | |
58 | ||
7831a775 NC |
59 | 2002-04-18 Nick Clifton <nickc@cambridge.redhat.com> |
60 | ||
61 | * coff-arm.c (coff_thumb_pcrel_12, coff_thumb_pcrel_9, | |
62 | insert_thumb_branch, record_thumb_to_arm_glue): Suppress | |
63 | definition of these functions for ARM_WINCE builds as they are | |
64 | not used. | |
65 | (SWAP_IN_RELOC_OFFSET, SWAP_OUT_RELOC_OFFSET): Do not define | |
66 | for ARM_WINCE builds. | |
67 | ||
68 | 2002-04-18 Nick Clifton <nickc@cambridge.redhat.com> | |
69 | ||
70 | * coff-arm.c (bfd_arm_process_before_allocation): | |
71 | ||
72 | 2002-04-17 J"orn Rennecke <joern.rennecke@superh.com> | |
a44d7f9c JR |
73 | |
74 | * cpu-sh.c (scan_mach): Delete. | |
75 | (arch_info_struct): Replace scan_mach with bfd_default_scan. | |
76 | (bfd_sh_arch): Likewise. | |
77 | ||
3d8dbe36 NC |
78 | 2002-04-16 Nick Clifton <nickc@cambridge.redhat.com> |
79 | ||
80 | * ihex.c (ihex_write_object_contents): Fix check for records | |
81 | crossing 64K boundaries. | |
82 | ||
4ab82700 AM |
83 | 2002-04-16 Alan Modra <amodra@bigpond.net.au> |
84 | ||
85 | * elf32-m32r.c (m32r_elf_add_symbol_hook): Check the hash table | |
86 | type rather than just assuming entries are ELF. | |
87 | * elf32-sh64.c (sh64_elf_add_symbol_hook): Likewise. | |
88 | * elf64-sh64.c (sh64_elf64_add_symbol_hook): Likewise. | |
89 | * elf64-sparc.c (sparc64_elf_add_symbol_hook): Likewise. | |
90 | * elf64-mmix.c (mmix_elf_add_symbol_hook): Use bfd_link_hash_entry | |
91 | rather than elf_link_hash_entry. | |
92 | ||
036fe0fe RH |
93 | 2002-04-15 Richard Henderson <rth@redhat.com> |
94 | ||
95 | * elf32-mips.c (mips_elf32_object_p): Revert 0404 fragment: allow | |
96 | n32 binaries. | |
97 | ||
c4f3d130 NC |
98 | 2002-04-15 Michael Snyder <msnyder@redhat.com> |
99 | ||
100 | * opncls.c (bfd_close): Write contents if writeable. | |
101 | Minor formatting tidy-ups. | |
102 | ||
4ab82700 | 103 | 2002-04-15 Alan Modra <amodra@bigpond.net.au> |
27242387 AM |
104 | |
105 | * elf32-ppc.c (ppc_elf_add_symbol_hook): Check the hash table type. | |
106 | ||
0c04d169 MS |
107 | 2002-04-12 Michael Snyder <msnyder@redhat.com> |
108 | ||
109 | * bfd-in.h (bfd_get_section_lma): New access macro. | |
110 | Minor white-space fix-up. | |
111 | ||
89d4966f AM |
112 | 2002-04-12 Alan Modra <amodra@bigpond.net.au> |
113 | ||
114 | * elf.c (prep_headers): Don't zero EI_OSABI, EI_ABIVERSION or | |
115 | header pad. | |
116 | ||
8d0da3c2 DD |
117 | 2002-04-09 DJ Delorie <dj@redhat.com> |
118 | ||
119 | * elfarm-nabi.c (elf32_arm_howto_table): Fix ABS16 masks. | |
120 | ||
05793179 NC |
121 | 2002-04-09 Casper S. Hornstrup <chorns@users.sourceforge.net> |
122 | ||
123 | * coffcode.h (coff_read_word): New. | |
124 | (coff_compute_checksum): New. | |
125 | (coff_apply_checksum): New. | |
126 | (coff_write_object_contents): Call coff_apply_checksum () to | |
127 | apply checksum to PE image. | |
128 | ||
46fe4e66 AM |
129 | 2002-04-08 Randolph Chung <tausq@debian.org> |
130 | ||
131 | * elf32-hppa.c (hppa_unwind_entry_compare): Move to elf-hppa.h. | |
132 | (elf32_hppa_final_link): Split out sorting logic to.. | |
133 | * elf-hppa.h (elf_hppa_sort_unwind): ..here. | |
134 | (elf_hppa_final_link): Call elf_hppa_sort_unwind. | |
135 | ||
3b5b409c AC |
136 | 2002-04-07 Andrew Cagney <ac131313@redhat.com> |
137 | ||
138 | * configure.in: Add missing ``|'' to powerpc-*-aix4.[4-9]* | |
139 | pattern. | |
140 | * configure: Re-generate. | |
141 | ||
ac7b6ceb AC |
142 | 2002-04-07 Andrew Cagney <ac131313@redhat.com> |
143 | ||
144 | * configure.in: Only define AIX_CORE_DUMPX_CORE when AIX version | |
145 | is greater or equal to 4.3.3. | |
146 | * configure: Regenerate. | |
147 | Fix PR gdb/344. | |
148 | ||
44aa49bb HPN |
149 | 2002-04-05 Hans-Peter Nilsson <hp@axis.com> |
150 | ||
151 | * elf32-cris.c (cris_elf_howto_table) <R_CRIS_16_PCREL, | |
152 | R_CRIS_32_PCREL>: Fix typo in name. | |
153 | (cris_elf_check_relocs): Always create .rela.got here when | |
154 | R_CRIS_16_GOTPLT or R_CRIS_32_GOTPLT is seen. | |
155 | (elf_cris_adjust_gotplt_to_got): Don't create .rela.got here; | |
156 | assume it's created. | |
157 | ||
e2d34d7d DJ |
158 | 2002-04-04 Daniel Jacobowitz <drow@mvista.com> |
159 | ||
160 | * aout-adobe.c (aout_32_bfd_link_hash_table_free): Define. | |
161 | * aout-target.h (MY_bfd_link_hash_table_free): Conditionally | |
162 | define. | |
163 | * aout-tic30.c (MY_bfd_link_hash_table_free): Likewise. | |
164 | * bfd.c (bfd_link_hash_table_free): Define. | |
165 | * binary.c (binary_bfd_link_hash_table_free): Define. | |
166 | * bout.c (b_out_bfd_link_hash_table_free): Define. | |
167 | * coff-rs6000.c (rs6000coff_vec): Include | |
168 | _bfd_generic_link_hash_table_free. | |
169 | (pmac_xcoff_vec): Likewise. | |
170 | * coff64-rs6000.c (rs6000coff64_vec): Likewise. | |
171 | (aix5coff64_vec): Likewise. | |
172 | * coffcode.h (coff_bfd_link_hash_table_free): Conditionally define. | |
173 | * elf-m10300.c (elf32_mn10300_link_hash_table_free): New function. | |
174 | (bfd_elf32_bfd_link_hash_table_free): Define. | |
175 | * elf32-hppa.c (elf32_hppa_link_hash_table_free): New function. | |
176 | (bfd_elf32_bfd_link_hash_table_free): Define. | |
177 | * elfxx-target.h (bfd_elfNN_bfd_link_hash_table_free): Conditionally | |
178 | define. | |
179 | * i386msdos.c (msdos_bfd_link_hash_table_free): Define. | |
180 | * i386os9k.c (os9k_bfd_link_hash_table_free): Define. | |
181 | * ieee.c (ieee_bfd_link_hash_table_free): Define. | |
182 | * ihex.c (ihex_bfd_link_hash_table_free): Define. | |
183 | * libbfd-in.h (_bfd_nolink_bfd_link_hash_table_free): Define. | |
184 | (_bfd_generic_link_hash_table_free): Add prototype. | |
185 | * libcoff-in.h (_bfd_xcoff_bfd_link_hash_table_free): Add prototype. | |
186 | * libecoff.h (_bfd_ecoff_bfd_link_hash_table_free): Define. | |
187 | * linker.c (_bfd_generic_link_hash_table_free): New function. | |
188 | * mmo.c (mmo_bfd_link_hash_table_free): Define. | |
189 | * nlm-target.h (nlm_bfd_link_hash_table_free): Define. | |
190 | * oasys.c (oasys_bfd_link_hash_table_free): Define. | |
191 | * ppcboot.c (ppcboot_bfd_link_hash_table_free): Define. | |
192 | * som.c (som_bfd_link_hash_table_free): Define. | |
193 | * srec.c (srec_bfd_link_hash_table_free): Define. | |
194 | * tekhex.c (tekhex_bfd_link_hash_table_free): Define. | |
195 | * versados.c (versados_bfd_link_hash_table_free): Define. | |
196 | * vms.c (vms_bfd_link_hash_table_free): New function. | |
197 | * xcofflink.c (_bfd_xcoff_bfd_link_hash_table_free): New function. | |
198 | ||
199 | * coff-arm.c (coff_arm_link_hash_table_create): Use bfd_malloc | |
200 | instead of bfd_alloc. | |
201 | * coff-h8300.c (h8300_coff_link_hash_table_create): Likewise. | |
202 | * coff-mcore.c (coff_mcore_link_hash_table_create): Likewise. | |
203 | * coff-ppc.c (ppc_coff_link_hash_table_create): Likewise. | |
204 | * cofflink.c (_bfd_coff_link_hash_table_create): Likewise. | |
205 | * ecoff.c (_bfd_ecoff_bfd_link_hash_table_create): Likewise. | |
206 | * elf-m10300.c (elf32_mn10300_link_hash_table_create): Likewise. | |
207 | * elf.c (_bfd_elf_link_hash_table_create): Likewise. | |
208 | * elf32-arm.h (elf32_arm_link_hash_table_create): Likewise. | |
209 | * elf32-cris.c (elf_cris_link_hash_table_create): Likewise. | |
210 | * elf32-hppa.c (elf32_hppa_link_hash_table_create): Likewise. | |
211 | * elf32-i386.c (elf_i386_link_hash_table_create): Likewise. | |
212 | * elf32-m68k.c (elf_m68k_link_hash_table_create): Likewise. | |
213 | * elf32-s390.c (elf_s390_link_hash_table_create): Likewise. | |
214 | * elf32-sh.c (sh_elf_link_hash_table_create): Likewise. | |
215 | * elf64-alpha.c (elf64_alpha_bfd_link_hash_table_create): Likewise. | |
216 | * elf64-ppc.c (ppc64_elf_link_hash_table_create): Likewise. | |
217 | * elf64-s390.c (elf_s390_link_hash_table_create): Likewise. | |
218 | * elf64-sh64.c (sh64_elf64_link_hash_table_create): Likewise. | |
219 | * elf64-sparc.c (sparc64_elf_bfd_link_hash_table_create): Likewise. | |
220 | * elf64-x86-64.c (elf64_x86_64_link_hash_table_create): Likewise. | |
221 | * elfxx-mips.c (_bfd_mips_elf_link_hash_table_create): Likewise. | |
222 | * linker.c (_bfd_generic_link_hash_table_create): Likewise. | |
223 | * m68klinux.c (linux_link_hash_table_create): Likewise. | |
224 | * sparclinux.c (linux_link_hash_table_create): Likewise. | |
225 | * sunos.c (sunos_link_hash_table_create): Likewise. | |
226 | * xcofflink.c (_bfd_xcoff_bfd_link_hash_table_create): Likewise. | |
227 | ||
228 | * targets.c: Add _bfd_link_hash_table_free to xvec. | |
229 | ||
230 | * bfd-in2.h: Regenerate. | |
231 | * libbfd.h: Regenerate. | |
232 | * libcoff.h: Regenerate. | |
233 | ||
830629ab AM |
234 | 2002-04-04 Alan Modra <amodra@bigpond.net.au> |
235 | ||
236 | * dep-in.sed: Cope with absolute paths. | |
237 | * Makefile.am (dep.sed): Subst TOPDIR, and not INCDIR. | |
238 | Run "make dep-am". | |
239 | * Makefile.in: Regenerate. | |
240 | * coff-arm.c: Fix copyright date. | |
241 | * cpu-h8300.c: Likewise. | |
242 | * cpu-i370.c: Likewise. | |
243 | * cpu-s390.c: Likewise. | |
244 | * cpu-mips.c: Likewise. | |
245 | * po/SRC-POTFILES.in: Regenerate. | |
246 | ||
c6e90b02 TS |
247 | 2002-04-04 Thiemo Seufer <seufer@csv.ica.uni-stuttgart.de> |
248 | ||
249 | * Makefile.am: Add elfxx-mips.c to the known backends. | |
250 | (elf32-mips.lo): remove dependency to coff/external.h. | |
251 | * Makefile.in: Regenerate. | |
252 | * configure.in: Add elfxx-mips.lo to all vectors using elf32-mips.lo | |
253 | Remove elf32-mips.lo from 64 bit vectors. Update dependencies | |
254 | accordingly. | |
255 | * configure: Regenerate. | |
256 | * elf-bfd.h: Move all MIPS ELF specific prototypes to elfxx-mips.h. | |
257 | (irix_compat_t): IRIX compatibility level, moved from elf32-mips.c. | |
258 | (elf_backend_mips_irix_compat, elf_backend_mips_rtype_to_howto): New | |
259 | MIPS specific backend functions. | |
260 | * elf32-mips.c: Moved most code to elfxx-mips.c. | |
261 | (mips_elf_hi16_reloc): Rename from _bfd_mips_elf_hi16_reloc and make | |
262 | static. | |
263 | (mips_elf_lo16_reloc): Likewise, was _bfd_mips_elf_lo16_reloc. | |
264 | (mips_elf_got16_reloc): Likewise, was _bfd_mips_elf_got16_reloc. | |
265 | (mips_elf_gprel32_reloc): Likewise, was _bfd_mips_elf_gprel32_reloc. | |
266 | (mips_elf32_rtype_to_howto): Rename from mips_rtype_to_howto. Changed | |
267 | interface to allow selection of the right REL or RELA howto table. | |
268 | (mips_elf32_object_p): Rename from _bfd_mips_elf_object_p and made | |
269 | static. Let it refuse n32 objects. | |
270 | (elf32_mips_grok_prstatus): Rename from _bfd_elf32_mips_grok_prstatus. | |
271 | (elf32_mips_grok_psinfo): Rename from _bfd_elf32_mips_grok_psinfo. | |
272 | (elf32_mips_discard_info): Rename from _bfd_elf32_mips_discard_info. | |
273 | (elf32_mips_ignore_discarded_relocs): Rename from | |
274 | _bfd_elf32_mips_ignore_discarded_relocs. | |
275 | (elf32_mips_write_section): Rename from _bfd_elf32_mips_write_section. | |
276 | (elf32_mips_irix_compat): New function, replaces IRIX_COMPAT. | |
277 | (elf_mips_howto_table_rela): Remove. | |
278 | * elf64-mips.c: Moved most code to elfxx-mips.c. | |
279 | (bfd_elf64_bfd_reloc_type_lookup): Make static. | |
280 | (mips_elf64_rtype_to_howto): New function. | |
281 | (mips_elf64_object_p): Likewise. | |
282 | (elf64_mips_irix_compat): Likewise. | |
283 | * elfxx-mips.c: New file containing common code merged together from | |
284 | elf32-mips.c and elf64-mips.c. | |
285 | * elfxx-mips.h: New file containing MIPS specific prototypes from | |
286 | elf-bfd.h. | |
287 | * elfxx-target.h: Add handling for elf_backend_mips_irix_compat and | |
288 | elf_backend_mips_rtype_to_howto. | |
289 | ||
d8dce692 AM |
290 | 2002-04-04 Alan Modra <amodra@bigpond.net.au> |
291 | ||
292 | * srec.c (MAXCHUNK, Chunk): Revise comments. | |
293 | (srec_write_record): Correct buffer size. | |
294 | (srec_write_header): Do without intermediate buffer. | |
295 | (srec_write_section): Validate Chunk. | |
296 | (srec_write_terminator): Pass NULL instead of dummy buffer. | |
297 | (srec_write_symbols): Pass file and symbol names directly to | |
298 | bfd_bwrite so sprintf won't overflow buffer. | |
299 | ||
b88a866a JJ |
300 | 2002-04-03 Jakub Jelinek <jakub@redhat.com> |
301 | ||
302 | * elf32-sparc.c (elf32_sparc_relocate_section): Don't emit dynamic | |
303 | PC relative relocs against hidden symbols. | |
304 | * elf64-sparc.c (sparc64_elf_relocate_section): Likewise. | |
305 | ||
d7866f04 AM |
306 | 2002-04-03 Alan Modra <amodra@bigpond.net.au> |
307 | ||
308 | * elf.c (_bfd_elf_make_section_from_shdr): When setting section | |
309 | LMAs, loop over segments until p_vaddr and p_memsz specify an | |
310 | extent enclosing the section. | |
311 | ||
9e81ee67 NC |
312 | 2002-04-02 Nick Clifton <nickc@cambridge.redhat.com> |
313 | ||
314 | * ihex.c (ihex_write_object_contents): Do not allow records to | |
315 | cross a 64K boundary - wrap if necessary. | |
316 | ||
d2b64500 JT |
317 | 2002-04-01 Nathan Williams <nathanw@wasabisystems.com> |
318 | ||
319 | * elf.c (elfcore_netbsd_get_lwpid): Fix off-by-one error | |
320 | which caused the returned LWP ID to always be 0. | |
321 | ||
e36f7d53 RH |
322 | 2002-04-01 Richard Henderson <rth@redhat.com> |
323 | ||
324 | * elf32-sparc.c (WILL_CALL_FINISH_DYNAMIC_SYMBOL): New. | |
325 | (elf32_sparc_relocate_section): Use it to figure out when to | |
326 | initialize .got entries. | |
327 | * elf64-sparc.c: Similarly. | |
328 | ||
e92d460e AM |
329 | 2002-03-28 Alan Modra <amodra@bigpond.net.au> |
330 | ||
331 | * linker.c (link_action): Ignore duplicate warning syms. | |
332 | (_bfd_generic_link_write_global_symbol): Follow warning symbol link. | |
333 | * elflink.h (elf_adjust_dynstr_offsets): Likewise. | |
334 | (elf_adjust_dynamic_symbol): Likewise. | |
335 | (elf_export_symbol): Likewise. | |
336 | (elf_link_find_version_dependencies): Likewise. | |
337 | (elf_link_assign_sym_version): Likewise. | |
338 | (elf_link_sec_merge_syms): Likewise. | |
339 | (elf_link_output_extsym): Likewise. | |
340 | (elf_gc_sweep_symbol): Likewise. | |
341 | (elf_gc_propagate_vtable_entries_used): Likewise. | |
342 | (elf_gc_smash_unused_vtentry_relocs): Likewise. | |
343 | (elf_gc_allocate_got_offsets): Likewise. | |
344 | (elf_collect_hash_codes): Likewise. | |
345 | * elflink.c (elf_link_renumber_hash_table_dynsyms): Likewise. | |
346 | * elf-hppa.h (elf_hppa_unmark_useless_dynamic_symbols): Likewise. | |
347 | (elf_hppa_remark_useless_dynamic_symbols): Likewise. | |
348 | * elf-m10300.c (elf32_mn10300_finish_hash_table_entry): Likewise. | |
349 | * elf32-arm.h (elf32_arm_discard_copies): Likewise. | |
350 | * elf32-cris.c (elf_cris_adjust_gotplt_to_got): Likewise. | |
351 | (elf_cris_discard_excess_dso_dynamics): Likewise. | |
352 | * elf32-hppa.c (clobber_millicode_symbols): Likewise. | |
353 | (mark_PIC_calls): Likewise. | |
354 | (allocate_plt_static): Likewise. | |
355 | (allocate_dynrelocs): Likewise. | |
356 | (readonly_dynrelocs): Likewise. | |
357 | * elf32-i386.c (allocate_dynrelocs): Likewise. | |
358 | (readonly_dynrelocs): Likewise. | |
359 | * elf32-i370.c (i370_elf_adjust_dynindx): Likewise. | |
360 | * elf32-m68k.c (elf_m68k_discard_copies): Likewise. | |
361 | * elf32-mips.c (mips_elf_output_extsym): Likewise. | |
362 | (mips_elf_sort_hash_table_f): Likewise. | |
363 | (mips_elf_check_mips16_stubs): Likewise. | |
364 | * elf32-s390.c (allocate_dynrelocs): Likewise. | |
365 | (readonly_dynrelocs): Likewise. | |
366 | * elf32-sh.c (sh_elf_discard_copies): Likewise. | |
367 | * elf32-xstormy16.c (xstormy16_relax_plt_check): Likewise. | |
368 | (xstormy16_relax_plt_realloc): Likewise. | |
369 | * elf64-alpha.c (elf64_alpha_calc_got_offsets_for_symbol): Likewise. | |
370 | (elf64_alpha_output_extsym): Likewise. | |
371 | * elf64-hppa.c (elf64_hppa_mark_exported_functions): Likewise. | |
372 | * elf64-mips.c (mips_elf64_sort_hash_table_f): Likewise. | |
373 | (mips_elf64_check_mips16_stubs): Likewise. | |
374 | (mips_elf64_output_extsym): Likewise. | |
375 | * elf64-ppc.c (func_desc_adjust): Likewise. | |
376 | (allocate_dynrelocs): Likewise. | |
377 | (readonly_dynrelocs): Likewise. | |
378 | * elf64-s390.c (allocate_dynrelocs): Likewise. | |
379 | (readonly_dynrelocs): Likewise. | |
380 | * elf64-sh64.c (sh64_elf64_discard_copies): Likewise. | |
381 | * elf64-x86-64.c (allocate_dynrelocs): Likewise. | |
382 | (readonly_dynrelocs): Likewise. | |
383 | * elfxx-ia64.c (elfNN_ia64_global_dyn_sym_thunk): Likewise. | |
384 | * aoutx.h (aout_link_write_other_symbol): Likewise. | |
385 | * cofflink.c (_bfd_coff_write_task_globals): Likewise. | |
386 | (_bfd_coff_write_global_sym): Likewise. | |
387 | * i386linux.c (linux_tally_symbols): Likewise. | |
388 | * m68klinux.c (linux_tally_symbols): Likewise. | |
389 | * sparclinux.c (linux_tally_symbols): Likewise. | |
390 | * pdp11.c (aout_link_write_other_symbol): Likewise. | |
391 | * sunos.c (sunos_scan_dynamic_symbol): Likewise. | |
392 | * xcofflink.c (xcoff_build_ldsyms): Likewise. | |
393 | (xcoff_write_global_symbol): Likewise. | |
394 | ||
395 | * cofflink.c (_bfd_coff_final_link): Formatting. | |
396 | * cpu-mips.c (mips_compatible): Make static, prototype. | |
397 | * elf32-i386.c (elf_i386_check_relocs): Formatting. | |
398 | * elf32-sh.c (sh_elf_size_dynamic_sections): Likewise. | |
399 | * elf64-alpha.c (elf64_alpha_output_extsym): Likewise. | |
400 | * elf64-mips.c (mips_elf64_sort_hash_table): Likewise. | |
401 | (mips_elf64_final_link): Likewise. | |
402 | * elflink.h (elf_link_find_version_dependencies): Remove duplicate | |
403 | prototype. | |
404 | ||
2106126f NC |
405 | 2002-03-27 Nick Clifton <nickc@cambridge.redhat.com> |
406 | ||
407 | * coff-arm.c (SWAP_IN_RELOC_OFFSET): Define. | |
408 | (SWAP_OUT_RELOC_OFFSET): Define. | |
409 | ||
b99d1833 AM |
410 | 2002-03-27 Gregory Steuck <greg@nest.cx> |
411 | ||
412 | * elf.c (_bfd_elf_get_symtab_upper_bound): Leave space for | |
413 | terminating NULL if empty symbol table. | |
414 | (_bfd_elf_get_dynamic_symtab_upper_bound): Likewise. | |
415 | ||
ad43ed4c L |
416 | 2002-03-26 H.J. Lu (hjl@gnu.org) |
417 | ||
418 | * elflink.h (elf_link_input_bfd): Revert the last change since | |
419 | the gcc exception handling isn't fixed yet. | |
420 | ||
3851fca4 L |
421 | 2002-03-26 H.J. Lu (hjl@gnu.org) |
422 | ||
423 | * elflink.h (elf_link_input_bfd): Complain about relocations | |
424 | against local symbols in discarded sections. | |
425 | ||
b91afed7 AM |
426 | 2002-03-26 Alan Modra <amodra@bigpond.net.au> |
427 | ||
428 | * elflink.h (elf_gc_mark): Don't recurse into non-ELF sections. | |
429 | ||
dba143ef AM |
430 | 2002-03-23 Alan Modra <amodra@bigpond.net.au> |
431 | ||
432 | * elf.c (_bfd_elf_make_section_from_shdr): Don't set lma based on | |
433 | section file offset for !SEC_LOAD sections. | |
434 | ||
ee29b9fb RE |
435 | 2002-03-21 Richard Earnshaw <rearnsha@arm.com> |
436 | ||
830629ab AM |
437 | * elf32-arm.h (elf32_arm_final_link_relocate <case R_ARM_GOTOFF>, |
438 | <case R_ARM_GOT>): Handle relocations to Thumb functions. | |
ee29b9fb | 439 | |
54327882 AM |
440 | 2002-03-21 Alan Modra <amodra@bigpond.net.au> |
441 | ||
442 | * coff64-rs6000.c (_bfd_xcoff64_put_symbol_name): Prototype. | |
443 | Whitespace changes. | |
444 | * archive.c: Update copyright date. | |
445 | * bfd-in2.h: Regenerate. | |
446 | * libbfd.h: Regenerate. | |
447 | * Makefile.am: Run "make dep-am" | |
448 | * Makefile.in: Regenerate. | |
449 | * po/SRC-POTFILES.in: Regenerate. | |
450 | ||
1ee24f27 DJ |
451 | 2002-03-20 Daniel Jacobowitz <drow@mvista.com> |
452 | ||
453 | * dwarf2.c (struct funcinfo): Move up. | |
454 | (lookup_address_in_function_table): New argument function_ptr. | |
455 | Set it. | |
456 | (lookup_address_in_line_table): New argument function. If function | |
457 | is non-NULL, use it to handle ``addr'' before the first line note of | |
458 | the function. | |
459 | (comp_unit_find_nearest_line): Update and swap calls to | |
460 | lookup_address_in_function_table and lookup_address_in_line_table. | |
461 | * syms.c (_bfd_stab_section_find_nearest_line): Use the first | |
462 | N_SLINE encountered if we see an N_FUN before any N_SLINE. | |
463 | ||
51b9608c TR |
464 | 2002-03-20 Tom Rix <trix@redhat.com> |
465 | ||
466 | * coff-rs6000.c (_bfd_xcoff_stat_arch_elt): Renamed from | |
467 | _bfd_xcoff_generic_stat_arch_elt. Fix format check. | |
468 | * coff64-rs6000.c : Use _bfd_xcoff_stat_arch_elt. | |
469 | ||
789c90aa TR |
470 | 2002-03-19 Tom Rix <trix@redhat.com> |
471 | ||
472 | * xcofflink.c (_bfd_xcoff_bfd_link_add_symbols): Look through all | |
473 | dynamic objects in archives. | |
474 | ||
1da54d81 HPN |
475 | 2002-03-19 Hans-Peter Nilsson <hp@bitrange.com> |
476 | ||
477 | * elflink.h (NAME(bfd_elf,record_link_assignment)): Don't set | |
478 | STT_NOTYPE symbols to STT_OBJECT. | |
479 | ||
7831a775 | 480 | 2002-03-18 Jan Hubicka <jh@suse.cz> |
beb43bb9 JH |
481 | |
482 | * cpu-i386.c (bfd_x86_64_arch): Rename to "i386:x86-64" | |
483 | ||
eb1e0e80 NC |
484 | 2002-03-18 Tom Rix <trix@redhat.com> |
485 | ||
486 | * aix5ppc.core.c : New file for AIX 5 64 bit core support. | |
487 | * bfd-in.h : Add bfd_xcoff_ar_archive_set_magic declaration. | |
488 | * coff-rs6000 (do_pad) : New function for archive padding. | |
489 | (do_copy) : New function for object file copying in archives. | |
490 | (do_shared_object_padding) : New function for padding shared | |
491 | objects to their text section alignment in archives. | |
492 | (bfd_xcoff_ar_achive_set_magic) : Stub. | |
493 | (xcoff_write_armap_big) : Use do_copy and do_pad. | |
494 | (xcoff_write_archive_contents_big) : Use do_shared_object_padding, | |
495 | do_copy and do_pad. | |
496 | * coff64-rs6000.c (xcoff64_write_ojbect_contents) : Use | |
497 | bfd_xcoff_magic_number. | |
498 | (xcoff64_bad_format_hook) : New function for _bfd_bad_format_hook | |
499 | fop. | |
500 | (xcoff_backend_data_r) : Use xcoff64_bad_format_hook. | |
501 | (bfd_xcoff_aix5_backend_data) : New Aix 5 backend data. | |
502 | (aix5coff64_vec) : New Aix 5 target aix5coff64-rs6000. | |
503 | * rs6000-core.c : Update copyright date. | |
504 | * xcofflink.c (bfd_xcoff_size_dynamic_sections): Check for NULL | |
505 | csectpp. | |
506 | * coffcode.h (coff_new_section_hook) : Use new accessor macros. | |
507 | (coff_set_arch_mach_hook) : Add Aix 5 U64_TOCMAGIC magic #. | |
508 | (coff_set_flags) : Use bfd_xcoff_magic_number. | |
509 | * libxcoff.h (bfd_xcoff_is_xcoff64): Add U64_TOCMAGIC. | |
510 | * configure.in : Add powerpc-*-aix5 and rs6000-*-aix5 support. | |
511 | * Makefile.am : Same. | |
512 | * config.bfd : Same. | |
513 | * targets.c : Same. | |
514 | * configure : Regnerate. | |
515 | * Makefile.in : Same. | |
516 | * bfd-in2.h : Same. | |
517 | ||
a1c259a1 NC |
518 | 2002-03-18 Nick Clifton <nickc@cambridge.redhat.com> |
519 | ||
520 | * po/fr.po: Updated version. | |
521 | ||
4dae1ae7 AM |
522 | 2002-03-18 Alan Modra <amodra@bigpond.net.au> |
523 | ||
524 | * libbfd.c (bfd_write_bigendian_4byte_int): Return true iff success. | |
525 | * libbfd.h: Regenerate. | |
526 | * archive.c (coff_write_armap): Pass on failures from | |
527 | bfd_write_bigendian_4byte_int. | |
528 | ||
36b4f6e7 L |
529 | 2002-03-14 H.J. Lu <hjl@gnu.org> |
530 | ||
531 | * elflink.h (NAME(bfd_elf,size_dynamic_sections)): Set the BFD | |
532 | error to bfd_error_nonrepresentable_section for reinit_array | |
533 | section in DSO. | |
534 | ||
a1aefc76 NC |
535 | 2002-03-14 Nick Clifton <nickc@cambridge.redhat.com> |
536 | ||
a181be0a NC |
537 | * coffcode.h (coff_slurp_symbol_table): When adding BSF_WEAK flag, |
538 | OR it in rather than replacing previously selected flags. | |
539 | ||
a1aefc76 NC |
540 | * elfxx-target.h (TARGET_BIG_SYM): Set ar_max_namelen to 15. |
541 | (TARGET_LITTLE_SYM): Set ar_max_namelen to 15. | |
542 | ||
c119f9b8 AM |
543 | 2002-03-14 Alan Modra <amodra@bigpond.net.au> |
544 | ||
545 | * cpu-mips.c (mips_compatible): New. Don't check bits_per_word. | |
546 | (N): Use the above. | |
547 | * elflink.h (elf_bfd_final_link): Revert last change. Instead, | |
548 | ensure reloc size matches before calling elf_link_input_bfd. | |
549 | Add an assert to check reloc size when counting output relocs. | |
550 | ||
c295a511 NC |
551 | 2002-03-14 Nick Clifton <nickc@cambridge.redhat.com> |
552 | ||
553 | * mmo.c (mmo_get_loc): Return NULL rather than false. | |
554 | ||
9ce88e60 NC |
555 | 2002-03-13 Nick Clifton <nickc@cambridge.redhat.com> |
556 | ||
557 | * po/fr.po: Updated version. | |
558 | ||
4ddafab0 AM |
559 | 2002-03-13 Alan Modra <amodra@bigpond.net.au> |
560 | ||
b74fa2cd AM |
561 | * archures.c (bfd_default_compatible): Test bits_per_word. |
562 | * cpu-i386.c (i386_compatible): Remove. Replace occurrences with | |
563 | bfd_default_compatible. | |
564 | * cpu-i370.c (i370_compatible): Likewise. | |
565 | * cpu-sparc.c (sparc_compatible): Likewise. | |
566 | * cpu-h8300.c (compatible): Test in->arch == out->arch. | |
567 | ||
40b829d4 AM |
568 | * elflink.h: Formatting fixes. |
569 | (elf_link_output_extsym): Merge undefined and undef weak cases. | |
570 | ||
4ddafab0 AM |
571 | * elflink.h (elf_bfd_final_link): Only call elf_link_input_bfd |
572 | when word size of input matches output word size. | |
573 | ||
dd53c801 AJ |
574 | 2002-03-12 Andreas Jaeger <aj@suse.de> |
575 | ||
576 | * cpu-i386.c (i386_compatible): New. Use it instead of | |
577 | bfd_default_compatible. | |
578 | ||
aa066ac8 L |
579 | 2002-03-07 H.J. Lu (hjl@gnu.org) |
580 | ||
581 | * coff-sh.c (shcoff_reloc_map): Use bfd_reloc_code_real_type | |
582 | as the type for bfd_reloc_val. | |
583 | ||
1bf42538 JL |
584 | 2002-03-05 John David Anglin <dave@hiauly1.hia.nrc.ca> |
585 | ||
586 | * elf-hppa.h (elf_hppa_is_dynamic_loader_symbol): New function. | |
587 | (elf_hppa_relocate_section): Ignore undefined dynamic loader symbols. | |
588 | (elf_hppa_final_link_relocate): Correct relocations for indirect | |
589 | references to local data through the DLT. Fix .opd creation for | |
590 | local symbols using R_PARISC_LTOFF_FPTR32 and R_PARISC_FPTR64 | |
591 | relocations. Use e_lsel selector for R_PARISC_DLTIND21L, | |
592 | R_PARISC_LTOFF_FPTR21L and R_PARISC_LTOFF_TP21L as per | |
593 | "Processor-Specific ELF for PA_RISC, Version 1.43" document. | |
594 | Similarly, use e_rsel for DLT and LTOFF 'R' relocations. | |
595 | * elf32-hppa.c (final_link_relocate): Revise relocation selectors | |
596 | as per "Processor-Specific ELF for PA_RISC, Version 1.43" document. | |
597 | ||
86eaf01e JJ |
598 | 2002-03-05 Jakub Jelinek <jakub@redhat.com> |
599 | ||
600 | * merge.c (_bfd_merge_sections): Don't segfault if there | |
601 | is nothing to merge due to GC. | |
602 | ||
c44233aa AM |
603 | 2002-03-05 Alan Modra <amodra@bigpond.net.au> |
604 | ||
039cc25f AM |
605 | * elf32-hppa.c (clobber_millicode_symbols): Remove hack to keep |
606 | symbols that have been forced local. | |
607 | ||
c44233aa AM |
608 | * elflink.h (elf_bfd_final_link): Call elf_link_output_extsym |
609 | to output forced local syms for non-shared link. | |
610 | (elf_link_output_extsym): Tweak condition for calling backend | |
611 | adjust_dynamic_symbol so that previous behaviour is kept. | |
612 | Whitespace changes throughout file. | |
613 | ||
25e27870 L |
614 | 2002-03-04 H.J. Lu <hjl@gnu.org> |
615 | ||
616 | * elf.c (bfd_section_from_shdr): Handle special sections, | |
617 | .init_array, .fini_array and .preinit_array. | |
618 | (elf_fake_sections): Likewise. | |
619 | ||
620 | * elflink.h (NAME(bfd_elf,size_dynamic_sections)): Create the | |
621 | DT entry only if the section is in output for .init_array, | |
622 | .fini_array and .preinit_array. Complain about .preinit_array | |
623 | section in DSO. | |
624 | (elf_bfd_final_link): Warn zero size for .init_array, | |
625 | .fini_array and .preinit_array sections. | |
626 | ||
627 | * elfxx-ia64.c (elfNN_ia64_section_from_shdr): Remove | |
628 | SHT_INIT_ARRAY, SHT_FINI_ARRAY and SHT_PREINIT_ARRAY. | |
629 | (elfNN_ia64_fake_sections): Remove .init_array, .fini_array and | |
630 | .preinit_array. | |
631 | ||
bb2a49f2 AM |
632 | 2002-03-04 Alan Modra <amodra@bigpond.net.au> |
633 | ||
634 | * configure.in (WIN32LIBADD): Don't eval PICFLAG assignment. | |
635 | * configure: Regenerate. | |
636 | ||
38487e5e TR |
637 | 2002-03-02 Tom Rix <trix@redhat.com> |
638 | ||
c44233aa AM |
639 | * coff64-rs6000.c (xcoff64_howto_table): Replace howto types with |
640 | symbolic equiv. | |
38487e5e TR |
641 | * coff-rs6000.c (xcoff_howto_table): Same. |
642 | ||
30831527 RH |
643 | 2002-03-01 David Mosberger <davidm@hpl.hp.com> |
644 | ||
645 | * elflink.h (size_dynamic_sections): If section named | |
646 | ".preinit_array" exists, create DT_PREINIT_ARRAY and | |
647 | DT_PREINIT_ARRAYSZ entries in dynamic table. Analogously for | |
648 | ".init_array" and ".fini_array". | |
649 | (elf_bfd_final_link): Handle DT_PREINIT_ARRAYSZ, DT_INIT_ARRAYSZ, | |
650 | DT_FINI_ARRAYSZ, DT_PREINIT_ARRAY, DT_INIT_ARRAY, and | |
651 | DT_FINI_ARRAY. | |
652 | ||
c8e5ddc8 AM |
653 | 2002-02-26 Andrew Macleod <amacleod@cygnus.com> |
654 | ||
655 | * elflink.h (elf_bfd_final_link): Don't crash on SHN_UNDEF local | |
656 | dynsyms. | |
657 | ||
96e0dda4 AM |
658 | 2002-02-25 Alan Modra <amodra@bigpond.net.au> |
659 | ||
1c5b6bf8 AM |
660 | * elf64-hppa.h: Update copyright date. |
661 | ||
96e0dda4 AM |
662 | * elf64-ppc.c (ppc64_elf_check_relocs): Warning fix. |
663 | (ppc64_elf_relocate_section): Don't generate power4 style branch | |
664 | hints for *_BRTAKEN and *_BRNTAKEN relocs. | |
665 | ||
0fb19cbc JJ |
666 | 2002-02-22 Jakub Jelinek <jakub@redhat.com> |
667 | ||
668 | * elf64-sh64.c (sh_elf64_relocate_section): Fix a typo from my | |
669 | last patch. | |
670 | * elf64-x86-64.c (elf64_x86_64_relocate_section): Likewise. | |
671 | ||
c434dee6 AJ |
672 | 2002-02-21 Andreas Jaeger <aj@suse.de> |
673 | ||
674 | * elf64-x86-64.c: Major rework that introduces all recent changes | |
675 | to the x86-64 backend. Get a closer match to elf32-i386. | |
676 | (struct elf64_x86_64_dyn_relocs): Rename from | |
677 | elf64_x86_64_pcrel_relocs_copied, add additional fields. Change | |
678 | all users. | |
679 | (struct elf64_x86_64_link_hash_table): Add short cuts to some | |
680 | sections. | |
681 | (link_hash_newfunc): Rename from elf64_x86_64_link_hash_newfunc, | |
682 | remove casts, initialize new hash members. | |
683 | (create_got_section): New. | |
684 | (elf64_x86_64_create_dynamic_sections): New. | |
685 | (elf64_x86_64_copy_indirect_symbol): New. | |
686 | (elf64_x86_64_check_relocs): Don't allocate space for dynamic | |
687 | relocs, .got or .relgot here but do it in allocate_dynrelocs. | |
688 | Reference count possible .plt and .got entries. Don't test input | |
689 | section SEC_READONLY here to try to avoid copy relocs, and keep | |
690 | dyn_relocs regardless of ELF_LINK_NON_GOT_REF. Don't set | |
691 | DF_TEXTREL here. Delay setting of variables until needed. Cache | |
692 | pointer to "sreloc" section in elf_section_data. Tweak condition | |
693 | under which .got created. Report files with bad relocation | |
694 | section names. | |
695 | (elf64_x86_64_gc_sweep_hook): Sweep dyn_relocs and local_dynrel. | |
696 | Reference count possible .plt entries. Don't deallocate .got and | |
697 | .relgot space here. | |
698 | (elf64_x86_64_adjust_dynamic_symbol): Handle nocopyreloc. Don't | |
699 | do copy reloc processing for weakdefs. Remove redundant casts and | |
700 | aborts. Delay setting of vars until needed. Move creation of | |
701 | dynamic symbols and allocation of .plt and .rela.plt to | |
702 | allocate_dynrelocs. Replace BFD_ASSERT with abort. | |
703 | (WILL_CALL_FINISH_DYNAMIC_SYMBOL): New. | |
704 | (allocate_dynrelocs): New. | |
705 | (readonly_dynrelocs): New. | |
706 | (elf64_x86_64_size_dynamic_sections): Call readonly_dynrelocs. | |
707 | Allocate space for dyn relocs. Replace BFD_ASSERT with abort. | |
708 | Zero out the dynamic allocated content space. | |
709 | (elf64_x86_64_discard_copies): Removed. | |
710 | (elf64_x86_64_relocate_section): Make use of dynamic section | |
711 | short-cuts. Localise vars, and delay setting. Better error | |
712 | reporting, replace BFD_ASSERT with abort. Check | |
713 | ELF_LINK_HASH_DEF_DYNAMIC to see if a symbol is not defined in the | |
714 | regular object file and tread the weak definition as the normal | |
715 | one. Don't discard relocs for undefweak or undefined symbols and | |
716 | check !DEF_REGULAR as well as DEF_DYNAMIC in test for avoided copy | |
717 | relocs. | |
718 | (elf64_x86_64_finish_dynamic_symbol): Don't copy relocs for | |
719 | symbols that have been forced local. Use same test to decide if | |
720 | we can use a relative reloc for got as relocate_section. Expand | |
721 | SHN_UNDEF comment. Move expressions out of function calls. | |
722 | Replace BFD_ASSERT with abort. | |
723 | (bfd_elf64_bfd_final_link): Removed. | |
724 | (elf_backend_copy_indirect_symbol): Define. | |
725 | ||
ff3a6ee3 TR |
726 | 2002-02-20 Tom Rix <trix@redhat.com> |
727 | ||
728 | * coff-rs6000.c (xcoff_howto_table): Add 16 bit R_BA. | |
729 | (_bfd_xcoff_reloc_type_lookup): Use it. | |
730 | * coff64-rs6000.c (xcoff64_howto_table): Same. | |
731 | (xcoff64_reloc_type_lookup): Same. | |
c434dee6 | 732 | |
a68d41fb AM |
733 | 2002-02-20 Peter Schauer <pes@regent.e-technik.tu-muenchen.de> |
734 | ||
735 | * osf-core.c (osf_core_vec): OSF/1 (Digital Unix) core files are | |
736 | little endian. | |
737 | ||
befc3abb MS |
738 | 2002-02-19 Martin Schwidefsky <schwidefsky@de.ibm.com> |
739 | ||
740 | * archures.c (bfd_mach_s390_esa): Rename to bfd_mach_s390_31. | |
741 | (bfd_mach_s390_esame): Rename to bfd_mach_s390_64. | |
742 | * bfd-in2.h: Regenerate. | |
743 | * cpu-s390.c (arch_info_struct): Use renamed architecture defines. | |
744 | Replace architecture name "s390" with "s390:31-bit" and "s390:esame" | |
745 | with "s390:64-bit". | |
746 | * elf32-s390.c (elf_howto_table): Add 32 bit pc relative relocations. | |
747 | (elf_s390_reloc_type_lookup): Likewise. | |
748 | (elf_s390_check_relocs): Likewise. | |
749 | (elf_s390_gc_sweep_hook): Likewise. | |
750 | (elf_s390_relocate_section): Likewise. | |
751 | (elf_s390_object_p): Use renamed architecture define. | |
752 | * elf64-s390.c (elf_s390_object_p): Use renamed architecture define. | |
753 | ||
6eeeec9b FCE |
754 | 2002-02-19 Frank Ch. Eigler <fche@redhat.com> |
755 | ||
756 | * syms.c (stt[]): Sorted. Added .init/.fini -> "t" mapping. | |
757 | ||
0bb2d96a JJ |
758 | 2002-02-19 Jakub Jelinek <jakub@redhat.com> |
759 | ||
760 | * elf-eh-frame.c (_bfd_elf_discard_section_eh_frame): Enable | |
761 | absptr -> pcrel optimization for shared libs. | |
762 | Only create minimal .eh_frame_hdr if absptr FDE encoding in shared | |
763 | library cannot be converted to pcrel. | |
764 | (_bfd_elf_eh_frame_section_offset): Return -2 if making absptr | |
765 | relative. | |
766 | * elf32-i386.c (elf_i386_relocate_section): If | |
767 | _bfd_elf_section_offset returned -2, skip, but make sure the | |
768 | relocation is installed. | |
769 | * elf32-arm.h (elf32_arm_final_link_relocate): Likewise. | |
770 | * elf32-cris.c (cris_elf_relocate_section): Likewise. | |
771 | * elf32-hppa.c (elf32_hppa_relocate_section): Likewise. | |
772 | * elf32-i370.c (i370_elf_relocate_section): Likewise. | |
773 | * elf32-m68k.c (elf_m68k_relocate_section): Likewise. | |
774 | * elf32-ppc.c (ppc_elf_relocate_section): Likewise. | |
775 | * elf32-s390.c (elf_s390_relocate_section): Likewise. | |
776 | * elf32-sh.c (sh_elf_relocate_section): Likewise. | |
777 | * elf32-sparc.c (elf32_sparc_relocate_section): Likewise. | |
778 | * elf64-ppc.c (ppc64_elf_relocate_section): Likewise. | |
779 | * elf64-s390.c (elf_s390_relocate_section): Likewise. | |
780 | * elf64-sh64.c (sh_elf64_relocate_section): Likewise. | |
781 | * elf64-sparc.c (sparc64_elf_relocate_section): Likewise. | |
782 | * elf64-x86-64.c (elf64_x86_64_relocate_section): Likewise. | |
783 | * elf64-alpha.c (elf64_alpha_relocate_section): Handle | |
784 | _bfd_elf_section_offset returning -2 the same way as -1. | |
785 | * elfxx-ia64.c (elfNN_ia64_install_dyn_reloc): Likewise. | |
786 | * elf32-mips.c (mips_elf_create_dynamic_relocation): Add FIXME | |
787 | and BFD_ASSERT. | |
788 | * elf64-mips.c (mips_elf64_create_dynamic_relocation): Likewise. | |
789 | ||
69f284c7 TR |
790 | 2002-02-18 Tom Rix <trix@redhat.com> |
791 | ||
792 | * xcofflink.c (bfd_xcoff_link_gernate_rtinit): Add -brtl support. | |
793 | (bfd_xcoff_size_dynamic_sections): Same. | |
794 | * bfd-in.h (bfd_xcoff_link_generate_rtinit): Same. | |
795 | (bfd_xcoff_size_dynamic_sections): Same. | |
796 | * coff-rs6000.c (xcoff_generate_rtinit): Same. | |
797 | * coff-rs646000.c (xcoff64_generate_rtinit): Same. | |
798 | * libxcoff.h (struct xcoff_backend_data_rec): Same. | |
799 | * xcofflink.c (xcoff_build_ldsyms, xcoff_link_add_symbols): Clean. | |
800 | * bfd-in2.h: Regenerate. | |
801 | ||
82bd7b59 AM |
802 | 2002-02-18 Alan Modra <amodra@bigpond.net.au> |
803 | ||
804 | * elf64-ppc.c (STFD_FR0_0R1, LFD_FR0_0R1, BLR): Define. | |
805 | (struct ppc_link_hash_table): Add sfpr. | |
806 | (ppc64_elf_link_hash_table_create): Init it. | |
807 | (ppc64_elf_create_dynamic_sections): Split creation of .stub and | |
808 | .glink out to.. | |
809 | (create_linkage_sections): ..here. Make .sfpr too. | |
810 | (ppc64_elf_check_relocs): Call create_linkage_sections, and set | |
811 | dynobj early. | |
812 | (MIN_SAVE_FPR, MAX_SAVE_FPR): Define. | |
813 | (ppc64_elf_func_desc_adjust): Look for missing ._savef* and | |
814 | ._restf* functions, and create as needed. | |
815 | (func_desc_adjust): Only force_local for shared libs. | |
816 | ||
ef1355e8 NC |
817 | 2002-02-18 David O'Brien <obrien@FreeBSD.org> |
818 | ||
819 | * configure.in: Bump version number post 2.12 branching. | |
820 | * configure: Regenerate. | |
821 | ||
dfa36a69 HPN |
822 | 2002-02-17 Hans-Peter Nilsson <hp@bitrange.com> |
823 | ||
824 | * mmo.c: Correct and improve comments. | |
825 | (mmo_write_chunk): Store trailing byte in bfd buffer; don't | |
826 | zero-pad. Use input to fill up non-empty bfd buffer. | |
827 | (mmo_flush_chunk): New function. | |
828 | (mmo_write_loc_chunk): Add parameter last_vmap, all callers | |
829 | changed. Don't emit location specifier if VMA is same as | |
830 | *LAST_VMAP after omitting leading zero contents. Call | |
831 | mmo_flush_chunk before emitting location specifier. | |
832 | (mmo_write_loc_chunk_list): Call mmo_flush_chunk when finished | |
833 | with mmo_write_loc_chunk calls. | |
834 | (mmo_internal_write_section): Call mmo_flush_chunk after | |
835 | mmo_write_chunk. | |
836 | (mmo_write_symbols_and_terminator): Move :Main to first position | |
837 | in symbol array. Add faked one if it does not exist if there are | |
838 | other symbols. Don't add it if there are no symbols at all. Move | |
839 | out test for value of :Main from symbol loop. Rename table | |
840 | fakemain to maintable and variable mainsym to fakemain. | |
841 | ||
ccf00ab6 RH |
842 | 2002-02-15 Richard Henderson <rth@redhat.com> |
843 | ||
844 | * elf64-alpha.c (elf64_alpha_relocate_section) [BRSGP]: A target | |
845 | section with no got matches any got. Simplify error generaion. | |
846 | ||
88eaccc2 AM |
847 | 2002-02-15 Alan Modra <amodra@bigpond.net.au> |
848 | ||
fd96f80f AM |
849 | Support arbitrary length fill patterns. |
850 | * linker.c (bfd_new_link_order): Zero all fields with bfd_zalloc. | |
851 | (_bfd_default_link_order): Remove bfd_fill_link_order code. | |
852 | Call default_data_link_order. | |
853 | (default_fill_link_order): Delete. | |
854 | (default_data_link_order): New function. | |
855 | * elf32-mips.c (_bfd_mips_elf_final_link): Replace occurrences | |
856 | of bfd_fill_link_order with bfd_data_link_order. | |
857 | * elf64-alpha.c (elf64_alpha_final_link): Likewise. | |
858 | * elf64-mips.c (mips_elf64_final_link): Likewise. | |
859 | ||
88eaccc2 AM |
860 | * bfd.c (bfd_scan_vma): Clamp overflows to max bfd_vma value. |
861 | Correct value returned in "end" for "0x<non-hex>". | |
862 | ||
e2fd756b NC |
863 | 2002-02-14 Nick Clifton <nickc@cambridge.redhat.com> |
864 | ||
865 | * cpu-arm.c (processors): Replace 'arch' field with 'mach'. | |
866 | (scan): Test against 'mach' field in info structure. | |
867 | ||
edd29cf9 AM |
868 | 2002-02-14 Alan Modra <amodra@bigpond.net.au> |
869 | ||
870 | * elf.c (elf_fake_sections): Use SHT_NOBITS when SEC_NEVER_LOAD. | |
871 | ||
1e30956e | 872 | 2002-02-14 Matt Fredette <fredette@netbsd.org> |
76f57f3a JT |
873 | |
874 | * elf32-m68k.c (elf32_m68k_print_private_bfd_data): Recognize | |
875 | EF_M68000. | |
876 | ||
bf36db18 NC |
877 | 2002-02-13 Nick Clifton <nickc@cambridge.redhat.com> |
878 | ||
879 | * elf.c (_bfd_elf_make_section_from_shdr): Do not insist on | |
edd29cf9 AM |
880 | non-zero physical addresses when adjusting the LMAs of new |
881 | sections. | |
bf36db18 | 882 | |
189c6563 AM |
883 | 2002-02-12 John David Anglin <dave@hiauly1.hia.nrc.ca> |
884 | ||
885 | * elf-hppa.h (elf_hppa_reloc_final_type): New function stripped | |
886 | from _bfd_elf_hppa_gen_reloc_type. | |
887 | (_bfd_elf_hppa_gen_reloc_type): Remove duplicate prototype. | |
888 | * elf32-hppa.h (elf32_hppa_reloc_final_type): Add protptype. | |
889 | * elf32-hppa.c: Include elf32-hppa.h before elf-hppa.h. | |
890 | * elf64-hppa.h (elf64_hppa_reloc_final_type): Add protptype. | |
891 | ||
e948afaf AO |
892 | 2002-02-12 Alexandre Oliva <aoliva@redhat.com> |
893 | ||
894 | * elf-m10300.c (mn10300_elf_relax_section): Skip section before | |
895 | loading its contents if there's nothing to do in it. | |
896 | ||
19397422 AM |
897 | 2002-02-12 Alan Modra <amodra@bigpond.net.au> |
898 | ||
0ad3a73b AM |
899 | * elf64-ppc.c (ppc64_elf_size_stubs): Correct test for crossing |
900 | 64k boundary. | |
901 | ||
19397422 AM |
902 | * elf64-ppc.c (ppc64_elf_size_dynamic_sections): Add dynamic |
903 | DT_PPC64_OPD and DT_PPC64_OPDSZ tags. | |
904 | (ppc64_elf_finish_dynamic_sections): Set values for them. | |
905 | ||
51316059 MS |
906 | 2002-02-11 Michael Snyder <msnyder@redhat.com> |
907 | ||
908 | * elf-bfd.h (elfcore_write_lwpstatus): Add prototype. | |
909 | * elf.c (elfcore_grok_pstatus): Add prototype. | |
910 | (elfcore_grok_lwpstatus): Add prototype. | |
911 | (elfcore_write_lwpstatus): New function. | |
912 | (elfcore_write_pstatus): Fix typo, eliminate unnecessary memcpy. | |
913 | ||
518313c3 AO |
914 | 2002-02-11 Alexandre Oliva <aoliva@redhat.com> |
915 | ||
916 | * elf32-sh.c: Added missing prototypes. | |
917 | * elf32-sh64.c: Likewise. | |
918 | (sh_elf_align_loads): Mark unused args as such. | |
919 | * elf64-sh64.c: Added missing prototypes. | |
920 | (struct elf_sh64_link_hash_entry): Fix typo. | |
921 | (sh_elf64_relocate_section): Fix info argument passed to | |
922 | _bfd_elf_section_offset. | |
923 | ||
2c73f9d8 AM |
924 | 2002-02-11 Alan Modra <amodra@bigpond.net.au> |
925 | ||
926 | * Makefile.am: "make dep-am". | |
927 | * Makefile.in: Regenerate. | |
928 | * aclocal.m4: Regenerate. | |
929 | * config.in: Regenerate. | |
930 | * configure: Regenerate. | |
931 | ||
d426c6b0 DJ |
932 | 2002-02-10 Daniel Jacobowitz <drow@mvista.com> |
933 | ||
934 | * coff-rs6000.c (xcoff_generate_rtinit): Silence uninitialized | |
935 | variable warnings. | |
936 | * elf32-sh.c (sh_elf_relax_section): Silence signed/unsigned | |
937 | comparison warning. | |
938 | * trad-core.c (trad_unix_core_file_p): Silence pointer/integer | |
939 | cast warnings for the common case. | |
940 | ||
e58ee0cd HPN |
941 | 2002-02-10 Hans-Peter Nilsson <hp@bitrange.com> |
942 | ||
943 | * config.bfd (sh-*-linux*, sh-*-elf* | sh-*-rtemself*): Add sh64 | |
944 | vectors. | |
945 | (sh-*-netbsdelf*): New, to trump sh*-*-netbsdelf* and add sh64 | |
946 | vectors. | |
947 | ||
7793f4d0 RH |
948 | 2002-02-09 Richard Henderson <rth@redhat.com> |
949 | ||
950 | * elf64-alpha.c (elf64_alpha_howto): Add R_ALPHA_BRSGP. | |
951 | (elf64_alpha_reloc_map, elf64_alpha_check_relocs): Likewise. | |
952 | (elf64_alpha_relocate_section): Likewise. | |
953 | * reloc.c (BFD_RELOC_ALPHA_BRSGP): New. | |
954 | * bfd-in2.h, libbfd.h: Rebuild. | |
955 | ||
7e799044 HPN |
956 | 2002-02-09 Hans-Peter Nilsson <hp@bitrange.com> |
957 | ||
958 | * elf64-mmix.c (_bfd_mmix_finalize_linker_allocated_gregs): Check | |
959 | that base-plus-offset reloc accounting is consistent. | |
960 | (mmix_elf_relax_section): Keep base-plus-offset reloc accounting | |
961 | up to date for undefined symbols. | |
962 | ||
027d73eb EC |
963 | 2002-02-08 Eric Christopher <echristo@redhat.com> |
964 | ||
965 | From Rainer Orth <ro@TechFak.Uni-Bielefeld.DE> | |
966 | ||
967 | * elf32-mips.c (_bfd_mips_elf_fake_sections): Don't create .rela | |
968 | sections for the O32 ABI. | |
969 | ||
517662d4 CD |
970 | 2002-02-08 Chris Demetriou <cgd@broadcom.com> |
971 | ||
972 | * elf32-arm.h: Fix formatting of _("..."). | |
973 | * elf32-d10v.c: Likewise. | |
974 | * elf32-m68k.c: Likewise. | |
975 | * elf32-mips.c: Likewise. | |
976 | ||
5e37cc46 NC |
977 | 2002-02-08 Ivan Guzvinec <ivang@opencores.org> |
978 | ||
979 | * coff-or32.c: Fix compile time warning messages. | |
980 | ||
fbca6ad9 AO |
981 | 2002-02-08 Alexandre Oliva <aoliva@redhat.com> |
982 | ||
983 | Contribute sh64-elf. | |
984 | 2002-01-23 Alexandre Oliva <aoliva@redhat.com> | |
985 | * reloc.c (R_SH_GOTPLT32, R_SH_GOT_LOW16, R_SH_GOT_MEDLOW16, | |
986 | R_SH_GOT_MEDHI16, R_SH_GOT_HI16, R_SH_GOTPLT_LOW16, | |
987 | R_SH_GOTPLT_MEDLOW16, R_SH_GOTPLT_MEDHI16, R_SH_GOTPLT_HI16, | |
988 | R_SH_PLT_LOW16, R_SH_PLT_MEDLOW16, R_SH_PLT_MEDHI16, | |
989 | R_SH_PLT_HI16, R_SH_GOTOFF_LOW16, R_SH_GOTOFF_MEDLOW16, | |
990 | R_SH_GOTOFF_MEDHI16, R_SH_GOTOFF_HI16, R_SH_GOTPC_LOW16, | |
991 | R_SH_GOTPC_MEDLOW16, R_SH_GOTPC_MEDHI16, R_SH_GOTPC_HI16, | |
992 | R_SH_GOT10BY4, R_SH_GOTPLT10BY4, R_SH_GOT10BY8, R_SH_GOTPLT10BY8, | |
993 | R_SH_COPY64, R_SH_GLOB_DAT64, R_SH_JMP_SLOT64, R_SH_RELATIVE64): | |
994 | New relocs. | |
995 | * libbfd.h, bfd-in2.h: Rebuilt. | |
996 | * elf32-sh.c (sh_elf_howto_table): Define new relocs. | |
997 | (sh_reloc_map): Map them. | |
998 | (PLT_ENTRY_SIZE, elf_sh_plt0_entry_be, elf_sh_plt0_entry_le, | |
999 | elf_sh_plt_entry_be, elf_sh_plt_entry_le, elf_sh_pic_plt_entry_be, | |
1000 | elf_sh_pic_plt_entry_le, elf_sh_plt0_entry, elf_sh_plt_entry, | |
1001 | elf_sh_pic_plt_entry, elf_sh_sizeof_plt, elf_sh_plt_plt0_offset, | |
1002 | elf_sh_plt0_gotplt_offset, elf_sh_plt_temp_offset, | |
1003 | elf_sh_plt_symbol_offset, elf_sh_plt_reloc_offset, | |
1004 | movi_shori_putval) [INCLUDE_SHMEDIA]: New. | |
1005 | (elf_sh_link_hash_entry) [INCLUDE_SHMEDIA]: Add | |
1006 | datalabel_got_offset. | |
1007 | (sh_elf_link_hash_newfunc): Initialize it. | |
1008 | (sh_elf_relocate_section): Augment the scope of | |
1009 | seen_stt_datalabel. Introduce GOTPLT support. Extend GOTPC, PLT, | |
1010 | GOT and GOTOFF handling to new SHmedia relocation types. Support | |
1011 | GOT_BIAS. | |
1012 | (sh_elf_check_relocs): Likewise. | |
1013 | (sh_elf_finish_dynamic_symbol) [TARGET_SHMEDIA]: Set up values in | |
1014 | PLT entries using movi_shori_putval. Support GOT_BIAS. | |
1015 | (sh_elf_finish_dynamic_sections): Likewise. | |
1016 | * elf32-sh64.c (shmedia_prepare_reloc): Do not add addend to | |
1017 | relocation, it's now done by the caller. | |
1018 | (GOT_BIAS): New. | |
1019 | * elf64-sh64.c (GOT_BIAS, PLT_ENTRY_SIZE, elf_sh64_sizeof_plt, | |
1020 | elf_sh64_plt_plt0_offset, elf_sh64_plt0_gotplt_offset, | |
1021 | elf_sh64_plt_temp_offset, elf_sh64_plt_symbol_offset, | |
1022 | elf_sh64_plt_reloc_offset, ELF_DYNAMIC_INTERPRETER, | |
1023 | elf_sh64_pcrel_relocs_copied, elf_sh64_link_hash_entry, | |
1024 | elf_sh64_link_hash_table, sh64_elf64_link_hash_traverse, | |
1025 | sh64_elf64_hash_table): New. | |
1026 | (sh_elf64_howto_table): Introduce new relocs. | |
1027 | (sh_elf64_info_to_howto): Accept new PIC relocs. | |
1028 | (sh_elf64_relocate_section): Augment the scope of | |
1029 | seen_stt_datalabel. Support new PIC relocs. | |
1030 | (sh_elf64_check_relocs): Support new PIC relocs. | |
1031 | (elf_sh64_plt0_entry_be, elf_sh64_plt0_entry_le, | |
1032 | elf_sh64_plt_entry_be, elf_sh64_plt_entry_le, | |
1033 | elf_sh64_pic_plt_entry_be, elf_sh64_pic_plt_entry_le, | |
1034 | elf_sh64_plt0_entry, elf_sh64_plt_entry, elf_sh64_pic_plt_entry, | |
1035 | sh64_elf64_link_hash_newfunc, sh64_elf64_link_hash_table_create, | |
1036 | movi_shori_putval, movi_3shori_putval, | |
1037 | sh64_elf64_create_dynamic_sections, | |
1038 | sh64_elf64_adjust_dynamic_symbol, sh64_elf64_discard_copies, | |
1039 | sh64_elf64_size_dynamic_sections, | |
1040 | sh64_elf64_finish_dynamic_symbol, | |
1041 | sh64_elf64_finish_dynamic_sections): New. | |
1042 | (elf_backend_create_dynamic-sections, | |
1043 | bfd_elf64_bfd_link_hash_table_create, | |
1044 | elf_backend_adjust_dynamic_symbol, | |
1045 | elf_backend_size_dynamic_sections, | |
1046 | elf_backend_finish_dynamic_symbol, | |
1047 | elf_backend_finish_dynamic_sections, elf_backend_want_got_plt, | |
1048 | elf_backend_plt_readonly, elf_backend_want_plt_sym, | |
1049 | elf_backend_got_header_size, elf_backend_plt_header_size): | |
1050 | Define. | |
1051 | 2001-05-16 Alexandre Oliva <aoliva@redhat.com> | |
1052 | * elf32-sh.c: Renumbered and renamed some SH5 relocations to | |
1053 | match official numbers and names; moved unmaching ones to the | |
1054 | range 0xf2-0xff. | |
1055 | * elf32-sh64.c, elf64-sh64.c: Likewise. | |
1056 | 2001-03-12 DJ Delorie <dj@redhat.com> | |
1057 | * elf32-sh.c (sh_elf_relax_section): Don't relax SHmedia | |
1058 | sections. | |
1059 | 2001-03-12 DJ Delorie <dj@redhat.com> | |
1060 | * elf32-sh64.c (shmedia_prepare_reloc): Validate relocs that must | |
1061 | be aligned. | |
1062 | * elf64-sh64.c (sh_elf64_relocate_section): Ditto. | |
1063 | 2001-01-14 Hans-Peter Nilsson <hpn@cygnus.com> | |
1064 | * elf32-sh64.c (bfd_elf32_bfd_copy_private_section_data): Define. | |
1065 | (sh64_elf_fake_sections): Set type to SHT_SH5_CR_SORTED for a | |
1066 | .cranges section with SEC_SORT_ENTRIES set. | |
1067 | (sh64_backend_section_from_shdr): Set SEC_SORT_ENTRIES on an | |
1068 | incoming sorted .cranges section. | |
1069 | (sh64_bfd_elf_copy_private_section_data): New. | |
1070 | (sh64_elf_final_write_processing): Only sort .cranges and modify | |
1071 | start address if called by linker. | |
1072 | 2001-01-08 Ben Elliston <bje@redhat.com> | |
1073 | * elf32-sh64.c (sh64_elf_final_write_processing): Activate | |
1074 | Hans-Peter Nilsson's set bit 0 patch from 2001-01-06. | |
1075 | * elf64-sh64.c (sh64_elf64_final_write_processing): Ditto. | |
1076 | 2001-01-06 Hans-Peter Nilsson <hpn@cygnus.com> | |
1077 | * elf64-sh64.c (sh_elf64_howto_table): No open brace at start of | |
1078 | line. Add comments before all entries. | |
1079 | <R_SH_PT_16, R_SH_SHMEDIA_CODE>: Correct and clarify describing | |
1080 | comment. | |
1081 | (sh_elf64_reloc): Correct head comment. | |
1082 | (sh_elf64_relocate_section): Correct spacing. | |
1083 | <relocating for a local symbol>: Do not honour STO_SH5_ISA32; | |
1084 | instead call reloc_dangerous callback. | |
1085 | <case R_SH_SHMEDIA_CODE>: New case. | |
1086 | (sh_elf64_gc_mark_hook): Correct spacing. | |
1087 | (sh_elf64_check_relocs): Ditto. | |
1088 | * elf32-sh64.c (shmedia_prepare_reloc) <case R_SH_SHMEDIA_CODE>: | |
1089 | New case. | |
1090 | * elf32-sh.c: Correct #endif comments for #ifndef-wrapped | |
1091 | functions. | |
1092 | (sh_elf_howto_table) <R_SH_PT_16, R_SH_SHMEDIA_CODE>: Correct, | |
1093 | clarify describing comment. Add comments before all entries. | |
1094 | (sh_elf_relocate_section) <relocating for a local symbol>: Do not | |
1095 | honour STO_SH5_ISA32; instead call reloc_dangerous callback. | |
1096 | 2001-01-06 Hans-Peter Nilsson <hpn@cygnus.com> | |
1097 | Sort .cranges section in final link. Prepare to set bit 0 on | |
1098 | entry address. | |
1099 | * elf32-sh64.c (struct sh64_find_section_vma_data): New. | |
1100 | (sh64_elf_link_output_symbol_hook): Fix typo in prototype. | |
1101 | (sh64_elf_set_mach_from_flags): Set SEC_DEBUGGING on incoming | |
1102 | .cranges section. | |
1103 | (sh64_backend_section_from_shdr): New, to recognize | |
1104 | SHT_SH5_CR_SORTED on incoming .cranges section. | |
1105 | (elf_backend_section_from_shdr): Define. | |
1106 | (sh64_elf_final_write_processing): Sort outgoing .cranges | |
1107 | section. (New, temporarily disabled:) Set bit 0 on entry address | |
1108 | according to ISA type. | |
1109 | (sh64_find_section_for_address): New. | |
1110 | (crange_qsort_cmpb, crange_qsort_cmpl, crange_bsearch_cmpb, | |
1111 | crange_bsearch_cmpl): Move here from opcodes/sh64-dis.c. | |
1112 | (sh64_address_in_cranges): Move here from opcodes/sh64-dis.c. Use | |
1113 | bfd_malloc, not xmalloc. | |
1114 | (sh64_get_contents_type): Move here from opcodes/sh64-dis.c. Make | |
1115 | global. | |
1116 | * elf32-sh64.c (sh64_elf64_final_write_processing): New, (but | |
1117 | temporarily disabled) setting bit 0 on entry address. | |
1118 | (elf_backend_final_write_processing): Define. | |
1119 | 2001-01-05 Hans-Peter Nilsson <hpn@cygnus.com> | |
1120 | * elf32-sh.c (sh_elf_howto_table) <R_SH_PT_16>: Adjust fields to | |
1121 | be a proper relocation for PTA and PTB rather than a marker. | |
1122 | <R_SH_IMMU5, R_SH_IMMS6, R_SH_IMMU6, R_SH_IMMS10, R_SH_IMMS10BY2, | |
1123 | R_SH_IMMS10BY4, R_SH_IMMS10BY8, R_SH_IMMS16, R_SH_IMMU16, | |
1124 | R_SH_IMM_LOW16, R_SH_IMM_LOW16_PCREL, R_SH_IMM_MEDLOW16, | |
1125 | R_SH_IMM_MEDLOW16_PCREL, R_SH_IMM_MEDHI16, R_SH_IMM_MEDHI16_PCREL, | |
1126 | R_SH_IMM_HI16, R_SH_IMM_HI16_PCREL, R_SH_64, R_SH_64_PCREL>: | |
1127 | Zero src_mask. | |
1128 | * elf64-sh64.c: Ditto. | |
1129 | (sh_elf64_relocate_section) <case R_SH_PT_16>: New case. | |
1130 | * elf32-sh64.c: Include opcodes/sh64-opc.h | |
1131 | (shmedia_prepare_reloc): Take a bfd_link_info pointer as first | |
1132 | argument. Drop const qualifiers from "bfd *" and "bfd_byte *" | |
1133 | parameters. No unused parameters. Caller changed. | |
1134 | <case R_SH_PT_16>: New case. | |
1135 | * Makefile.am (elf32-sh64.lo): Add dependency on sh64-opc.h. | |
1136 | * Makefile.in: Regenerate. | |
1137 | 2000-12-30 Hans-Peter Nilsson <hpn@cygnus.com> | |
1138 | * elf64-sh64.c (sh64_elf64_fake_sections): Set SHF_SH5_ISA32 for | |
1139 | all code sections. | |
1140 | (sh_elf64_set_mach_from_flags): Change from EF_SH64 to EF_SH5. | |
1141 | (sh64_elf_merge_private_data): Ditto. | |
1142 | * elf32-sh64.c (sh64_elf_fake_sections): Use sh64_elf_section_data | |
1143 | to access stored section flags. | |
1144 | (sh64_elf_final_write_processing): Return immediately unless | |
1145 | called by linker. Use sh64_elf_section_data (cranges) to get size | |
1146 | of linker-generated cranges entries. | |
1147 | (sh64_elf_copy_private_data): Add missing "return true". | |
1148 | (sh64_elf_set_mach_from_flags): Change from EF_SH64 to EF_SH5. | |
1149 | (sh_elf64_merge_private_data): Ditto. | |
1150 | 2000-12-19 Hans-Peter Nilsson <hpn@cygnus.com> | |
1151 | * elf64-sh64.c (sh64_elf64_fake_sections): New, copy of | |
1152 | elf64-sh64.c:sh64_elf_fake_sections. | |
1153 | (elf_backend_fake_sections): Define as sh64_elf64_fake_sections. | |
1154 | 2000-12-18 Hans-Peter Nilsson <hpn@cygnus.com> | |
1155 | * elf32-sh64.c (sh64_elf_copy_private_data_internal): Delete. | |
1156 | (sh64_elf_final_write_processing): New. | |
1157 | (elf_backend_final_write_processing): Define. | |
1158 | (sh64_elf_fake_sections): Get header flags from tdata field. | |
1159 | (sh64_elf_copy_private_data): Do not call | |
1160 | sh64_elf_copy_private_data_internal, just copy e_flags field. | |
1161 | (sh64_elf_merge_private_data): Do not call | |
1162 | sh64_elf_copy_private_data_internal. | |
1163 | 2000-12-12 Hans-Peter Nilsson <hpn@cygnus.com> | |
1164 | Remove EF_SH64_ABI64, let ELF size make difference. | |
1165 | Remove SH64-specific BFD section flag. | |
1166 | * elf32-sh64.c (sh64_elf_fake_sections): Recognize section as | |
1167 | containing SHmedia through elf_section_data (asect)->tdata | |
1168 | non-zero, not using a BFD section flag. | |
1169 | (sh64_elf_set_mach_from_flags): Don't recognize EF_SH64_ABI64. | |
1170 | (sh64_elf_merge_private_data): Similar. | |
1171 | (elf_backend_section_flags): Don't define. | |
1172 | (sh64_elf_backend_section_flags): Delete. | |
1173 | * elf64-sh64.c (sh_elf64_set_mach_from_flags): Recognize EF_SH64, | |
1174 | not EF_SH64_ABI64. | |
1175 | (sh_elf64_merge_private_data): Similar. | |
1176 | * section.c (Section flags definitions): Don't define | |
1177 | SEC_SH_ISA_SHMEDIA. | |
1178 | (bfd-in2.h): Regenerate. | |
1179 | 2000-12-09 Hans-Peter Nilsson <hpn@cygnus.com> | |
1180 | Make DataLabel references work with partial linking. | |
1181 | * elf32-sh64.c: Fix formatting. | |
1182 | (sh64_elf_link_output_symbol_hook): New. | |
1183 | (elf_backend_link_output_symbol_hook): Define to | |
1184 | sh64_elf_link_output_symbol_hook. | |
1185 | (sh64_elf_add_symbol_hook): Make DataLabel symbol just global | |
1186 | undefined if partial linking. Adjust sanity check. | |
1187 | * elf64-sh64.c (sh64_elf64_link_output_symbol_hook): New. | |
1188 | (elf_backend_link_output_symbol_hook): Define to | |
1189 | sh64_elf64_link_output_symbol_hook. | |
1190 | (sh64_elf64_add_symbol_hook): Make DataLabel symbol just global | |
1191 | undefined if partial linking. Adjust sanity check. | |
1192 | 2000-12-07 Hans-Peter Nilsson <hpn@cygnus.com> | |
1193 | Implement semantics for inter-file DataLabel references. | |
1194 | * elf64-sh64.c (DATALABEL_SUFFIX): Define. | |
1195 | (sh64_elf64_add_symbol_hook): New. | |
1196 | (sh_elf64_relocate_section): If passing an indirect symbol with | |
1197 | st_type STT_DATALABEL on the way to a symbol with st_other | |
1198 | STO_SH5_ISA32, do not bitor 1 to the relocation. | |
1199 | (elf_backend_add_symbol_hook): Define to | |
1200 | sh64_elf64_add_symbol_hook. | |
1201 | * elf64-sh32.c: Tweak comments. | |
1202 | (DATALABEL_SUFFIX): Define. | |
1203 | (sh64_elf_add_symbol_hook): New. | |
1204 | (elf_backend_add_symbol_hook): Define to sh64_elf_add_symbol_hook. | |
1205 | * elf32-sh.c (sh_elf_relocate_section): If passing an indirect | |
1206 | symbol with st_type STT_DATALABEL on the way to a symbol with | |
1207 | st_other STO_SH5_ISA32, do not bitor 1 to the relocation. | |
1208 | 2000-12-05 Hans-Peter Nilsson <hpn@cygnus.com> | |
1209 | Pass through STT_DATALABEL. | |
1210 | * elf32-sh64.c (sh64_elf_get_symbol_type): New. | |
1211 | (elf_backend_get_symbol_type): Define. | |
1212 | * elf64-sh64.c (sh64_elf64_get_symbol_type): New. | |
1213 | (elf_backend_get_symbol_type): Define. | |
1214 | 2000-11-30 Hans-Peter Nilsson <hpn@cygnus.com> | |
1215 | * elf32-sh64.c: Tweak comments. | |
1216 | (sh64_elf_copy_private_data_internal): Add prototype. | |
1217 | (bfd_elf32_bfd_set_private_flags): Define. | |
1218 | (sh64_elf_copy_private_data_internal): Compare machine name, not | |
1219 | textual BFD target name, to check whether to copy section flag | |
1220 | SHF_SH5_ISA32. | |
1221 | (sh64_elf_merge_private_data): Validize bfd_get_arch_size. | |
1222 | Tweak section-contents-type-mismatch message. | |
1223 | (shmedia_prepare_reloc): Add ATTRIBUTE_UNUSED markers. | |
1224 | Validize reloc-types. | |
1225 | * elf64-sh64.c: New file. | |
1226 | * targets.c (bfd_elf64_sh64_vec, bfd_elf64_sh64l_vec): Declare. | |
1227 | * Makefile.am (BFD64_BACKENDS): Add elf64-sh64.lo. | |
1228 | (BFD64_BACKENDS_CFILES): Add elf64-sh64.c. | |
1229 | Regenerate dependencies. | |
1230 | * Makefile.in: Regenerate. | |
1231 | * config.bfd (sh64-*-elf*): Add bfd_elf64_sh64_vec and | |
1232 | bfd_elf64_sh64l_vec. | |
1233 | * configure.in: Handle bfd_elf64_sh64_vec and | |
1234 | bfd_elf64_sh64l_vec. | |
1235 | * configure: Regenerate. | |
1236 | * po/POTFILES.in: Regenerate. | |
1237 | * po/bfd.pot: Regenerate. | |
1238 | 2000-11-29 Hans-Peter Nilsson <hpn@cygnus.com> | |
1239 | * elf32-sh64.c (sh64_elf_set_mach_from_flags): Do not recognize | |
1240 | anything else but EF_SH64 and EF_SH64_ABI64. | |
1241 | (sh64_elf_merge_private_data): Emit error for anything else but | |
1242 | EF_SH64 and EF_SH64_ABI64. | |
1243 | * config.bfd: Remove bfd_elf32_shblin_vec and bfd_elf32_shlin_vec | |
1244 | from targ_selvecs. | |
1245 | * configure.in: Add cofflink.lo to bfd_elf32_sh64_vec and | |
1246 | bfd_elf32_sh64l_vec as a temporary measure. | |
1247 | * configure: Regenerate. | |
1248 | 2000-11-27 Hans-Peter Nilsson <hpn@cygnus.com> | |
1249 | * cpu-sh.c (arch_info_struct): Include sh5 item | |
1250 | unconditionalized. | |
1251 | * config.bfd (sh64-*-elf*): Do not set targ_cflags. | |
1252 | Add targ_selvecs bfd_elf32_sh_vec, bfd_elf32_shl_vec, | |
1253 | bfd_elf32_shblin_vec and bfd_elf32_shlin_vec. | |
1254 | * elf32-sh64.c: Tweak comments. | |
1255 | (sh64_elf_set_mach_from_flags): Recognize all machine flags that | |
1256 | are proper subsets of SH64 as bfd_mach_sh5. Add EF_SH64_ABI64. | |
1257 | (sh64_elf_copy_private_data_internal): Wrap long line. | |
1258 | (sh64_elf_merge_private_data): Rewrite to allow objects from | |
1259 | SH64 subsets to be linked together. | |
1260 | (INCLUDE_SHMEDIA): Define. | |
1261 | * elf32-sh.c (sh_elf_relocate_section) <local symbol>: | |
1262 | Parenthesize plus-expression inside or-expression. | |
1263 | <global symbol>: Ditto. | |
1264 | (sh_elf_set_mach_from_flags): Remove code refusing | |
1265 | deleted EF_SH64_32BIT_ABI flag. | |
1266 | 2000-11-26 Hans-Peter Nilsson <hpn@cygnus.com> | |
1267 | * elf32-sh.c (sh_elf_howto_table) <R_SH_IMM_LOW16_PCREL, | |
1268 | R_SH_IMM_MEDLOW16_PCREL, R_SH_IMM_MEDHI16_PCREL, | |
1269 | R_SH_IMM_HI16_PCREL, R_SH_64_PCREL>: Set pcrel_offset to true. | |
1270 | (sh_elf_relocate_section) <local symbol>: Or 1 in | |
1271 | calculation of relocation if sym->st_other & STO_SH5_ISA32. | |
1272 | <global symbol>: Ditto if h->other & STO_SH5_ISA32. | |
1273 | * elf32-sh64.c (shmedia_prepare_reloc): Add rel->r_addend to | |
1274 | relocation. | |
1275 | 2000-11-24 Hans-Peter Nilsson <hpn@cygnus.com> | |
1276 | * Makefile.am (BFD32_BACKENDS): Add elf32-sh64.lo. | |
1277 | (BFD32_BACKENDS_CFILES): Add elf32-sh64.c. | |
1278 | Regenerate dependencies. | |
1279 | * Makefile.in: Regenerate. | |
1280 | * archures.c: Add bfd_mach_sh5. | |
1281 | * config.bfd: Map targ_cpu sh* to bfd_sh_arch. | |
1282 | Handle sh64-*-elf*. Set targ_cflags to -DINCLUDE_SHMEDIA. | |
1283 | * configure.in: Handle bfd_elf32_sh64_vec and bfd_elf32_sh64l_vec. | |
1284 | * configure: Regenerate. | |
1285 | * reloc.c (BFD_RELOC_SH_SHMEDIA_CODE, BFD_RELOC_SH_IMMU5, | |
1286 | BFD_RELOC_SH_IMMS6, BFD_RELOC_SH_IMMS6BY32, BFD_RELOC_SH_IMMU6, | |
1287 | BFD_RELOC_SH_IMMS10, BFD_RELOC_SH_IMMS10BY2, | |
1288 | BFD_RELOC_SH_IMMS10BY4, BFD_RELOC_SH_IMMS10BY8, | |
1289 | BFD_RELOC_SH_IMMS16, BFD_RELOC_SH_IMMU16, BFD_RELOC_SH_IMM_LOW16, | |
1290 | BFD_RELOC_SH_IMM_LOW16_PCREL, BFD_RELOC_SH_IMM_MEDLOW16, | |
1291 | BFD_RELOC_SH_IMM_MEDLOW16_PCREL, BFD_RELOC_SH_IMM_MEDHI16, | |
1292 | BFD_RELOC_SH_IMM_MEDHI16_PCREL, BFD_RELOC_SH_IMM_HI16, | |
1293 | BFD_RELOC_SH_IMM_HI16_PCREL, BFD_RELOC_SH_PT_16): New relocations. | |
1294 | * cpu-sh.c [INCLUDE_SHMEDIA] (arch_info_struct): Define and link | |
1295 | in item for SH5. | |
1296 | * elf32-sh.c [INCLUDE_SHMEDIA] (sh_elf_howto_table): Add howto items | |
1297 | for SHmedia relocs. | |
1298 | [INCLUDE_SHMEDIA] (sh_rel): Add mappings for SHmedia relocs. | |
1299 | [INCLUDE_SHMEDIA] (sh_elf_relocate_section) [default]: Call | |
1300 | shmedia_prepare_reloc, goto final_link_relocate if it returns | |
1301 | non-zero, else fail as before. | |
1302 | (sh_elf_set_mach_from_flags): Provide function only if not defined | |
1303 | as macro. Do not recognize objects with EF_SH64_32BIT_ABI set. | |
1304 | (sh_elf_set_private_flags): Provide function only if not defined | |
1305 | as a macro. | |
1306 | (sh_elf_copy_private_data): Similar. | |
1307 | (sh_elf_merge_private_data): Similar. | |
1308 | * section.c (SEC_SH_ISA_SHMEDIA): New. | |
1309 | * targets.c (bfd_elf32_sh64_vec, bfd_elf32_sh64l_vec): Declare. | |
1310 | * elf32-sh64.c: New file. | |
1311 | * libbfd.h: Regenerate. | |
1312 | * bfd-in2.h: Regenerate. | |
1313 | * po/POTFILES.in: Regenerate. | |
1314 | * po/bfd.pot: Regenerate. | |
1315 | * bfd-in2.h: Regenerate. | |
1316 | * libbfd.h: Regenerate. | |
1317 | ||
e108f470 DJ |
1318 | 2002-02-07 Daniel Jacobowitz <drow@mvista.com> |
1319 | ||
1320 | * bfd-in.h: Update <stdbool.h> check to only see if <stdbool.h> has | |
1321 | been included, not drag it in. | |
1322 | * bfd-in2.h: Regenerate. | |
1323 | ||
259d18a3 L |
1324 | 2002-02-06 H.J. Lu (hjl@gnu.org) |
1325 | ||
1326 | * elf32-mips.c (_bfd_mips_elf_merge_private_bfd_data): Update | |
1327 | the mach and ISA fields if necessary. | |
1328 | ||
f13b834e NC |
1329 | 2002-02-06 Nick Clifton <nickc@cambridge.redhat.com> |
1330 | ||
1331 | * coffcode.h (coff_set_arch_mach_hook): Select the highest known | |
1332 | ARM architecture when an F_ARM_5 flag is detected, since we cannot | |
1333 | be sure exactly which architecture this represents. | |
1334 | ||
82f6addb NC |
1335 | 2002-02-05 Nick Clifton <nickc@redhat.com> |
1336 | ||
1337 | * po/tr.po: Updated translation. | |
1338 | ||
899f54f5 AM |
1339 | 2002-02-05 Alan Modra <amodra@bigpond.net.au> |
1340 | ||
1341 | From Jimi X <jimix@watson.ibm.com> | |
1342 | * archures (bfd_mach_ppc64): Define. | |
1343 | (bfd_powerpc_arch): Rename to bfd_powerpc_archs. | |
1344 | (bfd_powerpc_arch): Define. | |
1345 | * bfd-in2.h: Regenerate. | |
1346 | * cpu-powerpc.c (arch_info_struct): Rename to bfd_powerpc_archs. | |
1347 | (bfd_powerpc_arch): Move to tail of bfd_powerpc_archs. | |
1348 | (bfd_powerpc_archs): Add default powerpc64 arch. | |
1349 | ||
248866a8 AM |
1350 | 2002-02-05 Alan Modra <amodra@bigpond.net.au> |
1351 | ||
1352 | * elf64-ppc.c (ppc64_elf_size_dynamic_sections): Check for relocs | |
1353 | against section syms in readonly sections. Don't do the global | |
1354 | sym check if we find one. | |
1355 | * elf64-s390.c (elf_s390_size_dynamic_sections): Likewise. | |
1356 | * elf32-hppa.c (elf32_hppa_size_dynamic_sections): Likewise. | |
0a6958db | 1357 | * elf32-i386.c (elf_i386_size_dynamic_sections): Likewise. |
248866a8 AM |
1358 | * elf32-s390.c (elf_s390_size_dynamic_sections): Likewise. |
1359 | (elf_s390_grok_prstatus): Add missing prototype. | |
1360 | ||
4fa5c2a8 HPN |
1361 | 2002-02-04 Hans-Peter Nilsson <hp@bitrange.com> |
1362 | ||
1363 | * elf64-mmix.c (mmix_dump_bpo_gregs): New function. | |
1364 | (mmix_elf_check_common_relocs) <case R_MMIX_BASE_PLUS_OFFSET>: | |
1365 | Call bfd_get_section_by_name only once. Initialize | |
1366 | bpodata->n_bpo_relocs_this_section. | |
1367 | (_bfd_mmix_prepare_linker_allocated_gregs): Remove comment | |
1368 | referring to DSOs. | |
1369 | (bpo_reloc_request_sort_fn): Don't use difference of values as | |
1370 | return-value. | |
1371 | ||
537c972e DB |
1372 | 2002-02-02 David O'Brien <obrien@FreeBSD> |
1373 | ||
1374 | * configure.in: Tweak the FreeBSD 4.x recognition more. Only treat | |
1375 | version 4.5 and later the same as 5-CURRENT. | |
1376 | * configure: Re-generate. | |
1377 | ||
006336b8 JT |
1378 | 2002-02-02 Jason Thorpe <thorpej@wasabisystems.com> |
1379 | ||
1380 | * config.bfd (hppa*-*-netbsd*): New target. | |
1381 | ||
6c571f00 PT |
1382 | 2002-01-31 Philipp Thomas <pthomas@suse.de> |
1383 | ||
19397422 AM |
1384 | * coff-arm.c (coff_arm_merge_private_bfd_data): Move ERROR |
1385 | to front of message. Unify messages with elf32-arm.h. Use | |
1386 | commas where neccessary. | |
1387 | * elf32-arm.h (elf32_arm_merge_private_bfd_data): Use all upcase | |
1388 | ERROR in messages. Unify messages with coff-arm.c. Correct | |
1389 | VFP/FPA error message. | |
1390 | (elf32_arm_print_private_bfd_data): Don't mark APCS-26 and | |
1391 | APCS-32 for translation. | |
6c571f00 | 1392 | |
930b4cb2 HPN |
1393 | 2002-02-01 Hans-Peter Nilsson <hp@bitrange.com> |
1394 | ||
1395 | Perform on-demand global register allocation from | |
1396 | R_MMIX_BASE_PLUS_OFFSET relocs. | |
1397 | * elf64-mmix.c (struct bpo_reloc_section_info, struct | |
1398 | bpo_reloc_request, struct bpo_greg_section_info): New. | |
1399 | (mmix_elf_check_common_relocs, mmix_elf_gc_sweep_hook, | |
1400 | bpo_reloc_request_sort_fn, mmix_elf_relax_section, | |
1401 | _bfd_mmix_check_all_relocs, | |
1402 | _bfd_mmix_prepare_linker_allocated_gregs, | |
1403 | _bfd_mmix_finalize_linker_allocated_gregs): New functions. | |
1404 | (elf_mmix_howto_table): Correct src_mask for most relocs. | |
1405 | (mmix_elf_perform_relocation) <case R_MMIX_BASE_PLUS_OFFSET>: New | |
1406 | case. | |
1407 | (mmix_final_link_relocate) <case R_MMIX_BASE_PLUS_OFFSET>: New | |
1408 | case. Fix typo in comment. New label do_mmix_reloc. | |
1409 | (mmix_elf_check_relocs): Abuse bfd_link_info member base_file to | |
1410 | store first object file with a base-plus-offset reloc. Call | |
1411 | mmix_elf_check_common_relocs for the part common with mmo. | |
1412 | (mmix_elf_final_link): Write out linker-allocated register | |
1413 | contents section. | |
1414 | (elf_backend_gc_sweep_hook): Define. | |
1415 | (bfd_elf64_bfd_relax_section): Define. | |
1416 | ||
1417 | * mmo.c: Don't include <ctype.h> | |
1418 | (mmo_init): Correct init-once logic. | |
1419 | ||
3e36d993 TR |
1420 | 2002-02-01 Tom Rix <trix@redhat.com> |
1421 | ||
1422 | * config.bfd: Conditionally support <aiaff> for pre AIX 4.3. | |
1423 | ||
ba323545 AM |
1424 | 2002-02-01 Alan Modra <amodra@bigpond.net.au> |
1425 | ||
1426 | * Makefile.am: Run "make dep-am" | |
1427 | * Makefile.in: Regenerate. | |
1428 | ||
012884d6 DB |
1429 | 2002-01-31 David O'Brien <obrien@FreeBSD> |
1430 | ||
1431 | * configure.in: Recognize the differences in core files from FreeBSD | |
1432 | 4.{0,1} and later versions of 4.x. This treats 4.2+ the same as | |
1433 | 5-CURRENT. | |
1434 | * configure: Regenerate. | |
1435 | ||
3b16e843 NC |
1436 | 2002-01-31 Ivan Guzvinec <ivang@opencores.org> |
1437 | ||
1438 | * coff-or32.c: New file. | |
1439 | * cpu-or32.c: New file. | |
1440 | * elf32-or32.c: New file. | |
1441 | * archures.c: Add support for or32. | |
1442 | * targets.c: Add support for or32. | |
1443 | * bfd-in2.h: Regenerate. | |
7dc0ab31 | 1444 | * coffcode.h (coff_set_arch_mach_hook, coff_set_flags, |
3b16e843 NC |
1445 | coff_write_object_contents): Add support for or32. |
1446 | * config.bfd: Add target. | |
1447 | * configure.in: Add support for or32. | |
1448 | * configure: Regenerate. | |
1449 | * Makefile.am: Add support for or32. | |
1450 | * Makefile.in: Regenerate. | |
3b16e843 NC |
1451 | * po/SRC-POTFILES.in: Add or32 files. |
1452 | * po/bfd.pot: Regenerate. | |
7dc0ab31 | 1453 | |
caf8ca8e NC |
1454 | 2002-01-31 Nick Clifton <nickc@cambridge.redhat.com> |
1455 | Don Lindsay <lindsayd@cisco.com> | |
1456 | ||
1457 | * elf32-mips.c (mips_elf_calculate_relocation): Replace 'return | |
1458 | false' with a return of a bfd_reloc_ error code. | |
1459 | ||
e5dfef09 HPN |
1460 | 2002-01-31 Hans-Peter Nilsson <hp@axis.com> |
1461 | ||
1462 | * elf32-cris.c (elf_cris_discard_excess_program_dynamics): Don't | |
1463 | unexport unreferenced symbols when --export-dynamic. Call | |
1464 | _bfd_elf_strtab_delref when unexporting. | |
1465 | ||
4e4770d0 DJ |
1466 | 2002-01-30 Daniel Jacobowitz <drow@mvista.com> |
1467 | ||
1468 | * bfd-in.h: Include <stdbool.h> if it is available. | |
1469 | * bfd-in2.h: Regenerated. | |
1470 | ||
e1fa50e7 AM |
1471 | 2002-01-31 Alan Modra <amodra@bigpond.net.au> |
1472 | ||
1473 | * elf64-ppc.c (func_desc_adjust): STV_PROTECTED functions should | |
1474 | not go via the plt. | |
1475 | ||
b5f79c76 NC |
1476 | 2002-01-30 Nick Clifton <nickc@cambridge.redhat.com> |
1477 | ||
b5f79c76 NC |
1478 | * archures.c: Tidy up formatting of embedded comments. |
1479 | * bfd.c: Tidy up formatting of embedded comments. | |
7dc0ab31 | 1480 | * bfd-in.h: Fix formatting of comments. |
b5f79c76 NC |
1481 | * reloc.c: Tidy up formatting of ordinary & embedded comments. |
1482 | * section.c: Tidy up formatting of embedded comments. | |
1483 | * syms.c: Tidy up formatting of embedded comments. | |
1484 | * targets.c: Tidy up formatting of embedded comments. | |
1485 | ||
1486 | * bfd-in2.h: Regenerate. | |
1487 | ||
ca09e32b NC |
1488 | 2002-01-30 Nick Clifton <nickc@cambridge.redhat.com> |
1489 | ||
1490 | * vms-tir.c (cmd_name): New function. | |
1491 | (tir_cmd_name): New function. | |
1492 | (etir_sta, etir_sto, etir_opr, etir_stc): Use cmd_name(). | |
1493 | (tir_opr, tir_ctl, tir_cmd): use tir_cmd_name(). | |
1494 | Fix formatting. | |
7dc0ab31 | 1495 | |
ca09e32b NC |
1496 | * peXXigen.c (pe_print_idata): Rearrange message to aid in |
1497 | translation. | |
1498 | (pe_print_pdata): Rearrange message to aid in translation. | |
1499 | ||
1500 | * libbfd.c (warn_deprecated): Rearrange error message to aid in | |
1501 | translation. | |
1502 | ||
1503 | * ihex.c (ihex_write_object_contents): Fix spelling typo. | |
1504 | ||
1505 | * ieee.c (ieee_slurp_external_symbols): Remove spurious space. | |
1506 | ||
1507 | * elf64-sparc.c (sparc64_elf_add_symbol_hook): Rearrange error | |
1508 | message to aid in translation. | |
1509 | ||
1510 | * elf64-mmix.c (mmix_final_link_relocate): Rearrange error message | |
1511 | to aid in translation. | |
1512 | ||
1513 | * elf32-arm.h (elf32_arm_merge_private_bfd_data): Fix typo. | |
1514 | ||
7dc0ab31 | 1515 | 2002-01-30 Philipp Thomas <pthomas@suse.de> |
ae1a89b7 PT |
1516 | |
1517 | * coff-arm.c, elf32-elf.h: Unify messages. | |
1518 | ||
05f64ac6 NC |
1519 | 2002-01-30 Nick Clifton <nickc@redhat.com> |
1520 | ||
1521 | * po/sv.po: Updated translation. | |
1522 | ||
f5a3e38a NC |
1523 | 2002-01-30 Philipp Thomas <pthomas@suse.de> |
1524 | ||
1525 | * dwarf2.c (read_abbrev): Use full section name in error message. | |
1526 | (decode_line_info): Likewise. | |
661a3fd4 NC |
1527 | |
1528 | * elf.c (_bfd_elf_symbol_from_bfd_symbol): Don't translate debugging | |
1529 | message. | |
1530 | ||
d926e03d AM |
1531 | 2002-01-30 Alan Modra <amodra@bigpond.net.au> |
1532 | ||
1533 | * elf64-ppc.c (func_desc_adjust): Only provide missing function | |
1534 | descriptor symbols for undefined function code syms. Clear | |
1535 | ELF_LINK_NON_ELF so that they can stay weak. | |
1536 | ||
030d18fb | 1537 | 2002-01-29 Chris Demetriou <cgd@broadcom.com> |
7dc0ab31 | 1538 | Mitch Lichtenberg <mpl@broadcom.com> |
030d18fb CD |
1539 | |
1540 | * bfd-in.h (bfd_mips_elf32_create_embedded_relocs): New prototype. | |
1541 | * elf32-mips.c (bfd_mips_elf32_create_embedded_relocs): New function | |
1542 | to handle 32-bit ELF embedded reloc (ld --embedded-relocs) | |
1543 | generation. | |
1544 | * bfd-in2.h: Regenerate. | |
1545 | ||
fcc76bea CD |
1546 | 2002-01-29 Chris Demetriou <cgd@broadcom.com> |
1547 | ||
1548 | * elf32-mips.c: Add additional comments about HI16 relocation | |
1549 | processing. | |
1550 | (_bfd_mips_elf_hi16_reloc): Don't subtract address here for | |
1551 | pc-relative relocations. (Reverts change made on 2001-10-31.) | |
1552 | (_bfd_mips_elf_lo16_reloc): Subtract address of LO16 part here | |
1553 | for pc-relative relocations. | |
1554 | (mips_elf_calculate_relocation): Add a comment about a kludge | |
1555 | in the R_MIPS_GNU_REL_HI16 handling. | |
1556 | (_bfd_mips_elf_relocate_section): Implement that kludge; | |
1557 | adjust pc-relative HI16 relocation for difference in HI16 and | |
1558 | LO16 addresses, since it can't easily be done in | |
1559 | mips_elf_calculate_relocation. | |
1560 | ||
f9cd9119 MS |
1561 | 2002-01-29 Martin Schwidefsky <schwidefsky@de.ibm.com> |
1562 | ||
1563 | * elf32-i386 (elf_i386_adjust_dynamic_symbol): Do not replace PLT32 | |
1564 | relocations with PC32 relocations for undefined or weak symbols. | |
1565 | * elf32-s390 (elf_i386_adjust_dynamic_symbol): Likewise. | |
1566 | * elf64-s390x (elf_i386_adjust_dynamic_symbol): Likewise. | |
1567 | ||
702248bb JT |
1568 | 2002-01-28 Jason Thorpe <thorpej@wasabisystems.com> |
1569 | ||
1570 | * elfcore.h (elf_core_file_p): Improve comment for last change. | |
1571 | ||
4867be41 DJ |
1572 | 2002-01-27 Daniel Jacobowitz <drow@mvista.com> |
1573 | ||
1574 | * configure: Regenerated. | |
1575 | ||
a94cef6a JT |
1576 | 2002-01-27 Jason Thorpe <thorpej@wasabisystems.com> |
1577 | ||
1578 | * elfcore.h (elf_core_file_p): Set the machine architecture | |
1579 | before processing the program headers. | |
1580 | ||
7562a296 HPN |
1581 | 2002-01-26 Hans-Peter Nilsson <hp@bitrange.com> |
1582 | ||
966abd70 HPN |
1583 | * configure.in <64-bit configuration>: If using gcc, check and |
1584 | emit error for egcs-1.1.2. | |
1585 | * configure: Regenerate. | |
1586 | ||
e8eab623 NC |
1587 | 2002-01-26 Egor Duda <deo@logos-m.ru> |
1588 | ||
1589 | * elf.c (elfcore_grok_win32pstatus): Copy only as much information | |
1590 | as possible to avoid stack corruption. | |
1591 | ||
73896efb RH |
1592 | 2002-01-26 Richard Henderson <rth@redhat.com> |
1593 | ||
1594 | * elf64-alpha.c (elf64_alpha_check_relocs): Don't set reltext | |
1595 | for non-allocated sections. | |
1596 | ||
1597 | 2002-01-25 Mark Kettenis <kettenis@gnu.org> | |
c106e334 MK |
1598 | |
1599 | * elf.c (elfcore_write_prstatus): Make sure we pass the address of | |
1600 | prstat.pr_reg even if it is a struct. | |
1601 | ||
73896efb | 1602 | 2002-01-25 Steve Ellcey <sje@cup.hp.com> |
254ed743 NC |
1603 | |
1604 | * bfd/elfxx-ia64.c: Reset AIX vector function overrides for HP-UX. | |
1605 | ||
3d66c4f7 NC |
1606 | 2002-01-25 Philipp Thomas <pthomas@suse.de> |
1607 | ||
1608 | * coffgen.c (coff_print_symbol): Don't mark info message | |
1609 | for translation. | |
1610 | ||
9460ecda NC |
1611 | 2002-01-25 Nick Clifton <nickc@redhat.com> |
1612 | ||
1613 | * po/fr.po: Updated translation. | |
1614 | * po/es.po: Updated translation. | |
1615 | ||
cc9ff76a AM |
1616 | 2002-01-25 Philipp Thomas <pthomas@suse.de> |
1617 | ||
1618 | * coff-alpha.c (alpha_relocate_section): Unify warning message | |
1619 | for GP relative relocations without GP defined. | |
1620 | * coff-mips.c (mips_relocate_section): Likewise. | |
1621 | ||
c68836a9 AM |
1622 | 2002-01-25 Alan Modra <amodra@bigpond.net.au> |
1623 | ||
1624 | * elf-eh-frame.c (_bfd_elf_eh_frame_section_offset): Avoid | |
1625 | unsigned overflow when new_offset < old_offset. | |
1626 | ||
e8eab623 | 1627 | 2002-01-24 Philipp Thomas <pthomas@suse.de> |
391154e9 NC |
1628 | |
1629 | * bfd.c (_bfd_abort): Fix typo. | |
1630 | ||
8ba89f17 RH |
1631 | 2002-01-23 Richard Henderson <rth@redhat.com> |
1632 | ||
1633 | * elf64-alpha.c (elf64_alpha_adjust_dynamic_symbol): Don't suppress | |
1634 | plt entries for undefweak symbols. | |
1635 | ||
c6953948 NC |
1636 | 2002-01-23 Steve Ellcey <sje@cup.hp.com> |
1637 | ||
1638 | * bfd/targets.c (bfd_elf32_ia64_hpux_big_vec): Add to | |
1639 | DEFAULT_VECTOR. | |
1640 | (bfd_elf64_ia64_hpux_big_vec): Ditto. | |
1641 | (bfd_elf32_h8300_vec): Ditto. | |
1642 | ||
41bd81ab AM |
1643 | 2002-01-23 Alan Modra <amodra@bigpond.net.au> |
1644 | ||
1645 | * elf64-ppc.c: Remove stale part of ABI comment. | |
1646 | (NO_OPD_RELOCS): Define. | |
1647 | (ppc64_elf_check_relocs): Use it. | |
1648 | (ppc64_elf_relocate_section): Here too. | |
1649 | (build_one_stub): Don't point function syms at the stub. Instead, | |
1650 | hijack plt.offset. | |
1651 | (ppc64_elf_relocate_section): Check whether REL24 relocs should | |
1652 | really go to the stub. Make all dynamic relocs in opd against | |
1653 | locals. | |
1654 | (ppc64_elf_finish_dynamic_symbol): Allow for non-standard use of | |
1655 | plt.offset. | |
1656 | ||
f304919d RH |
1657 | 2002-01-22 Richard Henderson <rth@redhat.com> |
1658 | ||
1659 | * elf64-alpha.c (INSN_UNOP): Encode with RB as $sp. | |
1660 | ||
c0ef99a7 AM |
1661 | 2002-01-22 Alan Modra <amodra@bigpond.net.au> |
1662 | ||
60ee0d4a AM |
1663 | * elf64-ppc.c (ppc64_elf_finish_dynamic_sections): Correct sign of |
1664 | TOC_BASE_OFF adjustment. | |
1665 | ||
c0ef99a7 AM |
1666 | * Makefile.am: Run "make dep-am". |
1667 | * Makefile.in: Regenerate. | |
1668 | * po/SRC-POTFILES.in: Regenerate. | |
1669 | ||
64328b46 AM |
1670 | 2002-01-22 John David Anglin <dave@hiauly1.hia.nrc.ca> |
1671 | ||
1672 | * configure.host (hppa*64*-*-hpux*, hppa*64*-*-linux*): Add new | |
1673 | host defines. | |
1674 | ||
59953665 | 1675 | 2002-01-21 Hans-Peter Nilsson <hp@axis.com> |
58255df3 HPN |
1676 | |
1677 | * elf32-cris.c (cris_elf_relocate_section) <case R_CRIS_32_GOTREL>: | |
1678 | Check for and emit error if sgot is NULL at this point. | |
1679 | ||
9596feea JT |
1680 | 2002-01-21 Jason Thorpe <thorpej@wasabisystems.com> |
1681 | ||
1682 | * config.bfd (ia64*-*-netbsd*): New target. | |
1683 | ||
7b45c6e1 AM |
1684 | 2002-01-21 Thomas Klausner <wiz@danbala.ifoer.tuwien.ac.at> |
1685 | ||
1686 | * som.c (som_write_space_strings): Comment typo fix. | |
1687 | ||
e5094212 AM |
1688 | 2002-01-21 Alan Modra <amodra@bigpond.net.au> |
1689 | ||
e86ce104 AM |
1690 | * elf64-ppc.c (struct ppc_link_hash_entry): Add is_func and |
1691 | is_func_descriptor fields. | |
1692 | (link_hash_newfunc): Init them. | |
1693 | (ppc64_elf_check_relocs): Only R_PPC24_REL24 syms starting with a | |
1694 | dot are candidates for plt entries. When processing .opd relocs, | |
1695 | set function descriptor strings to point inside function code | |
1696 | string, and set new ppc_link_hash_entry fields. | |
1697 | (ppc64_elf_gc_sweep_hook): Don't sweep R_PPC64_REL24 relocs. | |
1698 | (ppc64_elf_adjust_dynamic_symbol): Remove most code dealing with | |
1699 | function descriptors. It's now done in.. | |
1700 | (func_desc_adjust): New. | |
1701 | (ppc64_elf_func_desc_adjust): New. | |
1702 | (define elf_backend_always_size_sections): Define. | |
1703 | (ppc64_elf_hide_symbol): New. | |
1704 | (define elf_backend_hide_symbol): Define. | |
1705 | (allocate_dynrelocs): Remove code looking up function descriptors | |
1706 | as that has been done earlier. | |
1707 | (ppc64_elf_size_dynamic_sections): Use htab shortcut to elf hash | |
1708 | table. | |
1709 | (ppc64_elf_finish_dynamic_symbol): Likewise. Remove code looking | |
1710 | up function descriptor. | |
1711 | (build_one_stub): Look up the function code sym. Check for | |
1712 | invalid plt offsets. | |
1713 | (ppc64_elf_relocate_section): Tweak calls to undefined weak syms. | |
1714 | Convert R_PPC64_TOC relocs to R_PPC64_RELATIVE in shared libs. | |
1715 | ||
e5094212 AM |
1716 | * elf-bfd.h (elf_backend_data <elf_backend_hide_symbol>): Add |
1717 | boolean param. | |
1718 | (_bfd_elf_link_hash_hide_symbol): Likewise. | |
1719 | * elflink.h (elf_link_add_object_symbols): Adjust call to | |
1720 | elf_backend_hide_symbol. | |
1721 | (elf_fix_symbol_flags): Likewise. | |
1722 | (elf_link_assign_sym_version): Likewise. Use bfd_malloc rather | |
1723 | than bfd_alloc. | |
1724 | * elf.c (_bfd_elf_link_hash_hide_symbol): Add "force_local" param. | |
1725 | Set ELF_LINK_FORCED_LOCAL and call _bfd_elf_strtab_delref. | |
1726 | * elf32-hppa.c (elf32_hppa_hide_symbol): Likewise. | |
1727 | (clobber_millicode_symbols): Adjust to suit new hide_symbol. | |
1728 | * elf32-cris.c (elf_cris_hide_symbol): Add "force_local" param | |
1729 | and adjust to suit. | |
1730 | * elf32-mips.c (_bfd_mips_elf_hide_symbol): Likewise, and call | |
1731 | _bfd_elf_link_hash_hide_symbol rather than duplicating code. | |
1732 | * elfxx-ia64.c (elfNN_ia64_hash_hide_symbol): Likewise. | |
1733 | ||
40b8271b AM |
1734 | 2002-01-18 Alan Modra <amodra@bigpond.net.au> |
1735 | ||
1736 | * elf64-ppc.c (ppc64_elf_adjust_dynamic_symbol): Test for a | |
1737 | dynamic function descriptor symbol, not the associated function | |
1738 | symbol. | |
1739 | ||
55baa95b EC |
1740 | 2002-01-17 Eric Christopher <echristo@redhat.com> |
1741 | ||
1742 | * elf32-mips.c (mips_elf_calculate_relocation): Fix typo. | |
1743 | ||
328577ad NC |
1744 | 2002-01-17 Nick Clifton <nickc@cambridge.redhat.com> |
1745 | ||
1746 | * po/bfd.pot: Regenerate. | |
1747 | * po/fr.po: Regenerate. | |
1748 | ||
af746e92 AM |
1749 | 2002-01-17 Alan Modra <amodra@bigpond.net.au> |
1750 | ||
1751 | * elf-bfd.h (elf_backend_data <elf_backend_section_from_bfd_section>): | |
1752 | Remove "Elf_Internal_Shdr *" param. | |
1753 | (_bfd_mips_elf_section_from_bfd_section): Ditto. | |
1754 | * elf32-mips.c (_bfd_mips_elf_section_from_bfd_section): Ditto. | |
1755 | * elf32-m32r.c (_bfd_m32r_elf_section_from_bfd_section): Ditto. | |
1756 | * elf32-v850.c (v850_elf_section_from_bfd_section): Ditto. | |
1757 | * elf64-mmix.c (mmix_elf_section_from_bfd_section): Ditto. | |
1758 | * elfxx-ia64.c (elfNN_hpux_backend_section_from_bfd_section): Ditto. | |
1759 | * elf.c (_bfd_elf_section_from_bfd_section): Allow backend | |
1760 | function to override special sections. Remove hdr arg from | |
1761 | backend call, and don't loop. | |
1762 | ||
175e9962 EC |
1763 | 2002-01-16 Eric Christopher <echristo@redhat.com> |
1764 | ||
1765 | * elf32-mips.c (mips_elf_calculate_relocation): Set require_jalxp | |
1766 | on R_MIPS_26 and target is 16bit. Add R_MIPS16_GPREL to list of | |
1767 | relocations requiring gp0 and gp. | |
1768 | ||
96a846ea RE |
1769 | 2002-01-16 Richard Earnshaw <rearnsha@arm.com> |
1770 | ||
175e9962 | 1771 | * elf32-arm.h (elf32_arm_merge_private_bfd_data): Handle |
96a846ea RE |
1772 | EF_ARM_VFP_FLOAT. |
1773 | (elf32_arm_print_private_bfd_data): Likewise. | |
1774 | ||
af3ae48d NC |
1775 | 2002-01-16 Nick Clifton <nickc@cambridge.redhat.com> |
1776 | ||
1777 | * po/tr.po: Import new version. | |
1778 | ||
10ed1bba AM |
1779 | 2002-01-16 Alan Modra <amodra@bigpond.net.au> |
1780 | ||
1781 | * elf64-ppc.c (ppc64_elf_howto_raw): Remove stale FIXMEs. | |
1782 | (ppc64_elf_reloc_type_lookup): Use proper CTOR reloc. | |
1783 | (ORI_R0_R0_0): Correct. | |
1784 | ||
5d1634d7 AM |
1785 | 2002-01-16 Alan Modra <amodra@bigpond.net.au> |
1786 | ||
1787 | * elflink.c (_bfd_elf_create_dynamic_sections): Don't set SEC_CODE | |
1788 | when plt_not_loaded. | |
1789 | * elf64-ppc.c (ppc64_elf_create_dynamic_sections): No need to | |
1790 | clear .plt SEC_CODE here. Create .stub and correct .glink flags. | |
1791 | (PLT_INITIAL_ENTRY_SIZE): Set to 24. | |
1792 | (ppc64_elf_glink_code): Delete. | |
1793 | (PPC64_ELF_GLINK_SIZE): Delete. | |
1794 | (ADDIS_R12_R2, STD_R2_40R1, LD_R11_0R12, LD_R2_0R12, MTCTR_R11, | |
1795 | BCTR, ADDIS_R12_R12_1, LD_R2_40R1, NOP, LI_R0_0, B_DOT, LIS_R0_0, | |
1796 | ORI_R0_R0_0): Define. | |
1797 | (PLT_CALL_STUB_SIZE, GLINK_CALL_STUB_SIZE): Define. | |
1798 | (struct ppc_link_hash_table): Add sstub and plt_overflow. | |
1799 | (ppc64_elf_link_hash_table_create): Init them. | |
1800 | (ppc64_elf_check_relocs <R_PPC64_REL24>): Refcount .plt entry. | |
1801 | Don't copy to shared lib. | |
1802 | (ppc64_elf_check_relocs): Call bfd_set_error on errors. | |
1803 | (ppc64_elf_gc_sweep_hook <R_PPC64_REL24>): Sweep plt refcount. | |
1804 | (allocate_dynrelocs <plt>): Don't change function sym here. Make | |
1805 | room for .stub and .glink code. | |
1806 | (ppc64_elf_size_dynamic_sections): Handle .stub. Make entry for | |
1807 | DT_PPC64_GLINK. | |
1808 | (ppc64_elf_final_link): Rename to ppc64_elf_set_toc. Don't call | |
1809 | bfd_elf64_bfd_final_link. | |
1810 | (bfd_elf64_bfd_final_link): Don't define. | |
1811 | (ppc64_elf_size_stubs): New. | |
1812 | (build_plt_stub): New. | |
1813 | (build_one_stub): New. | |
1814 | (ppc64_elf_build_stubs): New. | |
1815 | (ppc64_elf_relocate_section <toc relocs>): Remove assert. | |
1816 | (ppc64_elf_relocate_section): Don't copy R_PPC64_REL24 relocs. | |
1817 | (ppc64_elf_finish_dynamic_symbol): Don't build stubs here. Set | |
1818 | DT_PPC64_GLINK entry. Tweak DT_PLTGOT, DT_JMPREL, DT_PLTRELSZ in | |
1819 | case output sections not separate. Adjust DT_RELASZ to not | |
1820 | include plt relocs. Set reserved got entry. Set got and plt | |
1821 | entry size. | |
1822 | (elf_backend_got_header_size): Set to 8. | |
1823 | * elf64-ppc.h: New file. | |
1824 | ||
c601ffdb AM |
1825 | 2002-01-16 Alan Modra <amodra@bigpond.net.au> |
1826 | ||
1827 | * elf32-arm.h (elf32_arm_size_dynamic_sections): When removing | |
1828 | sections, use bfd_section_list_remove. | |
1829 | * elf32-i370.c (i370_elf_size_dynamic_sections): Likewise. | |
1830 | * elflink.h (elf_link_add_object_symbols): When removing all | |
1831 | sections, use bfd_section_list_clear. | |
1832 | ||
8fb4cb7f NC |
1833 | 2002-01-15 Nick Clifton <nickc@cambridge.redhat.com> |
1834 | ||
1835 | * po/sv.po: New file: Swedish translation. | |
1836 | * configure.in (ALL_LINGUAS): Add sv. | |
1837 | * configure: Regenerate. | |
1838 | ||
d3c456e9 JJ |
1839 | 2002-01-15 Jakub Jelinek <jakub@redhat.com> |
1840 | ||
1841 | * elflink.h (elf_link_input_bfd): Back out 2002-01-07 change. | |
1842 | * elf.c (merge_sections_remove_hook): New function. | |
1843 | (_bfd_elf_merge_sections): Pass it as 3rd argument to | |
1844 | _bfd_merge_sections. | |
1845 | * libbfd-in.h (_bfd_merge_sections): Add 3rd argument. | |
1846 | * libbfd.h: Rebuilt. | |
1847 | * merge.c (_bfd_merge_sections): Add remove_hook argument. | |
1848 | Call remove_hook if a SEC_EXCLUDE section is encountered. | |
1849 | ||
1f7fd478 NC |
1850 | 2002-01-15 Nick Clifton <nickc@cambridge.redhat.com> |
1851 | ||
1852 | * elf32-xstormy16.c (xstormy16_reloc_map): Add new field 'table'. | |
1853 | (xstormy16_reloc_map): Initialise new field with correct howto | |
1854 | table. | |
1855 | (xstormy16_reloc_type_lookup): Use 'table' field to locate correct | |
1856 | howto entry. | |
1857 | ||
b87011e9 MS |
1858 | 2002-01-10 Michael Snyder <msnyder@redhat.com> |
1859 | ||
1860 | * elf.c (elfcore_write_prstatus): Use long instead of pid_t; | |
1861 | (elfcore_write_pstatus): Use long instead of pid_t; | |
1862 | * elf-bfd.h: Change prototypes to use long instead of pid_t; | |
1863 | ||
175e9962 | 1864 | 2002-01-09 Jason Thorpe <thorpej@wasabisystems.com> |
b4db1224 JT |
1865 | |
1866 | * elf.c: Update copyright years. | |
1867 | (elfcore_grok_netbsd_note): Use NT_NETBSDCORE_PROCINFO | |
1868 | and NT_NETBSDCORE_FIRSTMACH. Improve a comment. | |
1869 | ||
7c76fa91 MS |
1870 | 2002-01-08 Michael Snyder <msnyder@redhat.com> |
1871 | ||
1872 | Add capability to write corefile note sections, for gdb. | |
1873 | * elf.c (elfcore_write_note): New function. | |
1874 | (elfcore_write_prpsinfo): New function. | |
1875 | (elfcore_write_prstatus): New function. | |
1876 | (elfcore_write_pstatus): New function. | |
1877 | (elfcore_write_prfpreg): New function. | |
1878 | (elfcore_write_prxfpreg): New function. | |
97996af6 | 1879 | * elf-bfd.h: Add prototypes for above functions. |
7c76fa91 | 1880 | |
e1fddb6b AO |
1881 | 2002-01-08 Alexandre Oliva <aoliva@redhat.com> |
1882 | ||
1883 | * elf.c (elf_fake_sections): Propagate errors from | |
1884 | elf_backend_fake_section. | |
1885 | ||
8d05742f JT |
1886 | 2002-01-07 Jason Thorpe <thorpej@wasabisystems.com> |
1887 | ||
1888 | * Makefile.am (BFD32_BACKENDS): Add elf32-sh-nbsd.lo. | |
1889 | (BFD32_BACKENDS_CFILES): Add elf32-sh-nbsd.c. | |
1890 | (elf32-sh-nbsd.lo): New rule. | |
1891 | * Makefile.in: Regenerate. | |
1892 | * config.bfd (sh*le-*-netbsdelf*): New target. | |
1893 | (sh*-*-netbsdelf*): New target. | |
1894 | * configure.in: Include netbsd-core.lo for native sh*-*-netbsd*. | |
1895 | (bfd_elf32_shnbsd_vec): New vector. | |
1896 | (bfd_elf32_shlnbsd_vec): New vector. | |
1897 | * configure: Regenerate. | |
1898 | * elf32-sh-nbsd.c: New file. | |
1899 | * targets.c: Update copyright years. | |
175e9962 | 1900 | (_bfd_target_vector): Add bfd_elf32_shlnbsd_vec and |
8d05742f JT |
1901 | bfd_elf32_shnbsd_vec. |
1902 | ||
1dba4cb4 AH |
1903 | 2002-01-07 Aldy Hernandez <aldyh@redhat.com> |
1904 | ||
1905 | * coff-rs6000.c (READ20): Use bfd_scan_vma. | |
1906 | ||
47b22aef GK |
1907 | 2002-01-07 Geoffrey Keating <geoffk@redhat.com> |
1908 | ||
1909 | * elflink.h (elf_link_input_bfd): Don't ask for the merged offset | |
1910 | of a symbol in a section that will be deleted. | |
1911 | ||
be2d1673 NC |
1912 | 2002-01-07 Nick Clifton <nickc@cambridge.redhat.com> |
1913 | ||
1914 | * po/es.po: New file: Spanish translation. | |
1915 | * configure.in (ALL_LINGUAS): Add es. | |
1916 | * configure: Regenerate. | |
1917 | ||
d9cf1b54 AM |
1918 | 2002-01-06 Steve Ellcey <sje@cup.hp.com> |
1919 | ||
1920 | * elfxx-ia64.c (is_unwind_section_name): Add target vector as | |
1921 | argument so we can handle HP-UX specially. | |
1922 | (elfNN_ia64_hpux_vec): New for use in is_unwind_section_name. | |
1923 | (elfNN_hpux_backend_section_from_bfd_section): New for support | |
1924 | of SHN_IA_64_ANSI_COMMON. | |
1925 | (elfNN_ia64_relax_section): Add support for SHN_IA_64_ANSI_COMMON. | |
1926 | (is_unwind_section_name): Add special HP-UX support. | |
1927 | (elfNN_ia64_section_from_shdr): Add support for more sections. | |
1928 | (elfNN_ia64_fake_sections): Modify is_unwind_section_name call and | |
1929 | add support for more sections. | |
1930 | (elfNN_ia64_additional_program_headers): Modify | |
1931 | is_unwind_section_name call. | |
1932 | (elfNN_ia64_modify_segment_map): Remove assumption that there is | |
1933 | only one unwind section in segment. | |
1934 | ||
3f3c5c34 AM |
1935 | 2002-01-06 Alan Modra <amodra@bigpond.net.au> |
1936 | ||
1937 | * syms.c (_bfd_generic_make_empty_symbol): New function. | |
1938 | * libbfd-in.h (_bfd_nosymbols_make_empty_symbol): Define as | |
1939 | _bfd_generic_make_empty_symbol. | |
1940 | * libbfd.h: Regenerate. | |
1941 | * bfd-in2.h: Regenerate. | |
1942 | * hppabsd-core.c (hppabsd_core_make_empty_symbol): Delete function. | |
1943 | (hppabsd_core_get_symtab_upper_bound): Don't define. | |
1944 | (hppabsd_core_get_symtab): Likewise. | |
1945 | (hppabsd_core_print_symbol): Likewise. | |
1946 | (hppabsd_core_get_symbol_info): Likewise. | |
1947 | (hppabsd_core_bfd_is_local_label_name): Likewise. | |
1948 | (hppabsd_core_get_lineno): Likewise. | |
1949 | (hppabsd_core_find_nearest_line): Likewise. | |
1950 | (hppabsd_core_bfd_make_debug_symbol): Likewise. | |
1951 | (hppabsd_core_read_minisymbols): Likewise. | |
1952 | (hppabsd_core_minisymbol_to_symbol): Likewise. | |
1953 | (hppabsd_core_vec): Use BFD_JUMP_TABLE_SYMBOLS (_bfd_nosymbols). | |
1954 | Formatting fixes. | |
1955 | * hpux-core.c: Similarly. | |
1956 | * irix-core.c: Similarly. | |
1957 | * osf-core.c: Similarly. | |
1958 | * sco5-core.c: Similarly. | |
1959 | * binary.c (binary_make_empty_symbol): Remove function, define as | |
1960 | _bfd_generic_make_empty_symbol. | |
1961 | * ihex.c (ihex_make_empty_symbol): Likewise. | |
1962 | * mmo.c (mmo_make_empty_symbol): Likewise. | |
1963 | * ppcboot.c (ppcboot_make_empty_symbol): Likewise. | |
1964 | * srec.c (srec_make_empty_symbol): Likewise. | |
1965 | * versados.c (versados_make_empty_symbol): Likewise. | |
1966 | * vms.c (_bfd_vms_make_empty_symbol): Remove. | |
1967 | (vms_make_empty_symbol): Define as _bfd_generic_make_empty_symbol. | |
1968 | * vms-gsd.c (_bfd_vms_slurp_gsd): Call bfd_make_empty_symbol | |
1969 | rather than _bfd_vms_make_empty_symbol. | |
1970 | * vms-misc.c (new_symbol): Likewise. | |
1971 | ||
3f0a7f7f AM |
1972 | 2002-01-05 Alan Modra <amodra@bigpond.net.au> |
1973 | ||
9e7b37b3 AM |
1974 | * section.c (bfd_section_init): Remove unnecessary initialisations. |
1975 | (bfd_section_list_clear): New function. | |
1976 | (bfd_section_list_remove, bfd_section_list_insert): New macros. | |
1977 | (_bfd_strip_section_from_output): Use them. | |
1978 | * coffcode.h (coff_set_alignment_hook): Likewise. | |
1979 | * elf32-mips.c (_bfd_mips_elf_final_link): Likewise. | |
1980 | * elf64-mips.c (mips_elf64_final_link): Likewise. | |
1981 | * elf64-mmix.c (mmix_elf_final_link): Likewise. | |
1982 | * sunos.c (sunos_add_dynamic_symbols): Likewise. | |
1983 | * xcofflink.c (_bfd_xcoff_bfd_final_link): Likewise. | |
1984 | * bfd-in2.h: Regenerate. | |
1985 | ||
1986 | * netbsd-core.c (netbsd_core_file_p): Use bfd_make_section_anyway | |
1987 | rather than doing our own section handling. Clean up after errors | |
1988 | with bfd_release and bfd_section_list_clear. Handle unexpected | |
1989 | flags. | |
1990 | * aoutf1.h (sunos4_core_file_p): Likewise. | |
1991 | * aix386-core.c (aix386_core_file_p): Likewise. | |
1992 | * cisco-core.c (cisco_core_file_validate): Likewise. | |
1993 | * ptrace-core.c (ptrace_unix_core_file_p): Likewise. | |
1994 | * trad-core.c (trad_unix_core_file_p): Likewise. | |
1995 | ||
1996 | * hppabsd-core.c (hppabsd_core_core_file_p): Clean up after errors | |
1997 | with bfd_release and bfd_section_list_clear. | |
1998 | * hpux-core.c (hpux_core_core_file_p): Likewise. | |
1999 | * irix-core.c (irix_core_core_file_p): Likewise. | |
2000 | * lynx-core.c (lynx_core_file_p): Likewise. | |
2001 | * osf-core.c (osf_core_core_file_p): Likewise. | |
2002 | * rs6000-core.c (rs6000coff_core_p): Likewise. | |
2003 | * sco5-core.c (sco5_core_file_p): Likewise. | |
2004 | ||
3f0a7f7f AM |
2005 | * elf32-mips.c (_bfd_mips_elf_lo16_reloc): Simplify, and perform |
2006 | sign extension adjustments without conditionals. | |
2007 | ||
a3aa38ee JJ |
2008 | 2002-01-04 Jakub Jelinek <jakub@redhat.com> |
2009 | ||
2010 | * elf-eh-frame.c (_bfd_elf_write_section_eh_frame): Don't crash if | |
2011 | CIE at .eh_frame start is removed due to no FDEs referencing it. | |
2012 | ||
8a8b2d4b AJ |
2013 | 2002-01-04 Jason Thorpe <thorpej@wasabisystems.com> |
2014 | ||
2015 | * config.bfd (x86_64-*-netbsd*): New target. | |
2016 | * configure.in (x86_64-*-netbsd*): Set COREFILE | |
2017 | to netbsd-core.lo. | |
2018 | * configure: Regenerated. | |
2019 | ||
04b5af89 TR |
2020 | 2002-01-03 Tom Rix <trix@redhat.com> |
2021 | ||
2022 | * xcofflink.c (_bfd_xcoff_bfd_final_link): Update .pad section ordering | |
2023 | for recent bfd_make_section_anyway change. | |
2024 | ||
51c5503b NC |
2025 | 2002-01-03 Nick Clifton <nickc@cambridge.redhat.com> |
2026 | ||
2027 | * elf32-arm.h (elf32_arm_final_link_relocate): Handle | |
2028 | R_ARM_THM_PC11 reloc. | |
2029 | ||
07f7c046 NC |
2030 | 2002-01-02 Nick Clifton <nickc@cambridge.redhat.com> |
2031 | ||
2032 | * configure.in (LINGUAS): Add ja. | |
2033 | * configure: Regenerate. | |
2034 | * po/ja.po: Import from translation project's web site. | |
2035 | ||
5eefb65f NC |
2036 | 2002-01-02 Nick Clifton <nickc@cambridge.redhat.com> |
2037 | ||
2038 | * elf32-arm.h (elf32_arm_merge_private_bfd_data): Reformat error | |
2039 | messages to ease translation into other languages. | |
2040 | ||
39e90f10 | 2041 | For older changes see ChangeLog-0001 |
56882138 AM |
2042 | \f |
2043 | Local Variables: | |
2044 | mode: change-log | |
2045 | left-margin: 8 | |
2046 | fill-column: 74 | |
2047 | version-control: never | |
2048 | End: |