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