Commit | Line | Data |
---|---|---|
f304919d RH |
1 | 2002-01-22 Richard Henderson <rth@redhat.com> |
2 | ||
3 | * elf64-alpha.c (INSN_UNOP): Encode with RB as $sp. | |
4 | ||
c0ef99a7 AM |
5 | 2002-01-22 Alan Modra <amodra@bigpond.net.au> |
6 | ||
60ee0d4a AM |
7 | * elf64-ppc.c (ppc64_elf_finish_dynamic_sections): Correct sign of |
8 | TOC_BASE_OFF adjustment. | |
9 | ||
c0ef99a7 AM |
10 | * Makefile.am: Run "make dep-am". |
11 | * Makefile.in: Regenerate. | |
12 | * po/SRC-POTFILES.in: Regenerate. | |
13 | ||
64328b46 AM |
14 | 2002-01-22 John David Anglin <dave@hiauly1.hia.nrc.ca> |
15 | ||
16 | * configure.host (hppa*64*-*-hpux*, hppa*64*-*-linux*): Add new | |
17 | host defines. | |
18 | ||
59953665 | 19 | 2002-01-21 Hans-Peter Nilsson <hp@axis.com> |
58255df3 HPN |
20 | |
21 | * elf32-cris.c (cris_elf_relocate_section) <case R_CRIS_32_GOTREL>: | |
22 | Check for and emit error if sgot is NULL at this point. | |
23 | ||
9596feea JT |
24 | 2002-01-21 Jason Thorpe <thorpej@wasabisystems.com> |
25 | ||
26 | * config.bfd (ia64*-*-netbsd*): New target. | |
27 | ||
7b45c6e1 AM |
28 | 2002-01-21 Thomas Klausner <wiz@danbala.ifoer.tuwien.ac.at> |
29 | ||
30 | * som.c (som_write_space_strings): Comment typo fix. | |
31 | ||
e5094212 AM |
32 | 2002-01-21 Alan Modra <amodra@bigpond.net.au> |
33 | ||
e86ce104 AM |
34 | * elf64-ppc.c (struct ppc_link_hash_entry): Add is_func and |
35 | is_func_descriptor fields. | |
36 | (link_hash_newfunc): Init them. | |
37 | (ppc64_elf_check_relocs): Only R_PPC24_REL24 syms starting with a | |
38 | dot are candidates for plt entries. When processing .opd relocs, | |
39 | set function descriptor strings to point inside function code | |
40 | string, and set new ppc_link_hash_entry fields. | |
41 | (ppc64_elf_gc_sweep_hook): Don't sweep R_PPC64_REL24 relocs. | |
42 | (ppc64_elf_adjust_dynamic_symbol): Remove most code dealing with | |
43 | function descriptors. It's now done in.. | |
44 | (func_desc_adjust): New. | |
45 | (ppc64_elf_func_desc_adjust): New. | |
46 | (define elf_backend_always_size_sections): Define. | |
47 | (ppc64_elf_hide_symbol): New. | |
48 | (define elf_backend_hide_symbol): Define. | |
49 | (allocate_dynrelocs): Remove code looking up function descriptors | |
50 | as that has been done earlier. | |
51 | (ppc64_elf_size_dynamic_sections): Use htab shortcut to elf hash | |
52 | table. | |
53 | (ppc64_elf_finish_dynamic_symbol): Likewise. Remove code looking | |
54 | up function descriptor. | |
55 | (build_one_stub): Look up the function code sym. Check for | |
56 | invalid plt offsets. | |
57 | (ppc64_elf_relocate_section): Tweak calls to undefined weak syms. | |
58 | Convert R_PPC64_TOC relocs to R_PPC64_RELATIVE in shared libs. | |
59 | ||
e5094212 AM |
60 | * elf-bfd.h (elf_backend_data <elf_backend_hide_symbol>): Add |
61 | boolean param. | |
62 | (_bfd_elf_link_hash_hide_symbol): Likewise. | |
63 | * elflink.h (elf_link_add_object_symbols): Adjust call to | |
64 | elf_backend_hide_symbol. | |
65 | (elf_fix_symbol_flags): Likewise. | |
66 | (elf_link_assign_sym_version): Likewise. Use bfd_malloc rather | |
67 | than bfd_alloc. | |
68 | * elf.c (_bfd_elf_link_hash_hide_symbol): Add "force_local" param. | |
69 | Set ELF_LINK_FORCED_LOCAL and call _bfd_elf_strtab_delref. | |
70 | * elf32-hppa.c (elf32_hppa_hide_symbol): Likewise. | |
71 | (clobber_millicode_symbols): Adjust to suit new hide_symbol. | |
72 | * elf32-cris.c (elf_cris_hide_symbol): Add "force_local" param | |
73 | and adjust to suit. | |
74 | * elf32-mips.c (_bfd_mips_elf_hide_symbol): Likewise, and call | |
75 | _bfd_elf_link_hash_hide_symbol rather than duplicating code. | |
76 | * elfxx-ia64.c (elfNN_ia64_hash_hide_symbol): Likewise. | |
77 | ||
40b8271b AM |
78 | 2002-01-18 Alan Modra <amodra@bigpond.net.au> |
79 | ||
80 | * elf64-ppc.c (ppc64_elf_adjust_dynamic_symbol): Test for a | |
81 | dynamic function descriptor symbol, not the associated function | |
82 | symbol. | |
83 | ||
55baa95b EC |
84 | 2002-01-17 Eric Christopher <echristo@redhat.com> |
85 | ||
86 | * elf32-mips.c (mips_elf_calculate_relocation): Fix typo. | |
87 | ||
328577ad NC |
88 | 2002-01-17 Nick Clifton <nickc@cambridge.redhat.com> |
89 | ||
90 | * po/bfd.pot: Regenerate. | |
91 | * po/fr.po: Regenerate. | |
92 | ||
af746e92 AM |
93 | 2002-01-17 Alan Modra <amodra@bigpond.net.au> |
94 | ||
95 | * elf-bfd.h (elf_backend_data <elf_backend_section_from_bfd_section>): | |
96 | Remove "Elf_Internal_Shdr *" param. | |
97 | (_bfd_mips_elf_section_from_bfd_section): Ditto. | |
98 | * elf32-mips.c (_bfd_mips_elf_section_from_bfd_section): Ditto. | |
99 | * elf32-m32r.c (_bfd_m32r_elf_section_from_bfd_section): Ditto. | |
100 | * elf32-v850.c (v850_elf_section_from_bfd_section): Ditto. | |
101 | * elf64-mmix.c (mmix_elf_section_from_bfd_section): Ditto. | |
102 | * elfxx-ia64.c (elfNN_hpux_backend_section_from_bfd_section): Ditto. | |
103 | * elf.c (_bfd_elf_section_from_bfd_section): Allow backend | |
104 | function to override special sections. Remove hdr arg from | |
105 | backend call, and don't loop. | |
106 | ||
175e9962 EC |
107 | 2002-01-16 Eric Christopher <echristo@redhat.com> |
108 | ||
109 | * elf32-mips.c (mips_elf_calculate_relocation): Set require_jalxp | |
110 | on R_MIPS_26 and target is 16bit. Add R_MIPS16_GPREL to list of | |
111 | relocations requiring gp0 and gp. | |
112 | ||
96a846ea RE |
113 | 2002-01-16 Richard Earnshaw <rearnsha@arm.com> |
114 | ||
175e9962 | 115 | * elf32-arm.h (elf32_arm_merge_private_bfd_data): Handle |
96a846ea RE |
116 | EF_ARM_VFP_FLOAT. |
117 | (elf32_arm_print_private_bfd_data): Likewise. | |
118 | ||
af3ae48d NC |
119 | 2002-01-16 Nick Clifton <nickc@cambridge.redhat.com> |
120 | ||
121 | * po/tr.po: Import new version. | |
122 | ||
10ed1bba AM |
123 | 2002-01-16 Alan Modra <amodra@bigpond.net.au> |
124 | ||
125 | * elf64-ppc.c (ppc64_elf_howto_raw): Remove stale FIXMEs. | |
126 | (ppc64_elf_reloc_type_lookup): Use proper CTOR reloc. | |
127 | (ORI_R0_R0_0): Correct. | |
128 | ||
5d1634d7 AM |
129 | 2002-01-16 Alan Modra <amodra@bigpond.net.au> |
130 | ||
131 | * elflink.c (_bfd_elf_create_dynamic_sections): Don't set SEC_CODE | |
132 | when plt_not_loaded. | |
133 | * elf64-ppc.c (ppc64_elf_create_dynamic_sections): No need to | |
134 | clear .plt SEC_CODE here. Create .stub and correct .glink flags. | |
135 | (PLT_INITIAL_ENTRY_SIZE): Set to 24. | |
136 | (ppc64_elf_glink_code): Delete. | |
137 | (PPC64_ELF_GLINK_SIZE): Delete. | |
138 | (ADDIS_R12_R2, STD_R2_40R1, LD_R11_0R12, LD_R2_0R12, MTCTR_R11, | |
139 | BCTR, ADDIS_R12_R12_1, LD_R2_40R1, NOP, LI_R0_0, B_DOT, LIS_R0_0, | |
140 | ORI_R0_R0_0): Define. | |
141 | (PLT_CALL_STUB_SIZE, GLINK_CALL_STUB_SIZE): Define. | |
142 | (struct ppc_link_hash_table): Add sstub and plt_overflow. | |
143 | (ppc64_elf_link_hash_table_create): Init them. | |
144 | (ppc64_elf_check_relocs <R_PPC64_REL24>): Refcount .plt entry. | |
145 | Don't copy to shared lib. | |
146 | (ppc64_elf_check_relocs): Call bfd_set_error on errors. | |
147 | (ppc64_elf_gc_sweep_hook <R_PPC64_REL24>): Sweep plt refcount. | |
148 | (allocate_dynrelocs <plt>): Don't change function sym here. Make | |
149 | room for .stub and .glink code. | |
150 | (ppc64_elf_size_dynamic_sections): Handle .stub. Make entry for | |
151 | DT_PPC64_GLINK. | |
152 | (ppc64_elf_final_link): Rename to ppc64_elf_set_toc. Don't call | |
153 | bfd_elf64_bfd_final_link. | |
154 | (bfd_elf64_bfd_final_link): Don't define. | |
155 | (ppc64_elf_size_stubs): New. | |
156 | (build_plt_stub): New. | |
157 | (build_one_stub): New. | |
158 | (ppc64_elf_build_stubs): New. | |
159 | (ppc64_elf_relocate_section <toc relocs>): Remove assert. | |
160 | (ppc64_elf_relocate_section): Don't copy R_PPC64_REL24 relocs. | |
161 | (ppc64_elf_finish_dynamic_symbol): Don't build stubs here. Set | |
162 | DT_PPC64_GLINK entry. Tweak DT_PLTGOT, DT_JMPREL, DT_PLTRELSZ in | |
163 | case output sections not separate. Adjust DT_RELASZ to not | |
164 | include plt relocs. Set reserved got entry. Set got and plt | |
165 | entry size. | |
166 | (elf_backend_got_header_size): Set to 8. | |
167 | * elf64-ppc.h: New file. | |
168 | ||
c601ffdb AM |
169 | 2002-01-16 Alan Modra <amodra@bigpond.net.au> |
170 | ||
171 | * elf32-arm.h (elf32_arm_size_dynamic_sections): When removing | |
172 | sections, use bfd_section_list_remove. | |
173 | * elf32-i370.c (i370_elf_size_dynamic_sections): Likewise. | |
174 | * elflink.h (elf_link_add_object_symbols): When removing all | |
175 | sections, use bfd_section_list_clear. | |
176 | ||
8fb4cb7f NC |
177 | 2002-01-15 Nick Clifton <nickc@cambridge.redhat.com> |
178 | ||
179 | * po/sv.po: New file: Swedish translation. | |
180 | * configure.in (ALL_LINGUAS): Add sv. | |
181 | * configure: Regenerate. | |
182 | ||
d3c456e9 JJ |
183 | 2002-01-15 Jakub Jelinek <jakub@redhat.com> |
184 | ||
185 | * elflink.h (elf_link_input_bfd): Back out 2002-01-07 change. | |
186 | * elf.c (merge_sections_remove_hook): New function. | |
187 | (_bfd_elf_merge_sections): Pass it as 3rd argument to | |
188 | _bfd_merge_sections. | |
189 | * libbfd-in.h (_bfd_merge_sections): Add 3rd argument. | |
190 | * libbfd.h: Rebuilt. | |
191 | * merge.c (_bfd_merge_sections): Add remove_hook argument. | |
192 | Call remove_hook if a SEC_EXCLUDE section is encountered. | |
193 | ||
1f7fd478 NC |
194 | 2002-01-15 Nick Clifton <nickc@cambridge.redhat.com> |
195 | ||
196 | * elf32-xstormy16.c (xstormy16_reloc_map): Add new field 'table'. | |
197 | (xstormy16_reloc_map): Initialise new field with correct howto | |
198 | table. | |
199 | (xstormy16_reloc_type_lookup): Use 'table' field to locate correct | |
200 | howto entry. | |
201 | ||
b87011e9 MS |
202 | 2002-01-10 Michael Snyder <msnyder@redhat.com> |
203 | ||
204 | * elf.c (elfcore_write_prstatus): Use long instead of pid_t; | |
205 | (elfcore_write_pstatus): Use long instead of pid_t; | |
206 | * elf-bfd.h: Change prototypes to use long instead of pid_t; | |
207 | ||
175e9962 | 208 | 2002-01-09 Jason Thorpe <thorpej@wasabisystems.com> |
b4db1224 JT |
209 | |
210 | * elf.c: Update copyright years. | |
211 | (elfcore_grok_netbsd_note): Use NT_NETBSDCORE_PROCINFO | |
212 | and NT_NETBSDCORE_FIRSTMACH. Improve a comment. | |
213 | ||
7c76fa91 MS |
214 | 2002-01-08 Michael Snyder <msnyder@redhat.com> |
215 | ||
216 | Add capability to write corefile note sections, for gdb. | |
217 | * elf.c (elfcore_write_note): New function. | |
218 | (elfcore_write_prpsinfo): New function. | |
219 | (elfcore_write_prstatus): New function. | |
220 | (elfcore_write_pstatus): New function. | |
221 | (elfcore_write_prfpreg): New function. | |
222 | (elfcore_write_prxfpreg): New function. | |
97996af6 | 223 | * elf-bfd.h: Add prototypes for above functions. |
7c76fa91 | 224 | |
e1fddb6b AO |
225 | 2002-01-08 Alexandre Oliva <aoliva@redhat.com> |
226 | ||
227 | * elf.c (elf_fake_sections): Propagate errors from | |
228 | elf_backend_fake_section. | |
229 | ||
8d05742f JT |
230 | 2002-01-07 Jason Thorpe <thorpej@wasabisystems.com> |
231 | ||
232 | * Makefile.am (BFD32_BACKENDS): Add elf32-sh-nbsd.lo. | |
233 | (BFD32_BACKENDS_CFILES): Add elf32-sh-nbsd.c. | |
234 | (elf32-sh-nbsd.lo): New rule. | |
235 | * Makefile.in: Regenerate. | |
236 | * config.bfd (sh*le-*-netbsdelf*): New target. | |
237 | (sh*-*-netbsdelf*): New target. | |
238 | * configure.in: Include netbsd-core.lo for native sh*-*-netbsd*. | |
239 | (bfd_elf32_shnbsd_vec): New vector. | |
240 | (bfd_elf32_shlnbsd_vec): New vector. | |
241 | * configure: Regenerate. | |
242 | * elf32-sh-nbsd.c: New file. | |
243 | * targets.c: Update copyright years. | |
175e9962 | 244 | (_bfd_target_vector): Add bfd_elf32_shlnbsd_vec and |
8d05742f JT |
245 | bfd_elf32_shnbsd_vec. |
246 | ||
1dba4cb4 AH |
247 | 2002-01-07 Aldy Hernandez <aldyh@redhat.com> |
248 | ||
249 | * coff-rs6000.c (READ20): Use bfd_scan_vma. | |
250 | ||
47b22aef GK |
251 | 2002-01-07 Geoffrey Keating <geoffk@redhat.com> |
252 | ||
253 | * elflink.h (elf_link_input_bfd): Don't ask for the merged offset | |
254 | of a symbol in a section that will be deleted. | |
255 | ||
be2d1673 NC |
256 | 2002-01-07 Nick Clifton <nickc@cambridge.redhat.com> |
257 | ||
258 | * po/es.po: New file: Spanish translation. | |
259 | * configure.in (ALL_LINGUAS): Add es. | |
260 | * configure: Regenerate. | |
261 | ||
d9cf1b54 AM |
262 | 2002-01-06 Steve Ellcey <sje@cup.hp.com> |
263 | ||
264 | * elfxx-ia64.c (is_unwind_section_name): Add target vector as | |
265 | argument so we can handle HP-UX specially. | |
266 | (elfNN_ia64_hpux_vec): New for use in is_unwind_section_name. | |
267 | (elfNN_hpux_backend_section_from_bfd_section): New for support | |
268 | of SHN_IA_64_ANSI_COMMON. | |
269 | (elfNN_ia64_relax_section): Add support for SHN_IA_64_ANSI_COMMON. | |
270 | (is_unwind_section_name): Add special HP-UX support. | |
271 | (elfNN_ia64_section_from_shdr): Add support for more sections. | |
272 | (elfNN_ia64_fake_sections): Modify is_unwind_section_name call and | |
273 | add support for more sections. | |
274 | (elfNN_ia64_additional_program_headers): Modify | |
275 | is_unwind_section_name call. | |
276 | (elfNN_ia64_modify_segment_map): Remove assumption that there is | |
277 | only one unwind section in segment. | |
278 | ||
3f3c5c34 AM |
279 | 2002-01-06 Alan Modra <amodra@bigpond.net.au> |
280 | ||
281 | * syms.c (_bfd_generic_make_empty_symbol): New function. | |
282 | * libbfd-in.h (_bfd_nosymbols_make_empty_symbol): Define as | |
283 | _bfd_generic_make_empty_symbol. | |
284 | * libbfd.h: Regenerate. | |
285 | * bfd-in2.h: Regenerate. | |
286 | * hppabsd-core.c (hppabsd_core_make_empty_symbol): Delete function. | |
287 | (hppabsd_core_get_symtab_upper_bound): Don't define. | |
288 | (hppabsd_core_get_symtab): Likewise. | |
289 | (hppabsd_core_print_symbol): Likewise. | |
290 | (hppabsd_core_get_symbol_info): Likewise. | |
291 | (hppabsd_core_bfd_is_local_label_name): Likewise. | |
292 | (hppabsd_core_get_lineno): Likewise. | |
293 | (hppabsd_core_find_nearest_line): Likewise. | |
294 | (hppabsd_core_bfd_make_debug_symbol): Likewise. | |
295 | (hppabsd_core_read_minisymbols): Likewise. | |
296 | (hppabsd_core_minisymbol_to_symbol): Likewise. | |
297 | (hppabsd_core_vec): Use BFD_JUMP_TABLE_SYMBOLS (_bfd_nosymbols). | |
298 | Formatting fixes. | |
299 | * hpux-core.c: Similarly. | |
300 | * irix-core.c: Similarly. | |
301 | * osf-core.c: Similarly. | |
302 | * sco5-core.c: Similarly. | |
303 | * binary.c (binary_make_empty_symbol): Remove function, define as | |
304 | _bfd_generic_make_empty_symbol. | |
305 | * ihex.c (ihex_make_empty_symbol): Likewise. | |
306 | * mmo.c (mmo_make_empty_symbol): Likewise. | |
307 | * ppcboot.c (ppcboot_make_empty_symbol): Likewise. | |
308 | * srec.c (srec_make_empty_symbol): Likewise. | |
309 | * versados.c (versados_make_empty_symbol): Likewise. | |
310 | * vms.c (_bfd_vms_make_empty_symbol): Remove. | |
311 | (vms_make_empty_symbol): Define as _bfd_generic_make_empty_symbol. | |
312 | * vms-gsd.c (_bfd_vms_slurp_gsd): Call bfd_make_empty_symbol | |
313 | rather than _bfd_vms_make_empty_symbol. | |
314 | * vms-misc.c (new_symbol): Likewise. | |
315 | ||
3f0a7f7f AM |
316 | 2002-01-05 Alan Modra <amodra@bigpond.net.au> |
317 | ||
9e7b37b3 AM |
318 | * section.c (bfd_section_init): Remove unnecessary initialisations. |
319 | (bfd_section_list_clear): New function. | |
320 | (bfd_section_list_remove, bfd_section_list_insert): New macros. | |
321 | (_bfd_strip_section_from_output): Use them. | |
322 | * coffcode.h (coff_set_alignment_hook): Likewise. | |
323 | * elf32-mips.c (_bfd_mips_elf_final_link): Likewise. | |
324 | * elf64-mips.c (mips_elf64_final_link): Likewise. | |
325 | * elf64-mmix.c (mmix_elf_final_link): Likewise. | |
326 | * sunos.c (sunos_add_dynamic_symbols): Likewise. | |
327 | * xcofflink.c (_bfd_xcoff_bfd_final_link): Likewise. | |
328 | * bfd-in2.h: Regenerate. | |
329 | ||
330 | * netbsd-core.c (netbsd_core_file_p): Use bfd_make_section_anyway | |
331 | rather than doing our own section handling. Clean up after errors | |
332 | with bfd_release and bfd_section_list_clear. Handle unexpected | |
333 | flags. | |
334 | * aoutf1.h (sunos4_core_file_p): Likewise. | |
335 | * aix386-core.c (aix386_core_file_p): Likewise. | |
336 | * cisco-core.c (cisco_core_file_validate): Likewise. | |
337 | * ptrace-core.c (ptrace_unix_core_file_p): Likewise. | |
338 | * trad-core.c (trad_unix_core_file_p): Likewise. | |
339 | ||
340 | * hppabsd-core.c (hppabsd_core_core_file_p): Clean up after errors | |
341 | with bfd_release and bfd_section_list_clear. | |
342 | * hpux-core.c (hpux_core_core_file_p): Likewise. | |
343 | * irix-core.c (irix_core_core_file_p): Likewise. | |
344 | * lynx-core.c (lynx_core_file_p): Likewise. | |
345 | * osf-core.c (osf_core_core_file_p): Likewise. | |
346 | * rs6000-core.c (rs6000coff_core_p): Likewise. | |
347 | * sco5-core.c (sco5_core_file_p): Likewise. | |
348 | ||
3f0a7f7f AM |
349 | * elf32-mips.c (_bfd_mips_elf_lo16_reloc): Simplify, and perform |
350 | sign extension adjustments without conditionals. | |
351 | ||
a3aa38ee JJ |
352 | 2002-01-04 Jakub Jelinek <jakub@redhat.com> |
353 | ||
354 | * elf-eh-frame.c (_bfd_elf_write_section_eh_frame): Don't crash if | |
355 | CIE at .eh_frame start is removed due to no FDEs referencing it. | |
356 | ||
8a8b2d4b AJ |
357 | 2002-01-04 Jason Thorpe <thorpej@wasabisystems.com> |
358 | ||
359 | * config.bfd (x86_64-*-netbsd*): New target. | |
360 | * configure.in (x86_64-*-netbsd*): Set COREFILE | |
361 | to netbsd-core.lo. | |
362 | * configure: Regenerated. | |
363 | ||
04b5af89 TR |
364 | 2002-01-03 Tom Rix <trix@redhat.com> |
365 | ||
366 | * xcofflink.c (_bfd_xcoff_bfd_final_link): Update .pad section ordering | |
367 | for recent bfd_make_section_anyway change. | |
368 | ||
51c5503b NC |
369 | 2002-01-03 Nick Clifton <nickc@cambridge.redhat.com> |
370 | ||
371 | * elf32-arm.h (elf32_arm_final_link_relocate): Handle | |
372 | R_ARM_THM_PC11 reloc. | |
373 | ||
07f7c046 NC |
374 | 2002-01-02 Nick Clifton <nickc@cambridge.redhat.com> |
375 | ||
376 | * configure.in (LINGUAS): Add ja. | |
377 | * configure: Regenerate. | |
378 | * po/ja.po: Import from translation project's web site. | |
379 | ||
5eefb65f NC |
380 | 2002-01-02 Nick Clifton <nickc@cambridge.redhat.com> |
381 | ||
382 | * elf32-arm.h (elf32_arm_merge_private_bfd_data): Reformat error | |
383 | messages to ease translation into other languages. | |
384 | ||
39e90f10 | 385 | For older changes see ChangeLog-0001 |
56882138 AM |
386 | \f |
387 | Local Variables: | |
388 | mode: change-log | |
389 | left-margin: 8 | |
390 | fill-column: 74 | |
391 | version-control: never | |
392 | End: |