Commit | Line | Data |
---|---|---|
328577ad NC |
1 | 2002-01-17 Nick Clifton <nickc@cambridge.redhat.com> |
2 | ||
3 | * po/bfd.pot: Regenerate. | |
4 | * po/fr.po: Regenerate. | |
5 | ||
af746e92 AM |
6 | 2002-01-17 Alan Modra <amodra@bigpond.net.au> |
7 | ||
8 | * elf-bfd.h (elf_backend_data <elf_backend_section_from_bfd_section>): | |
9 | Remove "Elf_Internal_Shdr *" param. | |
10 | (_bfd_mips_elf_section_from_bfd_section): Ditto. | |
11 | * elf32-mips.c (_bfd_mips_elf_section_from_bfd_section): Ditto. | |
12 | * elf32-m32r.c (_bfd_m32r_elf_section_from_bfd_section): Ditto. | |
13 | * elf32-v850.c (v850_elf_section_from_bfd_section): Ditto. | |
14 | * elf64-mmix.c (mmix_elf_section_from_bfd_section): Ditto. | |
15 | * elfxx-ia64.c (elfNN_hpux_backend_section_from_bfd_section): Ditto. | |
16 | * elf.c (_bfd_elf_section_from_bfd_section): Allow backend | |
17 | function to override special sections. Remove hdr arg from | |
18 | backend call, and don't loop. | |
19 | ||
175e9962 EC |
20 | 2002-01-16 Eric Christopher <echristo@redhat.com> |
21 | ||
22 | * elf32-mips.c (mips_elf_calculate_relocation): Set require_jalxp | |
23 | on R_MIPS_26 and target is 16bit. Add R_MIPS16_GPREL to list of | |
24 | relocations requiring gp0 and gp. | |
25 | ||
96a846ea RE |
26 | 2002-01-16 Richard Earnshaw <rearnsha@arm.com> |
27 | ||
175e9962 | 28 | * elf32-arm.h (elf32_arm_merge_private_bfd_data): Handle |
96a846ea RE |
29 | EF_ARM_VFP_FLOAT. |
30 | (elf32_arm_print_private_bfd_data): Likewise. | |
31 | ||
af3ae48d NC |
32 | 2002-01-16 Nick Clifton <nickc@cambridge.redhat.com> |
33 | ||
34 | * po/tr.po: Import new version. | |
35 | ||
10ed1bba AM |
36 | 2002-01-16 Alan Modra <amodra@bigpond.net.au> |
37 | ||
38 | * elf64-ppc.c (ppc64_elf_howto_raw): Remove stale FIXMEs. | |
39 | (ppc64_elf_reloc_type_lookup): Use proper CTOR reloc. | |
40 | (ORI_R0_R0_0): Correct. | |
41 | ||
5d1634d7 AM |
42 | 2002-01-16 Alan Modra <amodra@bigpond.net.au> |
43 | ||
44 | * elflink.c (_bfd_elf_create_dynamic_sections): Don't set SEC_CODE | |
45 | when plt_not_loaded. | |
46 | * elf64-ppc.c (ppc64_elf_create_dynamic_sections): No need to | |
47 | clear .plt SEC_CODE here. Create .stub and correct .glink flags. | |
48 | (PLT_INITIAL_ENTRY_SIZE): Set to 24. | |
49 | (ppc64_elf_glink_code): Delete. | |
50 | (PPC64_ELF_GLINK_SIZE): Delete. | |
51 | (ADDIS_R12_R2, STD_R2_40R1, LD_R11_0R12, LD_R2_0R12, MTCTR_R11, | |
52 | BCTR, ADDIS_R12_R12_1, LD_R2_40R1, NOP, LI_R0_0, B_DOT, LIS_R0_0, | |
53 | ORI_R0_R0_0): Define. | |
54 | (PLT_CALL_STUB_SIZE, GLINK_CALL_STUB_SIZE): Define. | |
55 | (struct ppc_link_hash_table): Add sstub and plt_overflow. | |
56 | (ppc64_elf_link_hash_table_create): Init them. | |
57 | (ppc64_elf_check_relocs <R_PPC64_REL24>): Refcount .plt entry. | |
58 | Don't copy to shared lib. | |
59 | (ppc64_elf_check_relocs): Call bfd_set_error on errors. | |
60 | (ppc64_elf_gc_sweep_hook <R_PPC64_REL24>): Sweep plt refcount. | |
61 | (allocate_dynrelocs <plt>): Don't change function sym here. Make | |
62 | room for .stub and .glink code. | |
63 | (ppc64_elf_size_dynamic_sections): Handle .stub. Make entry for | |
64 | DT_PPC64_GLINK. | |
65 | (ppc64_elf_final_link): Rename to ppc64_elf_set_toc. Don't call | |
66 | bfd_elf64_bfd_final_link. | |
67 | (bfd_elf64_bfd_final_link): Don't define. | |
68 | (ppc64_elf_size_stubs): New. | |
69 | (build_plt_stub): New. | |
70 | (build_one_stub): New. | |
71 | (ppc64_elf_build_stubs): New. | |
72 | (ppc64_elf_relocate_section <toc relocs>): Remove assert. | |
73 | (ppc64_elf_relocate_section): Don't copy R_PPC64_REL24 relocs. | |
74 | (ppc64_elf_finish_dynamic_symbol): Don't build stubs here. Set | |
75 | DT_PPC64_GLINK entry. Tweak DT_PLTGOT, DT_JMPREL, DT_PLTRELSZ in | |
76 | case output sections not separate. Adjust DT_RELASZ to not | |
77 | include plt relocs. Set reserved got entry. Set got and plt | |
78 | entry size. | |
79 | (elf_backend_got_header_size): Set to 8. | |
80 | * elf64-ppc.h: New file. | |
81 | ||
c601ffdb AM |
82 | 2002-01-16 Alan Modra <amodra@bigpond.net.au> |
83 | ||
84 | * elf32-arm.h (elf32_arm_size_dynamic_sections): When removing | |
85 | sections, use bfd_section_list_remove. | |
86 | * elf32-i370.c (i370_elf_size_dynamic_sections): Likewise. | |
87 | * elflink.h (elf_link_add_object_symbols): When removing all | |
88 | sections, use bfd_section_list_clear. | |
89 | ||
8fb4cb7f NC |
90 | 2002-01-15 Nick Clifton <nickc@cambridge.redhat.com> |
91 | ||
92 | * po/sv.po: New file: Swedish translation. | |
93 | * configure.in (ALL_LINGUAS): Add sv. | |
94 | * configure: Regenerate. | |
95 | ||
d3c456e9 JJ |
96 | 2002-01-15 Jakub Jelinek <jakub@redhat.com> |
97 | ||
98 | * elflink.h (elf_link_input_bfd): Back out 2002-01-07 change. | |
99 | * elf.c (merge_sections_remove_hook): New function. | |
100 | (_bfd_elf_merge_sections): Pass it as 3rd argument to | |
101 | _bfd_merge_sections. | |
102 | * libbfd-in.h (_bfd_merge_sections): Add 3rd argument. | |
103 | * libbfd.h: Rebuilt. | |
104 | * merge.c (_bfd_merge_sections): Add remove_hook argument. | |
105 | Call remove_hook if a SEC_EXCLUDE section is encountered. | |
106 | ||
1f7fd478 NC |
107 | 2002-01-15 Nick Clifton <nickc@cambridge.redhat.com> |
108 | ||
109 | * elf32-xstormy16.c (xstormy16_reloc_map): Add new field 'table'. | |
110 | (xstormy16_reloc_map): Initialise new field with correct howto | |
111 | table. | |
112 | (xstormy16_reloc_type_lookup): Use 'table' field to locate correct | |
113 | howto entry. | |
114 | ||
b87011e9 MS |
115 | 2002-01-10 Michael Snyder <msnyder@redhat.com> |
116 | ||
117 | * elf.c (elfcore_write_prstatus): Use long instead of pid_t; | |
118 | (elfcore_write_pstatus): Use long instead of pid_t; | |
119 | * elf-bfd.h: Change prototypes to use long instead of pid_t; | |
120 | ||
175e9962 | 121 | 2002-01-09 Jason Thorpe <thorpej@wasabisystems.com> |
b4db1224 JT |
122 | |
123 | * elf.c: Update copyright years. | |
124 | (elfcore_grok_netbsd_note): Use NT_NETBSDCORE_PROCINFO | |
125 | and NT_NETBSDCORE_FIRSTMACH. Improve a comment. | |
126 | ||
7c76fa91 MS |
127 | 2002-01-08 Michael Snyder <msnyder@redhat.com> |
128 | ||
129 | Add capability to write corefile note sections, for gdb. | |
130 | * elf.c (elfcore_write_note): New function. | |
131 | (elfcore_write_prpsinfo): New function. | |
132 | (elfcore_write_prstatus): New function. | |
133 | (elfcore_write_pstatus): New function. | |
134 | (elfcore_write_prfpreg): New function. | |
135 | (elfcore_write_prxfpreg): New function. | |
97996af6 | 136 | * elf-bfd.h: Add prototypes for above functions. |
7c76fa91 | 137 | |
e1fddb6b AO |
138 | 2002-01-08 Alexandre Oliva <aoliva@redhat.com> |
139 | ||
140 | * elf.c (elf_fake_sections): Propagate errors from | |
141 | elf_backend_fake_section. | |
142 | ||
8d05742f JT |
143 | 2002-01-07 Jason Thorpe <thorpej@wasabisystems.com> |
144 | ||
145 | * Makefile.am (BFD32_BACKENDS): Add elf32-sh-nbsd.lo. | |
146 | (BFD32_BACKENDS_CFILES): Add elf32-sh-nbsd.c. | |
147 | (elf32-sh-nbsd.lo): New rule. | |
148 | * Makefile.in: Regenerate. | |
149 | * config.bfd (sh*le-*-netbsdelf*): New target. | |
150 | (sh*-*-netbsdelf*): New target. | |
151 | * configure.in: Include netbsd-core.lo for native sh*-*-netbsd*. | |
152 | (bfd_elf32_shnbsd_vec): New vector. | |
153 | (bfd_elf32_shlnbsd_vec): New vector. | |
154 | * configure: Regenerate. | |
155 | * elf32-sh-nbsd.c: New file. | |
156 | * targets.c: Update copyright years. | |
175e9962 | 157 | (_bfd_target_vector): Add bfd_elf32_shlnbsd_vec and |
8d05742f JT |
158 | bfd_elf32_shnbsd_vec. |
159 | ||
1dba4cb4 AH |
160 | 2002-01-07 Aldy Hernandez <aldyh@redhat.com> |
161 | ||
162 | * coff-rs6000.c (READ20): Use bfd_scan_vma. | |
163 | ||
47b22aef GK |
164 | 2002-01-07 Geoffrey Keating <geoffk@redhat.com> |
165 | ||
166 | * elflink.h (elf_link_input_bfd): Don't ask for the merged offset | |
167 | of a symbol in a section that will be deleted. | |
168 | ||
be2d1673 NC |
169 | 2002-01-07 Nick Clifton <nickc@cambridge.redhat.com> |
170 | ||
171 | * po/es.po: New file: Spanish translation. | |
172 | * configure.in (ALL_LINGUAS): Add es. | |
173 | * configure: Regenerate. | |
174 | ||
d9cf1b54 AM |
175 | 2002-01-06 Steve Ellcey <sje@cup.hp.com> |
176 | ||
177 | * elfxx-ia64.c (is_unwind_section_name): Add target vector as | |
178 | argument so we can handle HP-UX specially. | |
179 | (elfNN_ia64_hpux_vec): New for use in is_unwind_section_name. | |
180 | (elfNN_hpux_backend_section_from_bfd_section): New for support | |
181 | of SHN_IA_64_ANSI_COMMON. | |
182 | (elfNN_ia64_relax_section): Add support for SHN_IA_64_ANSI_COMMON. | |
183 | (is_unwind_section_name): Add special HP-UX support. | |
184 | (elfNN_ia64_section_from_shdr): Add support for more sections. | |
185 | (elfNN_ia64_fake_sections): Modify is_unwind_section_name call and | |
186 | add support for more sections. | |
187 | (elfNN_ia64_additional_program_headers): Modify | |
188 | is_unwind_section_name call. | |
189 | (elfNN_ia64_modify_segment_map): Remove assumption that there is | |
190 | only one unwind section in segment. | |
191 | ||
3f3c5c34 AM |
192 | 2002-01-06 Alan Modra <amodra@bigpond.net.au> |
193 | ||
194 | * syms.c (_bfd_generic_make_empty_symbol): New function. | |
195 | * libbfd-in.h (_bfd_nosymbols_make_empty_symbol): Define as | |
196 | _bfd_generic_make_empty_symbol. | |
197 | * libbfd.h: Regenerate. | |
198 | * bfd-in2.h: Regenerate. | |
199 | * hppabsd-core.c (hppabsd_core_make_empty_symbol): Delete function. | |
200 | (hppabsd_core_get_symtab_upper_bound): Don't define. | |
201 | (hppabsd_core_get_symtab): Likewise. | |
202 | (hppabsd_core_print_symbol): Likewise. | |
203 | (hppabsd_core_get_symbol_info): Likewise. | |
204 | (hppabsd_core_bfd_is_local_label_name): Likewise. | |
205 | (hppabsd_core_get_lineno): Likewise. | |
206 | (hppabsd_core_find_nearest_line): Likewise. | |
207 | (hppabsd_core_bfd_make_debug_symbol): Likewise. | |
208 | (hppabsd_core_read_minisymbols): Likewise. | |
209 | (hppabsd_core_minisymbol_to_symbol): Likewise. | |
210 | (hppabsd_core_vec): Use BFD_JUMP_TABLE_SYMBOLS (_bfd_nosymbols). | |
211 | Formatting fixes. | |
212 | * hpux-core.c: Similarly. | |
213 | * irix-core.c: Similarly. | |
214 | * osf-core.c: Similarly. | |
215 | * sco5-core.c: Similarly. | |
216 | * binary.c (binary_make_empty_symbol): Remove function, define as | |
217 | _bfd_generic_make_empty_symbol. | |
218 | * ihex.c (ihex_make_empty_symbol): Likewise. | |
219 | * mmo.c (mmo_make_empty_symbol): Likewise. | |
220 | * ppcboot.c (ppcboot_make_empty_symbol): Likewise. | |
221 | * srec.c (srec_make_empty_symbol): Likewise. | |
222 | * versados.c (versados_make_empty_symbol): Likewise. | |
223 | * vms.c (_bfd_vms_make_empty_symbol): Remove. | |
224 | (vms_make_empty_symbol): Define as _bfd_generic_make_empty_symbol. | |
225 | * vms-gsd.c (_bfd_vms_slurp_gsd): Call bfd_make_empty_symbol | |
226 | rather than _bfd_vms_make_empty_symbol. | |
227 | * vms-misc.c (new_symbol): Likewise. | |
228 | ||
3f0a7f7f AM |
229 | 2002-01-05 Alan Modra <amodra@bigpond.net.au> |
230 | ||
9e7b37b3 AM |
231 | * section.c (bfd_section_init): Remove unnecessary initialisations. |
232 | (bfd_section_list_clear): New function. | |
233 | (bfd_section_list_remove, bfd_section_list_insert): New macros. | |
234 | (_bfd_strip_section_from_output): Use them. | |
235 | * coffcode.h (coff_set_alignment_hook): Likewise. | |
236 | * elf32-mips.c (_bfd_mips_elf_final_link): Likewise. | |
237 | * elf64-mips.c (mips_elf64_final_link): Likewise. | |
238 | * elf64-mmix.c (mmix_elf_final_link): Likewise. | |
239 | * sunos.c (sunos_add_dynamic_symbols): Likewise. | |
240 | * xcofflink.c (_bfd_xcoff_bfd_final_link): Likewise. | |
241 | * bfd-in2.h: Regenerate. | |
242 | ||
243 | * netbsd-core.c (netbsd_core_file_p): Use bfd_make_section_anyway | |
244 | rather than doing our own section handling. Clean up after errors | |
245 | with bfd_release and bfd_section_list_clear. Handle unexpected | |
246 | flags. | |
247 | * aoutf1.h (sunos4_core_file_p): Likewise. | |
248 | * aix386-core.c (aix386_core_file_p): Likewise. | |
249 | * cisco-core.c (cisco_core_file_validate): Likewise. | |
250 | * ptrace-core.c (ptrace_unix_core_file_p): Likewise. | |
251 | * trad-core.c (trad_unix_core_file_p): Likewise. | |
252 | ||
253 | * hppabsd-core.c (hppabsd_core_core_file_p): Clean up after errors | |
254 | with bfd_release and bfd_section_list_clear. | |
255 | * hpux-core.c (hpux_core_core_file_p): Likewise. | |
256 | * irix-core.c (irix_core_core_file_p): Likewise. | |
257 | * lynx-core.c (lynx_core_file_p): Likewise. | |
258 | * osf-core.c (osf_core_core_file_p): Likewise. | |
259 | * rs6000-core.c (rs6000coff_core_p): Likewise. | |
260 | * sco5-core.c (sco5_core_file_p): Likewise. | |
261 | ||
3f0a7f7f AM |
262 | * elf32-mips.c (_bfd_mips_elf_lo16_reloc): Simplify, and perform |
263 | sign extension adjustments without conditionals. | |
264 | ||
a3aa38ee JJ |
265 | 2002-01-04 Jakub Jelinek <jakub@redhat.com> |
266 | ||
267 | * elf-eh-frame.c (_bfd_elf_write_section_eh_frame): Don't crash if | |
268 | CIE at .eh_frame start is removed due to no FDEs referencing it. | |
269 | ||
8a8b2d4b AJ |
270 | 2002-01-04 Jason Thorpe <thorpej@wasabisystems.com> |
271 | ||
272 | * config.bfd (x86_64-*-netbsd*): New target. | |
273 | * configure.in (x86_64-*-netbsd*): Set COREFILE | |
274 | to netbsd-core.lo. | |
275 | * configure: Regenerated. | |
276 | ||
04b5af89 TR |
277 | 2002-01-03 Tom Rix <trix@redhat.com> |
278 | ||
279 | * xcofflink.c (_bfd_xcoff_bfd_final_link): Update .pad section ordering | |
280 | for recent bfd_make_section_anyway change. | |
281 | ||
51c5503b NC |
282 | 2002-01-03 Nick Clifton <nickc@cambridge.redhat.com> |
283 | ||
284 | * elf32-arm.h (elf32_arm_final_link_relocate): Handle | |
285 | R_ARM_THM_PC11 reloc. | |
286 | ||
07f7c046 NC |
287 | 2002-01-02 Nick Clifton <nickc@cambridge.redhat.com> |
288 | ||
289 | * configure.in (LINGUAS): Add ja. | |
290 | * configure: Regenerate. | |
291 | * po/ja.po: Import from translation project's web site. | |
292 | ||
5eefb65f NC |
293 | 2002-01-02 Nick Clifton <nickc@cambridge.redhat.com> |
294 | ||
295 | * elf32-arm.h (elf32_arm_merge_private_bfd_data): Reformat error | |
296 | messages to ease translation into other languages. | |
297 | ||
39e90f10 | 298 | For older changes see ChangeLog-0001 |
56882138 AM |
299 | \f |
300 | Local Variables: | |
301 | mode: change-log | |
302 | left-margin: 8 | |
303 | fill-column: 74 | |
304 | version-control: never | |
305 | End: |