]>
Commit | Line | Data |
---|---|---|
517662d4 CD |
1 | 2002-02-08 Chris Demetriou <[email protected]> |
2 | ||
3 | * elf32-arm.h: Fix formatting of _("..."). | |
4 | * elf32-d10v.c: Likewise. | |
5 | * elf32-m68k.c: Likewise. | |
6 | * elf32-mips.c: Likewise. | |
7 | ||
5e37cc46 NC |
8 | 2002-02-08 Ivan Guzvinec <[email protected]> |
9 | ||
10 | * coff-or32.c: Fix compile time warning messages. | |
11 | ||
fbca6ad9 AO |
12 | 2002-02-08 Alexandre Oliva <[email protected]> |
13 | ||
14 | Contribute sh64-elf. | |
15 | 2002-01-23 Alexandre Oliva <[email protected]> | |
16 | * reloc.c (R_SH_GOTPLT32, R_SH_GOT_LOW16, R_SH_GOT_MEDLOW16, | |
17 | R_SH_GOT_MEDHI16, R_SH_GOT_HI16, R_SH_GOTPLT_LOW16, | |
18 | R_SH_GOTPLT_MEDLOW16, R_SH_GOTPLT_MEDHI16, R_SH_GOTPLT_HI16, | |
19 | R_SH_PLT_LOW16, R_SH_PLT_MEDLOW16, R_SH_PLT_MEDHI16, | |
20 | R_SH_PLT_HI16, R_SH_GOTOFF_LOW16, R_SH_GOTOFF_MEDLOW16, | |
21 | R_SH_GOTOFF_MEDHI16, R_SH_GOTOFF_HI16, R_SH_GOTPC_LOW16, | |
22 | R_SH_GOTPC_MEDLOW16, R_SH_GOTPC_MEDHI16, R_SH_GOTPC_HI16, | |
23 | R_SH_GOT10BY4, R_SH_GOTPLT10BY4, R_SH_GOT10BY8, R_SH_GOTPLT10BY8, | |
24 | R_SH_COPY64, R_SH_GLOB_DAT64, R_SH_JMP_SLOT64, R_SH_RELATIVE64): | |
25 | New relocs. | |
26 | * libbfd.h, bfd-in2.h: Rebuilt. | |
27 | * elf32-sh.c (sh_elf_howto_table): Define new relocs. | |
28 | (sh_reloc_map): Map them. | |
29 | (PLT_ENTRY_SIZE, elf_sh_plt0_entry_be, elf_sh_plt0_entry_le, | |
30 | elf_sh_plt_entry_be, elf_sh_plt_entry_le, elf_sh_pic_plt_entry_be, | |
31 | elf_sh_pic_plt_entry_le, elf_sh_plt0_entry, elf_sh_plt_entry, | |
32 | elf_sh_pic_plt_entry, elf_sh_sizeof_plt, elf_sh_plt_plt0_offset, | |
33 | elf_sh_plt0_gotplt_offset, elf_sh_plt_temp_offset, | |
34 | elf_sh_plt_symbol_offset, elf_sh_plt_reloc_offset, | |
35 | movi_shori_putval) [INCLUDE_SHMEDIA]: New. | |
36 | (elf_sh_link_hash_entry) [INCLUDE_SHMEDIA]: Add | |
37 | datalabel_got_offset. | |
38 | (sh_elf_link_hash_newfunc): Initialize it. | |
39 | (sh_elf_relocate_section): Augment the scope of | |
40 | seen_stt_datalabel. Introduce GOTPLT support. Extend GOTPC, PLT, | |
41 | GOT and GOTOFF handling to new SHmedia relocation types. Support | |
42 | GOT_BIAS. | |
43 | (sh_elf_check_relocs): Likewise. | |
44 | (sh_elf_finish_dynamic_symbol) [TARGET_SHMEDIA]: Set up values in | |
45 | PLT entries using movi_shori_putval. Support GOT_BIAS. | |
46 | (sh_elf_finish_dynamic_sections): Likewise. | |
47 | * elf32-sh64.c (shmedia_prepare_reloc): Do not add addend to | |
48 | relocation, it's now done by the caller. | |
49 | (GOT_BIAS): New. | |
50 | * elf64-sh64.c (GOT_BIAS, PLT_ENTRY_SIZE, elf_sh64_sizeof_plt, | |
51 | elf_sh64_plt_plt0_offset, elf_sh64_plt0_gotplt_offset, | |
52 | elf_sh64_plt_temp_offset, elf_sh64_plt_symbol_offset, | |
53 | elf_sh64_plt_reloc_offset, ELF_DYNAMIC_INTERPRETER, | |
54 | elf_sh64_pcrel_relocs_copied, elf_sh64_link_hash_entry, | |
55 | elf_sh64_link_hash_table, sh64_elf64_link_hash_traverse, | |
56 | sh64_elf64_hash_table): New. | |
57 | (sh_elf64_howto_table): Introduce new relocs. | |
58 | (sh_elf64_info_to_howto): Accept new PIC relocs. | |
59 | (sh_elf64_relocate_section): Augment the scope of | |
60 | seen_stt_datalabel. Support new PIC relocs. | |
61 | (sh_elf64_check_relocs): Support new PIC relocs. | |
62 | (elf_sh64_plt0_entry_be, elf_sh64_plt0_entry_le, | |
63 | elf_sh64_plt_entry_be, elf_sh64_plt_entry_le, | |
64 | elf_sh64_pic_plt_entry_be, elf_sh64_pic_plt_entry_le, | |
65 | elf_sh64_plt0_entry, elf_sh64_plt_entry, elf_sh64_pic_plt_entry, | |
66 | sh64_elf64_link_hash_newfunc, sh64_elf64_link_hash_table_create, | |
67 | movi_shori_putval, movi_3shori_putval, | |
68 | sh64_elf64_create_dynamic_sections, | |
69 | sh64_elf64_adjust_dynamic_symbol, sh64_elf64_discard_copies, | |
70 | sh64_elf64_size_dynamic_sections, | |
71 | sh64_elf64_finish_dynamic_symbol, | |
72 | sh64_elf64_finish_dynamic_sections): New. | |
73 | (elf_backend_create_dynamic-sections, | |
74 | bfd_elf64_bfd_link_hash_table_create, | |
75 | elf_backend_adjust_dynamic_symbol, | |
76 | elf_backend_size_dynamic_sections, | |
77 | elf_backend_finish_dynamic_symbol, | |
78 | elf_backend_finish_dynamic_sections, elf_backend_want_got_plt, | |
79 | elf_backend_plt_readonly, elf_backend_want_plt_sym, | |
80 | elf_backend_got_header_size, elf_backend_plt_header_size): | |
81 | Define. | |
82 | 2001-05-16 Alexandre Oliva <[email protected]> | |
83 | * elf32-sh.c: Renumbered and renamed some SH5 relocations to | |
84 | match official numbers and names; moved unmaching ones to the | |
85 | range 0xf2-0xff. | |
86 | * elf32-sh64.c, elf64-sh64.c: Likewise. | |
87 | 2001-03-12 DJ Delorie <[email protected]> | |
88 | * elf32-sh.c (sh_elf_relax_section): Don't relax SHmedia | |
89 | sections. | |
90 | 2001-03-12 DJ Delorie <[email protected]> | |
91 | * elf32-sh64.c (shmedia_prepare_reloc): Validate relocs that must | |
92 | be aligned. | |
93 | * elf64-sh64.c (sh_elf64_relocate_section): Ditto. | |
94 | 2001-01-14 Hans-Peter Nilsson <[email protected]> | |
95 | * elf32-sh64.c (bfd_elf32_bfd_copy_private_section_data): Define. | |
96 | (sh64_elf_fake_sections): Set type to SHT_SH5_CR_SORTED for a | |
97 | .cranges section with SEC_SORT_ENTRIES set. | |
98 | (sh64_backend_section_from_shdr): Set SEC_SORT_ENTRIES on an | |
99 | incoming sorted .cranges section. | |
100 | (sh64_bfd_elf_copy_private_section_data): New. | |
101 | (sh64_elf_final_write_processing): Only sort .cranges and modify | |
102 | start address if called by linker. | |
103 | 2001-01-08 Ben Elliston <[email protected]> | |
104 | * elf32-sh64.c (sh64_elf_final_write_processing): Activate | |
105 | Hans-Peter Nilsson's set bit 0 patch from 2001-01-06. | |
106 | * elf64-sh64.c (sh64_elf64_final_write_processing): Ditto. | |
107 | 2001-01-06 Hans-Peter Nilsson <[email protected]> | |
108 | * elf64-sh64.c (sh_elf64_howto_table): No open brace at start of | |
109 | line. Add comments before all entries. | |
110 | <R_SH_PT_16, R_SH_SHMEDIA_CODE>: Correct and clarify describing | |
111 | comment. | |
112 | (sh_elf64_reloc): Correct head comment. | |
113 | (sh_elf64_relocate_section): Correct spacing. | |
114 | <relocating for a local symbol>: Do not honour STO_SH5_ISA32; | |
115 | instead call reloc_dangerous callback. | |
116 | <case R_SH_SHMEDIA_CODE>: New case. | |
117 | (sh_elf64_gc_mark_hook): Correct spacing. | |
118 | (sh_elf64_check_relocs): Ditto. | |
119 | * elf32-sh64.c (shmedia_prepare_reloc) <case R_SH_SHMEDIA_CODE>: | |
120 | New case. | |
121 | * elf32-sh.c: Correct #endif comments for #ifndef-wrapped | |
122 | functions. | |
123 | (sh_elf_howto_table) <R_SH_PT_16, R_SH_SHMEDIA_CODE>: Correct, | |
124 | clarify describing comment. Add comments before all entries. | |
125 | (sh_elf_relocate_section) <relocating for a local symbol>: Do not | |
126 | honour STO_SH5_ISA32; instead call reloc_dangerous callback. | |
127 | 2001-01-06 Hans-Peter Nilsson <[email protected]> | |
128 | Sort .cranges section in final link. Prepare to set bit 0 on | |
129 | entry address. | |
130 | * elf32-sh64.c (struct sh64_find_section_vma_data): New. | |
131 | (sh64_elf_link_output_symbol_hook): Fix typo in prototype. | |
132 | (sh64_elf_set_mach_from_flags): Set SEC_DEBUGGING on incoming | |
133 | .cranges section. | |
134 | (sh64_backend_section_from_shdr): New, to recognize | |
135 | SHT_SH5_CR_SORTED on incoming .cranges section. | |
136 | (elf_backend_section_from_shdr): Define. | |
137 | (sh64_elf_final_write_processing): Sort outgoing .cranges | |
138 | section. (New, temporarily disabled:) Set bit 0 on entry address | |
139 | according to ISA type. | |
140 | (sh64_find_section_for_address): New. | |
141 | (crange_qsort_cmpb, crange_qsort_cmpl, crange_bsearch_cmpb, | |
142 | crange_bsearch_cmpl): Move here from opcodes/sh64-dis.c. | |
143 | (sh64_address_in_cranges): Move here from opcodes/sh64-dis.c. Use | |
144 | bfd_malloc, not xmalloc. | |
145 | (sh64_get_contents_type): Move here from opcodes/sh64-dis.c. Make | |
146 | global. | |
147 | * elf32-sh64.c (sh64_elf64_final_write_processing): New, (but | |
148 | temporarily disabled) setting bit 0 on entry address. | |
149 | (elf_backend_final_write_processing): Define. | |
150 | 2001-01-05 Hans-Peter Nilsson <[email protected]> | |
151 | * elf32-sh.c (sh_elf_howto_table) <R_SH_PT_16>: Adjust fields to | |
152 | be a proper relocation for PTA and PTB rather than a marker. | |
153 | <R_SH_IMMU5, R_SH_IMMS6, R_SH_IMMU6, R_SH_IMMS10, R_SH_IMMS10BY2, | |
154 | R_SH_IMMS10BY4, R_SH_IMMS10BY8, R_SH_IMMS16, R_SH_IMMU16, | |
155 | R_SH_IMM_LOW16, R_SH_IMM_LOW16_PCREL, R_SH_IMM_MEDLOW16, | |
156 | R_SH_IMM_MEDLOW16_PCREL, R_SH_IMM_MEDHI16, R_SH_IMM_MEDHI16_PCREL, | |
157 | R_SH_IMM_HI16, R_SH_IMM_HI16_PCREL, R_SH_64, R_SH_64_PCREL>: | |
158 | Zero src_mask. | |
159 | * elf64-sh64.c: Ditto. | |
160 | (sh_elf64_relocate_section) <case R_SH_PT_16>: New case. | |
161 | * elf32-sh64.c: Include opcodes/sh64-opc.h | |
162 | (shmedia_prepare_reloc): Take a bfd_link_info pointer as first | |
163 | argument. Drop const qualifiers from "bfd *" and "bfd_byte *" | |
164 | parameters. No unused parameters. Caller changed. | |
165 | <case R_SH_PT_16>: New case. | |
166 | * Makefile.am (elf32-sh64.lo): Add dependency on sh64-opc.h. | |
167 | * Makefile.in: Regenerate. | |
168 | 2000-12-30 Hans-Peter Nilsson <[email protected]> | |
169 | * elf64-sh64.c (sh64_elf64_fake_sections): Set SHF_SH5_ISA32 for | |
170 | all code sections. | |
171 | (sh_elf64_set_mach_from_flags): Change from EF_SH64 to EF_SH5. | |
172 | (sh64_elf_merge_private_data): Ditto. | |
173 | * elf32-sh64.c (sh64_elf_fake_sections): Use sh64_elf_section_data | |
174 | to access stored section flags. | |
175 | (sh64_elf_final_write_processing): Return immediately unless | |
176 | called by linker. Use sh64_elf_section_data (cranges) to get size | |
177 | of linker-generated cranges entries. | |
178 | (sh64_elf_copy_private_data): Add missing "return true". | |
179 | (sh64_elf_set_mach_from_flags): Change from EF_SH64 to EF_SH5. | |
180 | (sh_elf64_merge_private_data): Ditto. | |
181 | 2000-12-19 Hans-Peter Nilsson <[email protected]> | |
182 | * elf64-sh64.c (sh64_elf64_fake_sections): New, copy of | |
183 | elf64-sh64.c:sh64_elf_fake_sections. | |
184 | (elf_backend_fake_sections): Define as sh64_elf64_fake_sections. | |
185 | 2000-12-18 Hans-Peter Nilsson <[email protected]> | |
186 | * elf32-sh64.c (sh64_elf_copy_private_data_internal): Delete. | |
187 | (sh64_elf_final_write_processing): New. | |
188 | (elf_backend_final_write_processing): Define. | |
189 | (sh64_elf_fake_sections): Get header flags from tdata field. | |
190 | (sh64_elf_copy_private_data): Do not call | |
191 | sh64_elf_copy_private_data_internal, just copy e_flags field. | |
192 | (sh64_elf_merge_private_data): Do not call | |
193 | sh64_elf_copy_private_data_internal. | |
194 | 2000-12-12 Hans-Peter Nilsson <[email protected]> | |
195 | Remove EF_SH64_ABI64, let ELF size make difference. | |
196 | Remove SH64-specific BFD section flag. | |
197 | * elf32-sh64.c (sh64_elf_fake_sections): Recognize section as | |
198 | containing SHmedia through elf_section_data (asect)->tdata | |
199 | non-zero, not using a BFD section flag. | |
200 | (sh64_elf_set_mach_from_flags): Don't recognize EF_SH64_ABI64. | |
201 | (sh64_elf_merge_private_data): Similar. | |
202 | (elf_backend_section_flags): Don't define. | |
203 | (sh64_elf_backend_section_flags): Delete. | |
204 | * elf64-sh64.c (sh_elf64_set_mach_from_flags): Recognize EF_SH64, | |
205 | not EF_SH64_ABI64. | |
206 | (sh_elf64_merge_private_data): Similar. | |
207 | * section.c (Section flags definitions): Don't define | |
208 | SEC_SH_ISA_SHMEDIA. | |
209 | (bfd-in2.h): Regenerate. | |
210 | 2000-12-09 Hans-Peter Nilsson <[email protected]> | |
211 | Make DataLabel references work with partial linking. | |
212 | * elf32-sh64.c: Fix formatting. | |
213 | (sh64_elf_link_output_symbol_hook): New. | |
214 | (elf_backend_link_output_symbol_hook): Define to | |
215 | sh64_elf_link_output_symbol_hook. | |
216 | (sh64_elf_add_symbol_hook): Make DataLabel symbol just global | |
217 | undefined if partial linking. Adjust sanity check. | |
218 | * elf64-sh64.c (sh64_elf64_link_output_symbol_hook): New. | |
219 | (elf_backend_link_output_symbol_hook): Define to | |
220 | sh64_elf64_link_output_symbol_hook. | |
221 | (sh64_elf64_add_symbol_hook): Make DataLabel symbol just global | |
222 | undefined if partial linking. Adjust sanity check. | |
223 | 2000-12-07 Hans-Peter Nilsson <[email protected]> | |
224 | Implement semantics for inter-file DataLabel references. | |
225 | * elf64-sh64.c (DATALABEL_SUFFIX): Define. | |
226 | (sh64_elf64_add_symbol_hook): New. | |
227 | (sh_elf64_relocate_section): If passing an indirect symbol with | |
228 | st_type STT_DATALABEL on the way to a symbol with st_other | |
229 | STO_SH5_ISA32, do not bitor 1 to the relocation. | |
230 | (elf_backend_add_symbol_hook): Define to | |
231 | sh64_elf64_add_symbol_hook. | |
232 | * elf64-sh32.c: Tweak comments. | |
233 | (DATALABEL_SUFFIX): Define. | |
234 | (sh64_elf_add_symbol_hook): New. | |
235 | (elf_backend_add_symbol_hook): Define to sh64_elf_add_symbol_hook. | |
236 | * elf32-sh.c (sh_elf_relocate_section): If passing an indirect | |
237 | symbol with st_type STT_DATALABEL on the way to a symbol with | |
238 | st_other STO_SH5_ISA32, do not bitor 1 to the relocation. | |
239 | 2000-12-05 Hans-Peter Nilsson <[email protected]> | |
240 | Pass through STT_DATALABEL. | |
241 | * elf32-sh64.c (sh64_elf_get_symbol_type): New. | |
242 | (elf_backend_get_symbol_type): Define. | |
243 | * elf64-sh64.c (sh64_elf64_get_symbol_type): New. | |
244 | (elf_backend_get_symbol_type): Define. | |
245 | 2000-11-30 Hans-Peter Nilsson <[email protected]> | |
246 | * elf32-sh64.c: Tweak comments. | |
247 | (sh64_elf_copy_private_data_internal): Add prototype. | |
248 | (bfd_elf32_bfd_set_private_flags): Define. | |
249 | (sh64_elf_copy_private_data_internal): Compare machine name, not | |
250 | textual BFD target name, to check whether to copy section flag | |
251 | SHF_SH5_ISA32. | |
252 | (sh64_elf_merge_private_data): Validize bfd_get_arch_size. | |
253 | Tweak section-contents-type-mismatch message. | |
254 | (shmedia_prepare_reloc): Add ATTRIBUTE_UNUSED markers. | |
255 | Validize reloc-types. | |
256 | * elf64-sh64.c: New file. | |
257 | * targets.c (bfd_elf64_sh64_vec, bfd_elf64_sh64l_vec): Declare. | |
258 | * Makefile.am (BFD64_BACKENDS): Add elf64-sh64.lo. | |
259 | (BFD64_BACKENDS_CFILES): Add elf64-sh64.c. | |
260 | Regenerate dependencies. | |
261 | * Makefile.in: Regenerate. | |
262 | * config.bfd (sh64-*-elf*): Add bfd_elf64_sh64_vec and | |
263 | bfd_elf64_sh64l_vec. | |
264 | * configure.in: Handle bfd_elf64_sh64_vec and | |
265 | bfd_elf64_sh64l_vec. | |
266 | * configure: Regenerate. | |
267 | * po/POTFILES.in: Regenerate. | |
268 | * po/bfd.pot: Regenerate. | |
269 | 2000-11-29 Hans-Peter Nilsson <[email protected]> | |
270 | * elf32-sh64.c (sh64_elf_set_mach_from_flags): Do not recognize | |
271 | anything else but EF_SH64 and EF_SH64_ABI64. | |
272 | (sh64_elf_merge_private_data): Emit error for anything else but | |
273 | EF_SH64 and EF_SH64_ABI64. | |
274 | * config.bfd: Remove bfd_elf32_shblin_vec and bfd_elf32_shlin_vec | |
275 | from targ_selvecs. | |
276 | * configure.in: Add cofflink.lo to bfd_elf32_sh64_vec and | |
277 | bfd_elf32_sh64l_vec as a temporary measure. | |
278 | * configure: Regenerate. | |
279 | 2000-11-27 Hans-Peter Nilsson <[email protected]> | |
280 | * cpu-sh.c (arch_info_struct): Include sh5 item | |
281 | unconditionalized. | |
282 | * config.bfd (sh64-*-elf*): Do not set targ_cflags. | |
283 | Add targ_selvecs bfd_elf32_sh_vec, bfd_elf32_shl_vec, | |
284 | bfd_elf32_shblin_vec and bfd_elf32_shlin_vec. | |
285 | * elf32-sh64.c: Tweak comments. | |
286 | (sh64_elf_set_mach_from_flags): Recognize all machine flags that | |
287 | are proper subsets of SH64 as bfd_mach_sh5. Add EF_SH64_ABI64. | |
288 | (sh64_elf_copy_private_data_internal): Wrap long line. | |
289 | (sh64_elf_merge_private_data): Rewrite to allow objects from | |
290 | SH64 subsets to be linked together. | |
291 | (INCLUDE_SHMEDIA): Define. | |
292 | * elf32-sh.c (sh_elf_relocate_section) <local symbol>: | |
293 | Parenthesize plus-expression inside or-expression. | |
294 | <global symbol>: Ditto. | |
295 | (sh_elf_set_mach_from_flags): Remove code refusing | |
296 | deleted EF_SH64_32BIT_ABI flag. | |
297 | 2000-11-26 Hans-Peter Nilsson <[email protected]> | |
298 | * elf32-sh.c (sh_elf_howto_table) <R_SH_IMM_LOW16_PCREL, | |
299 | R_SH_IMM_MEDLOW16_PCREL, R_SH_IMM_MEDHI16_PCREL, | |
300 | R_SH_IMM_HI16_PCREL, R_SH_64_PCREL>: Set pcrel_offset to true. | |
301 | (sh_elf_relocate_section) <local symbol>: Or 1 in | |
302 | calculation of relocation if sym->st_other & STO_SH5_ISA32. | |
303 | <global symbol>: Ditto if h->other & STO_SH5_ISA32. | |
304 | * elf32-sh64.c (shmedia_prepare_reloc): Add rel->r_addend to | |
305 | relocation. | |
306 | 2000-11-24 Hans-Peter Nilsson <[email protected]> | |
307 | * Makefile.am (BFD32_BACKENDS): Add elf32-sh64.lo. | |
308 | (BFD32_BACKENDS_CFILES): Add elf32-sh64.c. | |
309 | Regenerate dependencies. | |
310 | * Makefile.in: Regenerate. | |
311 | * archures.c: Add bfd_mach_sh5. | |
312 | * config.bfd: Map targ_cpu sh* to bfd_sh_arch. | |
313 | Handle sh64-*-elf*. Set targ_cflags to -DINCLUDE_SHMEDIA. | |
314 | * configure.in: Handle bfd_elf32_sh64_vec and bfd_elf32_sh64l_vec. | |
315 | * configure: Regenerate. | |
316 | * reloc.c (BFD_RELOC_SH_SHMEDIA_CODE, BFD_RELOC_SH_IMMU5, | |
317 | BFD_RELOC_SH_IMMS6, BFD_RELOC_SH_IMMS6BY32, BFD_RELOC_SH_IMMU6, | |
318 | BFD_RELOC_SH_IMMS10, BFD_RELOC_SH_IMMS10BY2, | |
319 | BFD_RELOC_SH_IMMS10BY4, BFD_RELOC_SH_IMMS10BY8, | |
320 | BFD_RELOC_SH_IMMS16, BFD_RELOC_SH_IMMU16, BFD_RELOC_SH_IMM_LOW16, | |
321 | BFD_RELOC_SH_IMM_LOW16_PCREL, BFD_RELOC_SH_IMM_MEDLOW16, | |
322 | BFD_RELOC_SH_IMM_MEDLOW16_PCREL, BFD_RELOC_SH_IMM_MEDHI16, | |
323 | BFD_RELOC_SH_IMM_MEDHI16_PCREL, BFD_RELOC_SH_IMM_HI16, | |
324 | BFD_RELOC_SH_IMM_HI16_PCREL, BFD_RELOC_SH_PT_16): New relocations. | |
325 | * cpu-sh.c [INCLUDE_SHMEDIA] (arch_info_struct): Define and link | |
326 | in item for SH5. | |
327 | * elf32-sh.c [INCLUDE_SHMEDIA] (sh_elf_howto_table): Add howto items | |
328 | for SHmedia relocs. | |
329 | [INCLUDE_SHMEDIA] (sh_rel): Add mappings for SHmedia relocs. | |
330 | [INCLUDE_SHMEDIA] (sh_elf_relocate_section) [default]: Call | |
331 | shmedia_prepare_reloc, goto final_link_relocate if it returns | |
332 | non-zero, else fail as before. | |
333 | (sh_elf_set_mach_from_flags): Provide function only if not defined | |
334 | as macro. Do not recognize objects with EF_SH64_32BIT_ABI set. | |
335 | (sh_elf_set_private_flags): Provide function only if not defined | |
336 | as a macro. | |
337 | (sh_elf_copy_private_data): Similar. | |
338 | (sh_elf_merge_private_data): Similar. | |
339 | * section.c (SEC_SH_ISA_SHMEDIA): New. | |
340 | * targets.c (bfd_elf32_sh64_vec, bfd_elf32_sh64l_vec): Declare. | |
341 | * elf32-sh64.c: New file. | |
342 | * libbfd.h: Regenerate. | |
343 | * bfd-in2.h: Regenerate. | |
344 | * po/POTFILES.in: Regenerate. | |
345 | * po/bfd.pot: Regenerate. | |
346 | * bfd-in2.h: Regenerate. | |
347 | * libbfd.h: Regenerate. | |
348 | ||
e108f470 DJ |
349 | 2002-02-07 Daniel Jacobowitz <[email protected]> |
350 | ||
351 | * bfd-in.h: Update <stdbool.h> check to only see if <stdbool.h> has | |
352 | been included, not drag it in. | |
353 | * bfd-in2.h: Regenerate. | |
354 | ||
259d18a3 L |
355 | 2002-02-06 H.J. Lu ([email protected]) |
356 | ||
357 | * elf32-mips.c (_bfd_mips_elf_merge_private_bfd_data): Update | |
358 | the mach and ISA fields if necessary. | |
359 | ||
f13b834e NC |
360 | 2002-02-06 Nick Clifton <[email protected]> |
361 | ||
362 | * coffcode.h (coff_set_arch_mach_hook): Select the highest known | |
363 | ARM architecture when an F_ARM_5 flag is detected, since we cannot | |
364 | be sure exactly which architecture this represents. | |
365 | ||
82f6addb NC |
366 | 2002-02-05 Nick Clifton <[email protected]> |
367 | ||
368 | * po/tr.po: Updated translation. | |
369 | ||
899f54f5 AM |
370 | 2002-02-05 Alan Modra <[email protected]> |
371 | ||
372 | From Jimi X <[email protected]> | |
373 | * archures (bfd_mach_ppc64): Define. | |
374 | (bfd_powerpc_arch): Rename to bfd_powerpc_archs. | |
375 | (bfd_powerpc_arch): Define. | |
376 | * bfd-in2.h: Regenerate. | |
377 | * cpu-powerpc.c (arch_info_struct): Rename to bfd_powerpc_archs. | |
378 | (bfd_powerpc_arch): Move to tail of bfd_powerpc_archs. | |
379 | (bfd_powerpc_archs): Add default powerpc64 arch. | |
380 | ||
248866a8 AM |
381 | 2002-02-05 Alan Modra <[email protected]> |
382 | ||
383 | * elf64-ppc.c (ppc64_elf_size_dynamic_sections): Check for relocs | |
384 | against section syms in readonly sections. Don't do the global | |
385 | sym check if we find one. | |
386 | * elf64-s390.c (elf_s390_size_dynamic_sections): Likewise. | |
387 | * elf32-hppa.c (elf32_hppa_size_dynamic_sections): Likewise. | |
388 | * elf32-s390.c (elf_s390_size_dynamic_sections): Likewise. | |
389 | (elf_s390_grok_prstatus): Add missing prototype. | |
390 | ||
4fa5c2a8 HPN |
391 | 2002-02-04 Hans-Peter Nilsson <[email protected]> |
392 | ||
393 | * elf64-mmix.c (mmix_dump_bpo_gregs): New function. | |
394 | (mmix_elf_check_common_relocs) <case R_MMIX_BASE_PLUS_OFFSET>: | |
395 | Call bfd_get_section_by_name only once. Initialize | |
396 | bpodata->n_bpo_relocs_this_section. | |
397 | (_bfd_mmix_prepare_linker_allocated_gregs): Remove comment | |
398 | referring to DSOs. | |
399 | (bpo_reloc_request_sort_fn): Don't use difference of values as | |
400 | return-value. | |
401 | ||
537c972e DB |
402 | 2002-02-02 David O'Brien <obrien@FreeBSD> |
403 | ||
404 | * configure.in: Tweak the FreeBSD 4.x recognition more. Only treat | |
405 | version 4.5 and later the same as 5-CURRENT. | |
406 | * configure: Re-generate. | |
407 | ||
006336b8 JT |
408 | 2002-02-02 Jason Thorpe <[email protected]> |
409 | ||
410 | * config.bfd (hppa*-*-netbsd*): New target. | |
411 | ||
6c571f00 PT |
412 | 2002-01-31 Philipp Thomas <[email protected]> |
413 | ||
414 | * coff-arm.c (coff_arm_merge_private_bfd_data): Move ERROR | |
415 | to front of message. Unify messages with elf32-arm.h. Use | |
416 | commas where neccessary. | |
417 | * elf32-arm.h (elf32_arm_merge_private_bfd_data): Use all upcase | |
418 | ERROR in messages. Unify messages with coff-arm.c. Correct | |
419 | VFP/FPA error message. | |
420 | (elf32_arm_print_private_bfd_data): Don't mark APCS-26 and | |
421 | APCS-32 for translation. | |
422 | ||
930b4cb2 HPN |
423 | 2002-02-01 Hans-Peter Nilsson <[email protected]> |
424 | ||
425 | Perform on-demand global register allocation from | |
426 | R_MMIX_BASE_PLUS_OFFSET relocs. | |
427 | * elf64-mmix.c (struct bpo_reloc_section_info, struct | |
428 | bpo_reloc_request, struct bpo_greg_section_info): New. | |
429 | (mmix_elf_check_common_relocs, mmix_elf_gc_sweep_hook, | |
430 | bpo_reloc_request_sort_fn, mmix_elf_relax_section, | |
431 | _bfd_mmix_check_all_relocs, | |
432 | _bfd_mmix_prepare_linker_allocated_gregs, | |
433 | _bfd_mmix_finalize_linker_allocated_gregs): New functions. | |
434 | (elf_mmix_howto_table): Correct src_mask for most relocs. | |
435 | (mmix_elf_perform_relocation) <case R_MMIX_BASE_PLUS_OFFSET>: New | |
436 | case. | |
437 | (mmix_final_link_relocate) <case R_MMIX_BASE_PLUS_OFFSET>: New | |
438 | case. Fix typo in comment. New label do_mmix_reloc. | |
439 | (mmix_elf_check_relocs): Abuse bfd_link_info member base_file to | |
440 | store first object file with a base-plus-offset reloc. Call | |
441 | mmix_elf_check_common_relocs for the part common with mmo. | |
442 | (mmix_elf_final_link): Write out linker-allocated register | |
443 | contents section. | |
444 | (elf_backend_gc_sweep_hook): Define. | |
445 | (bfd_elf64_bfd_relax_section): Define. | |
446 | ||
447 | * mmo.c: Don't include <ctype.h> | |
448 | (mmo_init): Correct init-once logic. | |
449 | ||
3e36d993 TR |
450 | 2002-02-01 Tom Rix <[email protected]> |
451 | ||
452 | * config.bfd: Conditionally support <aiaff> for pre AIX 4.3. | |
453 | ||
ba323545 AM |
454 | 2002-02-01 Alan Modra <[email protected]> |
455 | ||
456 | * Makefile.am: Run "make dep-am" | |
457 | * Makefile.in: Regenerate. | |
458 | ||
012884d6 DB |
459 | 2002-01-31 David O'Brien <obrien@FreeBSD> |
460 | ||
461 | * configure.in: Recognize the differences in core files from FreeBSD | |
462 | 4.{0,1} and later versions of 4.x. This treats 4.2+ the same as | |
463 | 5-CURRENT. | |
464 | * configure: Regenerate. | |
465 | ||
3b16e843 NC |
466 | 2002-01-31 Ivan Guzvinec <[email protected]> |
467 | ||
468 | * coff-or32.c: New file. | |
469 | * cpu-or32.c: New file. | |
470 | * elf32-or32.c: New file. | |
471 | * archures.c: Add support for or32. | |
472 | * targets.c: Add support for or32. | |
473 | * bfd-in2.h: Regenerate. | |
7dc0ab31 | 474 | * coffcode.h (coff_set_arch_mach_hook, coff_set_flags, |
3b16e843 NC |
475 | coff_write_object_contents): Add support for or32. |
476 | * config.bfd: Add target. | |
477 | * configure.in: Add support for or32. | |
478 | * configure: Regenerate. | |
479 | * Makefile.am: Add support for or32. | |
480 | * Makefile.in: Regenerate. | |
3b16e843 NC |
481 | * po/SRC-POTFILES.in: Add or32 files. |
482 | * po/bfd.pot: Regenerate. | |
7dc0ab31 | 483 | |
caf8ca8e NC |
484 | 2002-01-31 Nick Clifton <[email protected]> |
485 | Don Lindsay <[email protected]> | |
486 | ||
487 | * elf32-mips.c (mips_elf_calculate_relocation): Replace 'return | |
488 | false' with a return of a bfd_reloc_ error code. | |
489 | ||
e5dfef09 HPN |
490 | 2002-01-31 Hans-Peter Nilsson <[email protected]> |
491 | ||
492 | * elf32-cris.c (elf_cris_discard_excess_program_dynamics): Don't | |
493 | unexport unreferenced symbols when --export-dynamic. Call | |
494 | _bfd_elf_strtab_delref when unexporting. | |
495 | ||
4e4770d0 DJ |
496 | 2002-01-30 Daniel Jacobowitz <[email protected]> |
497 | ||
498 | * bfd-in.h: Include <stdbool.h> if it is available. | |
499 | * bfd-in2.h: Regenerated. | |
500 | ||
e1fa50e7 AM |
501 | 2002-01-31 Alan Modra <[email protected]> |
502 | ||
503 | * elf64-ppc.c (func_desc_adjust): STV_PROTECTED functions should | |
504 | not go via the plt. | |
505 | ||
b5f79c76 NC |
506 | 2002-01-30 Nick Clifton <[email protected]> |
507 | ||
b5f79c76 NC |
508 | * archures.c: Tidy up formatting of embedded comments. |
509 | * bfd.c: Tidy up formatting of embedded comments. | |
7dc0ab31 | 510 | * bfd-in.h: Fix formatting of comments. |
b5f79c76 NC |
511 | * reloc.c: Tidy up formatting of ordinary & embedded comments. |
512 | * section.c: Tidy up formatting of embedded comments. | |
513 | * syms.c: Tidy up formatting of embedded comments. | |
514 | * targets.c: Tidy up formatting of embedded comments. | |
515 | ||
516 | * bfd-in2.h: Regenerate. | |
517 | ||
ca09e32b NC |
518 | 2002-01-30 Nick Clifton <[email protected]> |
519 | ||
520 | * vms-tir.c (cmd_name): New function. | |
521 | (tir_cmd_name): New function. | |
522 | (etir_sta, etir_sto, etir_opr, etir_stc): Use cmd_name(). | |
523 | (tir_opr, tir_ctl, tir_cmd): use tir_cmd_name(). | |
524 | Fix formatting. | |
7dc0ab31 | 525 | |
ca09e32b NC |
526 | * peXXigen.c (pe_print_idata): Rearrange message to aid in |
527 | translation. | |
528 | (pe_print_pdata): Rearrange message to aid in translation. | |
529 | ||
530 | * libbfd.c (warn_deprecated): Rearrange error message to aid in | |
531 | translation. | |
532 | ||
533 | * ihex.c (ihex_write_object_contents): Fix spelling typo. | |
534 | ||
535 | * ieee.c (ieee_slurp_external_symbols): Remove spurious space. | |
536 | ||
537 | * elf64-sparc.c (sparc64_elf_add_symbol_hook): Rearrange error | |
538 | message to aid in translation. | |
539 | ||
540 | * elf64-mmix.c (mmix_final_link_relocate): Rearrange error message | |
541 | to aid in translation. | |
542 | ||
543 | * elf32-arm.h (elf32_arm_merge_private_bfd_data): Fix typo. | |
544 | ||
7dc0ab31 | 545 | 2002-01-30 Philipp Thomas <[email protected]> |
ae1a89b7 PT |
546 | |
547 | * coff-arm.c, elf32-elf.h: Unify messages. | |
548 | ||
05f64ac6 NC |
549 | 2002-01-30 Nick Clifton <[email protected]> |
550 | ||
551 | * po/sv.po: Updated translation. | |
552 | ||
f5a3e38a NC |
553 | 2002-01-30 Philipp Thomas <[email protected]> |
554 | ||
555 | * dwarf2.c (read_abbrev): Use full section name in error message. | |
556 | (decode_line_info): Likewise. | |
661a3fd4 NC |
557 | |
558 | * elf.c (_bfd_elf_symbol_from_bfd_symbol): Don't translate debugging | |
559 | message. | |
560 | ||
d926e03d AM |
561 | 2002-01-30 Alan Modra <[email protected]> |
562 | ||
563 | * elf64-ppc.c (func_desc_adjust): Only provide missing function | |
564 | descriptor symbols for undefined function code syms. Clear | |
565 | ELF_LINK_NON_ELF so that they can stay weak. | |
566 | ||
030d18fb | 567 | 2002-01-29 Chris Demetriou <[email protected]> |
7dc0ab31 | 568 | Mitch Lichtenberg <[email protected]> |
030d18fb CD |
569 | |
570 | * bfd-in.h (bfd_mips_elf32_create_embedded_relocs): New prototype. | |
571 | * elf32-mips.c (bfd_mips_elf32_create_embedded_relocs): New function | |
572 | to handle 32-bit ELF embedded reloc (ld --embedded-relocs) | |
573 | generation. | |
574 | * bfd-in2.h: Regenerate. | |
575 | ||
fcc76bea CD |
576 | 2002-01-29 Chris Demetriou <[email protected]> |
577 | ||
578 | * elf32-mips.c: Add additional comments about HI16 relocation | |
579 | processing. | |
580 | (_bfd_mips_elf_hi16_reloc): Don't subtract address here for | |
581 | pc-relative relocations. (Reverts change made on 2001-10-31.) | |
582 | (_bfd_mips_elf_lo16_reloc): Subtract address of LO16 part here | |
583 | for pc-relative relocations. | |
584 | (mips_elf_calculate_relocation): Add a comment about a kludge | |
585 | in the R_MIPS_GNU_REL_HI16 handling. | |
586 | (_bfd_mips_elf_relocate_section): Implement that kludge; | |
587 | adjust pc-relative HI16 relocation for difference in HI16 and | |
588 | LO16 addresses, since it can't easily be done in | |
589 | mips_elf_calculate_relocation. | |
590 | ||
f9cd9119 MS |
591 | 2002-01-29 Martin Schwidefsky <[email protected]> |
592 | ||
593 | * elf32-i386 (elf_i386_adjust_dynamic_symbol): Do not replace PLT32 | |
594 | relocations with PC32 relocations for undefined or weak symbols. | |
595 | * elf32-s390 (elf_i386_adjust_dynamic_symbol): Likewise. | |
596 | * elf64-s390x (elf_i386_adjust_dynamic_symbol): Likewise. | |
597 | ||
702248bb JT |
598 | 2002-01-28 Jason Thorpe <[email protected]> |
599 | ||
600 | * elfcore.h (elf_core_file_p): Improve comment for last change. | |
601 | ||
4867be41 DJ |
602 | 2002-01-27 Daniel Jacobowitz <[email protected]> |
603 | ||
604 | * configure: Regenerated. | |
605 | ||
a94cef6a JT |
606 | 2002-01-27 Jason Thorpe <[email protected]> |
607 | ||
608 | * elfcore.h (elf_core_file_p): Set the machine architecture | |
609 | before processing the program headers. | |
610 | ||
7562a296 HPN |
611 | 2002-01-26 Hans-Peter Nilsson <[email protected]> |
612 | ||
966abd70 HPN |
613 | * configure.in <64-bit configuration>: If using gcc, check and |
614 | emit error for egcs-1.1.2. | |
615 | * configure: Regenerate. | |
616 | ||
e8eab623 NC |
617 | 2002-01-26 Egor Duda <[email protected]> |
618 | ||
619 | * elf.c (elfcore_grok_win32pstatus): Copy only as much information | |
620 | as possible to avoid stack corruption. | |
621 | ||
73896efb RH |
622 | 2002-01-26 Richard Henderson <[email protected]> |
623 | ||
624 | * elf64-alpha.c (elf64_alpha_check_relocs): Don't set reltext | |
625 | for non-allocated sections. | |
626 | ||
627 | 2002-01-25 Mark Kettenis <[email protected]> | |
c106e334 MK |
628 | |
629 | * elf.c (elfcore_write_prstatus): Make sure we pass the address of | |
630 | prstat.pr_reg even if it is a struct. | |
631 | ||
73896efb | 632 | 2002-01-25 Steve Ellcey <[email protected]> |
254ed743 NC |
633 | |
634 | * bfd/elfxx-ia64.c: Reset AIX vector function overrides for HP-UX. | |
635 | ||
3d66c4f7 NC |
636 | 2002-01-25 Philipp Thomas <[email protected]> |
637 | ||
638 | * coffgen.c (coff_print_symbol): Don't mark info message | |
639 | for translation. | |
640 | ||
9460ecda NC |
641 | 2002-01-25 Nick Clifton <[email protected]> |
642 | ||
643 | * po/fr.po: Updated translation. | |
644 | * po/es.po: Updated translation. | |
645 | ||
cc9ff76a AM |
646 | 2002-01-25 Philipp Thomas <[email protected]> |
647 | ||
648 | * coff-alpha.c (alpha_relocate_section): Unify warning message | |
649 | for GP relative relocations without GP defined. | |
650 | * coff-mips.c (mips_relocate_section): Likewise. | |
651 | ||
c68836a9 AM |
652 | 2002-01-25 Alan Modra <[email protected]> |
653 | ||
654 | * elf-eh-frame.c (_bfd_elf_eh_frame_section_offset): Avoid | |
655 | unsigned overflow when new_offset < old_offset. | |
656 | ||
e8eab623 | 657 | 2002-01-24 Philipp Thomas <[email protected]> |
391154e9 NC |
658 | |
659 | * bfd.c (_bfd_abort): Fix typo. | |
660 | ||
8ba89f17 RH |
661 | 2002-01-23 Richard Henderson <[email protected]> |
662 | ||
663 | * elf64-alpha.c (elf64_alpha_adjust_dynamic_symbol): Don't suppress | |
664 | plt entries for undefweak symbols. | |
665 | ||
c6953948 NC |
666 | 2002-01-23 Steve Ellcey <[email protected]> |
667 | ||
668 | * bfd/targets.c (bfd_elf32_ia64_hpux_big_vec): Add to | |
669 | DEFAULT_VECTOR. | |
670 | (bfd_elf64_ia64_hpux_big_vec): Ditto. | |
671 | (bfd_elf32_h8300_vec): Ditto. | |
672 | ||
41bd81ab AM |
673 | 2002-01-23 Alan Modra <[email protected]> |
674 | ||
675 | * elf64-ppc.c: Remove stale part of ABI comment. | |
676 | (NO_OPD_RELOCS): Define. | |
677 | (ppc64_elf_check_relocs): Use it. | |
678 | (ppc64_elf_relocate_section): Here too. | |
679 | (build_one_stub): Don't point function syms at the stub. Instead, | |
680 | hijack plt.offset. | |
681 | (ppc64_elf_relocate_section): Check whether REL24 relocs should | |
682 | really go to the stub. Make all dynamic relocs in opd against | |
683 | locals. | |
684 | (ppc64_elf_finish_dynamic_symbol): Allow for non-standard use of | |
685 | plt.offset. | |
686 | ||
f304919d RH |
687 | 2002-01-22 Richard Henderson <[email protected]> |
688 | ||
689 | * elf64-alpha.c (INSN_UNOP): Encode with RB as $sp. | |
690 | ||
c0ef99a7 AM |
691 | 2002-01-22 Alan Modra <[email protected]> |
692 | ||
60ee0d4a AM |
693 | * elf64-ppc.c (ppc64_elf_finish_dynamic_sections): Correct sign of |
694 | TOC_BASE_OFF adjustment. | |
695 | ||
c0ef99a7 AM |
696 | * Makefile.am: Run "make dep-am". |
697 | * Makefile.in: Regenerate. | |
698 | * po/SRC-POTFILES.in: Regenerate. | |
699 | ||
64328b46 AM |
700 | 2002-01-22 John David Anglin <[email protected]> |
701 | ||
702 | * configure.host (hppa*64*-*-hpux*, hppa*64*-*-linux*): Add new | |
703 | host defines. | |
704 | ||
59953665 | 705 | 2002-01-21 Hans-Peter Nilsson <[email protected]> |
58255df3 HPN |
706 | |
707 | * elf32-cris.c (cris_elf_relocate_section) <case R_CRIS_32_GOTREL>: | |
708 | Check for and emit error if sgot is NULL at this point. | |
709 | ||
9596feea JT |
710 | 2002-01-21 Jason Thorpe <[email protected]> |
711 | ||
712 | * config.bfd (ia64*-*-netbsd*): New target. | |
713 | ||
7b45c6e1 AM |
714 | 2002-01-21 Thomas Klausner <[email protected]> |
715 | ||
716 | * som.c (som_write_space_strings): Comment typo fix. | |
717 | ||
e5094212 AM |
718 | 2002-01-21 Alan Modra <[email protected]> |
719 | ||
e86ce104 AM |
720 | * elf64-ppc.c (struct ppc_link_hash_entry): Add is_func and |
721 | is_func_descriptor fields. | |
722 | (link_hash_newfunc): Init them. | |
723 | (ppc64_elf_check_relocs): Only R_PPC24_REL24 syms starting with a | |
724 | dot are candidates for plt entries. When processing .opd relocs, | |
725 | set function descriptor strings to point inside function code | |
726 | string, and set new ppc_link_hash_entry fields. | |
727 | (ppc64_elf_gc_sweep_hook): Don't sweep R_PPC64_REL24 relocs. | |
728 | (ppc64_elf_adjust_dynamic_symbol): Remove most code dealing with | |
729 | function descriptors. It's now done in.. | |
730 | (func_desc_adjust): New. | |
731 | (ppc64_elf_func_desc_adjust): New. | |
732 | (define elf_backend_always_size_sections): Define. | |
733 | (ppc64_elf_hide_symbol): New. | |
734 | (define elf_backend_hide_symbol): Define. | |
735 | (allocate_dynrelocs): Remove code looking up function descriptors | |
736 | as that has been done earlier. | |
737 | (ppc64_elf_size_dynamic_sections): Use htab shortcut to elf hash | |
738 | table. | |
739 | (ppc64_elf_finish_dynamic_symbol): Likewise. Remove code looking | |
740 | up function descriptor. | |
741 | (build_one_stub): Look up the function code sym. Check for | |
742 | invalid plt offsets. | |
743 | (ppc64_elf_relocate_section): Tweak calls to undefined weak syms. | |
744 | Convert R_PPC64_TOC relocs to R_PPC64_RELATIVE in shared libs. | |
745 | ||
e5094212 AM |
746 | * elf-bfd.h (elf_backend_data <elf_backend_hide_symbol>): Add |
747 | boolean param. | |
748 | (_bfd_elf_link_hash_hide_symbol): Likewise. | |
749 | * elflink.h (elf_link_add_object_symbols): Adjust call to | |
750 | elf_backend_hide_symbol. | |
751 | (elf_fix_symbol_flags): Likewise. | |
752 | (elf_link_assign_sym_version): Likewise. Use bfd_malloc rather | |
753 | than bfd_alloc. | |
754 | * elf.c (_bfd_elf_link_hash_hide_symbol): Add "force_local" param. | |
755 | Set ELF_LINK_FORCED_LOCAL and call _bfd_elf_strtab_delref. | |
756 | * elf32-hppa.c (elf32_hppa_hide_symbol): Likewise. | |
757 | (clobber_millicode_symbols): Adjust to suit new hide_symbol. | |
758 | * elf32-cris.c (elf_cris_hide_symbol): Add "force_local" param | |
759 | and adjust to suit. | |
760 | * elf32-mips.c (_bfd_mips_elf_hide_symbol): Likewise, and call | |
761 | _bfd_elf_link_hash_hide_symbol rather than duplicating code. | |
762 | * elfxx-ia64.c (elfNN_ia64_hash_hide_symbol): Likewise. | |
763 | ||
40b8271b AM |
764 | 2002-01-18 Alan Modra <[email protected]> |
765 | ||
766 | * elf64-ppc.c (ppc64_elf_adjust_dynamic_symbol): Test for a | |
767 | dynamic function descriptor symbol, not the associated function | |
768 | symbol. | |
769 | ||
55baa95b EC |
770 | 2002-01-17 Eric Christopher <[email protected]> |
771 | ||
772 | * elf32-mips.c (mips_elf_calculate_relocation): Fix typo. | |
773 | ||
328577ad NC |
774 | 2002-01-17 Nick Clifton <[email protected]> |
775 | ||
776 | * po/bfd.pot: Regenerate. | |
777 | * po/fr.po: Regenerate. | |
778 | ||
af746e92 AM |
779 | 2002-01-17 Alan Modra <[email protected]> |
780 | ||
781 | * elf-bfd.h (elf_backend_data <elf_backend_section_from_bfd_section>): | |
782 | Remove "Elf_Internal_Shdr *" param. | |
783 | (_bfd_mips_elf_section_from_bfd_section): Ditto. | |
784 | * elf32-mips.c (_bfd_mips_elf_section_from_bfd_section): Ditto. | |
785 | * elf32-m32r.c (_bfd_m32r_elf_section_from_bfd_section): Ditto. | |
786 | * elf32-v850.c (v850_elf_section_from_bfd_section): Ditto. | |
787 | * elf64-mmix.c (mmix_elf_section_from_bfd_section): Ditto. | |
788 | * elfxx-ia64.c (elfNN_hpux_backend_section_from_bfd_section): Ditto. | |
789 | * elf.c (_bfd_elf_section_from_bfd_section): Allow backend | |
790 | function to override special sections. Remove hdr arg from | |
791 | backend call, and don't loop. | |
792 | ||
175e9962 EC |
793 | 2002-01-16 Eric Christopher <[email protected]> |
794 | ||
795 | * elf32-mips.c (mips_elf_calculate_relocation): Set require_jalxp | |
796 | on R_MIPS_26 and target is 16bit. Add R_MIPS16_GPREL to list of | |
797 | relocations requiring gp0 and gp. | |
798 | ||
96a846ea RE |
799 | 2002-01-16 Richard Earnshaw <[email protected]> |
800 | ||
175e9962 | 801 | * elf32-arm.h (elf32_arm_merge_private_bfd_data): Handle |
96a846ea RE |
802 | EF_ARM_VFP_FLOAT. |
803 | (elf32_arm_print_private_bfd_data): Likewise. | |
804 | ||
af3ae48d NC |
805 | 2002-01-16 Nick Clifton <[email protected]> |
806 | ||
807 | * po/tr.po: Import new version. | |
808 | ||
10ed1bba AM |
809 | 2002-01-16 Alan Modra <[email protected]> |
810 | ||
811 | * elf64-ppc.c (ppc64_elf_howto_raw): Remove stale FIXMEs. | |
812 | (ppc64_elf_reloc_type_lookup): Use proper CTOR reloc. | |
813 | (ORI_R0_R0_0): Correct. | |
814 | ||
5d1634d7 AM |
815 | 2002-01-16 Alan Modra <[email protected]> |
816 | ||
817 | * elflink.c (_bfd_elf_create_dynamic_sections): Don't set SEC_CODE | |
818 | when plt_not_loaded. | |
819 | * elf64-ppc.c (ppc64_elf_create_dynamic_sections): No need to | |
820 | clear .plt SEC_CODE here. Create .stub and correct .glink flags. | |
821 | (PLT_INITIAL_ENTRY_SIZE): Set to 24. | |
822 | (ppc64_elf_glink_code): Delete. | |
823 | (PPC64_ELF_GLINK_SIZE): Delete. | |
824 | (ADDIS_R12_R2, STD_R2_40R1, LD_R11_0R12, LD_R2_0R12, MTCTR_R11, | |
825 | BCTR, ADDIS_R12_R12_1, LD_R2_40R1, NOP, LI_R0_0, B_DOT, LIS_R0_0, | |
826 | ORI_R0_R0_0): Define. | |
827 | (PLT_CALL_STUB_SIZE, GLINK_CALL_STUB_SIZE): Define. | |
828 | (struct ppc_link_hash_table): Add sstub and plt_overflow. | |
829 | (ppc64_elf_link_hash_table_create): Init them. | |
830 | (ppc64_elf_check_relocs <R_PPC64_REL24>): Refcount .plt entry. | |
831 | Don't copy to shared lib. | |
832 | (ppc64_elf_check_relocs): Call bfd_set_error on errors. | |
833 | (ppc64_elf_gc_sweep_hook <R_PPC64_REL24>): Sweep plt refcount. | |
834 | (allocate_dynrelocs <plt>): Don't change function sym here. Make | |
835 | room for .stub and .glink code. | |
836 | (ppc64_elf_size_dynamic_sections): Handle .stub. Make entry for | |
837 | DT_PPC64_GLINK. | |
838 | (ppc64_elf_final_link): Rename to ppc64_elf_set_toc. Don't call | |
839 | bfd_elf64_bfd_final_link. | |
840 | (bfd_elf64_bfd_final_link): Don't define. | |
841 | (ppc64_elf_size_stubs): New. | |
842 | (build_plt_stub): New. | |
843 | (build_one_stub): New. | |
844 | (ppc64_elf_build_stubs): New. | |
845 | (ppc64_elf_relocate_section <toc relocs>): Remove assert. | |
846 | (ppc64_elf_relocate_section): Don't copy R_PPC64_REL24 relocs. | |
847 | (ppc64_elf_finish_dynamic_symbol): Don't build stubs here. Set | |
848 | DT_PPC64_GLINK entry. Tweak DT_PLTGOT, DT_JMPREL, DT_PLTRELSZ in | |
849 | case output sections not separate. Adjust DT_RELASZ to not | |
850 | include plt relocs. Set reserved got entry. Set got and plt | |
851 | entry size. | |
852 | (elf_backend_got_header_size): Set to 8. | |
853 | * elf64-ppc.h: New file. | |
854 | ||
c601ffdb AM |
855 | 2002-01-16 Alan Modra <[email protected]> |
856 | ||
857 | * elf32-arm.h (elf32_arm_size_dynamic_sections): When removing | |
858 | sections, use bfd_section_list_remove. | |
859 | * elf32-i370.c (i370_elf_size_dynamic_sections): Likewise. | |
860 | * elflink.h (elf_link_add_object_symbols): When removing all | |
861 | sections, use bfd_section_list_clear. | |
862 | ||
8fb4cb7f NC |
863 | 2002-01-15 Nick Clifton <[email protected]> |
864 | ||
865 | * po/sv.po: New file: Swedish translation. | |
866 | * configure.in (ALL_LINGUAS): Add sv. | |
867 | * configure: Regenerate. | |
868 | ||
d3c456e9 JJ |
869 | 2002-01-15 Jakub Jelinek <[email protected]> |
870 | ||
871 | * elflink.h (elf_link_input_bfd): Back out 2002-01-07 change. | |
872 | * elf.c (merge_sections_remove_hook): New function. | |
873 | (_bfd_elf_merge_sections): Pass it as 3rd argument to | |
874 | _bfd_merge_sections. | |
875 | * libbfd-in.h (_bfd_merge_sections): Add 3rd argument. | |
876 | * libbfd.h: Rebuilt. | |
877 | * merge.c (_bfd_merge_sections): Add remove_hook argument. | |
878 | Call remove_hook if a SEC_EXCLUDE section is encountered. | |
879 | ||
1f7fd478 NC |
880 | 2002-01-15 Nick Clifton <[email protected]> |
881 | ||
882 | * elf32-xstormy16.c (xstormy16_reloc_map): Add new field 'table'. | |
883 | (xstormy16_reloc_map): Initialise new field with correct howto | |
884 | table. | |
885 | (xstormy16_reloc_type_lookup): Use 'table' field to locate correct | |
886 | howto entry. | |
887 | ||
b87011e9 MS |
888 | 2002-01-10 Michael Snyder <[email protected]> |
889 | ||
890 | * elf.c (elfcore_write_prstatus): Use long instead of pid_t; | |
891 | (elfcore_write_pstatus): Use long instead of pid_t; | |
892 | * elf-bfd.h: Change prototypes to use long instead of pid_t; | |
893 | ||
175e9962 | 894 | 2002-01-09 Jason Thorpe <[email protected]> |
b4db1224 JT |
895 | |
896 | * elf.c: Update copyright years. | |
897 | (elfcore_grok_netbsd_note): Use NT_NETBSDCORE_PROCINFO | |
898 | and NT_NETBSDCORE_FIRSTMACH. Improve a comment. | |
899 | ||
7c76fa91 MS |
900 | 2002-01-08 Michael Snyder <[email protected]> |
901 | ||
902 | Add capability to write corefile note sections, for gdb. | |
903 | * elf.c (elfcore_write_note): New function. | |
904 | (elfcore_write_prpsinfo): New function. | |
905 | (elfcore_write_prstatus): New function. | |
906 | (elfcore_write_pstatus): New function. | |
907 | (elfcore_write_prfpreg): New function. | |
908 | (elfcore_write_prxfpreg): New function. | |
97996af6 | 909 | * elf-bfd.h: Add prototypes for above functions. |
7c76fa91 | 910 | |
e1fddb6b AO |
911 | 2002-01-08 Alexandre Oliva <[email protected]> |
912 | ||
913 | * elf.c (elf_fake_sections): Propagate errors from | |
914 | elf_backend_fake_section. | |
915 | ||
8d05742f JT |
916 | 2002-01-07 Jason Thorpe <[email protected]> |
917 | ||
918 | * Makefile.am (BFD32_BACKENDS): Add elf32-sh-nbsd.lo. | |
919 | (BFD32_BACKENDS_CFILES): Add elf32-sh-nbsd.c. | |
920 | (elf32-sh-nbsd.lo): New rule. | |
921 | * Makefile.in: Regenerate. | |
922 | * config.bfd (sh*le-*-netbsdelf*): New target. | |
923 | (sh*-*-netbsdelf*): New target. | |
924 | * configure.in: Include netbsd-core.lo for native sh*-*-netbsd*. | |
925 | (bfd_elf32_shnbsd_vec): New vector. | |
926 | (bfd_elf32_shlnbsd_vec): New vector. | |
927 | * configure: Regenerate. | |
928 | * elf32-sh-nbsd.c: New file. | |
929 | * targets.c: Update copyright years. | |
175e9962 | 930 | (_bfd_target_vector): Add bfd_elf32_shlnbsd_vec and |
8d05742f JT |
931 | bfd_elf32_shnbsd_vec. |
932 | ||
1dba4cb4 AH |
933 | 2002-01-07 Aldy Hernandez <[email protected]> |
934 | ||
935 | * coff-rs6000.c (READ20): Use bfd_scan_vma. | |
936 | ||
47b22aef GK |
937 | 2002-01-07 Geoffrey Keating <[email protected]> |
938 | ||
939 | * elflink.h (elf_link_input_bfd): Don't ask for the merged offset | |
940 | of a symbol in a section that will be deleted. | |
941 | ||
be2d1673 NC |
942 | 2002-01-07 Nick Clifton <[email protected]> |
943 | ||
944 | * po/es.po: New file: Spanish translation. | |
945 | * configure.in (ALL_LINGUAS): Add es. | |
946 | * configure: Regenerate. | |
947 | ||
d9cf1b54 AM |
948 | 2002-01-06 Steve Ellcey <[email protected]> |
949 | ||
950 | * elfxx-ia64.c (is_unwind_section_name): Add target vector as | |
951 | argument so we can handle HP-UX specially. | |
952 | (elfNN_ia64_hpux_vec): New for use in is_unwind_section_name. | |
953 | (elfNN_hpux_backend_section_from_bfd_section): New for support | |
954 | of SHN_IA_64_ANSI_COMMON. | |
955 | (elfNN_ia64_relax_section): Add support for SHN_IA_64_ANSI_COMMON. | |
956 | (is_unwind_section_name): Add special HP-UX support. | |
957 | (elfNN_ia64_section_from_shdr): Add support for more sections. | |
958 | (elfNN_ia64_fake_sections): Modify is_unwind_section_name call and | |
959 | add support for more sections. | |
960 | (elfNN_ia64_additional_program_headers): Modify | |
961 | is_unwind_section_name call. | |
962 | (elfNN_ia64_modify_segment_map): Remove assumption that there is | |
963 | only one unwind section in segment. | |
964 | ||
3f3c5c34 AM |
965 | 2002-01-06 Alan Modra <[email protected]> |
966 | ||
967 | * syms.c (_bfd_generic_make_empty_symbol): New function. | |
968 | * libbfd-in.h (_bfd_nosymbols_make_empty_symbol): Define as | |
969 | _bfd_generic_make_empty_symbol. | |
970 | * libbfd.h: Regenerate. | |
971 | * bfd-in2.h: Regenerate. | |
972 | * hppabsd-core.c (hppabsd_core_make_empty_symbol): Delete function. | |
973 | (hppabsd_core_get_symtab_upper_bound): Don't define. | |
974 | (hppabsd_core_get_symtab): Likewise. | |
975 | (hppabsd_core_print_symbol): Likewise. | |
976 | (hppabsd_core_get_symbol_info): Likewise. | |
977 | (hppabsd_core_bfd_is_local_label_name): Likewise. | |
978 | (hppabsd_core_get_lineno): Likewise. | |
979 | (hppabsd_core_find_nearest_line): Likewise. | |
980 | (hppabsd_core_bfd_make_debug_symbol): Likewise. | |
981 | (hppabsd_core_read_minisymbols): Likewise. | |
982 | (hppabsd_core_minisymbol_to_symbol): Likewise. | |
983 | (hppabsd_core_vec): Use BFD_JUMP_TABLE_SYMBOLS (_bfd_nosymbols). | |
984 | Formatting fixes. | |
985 | * hpux-core.c: Similarly. | |
986 | * irix-core.c: Similarly. | |
987 | * osf-core.c: Similarly. | |
988 | * sco5-core.c: Similarly. | |
989 | * binary.c (binary_make_empty_symbol): Remove function, define as | |
990 | _bfd_generic_make_empty_symbol. | |
991 | * ihex.c (ihex_make_empty_symbol): Likewise. | |
992 | * mmo.c (mmo_make_empty_symbol): Likewise. | |
993 | * ppcboot.c (ppcboot_make_empty_symbol): Likewise. | |
994 | * srec.c (srec_make_empty_symbol): Likewise. | |
995 | * versados.c (versados_make_empty_symbol): Likewise. | |
996 | * vms.c (_bfd_vms_make_empty_symbol): Remove. | |
997 | (vms_make_empty_symbol): Define as _bfd_generic_make_empty_symbol. | |
998 | * vms-gsd.c (_bfd_vms_slurp_gsd): Call bfd_make_empty_symbol | |
999 | rather than _bfd_vms_make_empty_symbol. | |
1000 | * vms-misc.c (new_symbol): Likewise. | |
1001 | ||
3f0a7f7f AM |
1002 | 2002-01-05 Alan Modra <[email protected]> |
1003 | ||
9e7b37b3 AM |
1004 | * section.c (bfd_section_init): Remove unnecessary initialisations. |
1005 | (bfd_section_list_clear): New function. | |
1006 | (bfd_section_list_remove, bfd_section_list_insert): New macros. | |
1007 | (_bfd_strip_section_from_output): Use them. | |
1008 | * coffcode.h (coff_set_alignment_hook): Likewise. | |
1009 | * elf32-mips.c (_bfd_mips_elf_final_link): Likewise. | |
1010 | * elf64-mips.c (mips_elf64_final_link): Likewise. | |
1011 | * elf64-mmix.c (mmix_elf_final_link): Likewise. | |
1012 | * sunos.c (sunos_add_dynamic_symbols): Likewise. | |
1013 | * xcofflink.c (_bfd_xcoff_bfd_final_link): Likewise. | |
1014 | * bfd-in2.h: Regenerate. | |
1015 | ||
1016 | * netbsd-core.c (netbsd_core_file_p): Use bfd_make_section_anyway | |
1017 | rather than doing our own section handling. Clean up after errors | |
1018 | with bfd_release and bfd_section_list_clear. Handle unexpected | |
1019 | flags. | |
1020 | * aoutf1.h (sunos4_core_file_p): Likewise. | |
1021 | * aix386-core.c (aix386_core_file_p): Likewise. | |
1022 | * cisco-core.c (cisco_core_file_validate): Likewise. | |
1023 | * ptrace-core.c (ptrace_unix_core_file_p): Likewise. | |
1024 | * trad-core.c (trad_unix_core_file_p): Likewise. | |
1025 | ||
1026 | * hppabsd-core.c (hppabsd_core_core_file_p): Clean up after errors | |
1027 | with bfd_release and bfd_section_list_clear. | |
1028 | * hpux-core.c (hpux_core_core_file_p): Likewise. | |
1029 | * irix-core.c (irix_core_core_file_p): Likewise. | |
1030 | * lynx-core.c (lynx_core_file_p): Likewise. | |
1031 | * osf-core.c (osf_core_core_file_p): Likewise. | |
1032 | * rs6000-core.c (rs6000coff_core_p): Likewise. | |
1033 | * sco5-core.c (sco5_core_file_p): Likewise. | |
1034 | ||
3f0a7f7f AM |
1035 | * elf32-mips.c (_bfd_mips_elf_lo16_reloc): Simplify, and perform |
1036 | sign extension adjustments without conditionals. | |
1037 | ||
a3aa38ee JJ |
1038 | 2002-01-04 Jakub Jelinek <[email protected]> |
1039 | ||
1040 | * elf-eh-frame.c (_bfd_elf_write_section_eh_frame): Don't crash if | |
1041 | CIE at .eh_frame start is removed due to no FDEs referencing it. | |
1042 | ||
8a8b2d4b AJ |
1043 | 2002-01-04 Jason Thorpe <[email protected]> |
1044 | ||
1045 | * config.bfd (x86_64-*-netbsd*): New target. | |
1046 | * configure.in (x86_64-*-netbsd*): Set COREFILE | |
1047 | to netbsd-core.lo. | |
1048 | * configure: Regenerated. | |
1049 | ||
04b5af89 TR |
1050 | 2002-01-03 Tom Rix <[email protected]> |
1051 | ||
1052 | * xcofflink.c (_bfd_xcoff_bfd_final_link): Update .pad section ordering | |
1053 | for recent bfd_make_section_anyway change. | |
1054 | ||
51c5503b NC |
1055 | 2002-01-03 Nick Clifton <[email protected]> |
1056 | ||
1057 | * elf32-arm.h (elf32_arm_final_link_relocate): Handle | |
1058 | R_ARM_THM_PC11 reloc. | |
1059 | ||
07f7c046 NC |
1060 | 2002-01-02 Nick Clifton <[email protected]> |
1061 | ||
1062 | * configure.in (LINGUAS): Add ja. | |
1063 | * configure: Regenerate. | |
1064 | * po/ja.po: Import from translation project's web site. | |
1065 | ||
5eefb65f NC |
1066 | 2002-01-02 Nick Clifton <[email protected]> |
1067 | ||
1068 | * elf32-arm.h (elf32_arm_merge_private_bfd_data): Reformat error | |
1069 | messages to ease translation into other languages. | |
1070 | ||
39e90f10 | 1071 | For older changes see ChangeLog-0001 |
56882138 AM |
1072 | \f |
1073 | Local Variables: | |
1074 | mode: change-log | |
1075 | left-margin: 8 | |
1076 | fill-column: 74 | |
1077 | version-control: never | |
1078 | End: |