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