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