Commit | Line | Data |
---|---|---|
5cc7c785 L |
1 | 2000-03-01 H.J. Lu <hjl@gnu.org> |
2 | ||
3 | * aoutx.h (aout_link_input_section_std): Pass "true" to | |
4 | the undefined_symbol callback. | |
5 | (aout_link_input_section_ext): Likewise. | |
6 | * bout.c (get_value): Likewise. | |
7 | * coff-a29k.c (coff_a29k_relocate_section): Likewise. | |
8 | * coff-alpha.c (alpha_ecoff_get_relocated_section_conten): | |
9 | Likewise. | |
10 | (alpha_relocate_section): Likewise. | |
11 | * coff-arm.c (coff_arm_relocate_section): Likewise. | |
12 | * coff-i960.c (coff_i960_relocate_section): Likewise. | |
13 | * coff-mcore.c (coff_mcore_relocate_section): Likewise. | |
14 | * coff-mips.c (mips_relocate_section): Likewise. | |
15 | * coff-ppc.c (coff_ppc_relocate_section): Likewise. | |
16 | * coff-sh.c (sh_relocate_section): Likewise. | |
17 | * coff-tic80.c (coff_tic80_relocate_section): Likewise. | |
18 | * cofflink.c (_bfd_coff_generic_relocate_section): Likewise. | |
19 | * elf-m10200.c (mn10200_elf_relocate_section): Likewise. | |
20 | * elf-m10300.c (mn10300_elf_relocate_section): Likewise. | |
21 | * elf32-d10v.c (elf32_d10v_relocate_section): Likewise. | |
22 | * elf32-fr30.c (fr30_elf_relocate_section): Likewise. | |
23 | * elf32-hppa.c (elf32_hppa_relocate_section): Likewise. | |
24 | * elf32-i370.c (i370_elf_relocate_section): Likewise. | |
25 | * elf32-m32r.c (m32r_elf_relocate_section): Likewise. | |
26 | * elf32-mcore.c (mcore_elf_relocate_section): Likewise. | |
27 | * elf32-sh.c (sh_elf_relocate_section): Likewise. | |
28 | * elf32-v850.c (v850_elf_relocate_section): Likewise. | |
29 | * elflink.c (_bfd_elf_link_record_dynamic_symbol): Likewise. | |
30 | * elflink.h (elf_link_output_extsym): Likewise. | |
31 | * pe-mips.c (coff_pe_mips_relocate_section): Likewise. | |
32 | * reloc.c (bfd_generic_get_relocated_section_conten): Likewise. | |
33 | * reloc16.c (_bfd_ppc_xcoff_relocate_section): Likewise. | |
34 | ||
35 | * elf-hppa.h (elf_hppa_relocate_section): Pass "false" to the | |
36 | undefined_symbol callback when building shared library with | |
37 | -Bsymbolic and undefined symbols are allowed. Otherwise, pass | |
38 | "true". | |
39 | * elf32-arm.h (elf32_arm_relocate_section): Likewise. | |
40 | * elf32-i386.c (elf_i386_relocate_section): Likewise. | |
41 | * elf32-m68k.c (elf_m68k_relocate_section): Likewise. | |
42 | * elf32-mips.c (mips_elf_calculate_relocation): Likewise. | |
43 | (elf32_mips_get_relocated_section_content): Likewise. | |
44 | * elf32-ppc.c (ppc_elf_relocate_section): Likewise. | |
45 | * elf32-sparc.c (elf32_sparc_relocate_section): Likewise. | |
46 | * elf64-alpha.c (elf64_alpha_relocate_section): Likewise. | |
47 | * elf64-sparc.c (sparc64_elf_relocate_section): Likewise. | |
48 | ||
17505c5c NC |
49 | 2000-02-28 Nick Clifton <nickc@cygnus.com> |
50 | ||
51 | * Makefile.am: Add rules to build pe[i]-{sh|mips}.lo objects. | |
52 | * Makefile.in: Regenerate. | |
53 | ||
54 | * configure.in: Add support for mips and sh pe vectors. | |
55 | * configure: regenerate. | |
56 | ||
57 | * config.bfd: Add support for arm-wince, mips-pe and sh-pe | |
58 | targets. | |
59 | ||
60 | * targets.c: Add mips and sh pe vectors. | |
61 | ||
62 | * libpei.h (coff_final_link_postscript): Only define if not | |
63 | already defined. | |
64 | ||
65 | * coffcode.h: Add support for WinCE magic numbers. | |
66 | ||
67 | * peigen.c (pe_print_reloc): Update comment and rearrange | |
68 | appending of newline character. | |
69 | ||
70 | * peicode.h: Add support for Image Library Format. | |
71 | (pe_ILF_vars): Structure containing data used by ILF code. | |
72 | (pe_ILF_make_a_section): New function. Create a section based | |
73 | on ILF data. | |
74 | (pe_ILF_make_a_reloc): New function. Create a reloc based on | |
75 | ILF data. | |
76 | (pe_ILF_make_a_symbol): New function. Create a symbol based | |
77 | on ILF data. | |
78 | (pe_ILF_save_relocs): New function. Store the relocs created | |
79 | by pe_ILF_make_a_reloc in a section. | |
80 | (pe_ILF_build_a_bfd): New function. Create a BFD describing | |
81 | an ILF object. | |
82 | (pe_ILF_object_p): New function. Return a bfd_target pointer | |
83 | for an ILF object. | |
84 | (pe_bfd_object_p): If an ILF object is detected call | |
85 | pe_ILF_object_p on it. | |
86 | ||
87 | * coff-arm.c: Add support for WinCE relocs which are different | |
88 | from normal ARM COFF relocs. | |
89 | * pe-arm.c: Unset TARGET_UNDERSCORE for a WinCE target. | |
90 | ||
91 | * coff-sh.c: Add support for sh-pe target. | |
92 | * pe-sh.c: New file. Support code for sh-pe target. | |
93 | * pei-sh.c: New file. Support code for sh-pe target. | |
94 | ||
95 | * pe-mips.c: New file. Support code for mips-pe target. | |
96 | * pei-mips.c: New file. Support code for mips-pe target. | |
97 | ||
37fb6db1 ILT |
98 | 2000-02-27 Jakub Jelinek <jakub@redhat.com> |
99 | ||
100 | * elf32-sparc.c (elf32_sparc_merge_private_bfd_data): Don't bump | |
101 | architecture if the object causing the bump is dynamic. | |
102 | * elf64-sparc.c (sparc64_elf_merge_private_bfd_data): Likewise, | |
103 | and also don't it for memory ordering. | |
104 | (sparc64_elf_write_relocs): Take src_rela out of the loop. | |
105 | ||
67d83c76 ILT |
106 | 2000-02-27 Ian Lance Taylor <ian@zembu.com> |
107 | ||
108 | * dwarf2.c (read_abbrevs): Use _raw_size directly rather than | |
109 | calling bfd_get_section_size_before_reloc. | |
110 | (decode_line_info): Likewise. | |
111 | (_bfd_dwarf2_find_nearest_line): Likewise. | |
112 | ||
e56f75e9 ILT |
113 | 2000-02-27 Eli Zaretskii <eliz@is.elta.co.il> |
114 | ||
115 | * Makefile.am (stamp-lib): Use $(LIBTOOL) --config to get the | |
116 | name of the libtool directory. | |
117 | * Makefile.in: Rebuild. | |
118 | ||
36e89602 JL |
119 | Fri Feb 25 18:39:26 2000 Rodney Brown (RodneyBrown@pmsc.com) |
120 | ||
121 | * som.c (SOM_HOWTO): Define. | |
122 | (som_hppa_howto_table): Use it. | |
123 | ||
246c6687 AO |
124 | 2000-02-25 Alexandre Oliva <oliva@lsd.ic.unicamp.br> |
125 | ||
9d23b7fe AO |
126 | * config.bfd: Enable 64 bit support for GNU/Linux/sparc. |
127 | ||
246c6687 AO |
128 | * config.bfd: Enable 64 bit support for Solaris7+/sparc. |
129 | ||
ba20314e CM |
130 | 2000-02-24 Catherine Moore <clm@cygnus.com> |
131 | ||
132 | * som.c (som_misc_symbol_info): Add field | |
133 | secondary_def. | |
134 | (som_bfd_derive_misc_symbol_info): Initialize | |
135 | secondary_def. | |
136 | (som_build_and_write_symbol_table): Keep track | |
137 | of secondary_def field. | |
138 | (som_slurp_symbol_table): Set BSF_WEAK symbol flag | |
139 | if secondary_def field is set. | |
140 | (som_bfd_ar_write_symbol_stuff): Initialize | |
141 | secondary_def. | |
142 | ||
ecb651f0 NC |
143 | 2000-02-23 Stephane Carrez <stcarrez@worldnet.fr> |
144 | ||
145 | * dwarf2.c (read_address): Read 16-bits addresses. | |
146 | (parse_comp_unit): Accept addr_size == 2. | |
147 | ||
5b93d8bb AM |
148 | 2000-02-23 Alan Modra <alan@spri.levels.unisa.edu.au> |
149 | ||
150 | * bfd-in.h: Update copyright date. | |
151 | ||
152 | 2000-02-23 Linas Vepstas <linas@linas.org> | |
153 | ||
154 | * cpu-i370.c: New file. | |
155 | * elf32-i370.c: New file. | |
156 | * archures.c (enum bfd_architecture): Add bfd_arch_i370. | |
157 | (bfd_i370_arch): New. | |
158 | (bfd_archures_list): Add bfd_i370_arch. | |
159 | * elf.c (prep_headers): Add bfd_arch_i370. | |
160 | * Makefile.am: Add support for IBM 370 elf. | |
161 | * config.bfd: Likewise. | |
162 | * configure.in: Likewise. | |
163 | * libbfd.h (bfd_reloc_code_real_names): Likewise. | |
164 | * reloc.c (bfd_reloc_code_type): Likewise. | |
165 | * targets.c: Likewise. | |
166 | ||
167 | * Makefile.in: Regenerate. | |
168 | * configure: Regenerate. | |
169 | * bfd-in2.h: Regenerate. | |
170 | ||
a432cc3d ILT |
171 | 2000-02-22 Ian Lance Taylor <ian@zembu.com> |
172 | ||
173 | * elf32-i386.c (elf_i386_info_to_howto_rel): Give a warning for | |
174 | invalid relocation types, and change them to R_386_NONE. | |
175 | ||
176 | 2000-02-22 H.J. Lu <hjl@gnu.org> | |
177 | ||
1287d1cc ILT |
178 | * elflink.h (elf_link_add_object_symbols): If a version symbol is |
179 | not defined, don't add a second ELF_VER_CHR. | |
180 | ||
a432cc3d ILT |
181 | * elflink.h (elf_bfd_final_link): Call output_extsym for global |
182 | symbols converted to local symbols even when stripping all | |
183 | symbols. | |
184 | (elf_link_output_extsym): Process global symbols converted to | |
185 | local symbols even if they are being stripped. | |
186 | ||
f6af82bd AM |
187 | 2000-02-21 Alan Modra <alan@spri.levels.unisa.edu.au> |
188 | ||
189 | * archures.c (bfd_octets_per_byte): Return unsigned int. | |
190 | (bfd_arch_mach_octets_per_byte): Ditto. | |
191 | * libbfd.c (bfd_read, bfd_seek): Quell signed vs. unsigned | |
192 | comparison warning. | |
193 | * section.c (bfd_get_section_size_before_reloc): Quell signed | |
194 | vs. unsigned comparison warning. | |
195 | (bfd_get_section_size_after_reloc): Same here. Fix parentheses too. | |
196 | * trad-core.c (trad_unix_core_file_p): Correct 2000-01-27 | |
197 | change. What was I thinking? | |
198 | * bfd-in2.h: Regenerate. | |
199 | ||
200 | * elflink.h (elf_gc_sweep): Skip non-elf input bfds. | |
201 | (elf_gc_sections): Same here. | |
202 | (elf_gc_common_finalize_got_offsets): And here. | |
203 | ||
494e2c58 ILT |
204 | 2000-02-21 Ian Lance Taylor <ian@zembu.com> |
205 | ||
206 | ELF HPPA doesn't work at present; remove it until it does. | |
207 | * config.bfd: Comment out setting targ_defvec to | |
208 | bfd_elf32_hppa_vec. | |
209 | * Makefile.am: Rebuild dependencies. | |
210 | (BFD32_BACKENDS): Remove elf32-hppa.lo. | |
211 | (BFD32_BACKENDS_CFILES): Remove elf32-hppa.c. | |
212 | (SOURCE_HFILES): Remove elf32-hppa.h and hppa_stubs.h. | |
213 | * Makefile.in: Rebuild. | |
214 | * targets.c (bfd_target_vector): Comment out bfd_elf32_hppa_vec. | |
215 | ||
2fca4467 GK |
216 | 2000-02-18 Geoff Keating <geoffk@cygnus.com> |
217 | ||
218 | * coffcode.h (coff_set_arch_mach_hook): Use free(), because there | |
219 | is no bfd_free(). Revert bfd_free part of previous change. | |
220 | ||
5ea1af0d GK |
221 | 2000-02-18 Geoff Keating <geoffk@cygnus.com> |
222 | ||
223 | * coffcode.h (coff_set_arch_mach_hook): Don't use variable-size | |
224 | arrays. | |
225 | (coff_compute_section_file_positions): Use bfd_free to pair | |
226 | bfd_malloc. | |
227 | (coff_write_object_contents): Likewise. | |
228 | ||
229 | * coff-rs6000.c (xcoff_howto_table_16): New variable. | |
230 | (xcoff_rtype2howto): Handle 16-bit variants of 32-bit relocs. | |
231 | ||
c61b8717 RH |
232 | 2000-02-18 Richard Henderson <rth@cygnus.com> |
233 | ||
234 | * elf-bfd.h (struct elf_link_hash_table): Remove copy_indirect | |
235 | and hide_symbol members. | |
236 | (elf_link_hash_copy_indirect): Remove. | |
237 | (elf_link_hash_hide_symbol): Remove. | |
238 | (struct elf_backend_data): Add elf_backend_copy_indirect_symbol | |
239 | and elf_backend_hide_symbol. | |
240 | (_bfd_elf_link_hash_copy_indirect): Declare. | |
241 | (_bfd_elf_link_hash_hide_symbol): Declare. | |
242 | * elf.c (_bfd_elf_link_hash_copy_indirect): Remove table argument. | |
243 | (_bfd_elf_link_hash_hide_symbol): Likewise. | |
244 | (_bfd_elf_link_hash_table_init): Don't init killed members. | |
245 | * elflink.h (elf_link_add_object_symbols): Use the bed function | |
246 | pointers not elf_link_hash_{copy_indirect,hide_symbol}. | |
247 | (elf_link_assign_sym_version): Likewise. | |
248 | * elfxx-target.h (elf_backend_copy_indirect_symbol): Default. | |
249 | (elf_backend_hide_symbol): Likewise. | |
250 | (elfNN_bed): Update for new members. | |
251 | ||
6ad49cca KB |
252 | 2000-02-17 Kevin Buettner <kevinb@redhat.com> |
253 | ||
254 | * rs6000-core.c (CORE_DATA_SIZE_FIELD, CORE_COMM_FIELD, SAVE_FIELD, | |
255 | STACK_END_ADDR): Define for new core file format. | |
256 | (LOADER_OFFSET_FIELD, LOADER_REGION_SIZE, CORE_DUMP): New defines | |
257 | for handling the vagaries of the various core file structures used | |
258 | by AIX over the years. | |
259 | (rs6000coff_core_p, rs6000coff_core_file_matches_executable, | |
260 | Rs6kCorData): Use above defines to adapt code to use AIX 4.3's | |
261 | core_dumpx structure. | |
262 | ||
d4845d57 JR |
263 | Thu Feb 17 00:04:48 2000 J"orn Rennecke <amylaar@cygnus.co.uk> |
264 | ||
265 | * archures.c (bfd_mach_sh2, bfd_mach_sh_dsp): New macros. | |
266 | (bfd_mach_sh3_dsp): Likewise. | |
267 | (bfd_mach_sh4): Reinstate. | |
268 | (bfd_default_scan): Recognize 7410, 7708, 7729 and 7750. | |
269 | * bfd-in2.h: Regenerate. | |
270 | * coff-sh.c (struct sh_opcode): flags is no longer short. | |
271 | (USESAS, USESAS_REG, USESR8, SETSAS, SETSAS_REG): New macros. | |
272 | (sh_opcode41, sh_opcode42): Integrate as sh_opcode41. | |
273 | (sh_opcode01, sh_opcode02, sh_opcode40): Add sh-dsp opcodes. | |
274 | (sh_opcode41, sh_opcode4, sh_opcode80): Likewise. | |
275 | (sh_opcodes): No longer const. | |
276 | (sh_dsp_opcodef0, sh_dsp_opcodef): New arrays. | |
277 | (sh_insn_uses_reg): Check for USESAS and USESR8. | |
278 | (sh_insn_sets_reg, sh_insns_conflict): Check for SETSAS. | |
279 | (_bfd_sh_align_load_span): Return early for SH4. | |
280 | Modify sh_opcodes lookup table for sh-dsp / sh3-dsp. | |
281 | Take into account that field b of a parallel processing insn | |
282 | could be mistaken for a separate insn. | |
283 | * cpu-sh.c (arch_info_struct): New array elements for | |
284 | sh2, sh-dsp and sh3-dsp. | |
285 | Reinstate element for sh4. | |
286 | (SH2_NEXT, SH_DSP_NEXT, SH3_DSP_NEXT): New macros. | |
287 | (SH4_NEXT): Reinstate. | |
288 | (SH3_NEXT, SH3E_NEXT): Adjust. | |
289 | * elf-bfd.h (_sh_elf_set_mach_from_flags): Declare. | |
290 | * elf32-sh.c (sh_elf_set_private_flags): New function. | |
291 | (sh_elf_copy_private_data, sh_elf_set_mach_from_flags): Likewise. | |
292 | (sh_elf_merge_private_data): New function. | |
293 | (elf_backend_object_p, bfd_elf32_bfd_set_private_bfd_flags): Define. | |
294 | (bfd_elf32_bfd_copy_private_bfd_data): Define. | |
295 | (bfd_elf32_bfd_merge_private_bfd_data): Change to | |
296 | sh_elf_merge_private_data. | |
297 | ||
2920b85c RH |
298 | 2000-02-13 Richard Henderson <rth@cygnus.com> |
299 | ||
300 | * elf-bfd.h (struct elf_link_hash_table): Add copy_indirect and | |
301 | hide_symbol members. | |
302 | (elf_link_hash_copy_indirect): New. | |
303 | (elf_link_hash_hide_symbol): New. | |
304 | * elflink.h (elf_link_add_object_symbols): Break out copy from | |
305 | indirect new new symbol to elf.c. | |
306 | (elf_link_assign_sym_version): Break out privatization of | |
307 | non-exported symbol to elf.c. | |
308 | * elf.c (_bfd_elf_link_hash_copy_indirect): New. | |
309 | (_bfd_elf_link_hash_hide_symbol): New. | |
310 | (_bfd_elf_link_hash_table_init): Init copy_indirect and hide_symbol. | |
311 | ||
7f8d5fc9 ILT |
312 | 2000-02-13 Ian Lance Taylor <ian@zembu.com> |
313 | ||
314 | * section.c (_bfd_strip_section_from_output): Add info parameter. | |
315 | If it passed as non-NULL, use it to check whether any input BFD | |
316 | has an input section which uses this output section. Change all | |
317 | callers. | |
318 | * bfd-in2.h: Rebuild. | |
319 | ||
320 | * bfd-in.h: Move declarations of bfd_get_elf_phdr_upper_bound and | |
321 | bfd_get_elf_phdrs in from bfd-in2.h, correcting patch of | |
322 | 1999-11-29. | |
323 | * bfd-in2.h: Rebuild. | |
324 | ||
6c784c9a TW |
325 | 2000-02-10 Timothy Wall <twall@cygnus.com> |
326 | ||
327 | * coffswap.h (coff_swap_sym_in): Add hook SWAP_SYM_IN_POST to | |
328 | allow final modifications of swapped-in symbol. | |
329 | (coff_swap_sym_out): Ditto with SWAP_SYM_OUT_POST. | |
330 | * coffcode.h (coff_write_relocs): Use macro | |
331 | SECTION_RELATIVE_ABSOLUTE_SYMBOL_P if defined to determine whether | |
332 | symbol index should be set to -1. | |
333 | ||
84dcfba7 JR |
334 | Thu Feb 10 20:07:50 GMT 2000 Toshiyasu Morita (toshi.morita@sega.com) |
335 | ||
336 | * coff-sh.c (USES1_REG, USES2_REG, SETS1_REG, SETS2_REG, | |
337 | USESF1_REG, USESF2_REG, SETSF1_REG, SETSF2_REG): New macros. | |
338 | * (sh_insn_sets_reg, sh_insn_sets_freg): New prototypes. | |
339 | * (sh_insn_sets_reg, sh_insn_uses_or_sets_reg, sh_insns_sets_freg, | |
340 | sh_insns_uses_or_sets_freg): New functions. | |
341 | * (sh_insn_uses_reg, sh_insn_uses_freg): Use new macros. | |
342 | * (sh_insns_conflict): Use new functions and new macros to | |
343 | detect conflicts when two instructions both set same integer registers, | |
344 | both set same fp register, and both set special register. | |
345 | ||
363d7b14 TW |
346 | 2000-02-09 Timothy Wall <twall@cygnus.com> |
347 | ||
348 | * coffgen.c (coff_real_object_p): Set arch/mach info prior to | |
349 | swapping in sections, so that the swapping routines have access to | |
350 | the arch/mach info. | |
351 | ||
119a7ced NC |
352 | 2000-02-08 Mark Elbrecht <snowball3@bigfoot.com> |
353 | ||
354 | * coff-go32.c: Update comment. Update copyright. | |
355 | ||
fad6fcbb | 356 | 2000-01-27 Thomas de Lellis <tdel@windriver.com> |
2f0ca46a | 357 | |
fad6fcbb NC |
358 | * syms.c (bfd_decode_symclass) |
359 | Two new class characters were added - 'V' and 'v'. The | |
360 | meaning of 'W' is now restricted to just weak non-object | |
361 | symbols. This allows differentiation between, for example, | |
362 | weak functions vs weak objects. nm for example now dumps: | |
363 | 'W' = weak global | |
364 | 'w' = weak unresolved | |
365 | 'V' = weak global object | |
366 | 'v' = weak unresolved object | |
367 | ||
368 | (bfd_is_undefined_symclass): New function. Return true if the | |
369 | given symbol class represents and undefined/unresolved symbol. | |
370 | ||
371 | (bfd_symbol_info): Use bfd_is_undefined_symclass to check for | |
372 | unresolved symbols. | |
373 | ||
374 | * bfd-in2.h: Add prototype for bfd_is_undefined_symbol(). | |
375 | ||
2f0ca46a NC |
376 | * elf32-arm.h (elf32_arm_get_symbol_type): If a symbol has the |
377 | STT_ARM_16BIT flag set, but it is not attached to a data object | |
378 | return STT_ARM_16BIT so that it will be treated as code by the | |
fd6848f6 | 379 | disassembler. |
2f0ca46a | 380 | |
305c7206 AM |
381 | 2000-01-27 Alan Modra <alan@spri.levels.unisa.edu.au> |
382 | ||
383 | * coff-i386.c (i3coff_object_p): Remove prototype. | |
384 | Update copyright. | |
385 | ||
386 | * elflink.c (_bfd_elf_link_record_dynamic_symbol): Add const | |
387 | to name. Update copyright. | |
388 | ||
389 | * trad-core.c (trad_unix_core_file_p): Cast core_regsec | |
390 | assignment to avoid warning. Update copyright. | |
391 | ||
b5f303f0 NC |
392 | 2000-01-24 Robert Lipe (robertl@sco.com) |
393 | ||
394 | * coffcode.h (coff_write_object_contents): Get buff via bfd_malloc | |
395 | instead of using GNU C extension. | |
396 | ||
2e4bb80e NC |
397 | 2000-01-21 Nick Clifton <nickc@cygnus.com> |
398 | ||
399 | * libbfd.c (bfd_read): Do not attempt to get a negativly sized | |
400 | amount from a bfd_in_memory structure. | |
401 | (bfd_seek): Do not allow seeks past the end of a bfd_in_memory | |
402 | structure. | |
403 | ||
28240dcd NC |
404 | 2000-01-14 Nick Clifton <nickc@cygnus.com> |
405 | ||
406 | * linker.c (default_indirect_link_order): oops - fix incorrectly | |
407 | applied patch from Tim Wall. | |
408 | ||
6b3b007b NC |
409 | 2000-01-13 Timothy Wall (twall@tiac.net> |
410 | ||
411 | * coffcode.h: Use bfd_coff_xxx instead of the macro XXX (where xxx | |
412 | = scnhsz, filhsz, relsz, aoutsz, etc) | |
413 | ||
414 | * coffswap.h: Ditto. | |
415 | ||
756fa1b9 NC |
416 | 2000-01-13 Nick Clifton <nickc@cygnus.com> |
417 | ||
418 | * elf32-arm.h (elf32_thumb_to_arm_stub): Fix offset in branch to | |
419 | interwork thumb to arm stub. | |
420 | ||
9a968f43 NC |
421 | 2000-01-13 Timothy Wall (twall@tiac.net> |
422 | ||
423 | * archures.c (bfd_octets_per_byte): New function: Return | |
424 | target byte size. | |
425 | (bfd_arch_mach_octets_per_byte): New function: Return target | |
426 | byte size. | |
427 | ||
fd6848f6 | 428 | * section.c: Distinguish between octets and bytes for usage of |
9a968f43 NC |
429 | _cooked_size, _raw_size, and output_offset. Clarify |
430 | description of bfd_set_section_contents. | |
431 | ||
432 | * bfd-in2.h: Regenerate. | |
433 | ||
434 | * coffgen.c: Indicate that the offset parameter is in bytes, not | |
435 | octets. | |
436 | ||
437 | * cofflink.c (bfd_coff_link_input_bfd): Use bfd_octets_per_byte | |
438 | where appropriate to get the octet offset when calling | |
439 | bfd_set_section_contents. | |
440 | (bfd_coff_reloc_link_order): Ditto. | |
441 | ||
442 | * linker.c (bfd_generic_reloc_link_order): Ditto. | |
443 | (_bfd_default_link_order): Ditto. | |
444 | ||
445 | * reloc.c (bfd_perform_relocation): Distinguish between octets | |
446 | and bytes. Use octets when indexing into octet data; use bytes | |
447 | when calculating target addresses. | |
448 | (bfd_install_relocation): Ditto. | |
449 | ||
450 | * srec.c (srec_write_section): Ditto. | |
451 | ||
f45fbf87 NC |
452 | 2000-01-13 Nick Clifton <nickc@cygnus.com> |
453 | ||
454 | * coff-mcore.c (COFF_DEFAULT_SECTION_ALIGNMENT_POWER): Change from | |
455 | 3 to 2. This allows 4 byte sized sections, which is necessary for | |
456 | dlltool to build funcitoning DLLs. | |
457 | ||
0decc840 NC |
458 | 2000-01-10 Philip Blundell <pb@futuretv.com> |
459 | ||
460 | * config.bfd (arm*-*-linux-gnu*): Match instead of arm*-*-linux-gnu. | |
461 | (arm*-*-conix*): New target. | |
462 | ||
16e9c715 NC |
463 | 2000-01-10 Egor Duda <deo@logos-m.ru> |
464 | ||
465 | * config.bfd: Include elf32_i386 vector to target list for cygwin | |
466 | and mingw. | |
467 | ||
468 | * config.in: Undefine HAVE_WIN32_PSTATUS_T. | |
469 | * configure.in: Test for structure win32_pstatus_t in | |
470 | <sys/procfs.h> | |
471 | * configure: Regenerate. | |
472 | ||
473 | * elf.c (elfcore_grok_win32pstatus): New function: process | |
474 | win32_pstatus_t notes in elf core file. | |
475 | (elfcore_grok_note): Detect win32_pstatus notes. | |
476 | ||
7a13edea NC |
477 | 2000-01-03 Martin v. Loewis <loewis@informatik.hu-berlin.de> |
478 | ||
479 | * elflink.c (_bfd_elf_link_record_dynamic_symbol): Process symbol | |
480 | visibility. | |
481 | * elflink.h (elf_link_add_object_symbols): Combine visibilities. | |
482 | * elf.c (bfd_elf_print_symbol): Interpret st_other as visibility. | |
483 | ||
ea44b734 RH |
484 | 1999-12-29 Richard Henderson <rth@cygnus.com> |
485 | ||
486 | * elflink.h (bfd_elf,size_dynamic_sections): Don't export all | |
487 | if no dynamic sections created. | |
488 | ||
b1f10154 NC |
489 | 1999-12-27 Nick Clifton <nickc@cygnus.com> |
490 | ||
491 | * peicode.h (pe_bfd_object_p): Only define for PE format | |
492 | targets. | |
493 | ||
cb665cd3 NC |
494 | 1999-12-17 Nick Clifton <nickc@cygnus.com> |
495 | ||
496 | * coff-i386.c (i3coff_object_p): Delete. | |
497 | (i386coff_vec): Replace reference to i3coff_object_p with a | |
498 | reference to coff_object_p. | |
499 | ||
500 | * coff-mcore.c (pe_object_p): Delete. | |
501 | ||
502 | * peicode.h (pe_bfd_object_p): New function: Detect the | |
503 | presence of a PE format COFF object file. Also detect and | |
504 | warn about the presence of LINK6 format Image Library Format | |
505 | object files. | |
506 | ||
af74ae99 NC |
507 | 1999-12-16 Nick Clifton <nickc@cygnus.com> |
508 | ||
509 | * coff-arm.c (NUM_ELEM): New macro. | |
510 | (NUM_RELOCS): New macro: The number of known ARM relocs. | |
511 | (RTYPE2HOWTO): Return NULL if the reloc type is out of range. | |
512 | (coff_arm_rtype_to_howto): Return NULL if the reloc type is out | |
513 | of range. | |
514 | (bfd_arm_process_before_allocation): Produce a warning message if | |
515 | an out of range symbol index is encountered. | |
516 | ||
48dfb430 NC |
517 | 1999-12-14 Nick Clifton <nickc@cygnus.com> |
518 | ||
519 | * elflink.h (is_global_symbol_definition): New Function: Return | |
520 | true iff the symbol is being given a global definition in this | |
521 | bfd. | |
522 | (elf_link_is_defined_archive_symbol): Do not bother processing | |
523 | symbols for an archive element that has already been included | |
524 | in the link. | |
525 | Use is_global_symbol_definition(). | |
526 | ||
93be3c4b AC |
527 | 1999-12-09 Andrew Cagney <cagney@cygnus.com> |
528 | ||
529 | * config.bfd: Add support for sparc-*-netbsdelf* and | |
530 | sparc-*-netbsdaout*. | |
531 | ||
ceddadb2 NC |
532 | 1999-12-13 Nick Clifton <nickc@cygnus.com> |
533 | ||
534 | * elflink.h (elf_link_is_defined_archive_symbol): Check to see | |
535 | if the symbol is in the common section. | |
536 | ||
a3a8c91d NC |
537 | 1999-12-10 Nick Clifton <nickc@cygnus.com> |
538 | ||
539 | * elflink.h (elf_link_is_defined_archive_symbol): New | |
540 | function: Decide if a symbol, in an archive map is there | |
541 | because it is defined in the archive element, or because it is | |
542 | just another common declaration of it. | |
543 | (elf_link_add_archive_symbols): Use | |
544 | elf_link_is_defined_archive_symbol to decide if an archive | |
545 | element contain a reference to a common symbol should be | |
546 | linked in or not. | |
547 | ||
77fb9c28 NC |
548 | 1999-12-10 Nick Clifton <nickc@cygnus.com> |
549 | ||
550 | * elflink.h: Revert previous patch. | |
551 | * targets.c: Revert previous patch. | |
552 | * libbfd-in2.h: Revert previous patch. | |
553 | * libbfd.h: Revert previous patch. | |
554 | * elfxx-target.h: Revert previous patch. | |
555 | * archive.c: Revert previous patch. | |
556 | * aout-target.h: Revert previous patch. | |
557 | * aout-tic30.h: Revert previous patch. | |
558 | * bfd.c: Revert previous patch. | |
559 | * coff-alpha.c: Revert previous patch. | |
560 | * coff-rs6000.c: Revert previous patch. | |
561 | * elf64-mips.c: Revert previous patch. | |
562 | * ieee.c: Revert previous patch. | |
563 | * libecoff.h: Revert previous patch. | |
564 | * oasys.c: Revert previous patch. | |
565 | * som.c: Revert previous patch. | |
566 | * vms.c: Revert previous patch. | |
567 | ||
ad247e3c NC |
568 | 1999-12-09 Nick Clifton <nickc@cygnus.com> |
569 | ||
570 | * elflink.h (elf_link_add_archive_symbols): Add an archive | |
571 | element even if contains a symbol which is currently only | |
572 | considered to be a common. | |
573 | ||
574 | * targets.c (struct bfd_target): Add new field | |
575 | _bfd_allow_commons_in_armap. | |
576 | * bfd-in2.h:Regenerate. | |
577 | ||
578 | * libbfd-in2.h (_bfd_noarchive_allow_commons_in_armap): | |
579 | Define. | |
580 | (_bfd_archive_bsd_allow_commons_in_armap): Define. | |
581 | * libbfd.h: Regenerate. | |
582 | ||
583 | * elfxx-target.h: If using COFF archive map, override | |
584 | definition of allow_commons_in_armap and replace with | |
585 | bfd_false. | |
586 | ||
587 | * archive.c (bfd_compute_and_write_armap): Do not place common | |
588 | symbols into the archive map unless _bfd_allow_commons_in_armap | |
589 | returns true. | |
590 | ||
591 | * aout-target.h (MY_allow_commons_in_armap): Define. | |
592 | * aout-tic30.h (MY_allow_commons_in_armap): Define. | |
593 | * bfd.c (bfd_allow_commons_in_armap): Define. | |
594 | * coff-alpha.h (alpha_ecoff_allow_commons_in_armap): Define. | |
595 | * coff-rs6000.h (xcoff_allow_commons_in_armap): Define. | |
596 | * elf64-mips.c (bfd_elf64_allow_commons_in_armap): Define. | |
597 | * ieee.c (ieee_ecoff_allow_commons_in_armap): Define. | |
598 | * libecoff.h (_bfd_ecoff_allow_commons_in_armap): Define. | |
599 | * oasys.c (oasys_allow_commons_in_armap): Define. | |
600 | * som.c (som_allow_commons_in_armap): Define. | |
601 | * vms.c (vms_allow_commons_in_armap): Define. | |
602 | ||
6fe6a461 JB |
603 | 1999-12-07 Jim Blandy <jimb@cygnus.com> |
604 | ||
605 | Add support for SSE registers in ELF core files. | |
606 | * elf.c (elfcore_make_note_pseudosection): New function. | |
607 | (elfcore_grok_prfpreg): Use it. | |
608 | (elfcore_grok_prxfpreg): New function. | |
609 | (elfcore_grok_note): Recognize Linux NT_PRXFPREG notes. | |
610 | ||
2a6d49ea ILT |
611 | 1999-12-03 Ian Lance Taylor <ian@zembu.com> |
612 | ||
613 | * elf32-mips.c (mips_elf_calculate_relocation): Divide R_MIPS_PC16 | |
614 | value by 4 before storing it back in the field. From | |
615 | Koundinya. K <kk@ddeorg.soft.net>. | |
616 | ||
31f8dc8f JL |
617 | Tue Nov 30 22:41:14 1999 Jeffrey A Law (law@cygnus.com) |
618 | ||
619 | * archures.c (bfd_mach_am33): Define. | |
620 | * bfd-in2.h: Rebuilt. | |
621 | * cpu-m10300.c (bfd_am33_arch): Add to the mn103 architecture list | |
622 | * elf-m10300.c (mn10300_elf_relax_section): Handle am33 instructions. | |
623 | (compute_function_info): Handle additional registers saved by | |
624 | movm on the am33. | |
625 | (elf_mn10300_mach): Handle E_MN10300_MACH_AM33. | |
626 | (_bfd_mn10300_elf_final_write_processing): Handle bfd_mach_am33. | |
627 | ||
98d8431c JB |
628 | 1999-11-29 Jim Blandy <jimb@cygnus.com> |
629 | ||
630 | * elf.c (bfd_get_elf_phdrs, bfd_get_elf_phdr_upper_bound): New | |
631 | functions. | |
632 | * bfd-in2.h (bfd_get_elf_phdrs, bfd_get_elf_phdr_upper_bound): New | |
633 | declarations. | |
634 | ||
fe174262 MM |
635 | 1999-11-27 Michael Meissner <meissner@cygnus.com> |
636 | ||
637 | * reloc.c (BFD_RELOC_ALPHA_USER_LITERAL): New relocation for | |
638 | internal use within gas for alpha explicit relocations. | |
639 | (BFD_RELOC_ALPHA_USER_LITUSE_BASE): Ditto. | |
640 | (BFD_RELOC_ALPHA_USER_LITUSE_BYTOFF): Ditto. | |
641 | (BFD_RELOC_ALPHA_USER_LITUSE_JSR): Ditto. | |
642 | (BFD_RELOC_ALPHA_USER_GPDISP): Ditto. | |
643 | (BFD_RELOC_ALPHA_USER_GPRELHIGH): Ditto. | |
644 | (BFD_RELOC_ALPHA_USER_GPRELLOW): Ditto. | |
645 | ||
646 | * elf64-alpha.c (elf64_alpha_reloc_map): Add mappings for | |
647 | BFD_RELOC_ALPHA_USER_*. | |
648 | ||
649 | * bfd-in2.h: Regenerate. | |
650 | * libbfd.h: Regenerate. | |
651 | ||
20cfcaae NC |
652 | 1999-11-26 Fred Fish <fnf@cygnus.com> |
653 | ||
654 | * elf.c (elfcore_read_notes): Add prototype for static function. | |
655 | (_bfd_elf_make_section_from_phdr): Renamed from bfd_section_from_phdr. | |
656 | (bfd_section_from_phdr): Replacement function that calls | |
657 | _bfd_elf_make_section_from_phdr for generic segment types and | |
658 | backend fucntion pointed to by elf_backend_section_from_phdr for | |
659 | backend specific segment types. | |
660 | (_bfd_elfcore_section_from_phdr): Remove call to elfcore_read_notes, | |
661 | now called by _bfd_elf_make_section_from_phdr. Note that this func | |
662 | is now just a stub between the caller and bfd_section_from_phdr. | |
663 | ||
664 | * elf-bfd.h (struct elf_backend_data): Add new function pointer | |
665 | elf_backend_section_from_phdr. | |
666 | (elf_backend_section_from_phdr): Add prototype. | |
667 | ||
668 | * elfxx-target.h (elf_backend_section_from_phdr): Define default. | |
669 | (elfNN_bed): Add elf_backend_section_from_phdr. | |
670 | ||
811b4bf6 NC |
671 | 1999-11-25 Nick Clifton <nickc@cygnus.com> |
672 | ||
ba3d4249 NC |
673 | * coff-arm.c (bfd_arm_get_bfd_for_interworking): Add |
674 | SEC_CODE and SEC_READONLY flags to glue sections. | |
675 | ||
811b4bf6 NC |
676 | * elf32-arm.h (bfd_elf32_arm_get_bfd_for_interworking): Add |
677 | SEC_CODE and SEC_READONLY flags to glue sections. | |
678 | ||
01ef19d2 NC |
679 | 1999-11-20 Nick Clifton <nickc@cygnus.com> |
680 | ||
681 | * coff-mcore.c (coff_mcore_relocate_section): Fix typo in previous | |
682 | delta. | |
683 | ||
1ca42bad CM |
684 | 1999-11-19 Catherine Moore <clm@cygnus.com> |
685 | ||
686 | * elf32-m68k.c (elf_cpu32_plt0_entry): Fix encoding. | |
687 | (elf_cpu32_plt_entry): Likewise. | |
688 | ||
078c8694 NC |
689 | 1999-11-18 Nick Clifton <nickc@cygnus.com> |
690 | ||
691 | * coff-mcore.c (coff_mcore_rtype_to_howto): Special case handling | |
692 | for RVA relocs. | |
693 | (coff_mcore_relocate_section): Initialise addend to 0. | |
694 | Special case processing of RVA reloc. | |
695 | ||
86dc0f79 RH |
696 | 1999-11-17 Richard Henderson <rth@cygnus.com> |
697 | ||
698 | * elf-bfd.h (struct elf_backend_data): Reorder collect and | |
699 | type_change_ok; add sign_extend_vma. | |
700 | * elf32-mips.c (elf_backend_sign_extend_vma): Define. | |
701 | * elfcode.h (elf_swap_symbol_in): Mind be->sign_extend_vma. | |
702 | (elf_swap_shdr_in, elf_swap_phdr_in): Likewise. | |
703 | * elfxx-target.h (elf_backend_sign_extend_vma): Default. | |
704 | (elfNN_bed): Follow struture changes. | |
705 | ||
0bff3f4b ILT |
706 | 1999-11-09 Ian Lance Taylor <ian@zembu.com> |
707 | ||
708 | * libbfd.c (bfd_read): Check result of read against desired result | |
709 | using !=, not <. | |
710 | (_bfd_generic_get_section_contents): Set bfd_error if the seek is | |
711 | invalid compared to the section size. | |
712 | ||
713 | * ieee.c (ieee_slurp_debug): Get the length of the debug | |
714 | information right if there is no data part. | |
715 | ||
832fc202 JL |
716 | Tue Nov 2 01:44:41 1999 Jeffrey A Law (law@cygnus.com) |
717 | ||
718 | * som.c (som_fixup_formats): Improve handling of R_AUX_UNWIND, | |
719 | R_LINETAB, R_LINETAB_ESC, and R_COMMENT. | |
720 | ||
71a40b32 ILT |
721 | 1999-10-28 Ian Lance Taylor <ian@zembu.com> |
722 | ||
723 | * elflink.h (elf_bfd_final_link): Make last_local signed. | |
724 | ||
8140b664 ILT |
725 | 1999-10-27 Ian Lance Taylor <ian@zembu.com> |
726 | ||
727 | * stabs.c (_bfd_link_section_stabs): Make sure .stabstr section | |
728 | starts with a zero. | |
729 | ||
7af8cca9 MM |
730 | Sat Oct 23 17:36:12 1999 Andrew Cagney <cagney@b1.cygnus.com> |
731 | ||
732 | * archures.c: Add definitions bfd_mach_d10v, bfd_mach_d10v_ts2 and | |
733 | bfd_mach_d10v_ts3. | |
734 | * cpu-d10v.c (d10v_ts3_info, d10v_ts2_info): Add. | |
735 | * bfd-in2.h: Regenerate. | |
736 | ||
a67a8777 AH |
737 | 1999-10-15 Andrew Haley <aph@cygnus.com> |
738 | ||
739 | * dwarf1.c (parse_die): Fail to parse a die if its length is zero. | |
740 | ||
7a7191b7 JL |
741 | Sun Oct 17 17:19:00 1999 Jeffrey A Law (law@cygnus.com) |
742 | ||
743 | * libhppa.h (bfd_hppa_insn2fmt): Change to return an int. | |
744 | ||
64df8d0b ILT |
745 | 1999-10-08 Ian Lance Taylor <ian@zembu.com> |
746 | ||
747 | * elflink.h (elf_merge_symbol): When overriding a weak symbol with | |
748 | a defined symbol in a shared library, clear the DEF_DYNAMIC flag | |
749 | too. | |
750 | ||
0af99795 GK |
751 | Fri Oct 8 13:03:45 1999 Geoffrey Keating <geoffk@cygnus.com> |
752 | ||
753 | * elf32-mips.c (mips_elf_calculate_relocation): R_MIPS_LITERAL | |
754 | relocs also need the GP value. | |
755 | (_bfd_mips_elf_relocate_section): Handle unpaired LO16 relocs | |
756 | properly. Handle sign-extension for R_MIPS_64 correctly. Correct | |
757 | the GP value for R_MIPS_LITERAL relocs too. Handle | |
758 | R_MIPS_64 relocs properly on big-endian MIPS. | |
759 | (mips_elf_sign_extend): Behave properly with 'long long'. | |
760 | (mips_elf_highest): Correct typo. | |
761 | ||
e916b64e DE |
762 | Mon Oct 4 17:49:45 1999 Nick Clifton <nickc@cygnus.com> |
763 | ||
764 | * cpu-m32r.c (arch_info_struct): New static global. | |
765 | (bfd_m32r_arch): Refer to it. | |
766 | * elf32-m32r.c (m32r_elf_object_p): Recognize E_M32RX_ARCH. | |
767 | (m32r_elf_print_private_bfd_data): Ditto. | |
768 | (m32r_elf_final_write_processing): Handle bfd_mach_m32rx. | |
a23ef39f DE |
769 | * archures.c (bfd_mach_m32rx): Define it. |
770 | * bfd-in2.h: Rebuild. | |
e916b64e | 771 | |
f4bda984 RH |
772 | 1999-09-28 Fred Fish <fnf@cygnus.com> |
773 | ||
774 | * targets.c (cisco_core_vec): Replaced with two new vecs ... | |
775 | (cisco_core_big_vec): Add new bigendian vec. | |
776 | (cisco_core_little_vec): Add new little endian vec. | |
777 | ||
778 | * cisco-core.c (CRASH_INFO): Fixed offset replaced with ... | |
779 | (crash_info_locs): Add array of possible offsets. | |
780 | (MASK_ADDR): Mask to apply to crash info offset. | |
781 | (crashinfo_external): Add textbase, database, bssbase and | |
782 | turn into a typedef. | |
783 | (cisco_core_file_validate): Renamed from cisco_core_file_p. | |
784 | Many small changes to account for additional hardware versions. | |
785 | Pick a reasonable size for ".reg" section. Add a ".crash" | |
786 | section to allow access to crashinfo_external struct. | |
787 | (cisco_core_file_p): New version of this function that | |
788 | iterates over crash_info_locs, calling cisco_core_file_validate. | |
789 | (cisco_core_vec): Old big endian only vec replaced with ... | |
790 | (cisco_core_big_vec): Add big endian version. | |
791 | (cisco_core_little_vec): Add little endian version. | |
792 | ||
793 | * configure.in (cisco_core_vec): Split to two new vectors ... | |
794 | (cisco_core_big_vec): New target vector. | |
795 | (cisco_core_little_vec): New target vector. | |
796 | * configure: Regenerate. | |
797 | * config.bfd (targ): For m68*-*-aout* targ, change cisco_core_vec | |
798 | to cisco_core_big_vec in targ_selvecs. | |
799 | ||
d02f29ad GK |
800 | 1999-09-28 Geoffrey Keating <geoffk@cygnus.com> |
801 | ||
802 | * elf32-mips.c (mips_elf_relocate_hi16): Unused, delete. | |
803 | (mips_elf_relocate_got_local): Unused, delete. | |
804 | (mips_elf_relocate_global_got): Unused, delete. | |
805 | ||
27ac83bf RH |
806 | 1999-09-24 Fred Fish <fnf@cygnus.com> |
807 | ||
808 | * elf.c (bfd_section_from_phdr): Add typename variable. Use p_type | |
809 | to initialize it to something meaningful. Then use it to generate | |
810 | more useful segment names. | |
811 | ||
2667095f JL |
812 | Sun Sep 19 12:16:47 1999 Jeffrey A Law (law@cygnus.com) |
813 | ||
814 | * som.c (NO_PCREL_MODES): Define if the system does not define | |
815 | R_SHORT_PCREL_MODE. | |
816 | (hppa_som_gen_reloc_type): Handle both short and long pcrel branches. | |
817 | (som_write_fixups): Eliminate redundant pcrel mode relocs. Handle | |
818 | R_LONG_PCREL_MODE and R_SHORT_PCREL_MODE | |
819 | * libhppa.h (dis_assemble_22): New function. | |
820 | (bfd_hppa_insn2fmt): Handle long branch. | |
821 | ||
27ac83bf RH |
822 | * libhppa.h (bfd_hppa_insn2fmt): Decode and handle formats found |
823 | in PA2.0. | |
2667095f | 824 | |
b7be1db6 AM |
825 | 1999-09-17 Alan Modra <alan@spri.levels.unisa.edu.au> |
826 | ||
827 | * coff-i386.c (coff_i386_reloc_type_lookup): Support BFD_RELOC_16, | |
828 | BFD_RELOC_16_PCREL, BFD_RELOC_8, BFD_RELOC_8_PCREL relocs. | |
829 | (reloc_howto_type howto_table): Tidy comments and whitespace. | |
830 | ||
57db232e NC |
831 | 1999-09-17 Nick Clifton <nickc@cygnus.com> |
832 | ||
833 | * elf32-arm.h (bfd_elf32_arm_get_bfd_for_interworking): Undo | |
834 | previous delta. Set sec->gc_mark instead. | |
835 | ||
38f7d33d CM |
836 | Thu Sep 16 11:21:13 1999 Catherine Moore <clm@cygnus.com> |
837 | ||
838 | * elf32-m68k.c (elf_cpu32_plt0_entry): Use a1 instead of a0. | |
839 | (elf_cpu32_plt_entry): Likewise. | |
840 | ||
dfec422f JL |
841 | Thu Sep 16 10:48:17 1999 Jeffrey A Law (law@cygnus.com) |
842 | ||
b2df1460 JL |
843 | * elf-hppa.h (elf_hppa_final_write_processing): Turn on TRAPNIL. |
844 | ||
1209c612 JL |
845 | * elf-hppa.h (elf_hppa_final_link): If unable to find __gp in the |
846 | symbol table, then just compute a suitable value (but do not | |
847 | create a __gp symbol). | |
848 | ||
dfec422f JL |
849 | * elf-hppa.h (elf_hppa_relocate_section): Allow undefined |
850 | symbols when building shared libraries. | |
851 | (elf_hppa_final_link_relocate): Correct handling of PCREL | |
852 | relocations against undefined symbols. | |
853 | ||
d0f2103d NC |
854 | 1999-09-16 Nick Clifton <nickc@cygnus.com> |
855 | ||
856 | * elf32-arm.h (bfd_elf32_arm_get_bfd_for_interworking): Mark | |
857 | interworking sections as linker created so that they will not | |
858 | be removed by garbage collection. | |
859 | ||
19ef5465 JL |
860 | Wed Sep 15 02:31:57 1999 Jeffrey A Law (law@cygnus.com) |
861 | ||
862 | * elf-hppa.h (elf_hppa_final_link): Revamp __gp handling. | |
863 | (elf_hppa_final_link_relocate): Consistently create an absolute | |
864 | address, then subtract out the value of __gp. | |
865 | ||
6d83c84b MM |
866 | 1999-09-14 Michael Meissner <meissner@cygnus.com> |
867 | ||
868 | * configure.in (Canonicalization of target names): Remove adding | |
869 | ${CONFIG_SHELL} in front of $ac_config_sub, since autoconfig 2.14 | |
870 | generates $ac_config_sub with a ${CONFIG_SHELL} already. | |
871 | * configure: Regenerate. | |
872 | ||
06a5ee55 NC |
873 | 1999-09-14 Nick Clifton <nickc@cygnus.com> |
874 | ||
875 | * elf32-m32r.c (ELF_MAXPAGESIZE): Change to 0x1 (at request of | |
876 | Mitsubishi). | |
877 | ||
b2e311df JL |
878 | Mon Sep 13 20:01:47 1999 Jeffrey A Law (law@cygnus.com) |
879 | ||
2ec0dd12 JL |
880 | * elf-hppa.h (elf_hppa_record_segment_addrs): New function. |
881 | (elf_hppa_final_link): Initialize text_segment_base and | |
882 | data_segment_base. | |
883 | (elf_hppa_final_link_relocate): Handle SEGREL relocations. | |
884 | ||
b2e311df JL |
885 | * elf-hppa.h (elf_hppa_final_link): Remove unused variables. |
886 | (elf_hppa_final_link_relocate): Likewise. | |
887 | (elf_hppa_relocate_insn): Likewise. | |
888 | (elf_hppa_relocate_section): Initialize HOWTO. | |
889 | ||
79207490 ILT |
890 | 1999-09-13 Donn Terry <donn@interix.com> |
891 | ||
e5db213d ILT |
892 | * coffcode.h (styp_to_sec_flags): Further refinement of COMDAT |
893 | handling to support both GNU and MS objects. | |
894 | ||
79207490 ILT |
895 | * coffcode.h (coff_write_object_contents): Don't check reloc_count |
896 | when determining whether to set F_RELFLG. | |
897 | ||
59f2c4e7 NC |
898 | 1999-09-13 Philip Blundell <pb@nexus.co.uk> |
899 | ||
900 | * elf32-arm.h (elf32_arm_final_link_relocate): Don't range-check | |
901 | PC24 relocs if the target is an undefined weak symbol. | |
902 | (arm_add_to_rel): Fix compiler warning. | |
903 | (elf32_arm_plt0_entry): Correct comments. | |
904 | ||
2f66722d AM |
905 | 1999-09-13 Alan Modra <alan@spri.levels.unisa.edu.au> |
906 | ||
907 | * elfcode.h (write_relocs): Check for the_bfd NULL when handling | |
908 | an absolute symbol in REL relocs. | |
909 | ||
228d307f JL |
910 | Sun Sep 12 23:47:58 1999 Jeffrey A Law (law@cygnus.com) |
911 | ||
912 | * elf-hppa.h (elf_hppa_final_link_relocate): Handle SECREL32. | |
913 | Stub SEGREL32. Return an error for any relocation not handled. | |
914 | ||
49147fca ILT |
915 | 1999-09-12 Ian Lance Taylor <ian@zembu.com> |
916 | ||
917 | * cofflink.c (coff_link_add_symbols): Look for special MSVC string | |
918 | constant symbols, and avoid multiple definition errors on them. | |
919 | ||
86b21447 ILT |
920 | 1999-09-12 Donn Terry <donn@interix.com> |
921 | ||
922 | * libbfd.c (bfd_log2): Rewrite to avoid infinite loop if most | |
923 | significant bit is set. | |
924 | ||
eeaf533e ILT |
925 | 1999-09-11 Ian Lance Taylor <ian@zembu.com> |
926 | ||
a50f8417 ILT |
927 | * coff-ppc.c (COFF_SECTION_ALIGNMENT_ENTRIES): Define. |
928 | ||
eeaf533e ILT |
929 | * elfcode.h (write_relocs): Handle an absolute symbol in REL |
930 | relocs as we do for RELA relocs. | |
931 | ||
703153b5 ILT |
932 | 1999-09-11 Donn Terry <donn@interix.com> |
933 | ||
2fbadf2c ILT |
934 | * libpei.h (_bfd_pei_final_link_postscript): Declare. |
935 | (coff_final_link_postscript): Define. | |
936 | * peigen.c (_bfd_pei_swap_aouthdr_out): Don't set value for data | |
937 | directory entries here. | |
938 | (_bfd_pei_final_link_postscript): New function. | |
939 | ||
8c42d010 ILT |
940 | * peigen.c (_bfd_pei_swap_scnhdr_out): Remove code which sets |
941 | section flags based on the section name. | |
942 | ||
cb43721d ILT |
943 | * peicode.h (coff_swap_scnhdr_in): If COFF_IMAGE_WITH_PE, the |
944 | get the overflow of the s_nlnno field from the s_nreloc field. | |
945 | * peigen.c (_bfd_pei_swap_scnhdr_out): If doing a final link, swap | |
946 | the s_nlnno overflow of the .text section into the s_nreloc | |
947 | field. | |
948 | ||
5933bdc9 ILT |
949 | * peigen.c (add_data_entry): Declare. |
950 | (pei_swap_aouthdr_out): Get image size right. Set linker version | |
951 | more intuitively. | |
952 | (pei_swap_scnhdr_out): Test for UNINIT section, not .bss. | |
953 | (pe_print_idata): Code cleanup, print more info, get rid of (now) | |
954 | extraneous ImageBase. | |
955 | (pe_print_edata): Likewise. | |
956 | (pe_print_pdata): Likewise. Print exception entries. | |
957 | (pe_print_reloc): Likewise. Print MIPS_JMPADDR. | |
958 | (tbl): Make const, add "UNKNOWN". | |
959 | (_bfd_pe_print_private_bfd_data_common): Print timestamp. | |
960 | (_bfd_pe_bfd_copy_private_bfd_data_common): Don't copy deleted | |
961 | section data directory. | |
962 | (_bfd_pe_bfd_copy_private_section_data): Copy pe_flags. | |
963 | ||
7d2b58d6 ILT |
964 | * libpei.h (_bfd_pe_bfd_get_symbol_info): Declare. |
965 | * peigen.c (_bfd_pe_bfd_get_symbol_info): New function. | |
966 | * peicode.h (coff_get_symbol_info): Define. | |
967 | ||
0717ebb7 ILT |
968 | * config.bfd (i[3456]86-*-interix*): Set targ_cflags to |
969 | -DSTRICT_PE_FORMAT. | |
970 | * coffcode.h (styp_to_sec_flags): Check STRICT_PE_FORMAT rather | |
971 | than __INTERIX. | |
972 | (coff_classify_symbol): Re-revert 1999-08-08 patch if | |
973 | STRICT_PE_FORMAT. | |
974 | ||
277d1b5e ILT |
975 | * libpei.h: New file, broken out of peicode.h. |
976 | * peigen.c: New file, broken out of peicode.h. | |
977 | * peicode.h: A bunch of code moved out to libpei.h and peigen.c. | |
978 | * configure.in: Add peigen.lo to list of files required for each | |
979 | PE target. | |
980 | * Makefile.am: Rebuild dependencies. | |
981 | (BFD32_BACKENDS): Add peigen.lo. | |
982 | (BFD32_BACKENDS_CFILES): Add peigen.c. | |
983 | (SOURCE_HFILES): Add libpei.h. | |
984 | * configure, Makefile.in: Rebuild. | |
985 | ||
e166a60f ILT |
986 | * peicode.h (coff_swap_scnhdr_in): Don't check for a special |
987 | section name of _BSS; check IMAGE_SCN_CNT_UNINITIALIZED_DATA | |
988 | instead. Don't clear the s_paddr field for an uninitialized data | |
989 | section. | |
990 | ||
1135238b ILT |
991 | * coffcode.h (coff_mkobject_hook): Set timestamp field in |
992 | coff_data_type to f_timdat. | |
993 | * peicode.h (pe_mkobject_hook): Likewise. | |
994 | ||
05bf877a ILT |
995 | * peicode.h (coff_swap_filehdr_in): Check the NT executable magic |
996 | number if COFF_IMAGE_WITH_PE. | |
997 | ||
4cfec37b ILT |
998 | * coffcode.h (coff_mkobject_hook): If COFF_WITH_PE, set HAS_DEBUG |
999 | to the reverse of IMAGE_FILE_DEBUG_STRIPPED. | |
1000 | (coff_write_object_contents): Set IMAGE_FILE_DEBUG_STRIPPED if | |
1001 | there is no SEC_DEBUGGING section. | |
1002 | * peicode.h (pe_mkobject_hook): Set HAS_DEBUG to the reverse of | |
1003 | IMAGE_FILE_DEBUG_STRIPPED. | |
1004 | ||
33d7d197 ILT |
1005 | * pe-i386.c (COFF_LONG_FILENAMES): Define. |
1006 | (COFF_SECTION_ALIGNMENT_ENTRIES): Define. | |
1007 | * pei-i386.c (COFF_LONG_FILENAMES): Define. | |
1008 | (COFF_SECTION_ALIGNMENT_ENTRIES): Define. | |
1009 | ||
402ef9d4 ILT |
1010 | * coffswap.h (IMAGE_BASE): Don't define. |
1011 | * pei-arm.c (IMAGE_BASE): Don't define. | |
1012 | * pei-i386.c (IMAGE_BASE): Don't define. | |
1013 | * pei-mcore.c (IMAGE_BASE): Don't define. | |
1014 | * pei-ppc.c (IMAGE_BASE): Don't define. | |
1015 | ||
8add8e30 ILT |
1016 | * cofflink.c (_bfd_coff_link_input_bfd): When writing out a |
1017 | symbol, switch on the class when determining whether to modify the | |
1018 | value. For PE, don't modify the value of a C_FCN symbol not named | |
1019 | .bf. | |
1020 | ||
c0bed66d ILT |
1021 | * libbfd-in.h (_bfd_abort): Declare. |
1022 | (abort): Define. | |
1023 | * bfd.c (_bfd_abort): New function. | |
1024 | * libbfd.h: Rebuild. | |
1025 | ||
a50f8417 ILT |
1026 | * coffcode.h (coff_set_alignment_hook): Delete POWERPC_LE_PE |
1027 | special handling. | |
1028 | ||
b545f675 ILT |
1029 | * cofflink.c (_bfd_coff_link_input_bfd): If a symbol is stripped, |
1030 | don't write out the associated line numbers. | |
1031 | ||
2c546cd8 ILT |
1032 | * cofflink.c (_bfd_coff_write_global_sym): Handle section symbol |
1033 | aux entries. | |
1034 | ||
5d3aaa74 ILT |
1035 | * cofflink.c (coff_link_add_symbols): Don't warn about symbol type |
1036 | changes when the base type is unknown. | |
1037 | ||
312191a6 ILT |
1038 | * coffgen.c (coff_print_symbol): Fix printing of aux record for |
1039 | function symbols. | |
1040 | ||
703153b5 | 1041 | * syms.c (BSF_DEBUGGING_RELOC): Define. |
d510f9a6 ILT |
1042 | * coffcode.h (coff_slurp_symbol_table): If PE, set BSF_DEBUGGING |
1043 | for C_FCN/C_EFCN symbols, and set BSF_DEBUGGING_RELOC for such | |
1044 | symbols named .bf. | |
703153b5 ILT |
1045 | * coffgen.c (fixup_symbol_value): Relocate a symbol which has |
1046 | BSF_DEBUGGING_RELOC set. | |
1047 | * bfd-in2.h: Rebuild. | |
1048 | ||
7b50b349 ILT |
1049 | 1999-09-10 Ian Lance Taylor <ian@zembu.com> |
1050 | ||
1051 | * ecoff.c (bfd_debug_section): Update initialization for new | |
1052 | comdat_info field. | |
1053 | (_bfd_ecoff_styp_to_sec_flags): Add section parameter. | |
1054 | * libecoff.h (_bfd_ecoff_styp_to_sec_flags): Update declaration. | |
1055 | ||
1056 | 1999-09-10 H.J. Lu <hjl@gnu.org> | |
1057 | ||
1058 | * coff-alpha.c (alpha_ecoff_backend_data): Initialize the new | |
1059 | _bfd_filnmlen field. | |
1060 | * coff-mips.c (mips_ecoff_backend_data): Likewise. | |
1061 | ||
af7dc644 JL |
1062 | Fri Sep 10 00:35:14 1999 Jeffrey A Law (law@cygnus.com) |
1063 | ||
e48c661e JL |
1064 | * elf-hppa.h (elf_hppa_final_link_relocate): Create .opd entries |
1065 | for FPTR relocs involving local symbols. | |
1066 | ||
6a0b9871 JL |
1067 | * elf-hppa.h (elf_hppa_final_link_relocate): Get the right |
1068 | value for the stub address in a call through a stub. | |
1069 | Install the value for a local symbol directly into the DLT | |
1070 | instead of generating a reloc. Correctly handle FPTR64 relocs. | |
1071 | ||
af7dc644 JL |
1072 | * elf-hppa.h (elf_hppa_unmark_useless_dynamic_symbols): New function. |
1073 | (elf_hppa_remark_useless_dynamic_symbols): Similarly. | |
1074 | (elf_hppa_final_link): Call them. | |
1075 | ||
fc4cc5bb ILT |
1076 | 1999-09-10 Ian Lance Taylor <ian@zembu.com> |
1077 | ||
1078 | * elflink.h (elf_fix_symbol_flags): Move weakdef handling here... | |
1079 | (elf_adjust_dynamic_symbol): ...from here. | |
1080 | ||
be7582f3 JL |
1081 | Wed Sep 8 17:56:11 1999 Jeffrey A Law (law@cygnus.com) |
1082 | ||
b7263961 JL |
1083 | * elf-hppa.h (elf_hppa_howto_table); There is no DIR64WR, DIR64DR |
1084 | relocation, remove them. SECREL64->LTOFF16WF. | |
1085 | (elf_hppa_final_link_relocate): Handle LTOFF* relocations. Handle | |
1086 | DIR* relocations. | |
1087 | (elf_hppa_relocate_insn): Similarly. | |
1088 | ||
8267b155 JL |
1089 | * elf-hppa.h (elf_hppa_final_link_relocate): Handle PLTOFF* relocs. |
1090 | (elf_hppa_relocate_insn): Similarly. | |
1091 | ||
6849fb4d JL |
1092 | * elf-hppa.h (elf_hppa_final_link_relocate): Handle DPREL* and |
1093 | GPREL* relocations. | |
1094 | (elf_hppa_relocate_insn): Similarly. | |
1095 | ||
b233eaab JL |
1096 | * elf-hppa.h (elf_hppa_link_final_relocate): Fix typos. |
1097 | Handle LTOFF_TP* relocs. | |
1098 | (elf_hppa_relocate_insn): Similarly. | |
1099 | ||
571047ad JL |
1100 | * elf-hppa.h (elf_hppa_final_link_relocate): Handle PCREL* relocs. |
1101 | Consistently deal with addends. Handle DLTIND14F and DLTREL14F. | |
1102 | (elf_hppa_relocate_insn): Handle PCREL* relocs. | |
1103 | ||
e5bb3efc JL |
1104 | * elf-hppa.h (elf_hppa_final_link_relocate): Handle LT_OFF_FPTR*, |
1105 | DIR32, DIR64 and FPTR64 relocations. | |
1106 | (elf_hppa_relocate_insn): Similarly. | |
1107 | ||
be7582f3 JL |
1108 | * elf-hppa.h (elf_hppa_final_link): Set the value of __gp to the |
1109 | address of the .PARISC.global section. | |
1110 | (elf_hppa_relocate_section): Lookup and pass the PA64 hash | |
1111 | table entry elf_hppa_final_link_relocate. Do not give a warning | |
1112 | for a reloc against an external symbol if it has a PA64 hash | |
1113 | table entry. | |
1114 | (elf_hppa_final_link_relocate): Significantly rework. Handle | |
1115 | DLTIND relocations. Compute the final value of the relocation | |
1116 | before passing the value of elf_hppa_relocate_insn. | |
1117 | (elf_hppa_relocate_insn): Revamp to handle just bit tiwiddling | |
1118 | relocation support. Handle DLTIND relocation requests just like | |
1119 | DLTREL relocation requests. Simplify branch handling. | |
1120 | ||
1121 | 1999-09-08 Ulrich Drepper <drepper@cygnus.com> | |
1122 | ||
1123 | * elf-hppa.h (elf_hppa_relocate_section): Catch problems with | |
1124 | non-allocated section as done in i386 version. | |
1125 | (elf_hppa_final_link_relocate): Uncomment R_PARISC_14F in switch | |
1126 | statement since this is no know relocation. | |
1127 | ||
c8933571 JL |
1128 | Tue Sep 7 17:25:12 1999 Jeffrey A Law (law@cygnus.com) |
1129 | ||
084d930b JL |
1130 | * elf-hppa.h (elf_hppa_final_link_relocate): Handle DLTREL14F |
1131 | relocs. | |
1132 | (elf_hppa_relocate_insn): Similarly. | |
1133 | ||
11c19a4e JL |
1134 | * elf-hppa.h (elf_hppa_final_link_relocate): Handle DLTREL14WR and |
1135 | DLTREL14WD relocs. | |
1136 | (elf_hppa_relocate_insn): Similarly. | |
1137 | ||
c8933571 JL |
1138 | * elf-hppa.h (elf_hppa_final_link_relocate): Handle DLTREL14R and |
1139 | DLTREL21L relocs. Pass the output bfd to elf_hppa_relocate_insn. | |
1140 | Pass the relocate type rather than the insn format to | |
1141 | elf_hppa_relocate_insn. | |
1142 | (elf_hppa_relocate_insn): Make switch dependent on relocation type | |
1143 | rather than the opcode. Handle DLTREL21L and DLTREL14R relocs. | |
1144 | ||
692b7d62 ILT |
1145 | 1999-09-07 Ian Lance Taylor <ian@zembu.com> |
1146 | ||
1147 | * coffcode.h (bfd_coff_backend_data): Add _bfd_filnmlen field. | |
1148 | (bfd_coff_filnmlen): Define. | |
1149 | (bfd_coff_std_swap_table): Initialize new field. | |
1150 | * coffgen.c (coff_fix_symbol_name): Use bfd_coff_filnmlen rather | |
1151 | than FILNMLEN. | |
1152 | (coff_write_symbols): Likewise. | |
1153 | (coff_get_normalized_symtab): Likewise. | |
1154 | * coff-sh.c (bfd_coff_small_swap_table): Initialize new field. | |
1155 | * libcoff.h: Rebuild. | |
1156 | ||
022a5af4 ILT |
1157 | 1999-09-06 Donn Terry <donn@interix.com> |
1158 | ||
75cc7189 ILT |
1159 | * coffcode.h (sort_by_secaddr): New static function if |
1160 | COFF_IMAGE_WITH_PE. | |
1161 | (coff_compute_section_file_positions): If COFF_IMAGE_WITH_PE, sort | |
1162 | sections by VMA when assigning target_index values. Always set | |
1163 | virt_size. | |
1164 | ||
8d3ad4e1 | 1165 | * libcoff-in.h (struct pei_section_tdata): Add pe_flags field. |
fdfd89ab ILT |
1166 | * coffcode.h (coff_set_alignment_hook) [COFF_WITH_PE version]: Set |
1167 | pe_flags field. | |
8d3ad4e1 ILT |
1168 | * libcoff.h: Rebuild. |
1169 | ||
8a1ad8e7 ILT |
1170 | * coffcode.h (coff_set_custom_section_alignment): Add const to |
1171 | declaration to match definition. | |
1172 | (coff_write_object_contents): Don't set F_AR32W(R)? if | |
1173 | COFF_WITH_PE. | |
1174 | ||
1175 | * coff-i386.c (in_reloc_p): Add declaration. | |
1176 | (i386coff_vec): Simplify initialization of | |
1177 | application_section_flags. | |
1178 | ||
41733515 ILT |
1179 | * coffcode.h (sec_to_styp_flags): Write separate COFF_WITH_PE |
1180 | version. Move COFF_WITH_PE specific code to new version. | |
1181 | (stype_to_sec_flags): Likewise. Add section parameter. | |
1182 | * coffgen.c (make_a_section_from_file): Set target_index before | |
1183 | calling styp_to_sec_flags. Pass section to styp_to_sec_flags. | |
1184 | * libcoff.h: Rebuild. | |
1185 | ||
92962560 ILT |
1186 | * syms.c (stt): Add some PE/PEI section names. |
1187 | (bfd_decode_symclass): Return 'w', not 'U', for a weak undefined | |
1188 | symbol. | |
1189 | (bfd_symbol_info): Check for 'w'. | |
1190 | ||
022a5af4 ILT |
1191 | * section.c (struct bfd_comdat_info): Define. |
1192 | (asection): Add comdat field. | |
1193 | (STD_SECTION): Initialize comdat field. | |
1194 | (bfd_make_section_anyway): Likewise. | |
1195 | * bfd-in2.h: Rebuild. | |
1196 | ||
0d271c1a AS |
1197 | 1999-09-06 Andreas Schwab <schwab@suse.de> |
1198 | ||
1199 | * elflink.h (elf_link_add_object_symbols): Copy NON_GOT_REF flag | |
1200 | to version symbols. | |
1201 | ||
fed79cc6 NC |
1202 | 1999-09-06 Nick Clifton <nickc@cygnus.com> |
1203 | ||
1204 | * elflink.h (elf_gc_record_vtentry): Use bfd_zmalloc and | |
1205 | bfd_realloc instead of calloc and realloc. | |
1206 | ||
0bcb993b ILT |
1207 | 1999-09-04 Steve Chamberlain <sac@pobox.com> |
1208 | ||
1209 | * cpu-pj.c: New file. | |
1210 | * elf32-pj.c: New file. | |
1211 | * config.bfd (pj*): New cpu. | |
1212 | (pj-*-*, pjl-*-*): New targets. | |
1213 | * configure.in (bfd_elf32_pj_vec): New target vector. | |
1214 | (bfd_elf32_pjl_vec): New target vector. | |
1215 | * archures.c (bfd_arch_pj): Define. | |
1216 | * elf.c (prep_headers): Handle bfd_arch_pj. | |
1217 | * reloc.c: Define BFD_RELOC_PJ_* relocations. | |
1218 | * targets.c (bfd_elf32_pj_vec, bfd_elf32_pjl_vec): Declare and add | |
1219 | to target vector list. | |
1220 | * Makefile.am: Rebuild dependencies. | |
1221 | (ALL_MACHINES): Add cpu-pj.lo. | |
1222 | (ALL_MACHINES_CFILES): Add cpu-pj.c. | |
1223 | (BFD32_BACKENDS): Add elf32-pj.lo. | |
1224 | (BFD32_BACKENDS_CFILES): Add elf32-pj.c. | |
1225 | * configure, Makefile.in, bfd-in2.h, libbfd.h: Rebuild. | |
1226 | ||
7843f00e ILT |
1227 | 1999-09-04 Ian Lance Taylor <ian@zembu.com> |
1228 | ||
1229 | * elf-bfd.h (ELF_LINK_NON_GOT_REF): Define. | |
1230 | * elflink.h (elf_adjust_dynamic_symbol): Copy REF_REGULAR_NONWEAK | |
1231 | and NON_GOT_REF from weak defined symbol to real symbol. | |
1232 | * elf32-i386.c (elf_i386_check_relocs): Set NON_GOT_REF. | |
1233 | (elf_i386_adjust_dynamic_symbol): If NON_GOT_REF is not set, don't | |
1234 | create a COPY reloc. | |
1235 | * elf32-sparc.c (elf32_sparc_check_relocs): Set NON_GOT_REF. | |
1236 | (elf32_sparc_adjust_dynamic_symbol): If NON_GOT_REF is not set, | |
1237 | don't create a COPY reloc. | |
1238 | ||
814fe68a ILT |
1239 | 1999-09-03 Ian Lance Taylor <ian@zembu.com> |
1240 | ||
1241 | * elflink.h (elf_bfd_final_link): When counting relocations, don't | |
1242 | count those in sections we are not including in the link. | |
1243 | ||
20e29382 JL |
1244 | Thu Sep 2 17:41:20 1999 Jeffrey A Law (law@cygnus.com) |
1245 | ||
1246 | * elflink.h (elf_link_add_object_symbols): Work around bogus SH_LINK | |
1247 | field in hpux11 shared libraries. | |
1248 | ||
4b56dbbd NC |
1249 | 1999-09-02 Nick Clifton <nickc@cygnus.com> |
1250 | ||
1251 | * elflink.h (elf_gc_record_vtentry): Fix memory leak. | |
1252 | ||
2eb429af JL |
1253 | Wed Sep 1 13:34:29 1999 Jeffrey A Law (law@cygnus.com) |
1254 | ||
1255 | * elf-hppa.h (elf_hppa_add_symbol_hook): New function. | |
1256 | (elf_hppa_final_link, elf_hppa_relocate_section): Likewise. | |
1257 | (elf_hppa_final_link_relocate, elf_hppa_relocate_insn): Likewise. | |
1258 | ||
994819d2 NC |
1259 | 1999-08-31 Alexandre Petit-Bianco <apbianco@cygnus.com> |
1260 | ||
1261 | * elflink.h (record_link_assignment): When possible, keep the | |
1262 | original type of the symbol. | |
1263 | ||
0d571602 JL |
1264 | Mon Aug 30 15:26:48 1999 Jeffrey A Law (law@cygnus.com) |
1265 | ||
1266 | * elf-hppa.h (_bfd_elf_hppa_gen_reloc_type): Allow both | |
1267 | R_PARISC_DIR32 and R_PARISC_DIR64 regardless of how the | |
1268 | tools were configured. | |
1269 | * elf32-hppa.h (_bfd_elf32_hppa_gen_reloc_type): Declare. | |
1270 | ||
9458945f MM |
1271 | 1999-08-26 Mark Mitchell <mark@codesourcery.com> |
1272 | ||
1273 | * elf32-mips.c (_bfd_mips_elf_check_relocs): Don't allocate local | |
1274 | GOT entries for GOT16 relocations; they're not required. | |
1275 | ||
021e3cc0 NC |
1276 | 1999-08-24 Nick Clifton <nickc@cygnus.com> |
1277 | ||
1278 | From a patch submitted by Roland McGrath <roland@baalperazim.frob.com> | |
1279 | ||
1280 | * config.bfd (arm-*-netbsd*): New target. | |
1281 | * configure.in (armnetbsd_vec): New target vector. | |
1282 | * configure: Regenerate | |
1283 | * targets.c (bfd_target_vector): Add &armnetbsd_vec. | |
1284 | ||
1285 | * Makefile.am (BFD32_BACKENDS): Add armnetbsd.lo. | |
1286 | (ALL_MACHINES_CFILES): Add armnetbsd.c. | |
1287 | (armnetbsd.lo): New rule with deps. | |
1288 | * Makefile.in: Regenerate. | |
1289 | ||
1290 | * armnetbsd.c: New file: Definitions specific to arm-netbsd | |
1291 | target. | |
1292 | ||
7da1b175 JL |
1293 | Tue Aug 24 00:25:58 1999 Jeffrey A Law (law@cygnus.com) |
1294 | ||
1295 | * som.c (som_slurp_symbol_table): Fix typo in comment. | |
1296 | ||
1ca74062 JL |
1297 | Fri Aug 20 17:01:23 1999 Jeffrey A Law (law@cygnus.com) |
1298 | ||
1299 | * elf-hppa.h (elf_hppa_fake_sections): Compute section indices | |
1300 | here instead of using elf_section_data... | |
1301 | ||
69e70d30 NC |
1302 | 1999-08-19 Nick Clifton <nickc@cygnus.com> |
1303 | ||
1304 | * coff-mcore.c (mcore_emit_base_file_entry): New function: Emit | |
1305 | relocations into the base file. | |
1306 | (coff_mcore_relocate_section): Call mcore_emit_base_file_entry if | |
1307 | we are building a base file. | |
1308 | ||
98c1d4aa NC |
1309 | 1999-08-19 Nick Clifton <nickc@cygnus.com> |
1310 | ||
1311 | * elf32-arm.h (arm_add_to_rel): New function. Add a value to | |
1312 | a REL style reloc. | |
1313 | (elf32_arm_relocate_section): Use arm_add_to_rel to increment | |
1314 | REL relocs when performing a partial relocation. | |
1315 | ||
00692651 ILT |
1316 | 1999-08-18 Donn Terry <donn@interix.com> |
1317 | ||
b2d638c7 ILT |
1318 | * cofflink.c: Move definitions of N_TMASK, et. al., out of |
1319 | _bfd_coff_link_input_bfd into top level. | |
1320 | ||
00692651 ILT |
1321 | * coff-i386.c (coff_i386_reloc): Handle R_IMAGEBASE. |
1322 | (RTYPE2HOWTO): Return NULL if reloc type is out of range. | |
1323 | (coff_i386_rtype_to_howto): Likewise. | |
1324 | * coffcode.h (coff_slurp_symbol_table): Change a -2 to N_DEBUG. | |
1325 | Completely ignore symbols which are all zero. | |
1326 | (dummy_reloc16_estimate): Add return 0. | |
1327 | * cofflink.c (_bfd_coff_link_input_bfd): Rename inner scope | |
1328 | variable copy to name_copy to avoid shadowing outer scope | |
1329 | variable. | |
1330 | * libcoff-in.h (coff_data_type): Change raw_syment_count field | |
1331 | from unsigned int to unsigned long. Add timestamp field. | |
1332 | * libcoff.h: Rebuild. | |
1333 | ||
1396cd2d ILT |
1334 | 1999-08-17 H.J. Lu <hjl@gnu.org> |
1335 | ||
1336 | * elf32-hppa.c (bfd_elf32_bfd_is_local_label_name): Fix typo in | |
1337 | macro definition. | |
1338 | ||
0035bd7b ILT |
1339 | 1999-08-17 Ian Lance Taylor <ian@zembu.com> |
1340 | ||
1341 | * elf32-mips.c (_bfd_mips_elf_add_symbol_hook): Set BSF_DYNAMIC | |
1342 | for special section symbols. | |
1343 | * elflink.h (elf_merge_symbol): If we have no old BFD, check | |
1344 | BSF_DYNAMIC on the section symbol to see whether the old BFD is | |
1345 | dynamic. | |
1346 | ||
8535d39c MM |
1347 | 1999-08-15 Mark Mitchell <mark@codesourcery.com> |
1348 | ||
1349 | * elf32-mips.c (mips_elf_calculate_relocation): Fix unfortunate | |
1350 | coincidence of variable names between old and new code. | |
1351 | ||
bcbdc74c NC |
1352 | 1999-08-12 Nick Clifton <nickc@cygnus.com> |
1353 | ||
1354 | * elf32-arm.h (elf32_arm_to_thumb_stub): Make 'offset' parameter | |
1355 | into a bfd_vma and 'addend' parameter a 'bfd_signed_vma'. | |
1356 | (elf32_thumb_to_arm_stub): Make 'offset' parameter into a bfd_vma | |
1357 | and 'addend' parameter a 'bfd_signed_vma'. | |
1358 | (elf32_arm_final_link_relocate): Do not involve stubs in | |
1359 | R_ARM_THM_PC22 relocs relative to section symbols, they are long | |
1360 | jumps, not function calls. | |
1361 | ||
23080146 NC |
1362 | 1999-08-11 Robin Farine <advanc@dial.eunet.ch> |
1363 | ||
1364 | * elf32-arm.h (elf32_arm_final_link_relocate): Check for overflow | |
1365 | in R_ARM_PC24 relocs. | |
1366 | ||
fc91f658 JL |
1367 | Tue Aug 10 12:48:09 1999 Jeffrey A Law (law@cygnus.com) |
1368 | ||
052e120f JL |
1369 | * elf-hppa.h (elf_hppa_fake_sections): New function. |
1370 | * elf32-hppa.c (elf_backend_fake_sections): Define. | |
1371 | ||
27ac83bf RH |
1372 | * elf-hppa.h (elf_hppa_final_write_processing): Update for |
1373 | recent changes to the arch_info structure. | |
3a9acac8 | 1374 | |
fc91f658 JL |
1375 | * elf-hppa.h (_bfd_elf_hppa_gen_reloc_type): Handle |
1376 | R_HPPA_SEGBASE and R_HPPA_SEGREL32. | |
1377 | * cpu-hppa.c (bfd_hppa20w_arch): New entry in architecture info | |
1378 | list. | |
1379 | ||
5499724a | 1380 | Tue Aug 10 00:34:29 1999 Mark P. Mitchell <mark@codesourcery.com> |
27ac83bf | 1381 | Ralf Baechle <ralf@uni-koblenz.de> |
5499724a MM |
1382 | |
1383 | * elf32-mips.c (_bfd_mips_elf_size_dynamic_sections): Always | |
1384 | output DT_MIPS_GOTSYM. | |
1385 | (_bfd_mips_elf_finish_dynamic_sections): Use the same value as | |
1386 | DT_MIPS_SYMTABNO if there are no global GOT symbols. | |
1387 | ||
ce006217 MM |
1388 | Tue Aug 10 00:21:08 1999 Mark P. Mitchell <mark@codesourcery.com> |
1389 | ||
7b1f1231 MM |
1390 | * elf32-mips.c (mips_elf_create_dynamic_relocation): Change |
1391 | prototype. Handle local symbols. Add commentary. | |
1392 | (mips_elf_calculate_relocation): Adjust accordingly. | |
1393 | (_bfd_mips_elf_check_relocs): Handle local symbols in R_MIPS_32 | |
1394 | relocations. | |
1395 | ||
ce006217 MM |
1396 | * elflink.h (elf_bfd_final_link): Tweak last change. |
1397 | ||
b037af20 MM |
1398 | 1999-08-09 Mark Mitchell <mark@codesourcery.com> |
1399 | ||
1400 | * elflink.h (elf_link_size_reloc_section): Use the counts in the | |
1401 | elf-section data to allocate just the right amount of relocation | |
1402 | space. Don't allocate the hash space twice. | |
1403 | (elf_bfd_final_link): Calculate the amount of space to allocate in | |
1404 | each relocation section. | |
1405 | ||
432bdd91 JL |
1406 | Mon Aug 9 17:37:30 1999 Jeffrey A Law (law@cygnus.com) |
1407 | ||
1408 | * elf-hppa.h (_bfd_elf_hppa_gen_reloc_type, case 32): When in | |
1409 | 64bit mode, generate a section relative relocation for a 32bit | |
1410 | wide relocation. | |
1411 | (elf_hppa_is_local_label_name): New function. | |
1412 | * elf32-hppa.c (elf_hppa_is_local_label_name): Deleted. To be | |
1413 | shared between 32bit and 64bit port. | |
1414 | ||
b944b044 MM |
1415 | 1999-08-09 Mark Mitchell <mark@codesourcery.com> |
1416 | ||
1417 | * elf32-mips.c (elf_mips_howto_table): Fix src_mask for | |
1418 | R_MIPS_GOT16 and R_MIPS_CALL16. | |
1419 | (mips_elf_got16_entry): Use mips_elf_high to calculate the value | |
b037af20 | 1420 | to use when looking for a preexisting GOT entry. |
b944b044 | 1421 | |
840a9995 ILT |
1422 | 1999-08-09 Jakub Jelinek <jj@ultra.linux.cz> |
1423 | ||
1424 | * elf64-sparc.c (sparc64_elf_relocate_section): Back out part of | |
1425 | the Sep. 4th, 1998 change. glibc 2.0.x dynamic linker had bug, | |
1426 | not binutils. | |
1427 | * elf32-sparc.c (elf32_sparc_relocate_section): Likewise. | |
1428 | ||
91d3970e ILT |
1429 | 1999-08-09 Geoff Keating <geoffk@cygnus.com> |
1430 | ||
1431 | * elflink.h (elf_link_output_extsym): Don't output a weak | |
1432 | reference to an undefined symbol just because it was defined weak | |
1433 | in a shared object. | |
1434 | ||
798c1fb8 ILT |
1435 | 1999-08-09 Eli Zaretskii <eliz@is.elta.co.il> |
1436 | ||
1437 | * coffgen.c (coff_find_nearest_line): When looking for file, use | |
1438 | last best match rather than first. If address is beyond last line | |
1439 | number record, don't return the last line as the correct value. | |
1440 | ||
851edbaf ILT |
1441 | 1999-08-08 Ian Lance Taylor <ian@zembu.com> |
1442 | ||
1443 | * section.c (SEC_SMALL_DATA): Rename from SEC_SHORT. | |
1444 | * bfd-in2.h: Rebuild. | |
1445 | ||
5dccc1dd ILT |
1446 | 1999-08-08 Mark Elbrecht <snowball3@bigfoot.com> |
1447 | ||
1448 | * libcoff-in.h (struct coff_section_alignment_entry): Define. | |
1449 | * coffcode.h (coff_set_custom_section_alignment): New static | |
1450 | function. | |
1451 | (coff_section_alignment_table): New static array. | |
1452 | (coff_new_section_hook): Use coff_set_customer_section_alignment. | |
1453 | * coff-go32.c (COFF_SECTION_ALIGNMENT_ENTRIES): Define. | |
1454 | * coff-stgo32.c (COFF_SECTION_ALIGNMENT_ENTRIES): Define. | |
1455 | * libcoff.h: Rebuild. | |
1456 | ||
74eeebea ILT |
1457 | 1999-08-08 Ian Lance Taylor <ian@zembu.com> |
1458 | ||
1459 | * Makefile.am: Rename .dep* files to DEP*. Change DEP variable to | |
1460 | MKDEP. | |
1461 | * Makefile.in: Rebuild. | |
1462 | ||
bd826630 ILT |
1463 | 1999-08-08 Mumit Khan <khan@xraylith.wisc.edu> |
1464 | ||
1465 | * section.c (SEC_SHARED): Define. | |
1466 | * coffcode.h (sec_to_styp_flags): Handle SEC_SHARED. | |
1467 | (styp_to_sec_flags): Likewise. | |
1468 | * peicode.h (coff_swap_scnhdr_out): Likewise. | |
1469 | * bfd-in2.h: Rebuild. | |
1470 | ||
855b0be7 ILT |
1471 | 1999-08-08 Ian Lance Taylor <ian@zembu.com> |
1472 | ||
bd826630 ILT |
1473 | * coffcode.h (coff_classify_symbol): Comment out part of |
1474 | 1999-08-05 change which breaks cygwin DLLs. | |
1475 | ||
855b0be7 ILT |
1476 | * acinclude.m4 (BFD_BINARY_FOPEN): Change -windows to -windows*. |
1477 | * aclocal.m4, configure: Rebuild. | |
1478 | ||
22bc497d ILT |
1479 | 1999-08-06 Ian Lance Taylor <ian@zembu.com> |
1480 | ||
1481 | * section.c (global_syms): Only initialize union field if | |
1482 | __STDC__. | |
1483 | ||
4f2860ca MM |
1484 | 1999-08-04 Mark Mitchell <mark@codesourcery.com> |
1485 | ||
1486 | * elf32-mips.c (mips_elf_got16_entry): Don't multiply GOT index by | |
1487 | the size of a GOT entry here. | |
1488 | (mips_elf_calculate_relocation): Don't create a local GOT entry | |
1489 | for the symbol in a GOT16 relocation; just for it's high-order bit | |
1490 | (_bfd_mips_elf_relocate_section): Fix thinko. | |
1491 | ||
5d54c628 ILT |
1492 | 1999-08-05 Ian Lance Taylor <ian@zembu.com> |
1493 | ||
1494 | Based on patches from Donn Terry <donn@interix.com>: | |
1495 | * coffcode.h (enum coff_symbol_classification): Define. | |
1496 | (bfd_coff_backend_data): Rename _bfd_coff_sym_is_global to | |
1497 | _bfd_coff_classify_symbol. Change return type. | |
1498 | (bfd_coff_classify_symbol): Rename from bfd_coff_sym_is_global. | |
1499 | (coff_slurp_symbol_table): Use coff_classify_symbol. | |
1500 | (coff_classify_symbol): New static function. | |
1501 | (coff_sym_is_global): Never define. | |
1502 | (bfd_coff_std_swap_table): Initialize with coff_classify_symbol. | |
1503 | * cofflink.c (coff_link_check_ar_symbols): Use | |
1504 | bfd_coff_classify_symbol rather than bfd_coff_sym_is_global. | |
1505 | (coff_link_add_symbols): Likewise. | |
1506 | (_bfd_coff_link_input_bfd): Likewise. | |
1507 | * coff-sh.c (bfd_coff_small_swap_table): Initialize with | |
1508 | coff_classify_symbol. | |
1509 | * libcoff.h: Rebuild. | |
1510 | ||
36860900 JL |
1511 | Wed Aug 4 18:08:07 1999 Jeffrey A Law (law@cygnus.com) |
1512 | ||
1560fbe4 JL |
1513 | * libhppa.h (R_HPPA_LTPSEL, R_HPPA_RTPSEL): New field selectors |
1514 | (e_ltpsel, e_rtpsel): Similarly. | |
1515 | ||
36860900 JL |
1516 | * elf-hppa.h (_bfd_elf_hppa_gen_reloc_type): Handle 21bit e_ltpsel |
1517 | and 14bit ertpsel. Handle 64bit psel. | |
1518 | ||
e7c44218 MM |
1519 | 1999-08-04 Mark Mitchell <mark@codesourcery.com> |
1520 | ||
1521 | * elf32-mips.c (_bfd_mips_elf_relocate_section): Tweak HI16/LO16 | |
1522 | handling for REL relocations. And only left-shift R_MIPS26 | |
1523 | relocation addends where necessary. | |
1524 | ||
3811169e MM |
1525 | 1999-08-03 Mark Mitchell <mark@codesourcery.com> |
1526 | ||
23b255aa MM |
1527 | * elf32-mips.c (mips_elf_next_lo16_addend): Rename to ... |
1528 | (mips_elf_next_lo16_relocation): Don't compute the addend here. | |
1529 | Just return the relocation found. | |
1530 | (mips_elf_relocate_section): Pull the LO16 addend out of the | |
1531 | section itself when using REL relocations. | |
1532 | ||
3811169e MM |
1533 | * elf32-mips.c (mips_elf_calculate_relocation): Restore |
1534 | _DYNAMIC_LINK handling and handling of undefined symbols in shared | |
1535 | libraries. | |
1536 | ||
aab08431 ILT |
1537 | 1999-08-03 Ian Lance Taylor <ian@zembu.com> |
1538 | ||
2d146250 ILT |
1539 | * elf32-ppc.c (ppc_elf_relocate_section): Don't use the relocation |
1540 | value of a symbol in a SEC_DEBUGGING section. Warn when doing a | |
1541 | relocation against a symbol in an input section with no output | |
1542 | section. From Daniel Jacobowitz <drow@false.org>. | |
1543 | ||
cb94091f ILT |
1544 | * coff-stgo32.c (go32_stubbed_coff_object_p): Remove; not used. |
1545 | ||
aab08431 ILT |
1546 | * acinclude.m4 (BFD_CC_FOR_BUILD): Change to use conftest, and to |
1547 | look for generated file correctly. | |
1548 | * aclocal.m4, configure: Rebuild. | |
1549 | ||
5a44662b MM |
1550 | 1999-08-02 Mark Mitchell <mark@codesourcery.com> |
1551 | ||
1552 | * elf32-mips.c (_bfd_mips_elf_relocate_section): Handle R_MIPS_26 | |
1553 | and R_MIPS16_26 relocations correctly when relocating. | |
1554 | (_bfd_mips_elf_check_relocs): Don't assume that R_MIPS_CALL_HI16 | |
1555 | and R_MIPS_CALL_LO16 are for global symbols. | |
1556 | ||
1fa0ddb3 RH |
1557 | 1999-08-02 Jakub Jelinek <jj@ultra.linux.cz> |
1558 | ||
1559 | * elflink.h (elf_bfd_final_link): Copy the whole isym, not just | |
1560 | some fields. | |
1561 | * elf64-sparc.c (sparc64_elf_output_arch_syms): Declare used | |
1562 | variables and initialize them. | |
1563 | ||
97287574 MM |
1564 | 1999-08-01 Mark Mitchell <mark@codesourcery.com> |
1565 | ||
8b237a89 MM |
1566 | * elf32-mips.c (_bfd_mips_elf_final_link): Handle the case where |
1567 | there are no global symbols requiring GOT entries. | |
1568 | (_bfd_mips_elf_size_dynamic_sections): Likewise. | |
1569 | (_bfd_mips_elf_finish_dynamic_symbol): Likewise. | |
1570 | (_bfd_mips_elf_finish_dynamic_sections): Likewise. | |
1571 | ||
97287574 MM |
1572 | * elf32-mips.c (mips_elf_calculate_relocation): Undefined weak |
1573 | symbols are considered to have the value zero. | |
1574 | (_bfd_mips_elf_relocate_section): Don't try to perform a | |
1575 | relocation for an undefined symbol. | |
1576 | (_bfd_mips_elf_check_relocs): Allocate locate GOT space for local | |
1577 | GOT16 relocations. | |
1578 | ||
a11c78e7 RH |
1579 | 1999-07-30 Jakub Jelinek <jj@ultra.linux.cz> |
1580 | ||
1581 | * elf64-sparc.c (sparc64_elf_build_plt): Cosmetic change - ABI | |
1582 | wants ba,a,pt %xcc instead of %icc. | |
1583 | Emit correct .PLT0-(.PLTN+4) initial value into the pointer slots | |
1584 | of large PLT entries. | |
1585 | (sparc64_elf_plt_ptr_offset): Fix calculation. | |
1586 | (sparc64_elf_finish_dynamic_symbol): Negative value of R_SPARC_JMP_SLOT | |
1587 | addend should be relative to load address, not .plt section start. | |
1588 | (sparc64_elf_size_info): Sparc64 uses 32bit .hash entries. | |
1589 | ||
587ff49e RH |
1590 | 1999-07-30 Jakub Jelinek <jj@ultra.linux.cz> |
1591 | ||
1592 | * elf-bfd.h (struct elf_backend_data): Add | |
1593 | print_symbol_all and output_arch_syms backend methods. | |
1594 | * elfxx-target.h: Likewise. | |
1595 | * elf64-sparc.c (sparc64_elf_bfd_link_hash_table_create, | |
1596 | sparc64_elf_add_symbol_hook, sparc64_elf_output_arch_syms, | |
1597 | sparc64_elf_get_symbol_type, sparc64_elf_symbol_processing): New | |
1598 | functions. | |
1599 | (sparc64_elf_size_dynamic_sections): Leave space for STT_REGISTER | |
1600 | symbols in .dynsym, add their names into .dynstr. Put those symbols | |
1601 | into dynlocal. | |
1602 | (sparc64_elf_finish_dynamic_sections): Fix up DT_SPARC_REGISTER | |
1603 | pointers to STT_REGISTER symbols in dynsym section. | |
1604 | (sparc64_elf_print_symbol_all): New function. | |
1605 | * elf.c (bfd_elf_print_symbol): Allow special backend symbol | |
1606 | printing using the print_symbol_all hook. | |
1607 | ||
d512aa07 CM |
1608 | 1999-07-30 Catherine Moore <clm@cygnus.com> |
1609 | ||
1610 | * elf32-arm.h (elf32_arm_check_relocs): Use r_offset for | |
1611 | R_ARM_GNU_VTENTRY. | |
1612 | ||
441d6d79 RH |
1613 | 1999-07-29 Richard Henderson <rth@cygnus.com> |
1614 | ||
1615 | * elf32-mips.c (_bfd_mips_elf_final_link): Only re-sort dynsyms if | |
1616 | dynamic_sections_created. | |
1617 | ||
c9b3cbf3 RH |
1618 | 1999-07-29 Richard Henderson <rth@cygnus.com> |
1619 | ||
1620 | * elf32-mips.c (mips_info_to_howto_rel): Split out switch to ... | |
1621 | (mips_rtype_to_howto): ... new function. | |
1622 | (_bfd_mips_elf_relocate_section): Use it. | |
1623 | ||
b89db8f2 MM |
1624 | 1999-07-28 Mark Mitchell <mark@codesourcery.com> |
1625 | ||
1626 | * elf32-mips.c (_bfd_mips_elf_relocate_section): Fix typo. | |
1627 | ||
f8111282 NC |
1628 | 1999-07-27 Nick Clifton <nickc@cygnus.com> |
1629 | ||
1630 | Patch generated by Bernd Schmidt. <bernds@cygnus.co.uk> | |
1631 | ||
1632 | * coff-arm.c (coff_arm_is_local_label_name): Change to strip | |
1633 | out only symbols that start with LOCAL_LABEL_PREFIX followed by 'L'. | |
1634 | ||
7d923127 ILT |
1635 | 1999-07-23 Donn Terry <donn@interix.com> |
1636 | ||
7fd9c191 ILT |
1637 | * libcoff-in.h (coff_link_hash_entry): Add coff_link_hash_flags |
1638 | field, and define COFF_LINK_HASH_PE_SECTION_SYMBOL. | |
1639 | * cofflink.c (coff_link_add_symbols): If PE, handle section | |
1640 | symbols specially. | |
1641 | * libcoff.h: Rebuild. | |
1642 | ||
7d923127 ILT |
1643 | * config.bfd (i[3456]86-*-interix*): New target. |
1644 | ||
242eabea ILT |
1645 | 1999-07-21 Mark Elbrecht <snowball3@bigfoot.com> |
1646 | ||
1647 | * coffcode.h (styp_to_sec_flags): If COFF_LONG_SECTION_NAMES and | |
1648 | COFF_SUPPORT_GNU_LINKONCE, mark sections whose names begin with | |
1649 | .gnu.linkonce with SEC_LINKONCE and SEC_LINK_DUPLICATES_DISCARD. | |
1650 | * coff-go32.c: (COFF_LONG_SECTION_NAMES): Define. | |
1651 | (COFF_SUPPORT_GNU_LINKONCE): Define. | |
1652 | * coff-stgo32.c: (COFF_LONG_SECTION_NAMES): Define. | |
1653 | (COFF_SUPPORT_GNU_LINKONCE): Define. | |
1654 | ||
9c8ac5a9 ILT |
1655 | 1999-07-21 Ian Lance Taylor <ian@zembu.com> |
1656 | ||
1657 | From Mark Elbrecht: | |
1658 | * makefile.dos: Remove; obsolete. | |
980e4bf7 | 1659 | * configure.bat: Remove; obsolete. |
9c8ac5a9 | 1660 | |
957ccf44 ILT |
1661 | 1999-07-21 H.J. Lu <hjl@gnu.org> |
1662 | ||
1663 | * config.bfd (i[3456]86-*-vxworks*): Add targ_underscore=yes. | |
1664 | ||
75987f83 ILT |
1665 | 1999-07-21 Philippe De Muyter <phdm@macqel.be> |
1666 | ||
1667 | * cofflink.c (_bfd_coff_generic_relocate_section): Issue an error | |
1668 | message and fail if a symbol index is out of range. | |
1669 | ||
2841ecd0 ILT |
1670 | 1999-07-21 Ian Lance Taylor <ian@zembu.com> |
1671 | ||
1672 | * elf32-mips.c (mips_elf_calculate_relocation): Get the GP value | |
1673 | when looking at a R_MIPS_GOT16 relocation. | |
1674 | ||
8a70eff3 NC |
1675 | 1999-07-20 Nick Clifton <nickc@cygnus.com> |
1676 | ||
1677 | * coff-m88k.c: Use CREATE_BIG_COFF_TARGET_VEC. | |
1678 | ||
0db63c18 MM |
1679 | Mon Jul 19 14:03:44 1999 Mark P. Mitchell <mark@codesourcery.com> |
1680 | ||
1681 | * elf32-mips.c (_bfd_mips_elf_final_link): Restore setting of GP | |
1682 | removed in previous change. | |
1683 | (_bfd_mips_elf_relocate_section): Adjust GP relative relocations | |
1684 | in relocateable output. | |
1685 | ||
accc7f69 ILT |
1686 | 1999-07-19 Ian Lance Taylor <ian@zembu.com> |
1687 | ||
272dc76f ILT |
1688 | * coff-m88k.c (m88kbcs_vec): Initialize new field of bfd_target |
1689 | structure. | |
1690 | ||
accc7f69 ILT |
1691 | * elflink.h (elf_merge_symbol): Do merge symbols from the same BFD |
1692 | if they appear to be specially created by the linker. | |
1693 | ||
c3c89269 NC |
1694 | 1999-07-19 Nick Clifton <nickc@cygnus.com> |
1695 | ||
1696 | * targets.c (alternative_target): New field in bfd_target | |
1697 | structure. | |
1698 | (bfd_search_for_target): New function: Find a target that | |
1699 | satisifies a search function. | |
1700 | * bfd-in2.h: Regenerate. | |
1701 | ||
1702 | * elfxx-target.h: Initialise the alternative_target field of | |
1703 | the bfd_target structures to point to the other target (if | |
1704 | defined). | |
1705 | * nlm-target.h: Initialise the alternative_target field of | |
1706 | the bfd_target structures to point to the other target (if | |
1707 | defined). | |
1708 | ||
1709 | * coffcode.h (CREATE_BIG_COFF_TARGET_VEC): New macro. | |
1710 | (CREATE_LITTLE_COFF_TARGET_VEC): New macro. | |
1711 | ||
1712 | * aix386-core.c: Initialise new field of bfd_target structure. | |
1713 | * aout-adobe.c: Initialise new field of bfd_target structure. | |
1714 | * aout-arm.c: Initialise new field of bfd_target structure. | |
1715 | * aout-target.h: Initialise new field of bfd_target structure. | |
1716 | * aout-tic30.c: Initialise new field of bfd_target structure. | |
1717 | * binary.c: Initialise new field of bfd_target structure. | |
1718 | * bout.c: Initialise new field of bfd_target structure. | |
1719 | * cisco-core.c: Initialise new field of bfd_target structure. | |
1720 | * coff-a29k.c: Use CREATE_BIG_COFF_TARGET_VEC. | |
1721 | * coff-alpha.c: Initialise new field of bfd_target structure. | |
1722 | * coff-apollo.c: Use CREATE_BIG_COFF_TARGET_VEC. | |
1723 | * coff-arm.c: Use CREATE_{BIG|LITTLE}_COFF_TARGET_VEC. | |
1724 | * coff-h8300.c: Use CREATE_BIG_COFF_TARGET_VEC. | |
1725 | * coff-h8500.c: Use CREATE_BIG_COFF_TARGET_VEC. | |
1726 | * coff-i386.c: Initialise new field of bfd_target structure. | |
1727 | * coff-i860.c: Initialise new field of bfd_target structure. | |
1728 | * coff-i960.c: Use CREATE_LITTLE_COFF_TARGET_VEC. | |
1729 | * coff-m68k.c: Use CREATE_BIG_COFF_TARGET_VEC. | |
1730 | * coff-mcore.c: Use CREATE_{BIG|LITTLE}_COFF_TARGET_VEC. | |
1731 | * coff-mips.c: Initialise new field of bfd_target structure. | |
1732 | * coff-ppc.c: Initialise new field of bfd_target structure. | |
1733 | * coff-rs6000.c: Initialise new field of bfd_target structure. | |
1734 | * coff-sh.c: Use CREATE_{BIG|LITTLE}_COFF_TARGET_VEC. | |
1735 | * coff-sparc.c: Use CREATE_BIG_COFF_TARGET_VEC. | |
1736 | * coff-tic30.c: Initialise new field of bfd_target structure. | |
1737 | * coff-tic80.c: Use CREATE_LITTLE_COFF_TARGET_VEC. | |
1738 | * coff-w65.c: Use CREATE_LITTLE_COFF_TARGET_VEC. | |
1739 | * coff-we32k.c: Use CREATE_BIG_COFF_TARGET_VEC. | |
1740 | * coff-z8k.c: Use CREATE_BIG_COFF_TARGET_VEC. | |
1741 | * hppabsd-core.c: Initialise new field of bfd_target structure. | |
1742 | * hpux-core.c: Initialise new field of bfd_target structure. | |
1743 | * i386msdos.c: Initialise new field of bfd_target structure. | |
1744 | * i386os9k.c: Initialise new field of bfd_target structure. | |
1745 | * ieee.c: Initialise new field of bfd_target structure. | |
1746 | * ihex.c: Initialise new field of bfd_target structure. | |
1747 | * irix-core.c: Initialise new field of bfd_target structure. | |
1748 | * mipsbsd.c: Initialise new field of bfd_target structure. | |
1749 | * netbsd-core.c: Initialise new field of bfd_target structure. | |
1750 | * oasys.c: Initialise new field of bfd_target structure. | |
1751 | * osf-core.c: Initialise new field of bfd_target structure. | |
1752 | * ppcboot.c: Initialise new field of bfd_target structure. | |
1753 | * ptrace-core.c: Initialise new field of bfd_target structure. | |
1754 | * sco5-core.c: Initialise new field of bfd_target structure. | |
1755 | * som.c: Initialise new field of bfd_target structure. | |
1756 | * srec.c: Initialise new field of bfd_target structure. | |
1757 | * tekhex.c: Initialise new field of bfd_target structure. | |
1758 | * trad-core.c: Initialise new field of bfd_target structure. | |
1759 | * versados.c: Initialise new field of bfd_target structure. | |
1760 | * vms.c: Initialise new field of bfd_target structure. | |
1761 | ||
a9602746 AS |
1762 | 1999-07-19 Andreas Schwab <schwab@suse.de> |
1763 | ||
1764 | * elflink.h (elf_bfd_final_link): Remove unused variables rel_hash | |
1765 | and rel_hdr. | |
1766 | ||
31367b81 MM |
1767 | Sat Jul 17 02:28:28 1999 Mark P. Mitchell <mark@codesourcery.com> |
1768 | ||
1769 | * elflink.h (elf_link_adjust_relocs): New function. | |
1770 | (elf_bfd_final_link): Use it. | |
1771 | (elf_link_input_bfd): Deal with the fact that there can be | |
1772 | two relocation sections for a single section. | |
1773 | (elf_reloc_link_order): Likewise. | |
1774 | ||
1775 | * elf32-mips.c (_bfd_mips_elf_final_link): Don't set GP for | |
1776 | a relocateable object. | |
1777 | (_bfd_mips_elf_relocate_section): Handle relocateable links. | |
1778 | ||
f65054f7 RH |
1779 | 1999-07-16 Jakub Jelinek <jj@ultra.linux.cz> |
1780 | ||
1781 | * elf64-sparc.c (sparc64_elf_info_to_howto): Use ELF64_R_TYPE_ID. | |
1782 | (sparc64_elf_get_reloc_upper_bound, | |
1783 | sparc64_elf_get_dynamic_reloc_upper_bound, | |
1784 | sparc64_elf_slurp_one_reloc_table, sparc64_elf_slurp_reloc_table, | |
1785 | sparc64_elf_canonicalize_dynamic_reloc, sparc64_elf_write_relocs): | |
1786 | New functions. | |
1787 | (sparc64_elf_check_relocs, sparc64_elf_relocate_section): Use | |
1788 | ELF64_R_TYPE_ID/DATA where appropriate. | |
1789 | ||
d6bcbdc1 RH |
1790 | 1999-07-16 Jakub Jelinek <jj@ultra.linux.cz> |
1791 | ||
1792 | * elf64-sparc.c (sparc64_elf_size_dynamic_sections): Remove | |
1793 | DT_SPARC_PLTFMT. | |
1794 | ||
6387d602 ILT |
1795 | 1999-07-16 Ian Lance Taylor <ian@zembu.com> |
1796 | ||
1797 | * elf32-mips.c (mips_elf_local_relocation_p): New static | |
1798 | function. | |
1799 | (mips_elf_next_lo16_addend): Call bfd_set_error on failure. | |
1800 | (mips_elf_calculate_relocation): Use mips_elf_local_relocation_p. | |
1801 | Always set *require_jalxp. | |
1802 | (mips_elf_stub_section_p): Mark abfd parameter as unused. | |
1803 | (_bfd_mips_elf_relocate_section): Only look for LO16 following | |
1804 | GOT16 if the GOT16 is against a local symbol. Don't return false | |
1805 | for an undefined symbol. If there is an overflow, assert that we | |
1806 | have a name. | |
1807 | ||
318da145 AS |
1808 | 1999-07-16 Andreas Schwab <schwab@suse.de> |
1809 | ||
1810 | * elflink.h (elf_link_record_local_dynamic_symbol): Remove unused | |
1811 | variables `link' and `elfsec'. | |
1812 | (elf_bfd_final_link): Remove unused variable `os'. | |
1813 | ||
435394bf MM |
1814 | Thu Jul 15 17:55:31 1999 Mark P. Mitchell <mark@codesourcery.com> |
1815 | ||
1816 | * elf32-mips.c (_bfd_mips_elf_modify_segment_map): Don't require | |
1817 | a PT_PHDR program headers. | |
1818 | (_bfd_mips_elf_final_link): Don't assume there are going to be | |
1819 | section symbols when we're not building a shared object. | |
1820 | (_bfd_mips_elf_check_relocs): Make sure we have a GOT when | |
1821 | we need one. | |
1822 | ||
ac352105 ILT |
1823 | 1999-07-15 J.T. Conklin <jtc@redback.com> |
1824 | ||
1825 | * config.bfd (i[3456]86-*-vxworks*): New target. | |
1826 | ||
197b9ca0 MM |
1827 | 1999-07-15 Mark Mitchell <mark@codesourcery.com> |
1828 | ||
1829 | * elf32-mips.c (mips_elf_stub_section_p): New function. | |
1830 | (mips_elf_calculate_relocation): Handle MIPS16 stub functions. | |
1831 | (mips_elf_relocate_section): Adjust calling sequence for | |
1832 | mips_elf_calculate_relocation and mips_elf_perform_relocation. | |
1833 | (mips_elf_perform_relocation): Turn `jal' into `jalx' where | |
1834 | required. | |
1835 | ||
3a6ae616 ILT |
1836 | 1999-07-15 Ian Lance Taylor <ian@zembu.com> |
1837 | ||
1838 | * configure.in: Bump version number to 2.9.5. | |
1839 | * configure: Rebuild. | |
1840 | ||
1b83fcb3 JL |
1841 | Thu Jul 15 02:56:15 1999 Jeffrey A Law (law@cygnus.com) |
1842 | ||
1843 | * elf-hppa.h (_bfd_elf_hppa_gen_reloc_type, case R_HPPA): Handle | |
1844 | 64bit format. | |
1845 | (_bfd_elf_hppa_gen_reloc_type, case R_GOTOFF): Use base reloc type | |
1846 | to derive final type instead of hardwiring a selection. | |
1847 | ||
6296902e MM |
1848 | 1999-07-14 Mark Mitchell <mark@codesourcery.com> |
1849 | ||
1850 | * elf32-mips.c (mips_elf_obtain_contents): Swap 16-bit halves of | |
1851 | things relocated by R_MIPS16_GPREL. | |
1852 | (mips_elf_perform_relocation): Likewise. | |
1853 | ||
2ac8ce5f RH |
1854 | Wed Jul 14 15:23:19 1999 Jim Wilson <wilson@cygnus.com> |
1855 | ||
1856 | * elfxx-target.h (elfNN_bed): Add elf_backend_want_dynbss. | |
1857 | ||
b3be9b46 RH |
1858 | 1999-07-14 Richard Henderson <rth@cygnus.com> |
1859 | ||
1860 | * elf32-mips.c (struct mips_got_info): Add global_gotno. | |
1861 | (_bfd_mips_elf_size_dynamic_sections): Set it. | |
1862 | (_bfd_mips_elf_final_link): Re-sort; verify the got did not grow. | |
1863 | (mips_elf_sort_hash_table): Set max_non_got_dynindex based off | |
1864 | new argument max_local. | |
1865 | ||
b7233c24 MM |
1866 | 1999-07-14 Mark Mitchell <mark@codesourcery.com> |
1867 | ||
1e52e2ee MM |
1868 | * elf32-mips.c (mips_elf_obtain_contents): Swap the 16-bit |
1869 | subwords when handling an R_MIPS16_26 relocation. | |
1870 | (mips_elf_perform_relocation): Don't be paranoid abour right-shift | |
1871 | semantics. | |
1872 | ||
b7233c24 MM |
1873 | * elf32-mips.c (elf_mips16_gprel_howto): Adjust src_mask and |
1874 | dst_mask to match reality. | |
1875 | (_bfd_mips_elf_calculate_relocation): Handle R_MIPS16_GPREL. | |
1876 | (mips_elf_obtain_contents): Use bfd_get. | |
1877 | (mips_elf_perform_relocation): Handle R_MIPS16_GPREL. | |
1878 | (mips_elf_relocate_section): Likewise. | |
1879 | ||
e53bd91b MM |
1880 | 1999-07-13 Mark Mitchell <mark@codesourcery.com> |
1881 | ||
1882 | * elf32-mips.c (mips_elf_calculate_relocation): Handle R_MIPS16_26. | |
1883 | (mips_elf_relocate_section): Adjust calling sequence for | |
1884 | mips_elf_perform_relocation. | |
1885 | (mips_elf_perform_relocation): Take additional argument. Handle | |
1886 | R_MIPS16_26. Use bfd_put for convenience. | |
1887 | ||
28a7f3e7 RH |
1888 | 1999-07-13 Richard Henderson <rth@cygnus.com> |
1889 | ||
1890 | * elf.c (assign_file_positions_for_segments): Thinko last change. | |
1891 | Always overwrite p_flags. | |
1892 | ||
3018b441 RH |
1893 | 1999-07-13 Richard Henderson <rth@cygnus.com> |
1894 | ||
1895 | * elf-bfd.h (struct elf_backend_data): Add want_dynbss. | |
1896 | * elflink.c (_bfd_elf_create_dynamic_sections): Only create | |
1897 | .dynbss and .rel[a].bss if want_dynbss. | |
1898 | * elfxx-target.h (elf_backend_want_dynbss): Provide default. | |
1899 | ||
30b30c21 RH |
1900 | 1999-07-13 Richard Henderson <rth@cygnus.com> |
1901 | ||
1902 | * elf.c (assign_file_positions_for_segments): Don't overwrite p_flags. | |
1903 | ||
3018b441 RH |
1904 | 1999-07-13 Richard Henderson <rth@cygnus.com> |
1905 | ||
30b30c21 RH |
1906 | * elf-bfd.h (struct elf_link_local_dynamic_entry): New. |
1907 | (struct elf_link_hash_table): Add dynlocal. | |
1908 | (_bfd_elf_link_lookup_local_dynindx): Prototype. | |
1909 | (_bfd_elf_link_adjust_dynindx): Delete. | |
1910 | (_bfd_elf_link_renumber_dynsyms): Prototype. | |
1911 | (_bfd_elf,link_record_local_dynamic_symbol): Prototype. | |
1912 | * elfcode.h (elf_link_record_local_dynamic_symbol): New alias. | |
1913 | * elflink.c (_bfd_elf_link_adjust_dynindx): Delete. | |
1914 | (_bfd_elf_link_lookup_local_dynindx): New function. | |
1915 | (elf_link_renumber_hash_table_dynsyms): New function. | |
1916 | (_bfd_elf_link_renumber_dynsyms): New function. | |
1917 | * elflink.h (elf_link_record_local_dynamic_symbol): New function. | |
1918 | (struct elf_assign_sym_version_info): Delete removed_dynamic. | |
1919 | (bfd_elf,size_dynamic_sections): Use _bfd_strip_section_from_output | |
1920 | instead of elf_link_remove_section_and_adjust_dynindices. | |
1921 | Remove removed_dynamic code. Use _bfd_elf_link_renumber_dynsyms. | |
1922 | (elf_link_assign_sym_version): Remove removed_dynamic code. | |
1923 | (elf_link_renumber_dynsyms): Delete. | |
1924 | (elf_bfd_final_link): Install section and local symbols into .dynsym. | |
1925 | ||
1926 | * elf32-m68k.c (elf_m68k_adjust_dynindx): Delete. | |
1927 | (elf_m68k_size_dynamic_sections): Don't set section dynindicies. | |
1928 | (elf_m68k_finish_dynamic_sections): Don't write section dynsyms. | |
1929 | * elf32-mips.c: Similarly. | |
1930 | * elf32-ppc.c: Similarly. | |
1931 | * elf32-sparc.c: Similarly. | |
1932 | * elf64-alpha.c: Similarly. | |
1933 | * elf64-sparc.c: Similarly. | |
1934 | ||
97a4bb05 MM |
1935 | 1999-07-13 Mark Mitchell <mark@codesourcery.com> |
1936 | ||
1937 | * elf32-mips.c (mips_elf_calculate_relocation): Do not complain | |
1938 | when _gp_disp is undefined. Do not check R_MIPS_LO16 for overflow | |
1939 | when the relocation is against _gp_disp. | |
1940 | ||
a3c7651d MM |
1941 | 1999-07-12 Mark Mitchell <mark@codesourcery.com> |
1942 | ||
1943 | * dwarf2.c (read_attribute): Support DW_FORM_ref8. | |
1944 | * elf32-mips.c (mips_elf_link_hash_entry): Change mips_32_relocs | |
1945 | to possibly_dynamic_relocs. Adjust usage throughout code. | |
1946 | (elf_mips_howto_table): Handle R_MIPS_64 correctly. | |
1947 | (elf_mips_ctor64_howto): Likewise. | |
1948 | (mips_elf_calculate_relocation): Handle R_MIPS_64 like R_MIPS_32. | |
1949 | Adjust indentation. | |
1950 | (mips_elf_relocate_section): Handle R_MIPS_64 in 32-bit mode. | |
1951 | (_bfd_mips_elf_check_relocs): Handle R_MIPS_64 like R_MIPS_32. | |
1952 | Use MIPS_ELF_GOT_SIZE to calculate the size of GOT entries. | |
1953 | * elf64-mips.c (elf_backend_may_use_rel_p): Define. | |
1954 | ||
5f771d47 ILT |
1955 | 1999-07-12 Ian Lance Taylor <ian@zembu.com> |
1956 | ||
67e5d3d6 ILT |
1957 | * Makefile.am: Rebuild dependencies. |
1958 | * Makefile.in: Rebuild. | |
1959 | ||
1960 | * bfd-in.h: Remove tests of COFF_IMAGE_WITH_PE. | |
1961 | * bfd-in2.h: Rebuild. | |
1962 | ||
5f771d47 ILT |
1963 | * Many files: Changes to avoid gcc warnings: Add ATTRIBUTE_UNUSED |
1964 | as appropriate. Use EMPTY_HOWTO as appropriate. Fill in | |
1965 | structure initializations. Add casts. | |
1966 | * reloc.c (EMPTY_HOWTO): Define. | |
1967 | * bfd-in2.h: Rebuild. | |
1968 | * coff-h8300.c (h8300_reloc16_extra_cases): Remove useless | |
1969 | comparisons against 0. | |
1970 | * elf32-sparc.c (elf32_sparc_merge_private_bfd_data): Change | |
1971 | previous_ibfd_e_flags to unsigned long. | |
1972 | * vms.h (struct vms_private_data_struct): Change section_count to | |
1973 | unsigned. | |
1974 | * vms-gsd.c (_bfd_vms_slurp_gsd): Change psect_idx to unsigned. | |
1975 | (_bfd_vms_write_gsd): Change symnum to unsigned. | |
1976 | * vms-hdr.c (_bfd_vms_write_hdr): Change symnum to unsigned. | |
1977 | * vms-tir.c (etir_sta): Change psect to unsigned. | |
1978 | (alloc_section): Change idx to unsigned. | |
1979 | (tir_sta, tir_ctl): Change psect to unsigned. | |
1980 | (_bfd_vms_write_tir): Change len and before to bfd_size_type. | |
1981 | * vms.c (priv_section_count): Change to unsigned. | |
1982 | ||
121089cb AS |
1983 | 1999-07-12 Andreas Schwab <schwab@suse.de> |
1984 | ||
1985 | * elf32-m68k.c: Add some ATTRIBUTE_UNUSED. | |
1986 | * m68klinux.c: Likewise. | |
1987 | ||
e049a0de ILT |
1988 | 1999-07-12 Ian Lance Taylor <ian@zembu.com> |
1989 | ||
1990 | * Many files: Changes to avoid gcc warnings: Remove unused local | |
1991 | variables. Add default case to enum switches. | |
1992 | * coff-arm.c (bfd_arm_allocate_interworking_sections): Only | |
1993 | compile if not COFF_IMAGE_WITH_PE. | |
1994 | (record_arm_to_thumb_glue, record_thumb_to_arm_glue): Likewise. | |
1995 | (bfd_arm_get_bfd_for_interworking): Likewise. | |
1996 | (bfd_arm_process_before_allocation): Likewise. | |
1997 | * epoc-pei-arm.c: Don't rename bfd_arm functions. | |
1998 | * pei-arm.c: Likewise. | |
1999 | * elf32-mips.c (mips_elf_link_hash_table_create): Don't declare. | |
2000 | (MIPS_ELF_ADD_DYNAMIC_ENTRY): Correct last change. | |
2001 | (mips_elf_got16_entry): Put parens around & in body of ==. | |
2002 | (mips_elf_calculate_relocation): Correct test for empty string. | |
2003 | * vms-gsd.c: Use _bfd_error_handler rather than fprintf to | |
2004 | stderr. | |
2005 | * vms-misc.c (_bfd_vms_length_hash_symbol): Correct sprintf | |
2006 | format. | |
2007 | ||
3a99b017 ILT |
2008 | 1999-07-11 Ian Lance Taylor <ian@zembu.com> |
2009 | ||
7442e600 ILT |
2010 | * Many files: Changes to avoid gcc warnings: Add ATTRIBUTE_UNUSED |
2011 | as appropriate. Fill in structure initializations. Add variable | |
2012 | initializations. Add casts. | |
2013 | * dwarf1.c (parse_line_table): Change eachLine to unsigned long. | |
2014 | (dwarf1_unit_find_nearest_line): Change i to unsigned long. | |
2015 | ||
3a99b017 ILT |
2016 | * elf.c (bfd_elf_hash): Change parameter from unsigned char * to |
2017 | char *. | |
2018 | * elf-bfd.h (bfd_elf_hash): Update declaration. | |
2019 | * elflink.h (NAME(bfd_elf,size_dynamic_sections)): Remove casts | |
2020 | when calling bfd_elf_hash. | |
2021 | ||
65388f2d MM |
2022 | 1999-07-11 Mark Mitchell <mark@codesourcery.com> |
2023 | ||
9ebbd33e MM |
2024 | * libbfd.c (bfd_put_8): Make it of type `void'. |
2025 | * bfd-in2.h: Regenerated. | |
2026 | * elf32-mips.c (MIPS_ELF_ADD_DYNAMIC_ENTRY): Conditionalize | |
2027 | for 32-bit hosts. | |
2028 | (_bfd_mips_elf_final_link): Likewise. | |
2029 | ||
65388f2d MM |
2030 | * elflink.h (elf_link_read_relocs_from_section): Be type-correct. |
2031 | ||
5b4e2818 JL |
2032 | Thu Jul 8 12:32:23 1999 John David Anglin <dave@hiauly1.hia.nrc.ca> |
2033 | ||
2034 | * config.bfd (hppa*-*-linux-gnu*): New target | |
2035 | ||
c7ac6ff8 MM |
2036 | 1999-07-07 Mark Mitchell <mark@codesourcery.com> |
2037 | ||
103186c6 MM |
2038 | * elf-bfd.h (_bfd_mips_elf_section_from_shdr): Constify. |
2039 | (_bfd_mips_elf_create_dynamic_sections): New function. | |
2040 | (_bfd_mips_elf_add_symbol_hook): Likewise. | |
2041 | (_bfd_mips_elf_adjust_dynamic_symbol): Likewise. | |
2042 | (_bfd_mips_elf_finish_dynamic_symbol): Likewise. | |
2043 | (_bfd_mips_elf_finish_dynamic_sections): Likewise. | |
2044 | (_bfd_mips_elf_gc_mark_hook): Likewise. | |
2045 | (_bfd_mips_elf_gc_sweep_hook): Likewise. | |
2046 | (_bfd_mips_elf_always_size_sections): Likewise. | |
2047 | (_bfd_mips_elf_size_dynamic_sections): Likewise. | |
2048 | (_bfd_mips_elf_check_relocs): Likewise. | |
2049 | (_bfd_mips_elf_link_hash_table_create): Likewise. | |
2050 | (_bfd_mips_elf_print_private_data): Likewise. | |
2051 | (_bfd_mips_elf_link_output_symbol_hook): Likewise. | |
2052 | (_bfd_mips_elf_final_link): Likewise. | |
2053 | (_bfd_mips_elf_additional_program_headers): Likewise. | |
2054 | (_bfd_mips_elf_modify_segment_map): Likewise. | |
2055 | (_bfd_mips_elf_relocate_section): Likewise. | |
2056 | * elf32-mips.c (mips_elf32_object_p): Move contents into | |
2057 | _bfd_mips_elf_object_p. | |
2058 | (mips_elf_additional_program_headers): Rename to | |
2059 | _bfd_mips_elf_additional_program_headers. | |
2060 | (mips_elf_modify_segment_map): Rename to | |
2061 | _bfd_mips_elf_modify_segment_map. | |
2062 | (elf_mips_abi_name): Change prototype. | |
2063 | (mips_elf32_section_from_shdr): Merge into | |
2064 | _bfd_mips_elf_section_from_shdr. | |
2065 | (mips_elf32_section_processing): Merge into | |
2066 | _bfd_mips_elf_section_processing. | |
2067 | (mips_elf_final_link): Rename to _bfd_mips_elf_final_link. Invoke | |
2068 | the right back-end ELF linker. | |
2069 | (mips_elf_relocate_section): Rename to | |
2070 | _bfd_mips_elf_relocate_section. Clean up. Adjust for 64-bit code. | |
2071 | (mips_elf_link_output_symbol_hook): Rename to | |
2072 | _bfd_mips_elf_link_output_symbol_hook. | |
2073 | (mips_elf_create_dynamic_section): Rename to | |
2074 | _bfd_mips_elf_create_dynamic_section. | |
2075 | (mips_elf_check_relocs): Rename to _bfd_mips_elf_check_relocs. | |
2076 | Adjust for 64-bit code. Use mips_elf_got_section. | |
2077 | (mips_elf_adjust_dynamic_symbol): Rename to | |
2078 | _bfd_mips_elf_adjust_dynamic_symbol. Use | |
2079 | mips_elf_allocate_dynamic_relocations. | |
2080 | (mips_elf_finish_dynamic_symbol): Rename to | |
2081 | _bfd_mips_elf_finish_dynamic_symbol. Use mips_elf_got_section. | |
2082 | Adjust for 64-bit code. | |
2083 | (mips_elf_finish_dynamic_sections): Rename to | |
2084 | _bfd_mips_elf_finish_dynamic_sections. Adjust for 64-bit code. | |
2085 | (mips_elf_always_size_sections): Rename to | |
2086 | _bfd_mips_elf_always_size_sections. | |
2087 | (mips_elf_add_symbol_hook): Rename to | |
2088 | _bfd_mips_elf_add_symbol_hook. | |
2089 | (mips_elf_next_lo16_addend): Constify. | |
2090 | (mips_elf_calculate_relocation): Likewise. | |
2091 | (mips_elf_obtain_contents): Likewise. | |
2092 | (mips_elf_perform_relocation): Likewise. | |
2093 | (mips_elf_create_dynamic_relocation): Likewise. | |
2094 | (mips_elf_allocate_dynamic_relocations): New function. | |
2095 | (MIPS_ELF_REL_DYN_SECTION_NAME): New macro. | |
2096 | (MIPS_ELF_REL_SIZE): Likewise. | |
2097 | (MIPS_ELF_DYN_SIZE): Likewise. | |
2098 | (MIPS_ELF_GOT_SIZE): Likewise. | |
2099 | (MIPS_ELF_SYM_SIZE): Likewise. | |
2100 | (MIPS_ELF_LOG_FILE_ALIGN): Likewise. | |
2101 | (MIPS_ELF_GET_WORD): Likewise. | |
2102 | (MIPS_ELF_PUT_WORD): Likewise. | |
2103 | (MIPS_ELF_ADD_DYNAMIC_ENTRY): Likewise. | |
2104 | (STUB_LW): Conditionalize for 64-bit value. | |
2105 | (elf_mips_howto_table): Add R_MIPS_HIGHER and R_MIPS_HIGHEST | |
2106 | entries. | |
2107 | (_bfd_mips_elf_merge_private_bfd_data): Merge e_ident[EI_CLASS]. | |
2108 | Check it for inconsistency. | |
2109 | (_bfd_mips_elf_print_private_bfd_data): Print ABI=64 for 64-bit | |
2110 | ABI. | |
2111 | (_bfd_mips_elf_fake_sections): Remove duplicate handling of | |
2112 | .msym. | |
2113 | (mips_elf_global_got_index): Use MIPS_ELF_GOT_SIZE. | |
2114 | (mips_elf_got_offset_from_index): Use misp_elf_got_section. | |
2115 | (mips_elf_create_local_got_entry): Use MIPS_ELF_GOT_SIZE. | |
2116 | (mips_elf_local_got_index): Likewise. | |
2117 | (mips_elf_got_page): Likewise. | |
2118 | (mips_elf_got_info): Likewise. | |
2119 | (mips_elf_create_dynamic_relocation): Handle 32-bit/64-bit split. | |
2120 | (ELF_DYNAMIC_INTERPRETER): Handle 64-bit code. | |
2121 | (mips_elf_create_dynamic_sections): Use MIPS_ELF_LOG_FILE_ALIGN, | |
2122 | instead of constant `2'. | |
2123 | (mips_elf_create_got_section): Tidy. Use MIPS_ELF_GOT_SIZE. | |
2124 | (mips_elf_create_msym_section): Use MIPS_ELF_LOG_FILE_ALIGN. | |
2125 | (mips_elf_size_dynamic_sections): Use | |
2126 | MIPS_ELF_REL_DYN_SECTION_NAME, MIPS_ELF_GOT_SIZE, | |
2127 | MIPS_ELF_ADD_DYNAMIC_ENTRY. Remove #if 0'd code. | |
2128 | Adjust all releveant entries in elf backend table. | |
2129 | * elf64-mips.c (mips_elf64_section_from_shdr): Remove. | |
2130 | (mips_elf64_section_processing): Likewise. | |
2131 | Adjust elf backend entries to use _bfd_mips_elf variants now | |
2132 | publicly available. | |
2133 | ||
c7ac6ff8 MM |
2134 | * elflink.h (elf_link_create_dynamic_sections): Handle non-standard |
2135 | hash-entry sizes. | |
2136 | (size_dynamic_sections): Likewise. | |
2137 | (elf_link_output_extsym): Likewise. | |
2138 | * elf.c: (elf_fake_sections): Likewise. | |
2139 | * libbfd.c (bfd_get): New macro. | |
2140 | (bfd_put): Likewise. | |
2141 | * bfd-in2.h: Regenerated. | |
2142 | ||
2143 | 1999-07-07 Mark Mitchell <mark@codesourcery.com> | |
2144 | ||
2145 | * elf-bfd.h (elf_size_info): Add hash_entry_size, | |
2146 | int_rels_per_ext_rel, swap_dyn_out, swap_reloc_in, swap_reloc_out, | |
2147 | wap_reloca_in, and swap_reloca_out. | |
2148 | * elflink.h (elf_link_read_relocs_from_section): Adjust to handle | |
2149 | multiple internal relocations per external relocation. | |
2150 | (link_read_relocs): Likewise. | |
2151 | (elf_bfd_final_link): Likewise. | |
2152 | (elf_link_input_bfd): Likewise. | |
2153 | (elf_gc_mark): Likewise. | |
2154 | (elf_gc_smash_unused_vtentry_relocs): Likewise. | |
2155 | * elfcode.h (elf_swap_dyn_out): Adjust type to match | |
2156 | elf_swap_dyn_in. | |
2157 | (size_info): Add entries for new fields. | |
2158 | * elf64-mips.c (mips_elf64_swap_reloc_out): Enable. | |
2159 | (mips_elf64_be_swap_reloc_in): New function. | |
2160 | (mips_elf64_be_swap_reloc_out): Likewise. | |
2161 | (mips_elf64_be_swap_reloca_in): Likewise. | |
2162 | (mips_elf64_be_swap_reloca_out): Likewise. | |
2163 | (mips_elf64_size_info): Add entries for new fields. | |
2164 | ||
0525d26e ILT |
2165 | 1999-07-07 Ian Lance Taylor <ian@zembu.com> |
2166 | ||
2167 | * elflink.h (elf_bfd_final_link): Assert that section reloc_count | |
2168 | field equals the new rel_count field. | |
2169 | (elf_link_input_bfd): When doing a relocateable link, use the new | |
2170 | rel_count field rather than the reloc_count field. | |
2171 | (elf_reloc_link_order): Likewise. | |
2172 | (elf_finish_pointer_linker_section): Likewise. | |
2173 | ||
2174 | Based on patch from H.J. Lu <hjl@gnu.org>: | |
2175 | * elflink.h (elf_merge_symbol): Permit a non-weak definition in a | |
2176 | shared library to override a weak definition in a regular object. | |
2177 | ||
9db37001 JL |
2178 | Tue Jul 6 10:23:39 1999 Jeffrey A Law (law@cygnus.com) |
2179 | ||
27ac83bf | 2180 | * libhppa.h: Revert July 2, 1999 patch. |
37afc161 | 2181 | |
9db37001 JL |
2182 | * elf-hppa.h (_bfd_elf_hppa_gen_reloc_type): T mode selectors |
2183 | need to generate DLTIND relocations, not DLTREL relocations. | |
2184 | ||
752149a0 NC |
2185 | 1999-07-05 Nick Clifton <nickc@cygnus.com> |
2186 | ||
478d07d6 NC |
2187 | * coffcode.h (coff_set_arch_mach_hook): Recognise arm 5 |
2188 | architectures. | |
2189 | (coff_set_flags): Recognise arm 5 architectures. | |
2190 | ||
2191 | * cpu-arm.c: Add support for strongarm and arm9 cpus. | |
2192 | Add support for armv5 architecture. | |
2193 | ||
2194 | * archures.c: Add bfd_mach_arm_5 and bfd_mach_arm_5T. | |
2195 | ||
752149a0 NC |
2196 | * reloc.c: Add new, assembler only, ARM reloc: |
2197 | BFD_RELOC_ARM_ADRL_IMMEDIATE. | |
2198 | ||
2199 | * bfd-in2.h: Regenerate. | |
2200 | ||
5e38c3b8 MM |
2201 | 1999-07-02 Mark Mitchell <mark@codesourcery.com> |
2202 | ||
2203 | * dwarf2.c (parse_comp_unit): Add ABBREV_LENGTH parameter. | |
2204 | (_bfd_dwarf2_find_nearest_line): Add ADDR_SIZE parameter. | |
2205 | * elf.c (_bfd_elf_find_nearest_line): Pass it. | |
2206 | * elf32-arm.h (elf32_arm_find_nearest_line): Likewise. | |
2207 | * elf32-mips.c (ABI_64_P): New macro. | |
2208 | (IRIX_COMPAT): We are IRIX6-compatible if ABI_64_P. | |
2209 | (_bfd_mips_elf_find_nearest_line): Adjust call to | |
2210 | _bfd_dwarf2_find_nearest_line. | |
2211 | * libbfd-in.h (_bfd_dwarf2_find_nearest_line): Update prototype. | |
2212 | * libbfd.h: Regenerated. | |
2213 | ||
4766cbee ILT |
2214 | 1999-07-02 Ian Lance Taylor <ian@zembu.com> |
2215 | ||
2216 | * config.bfd: Add * at the end of i[3456]86-*-unixware. | |
2217 | ||
2a6d0fe7 JL |
2218 | Fri Jul 2 12:21:10 1999 Jeffrey A Law (law@cygnus.com) |
2219 | ||
2220 | * libhppa.h (HPPA_R_ARG_RELOC): Delete. | |
2221 | (HPPA_R_CONSTANT, HPPA_R_ADDEND): Likewise. | |
2222 | ||
23bc299b MM |
2223 | 1999-07-01 Mark Mitchell <mark@codesourcery.com> |
2224 | ||
2225 | * elf-bfd.h (bfd_elf_section_data): Add rel_count and rel_count2 | |
2226 | fields. | |
2227 | (_bfd_elf_init_reloc_shdr): New function. | |
2228 | * elf.c (_bfd_elf_new_section_hook): Use bfd_zalloc, rather than | |
2229 | bfd_alloc followed by memset. | |
2230 | (_bfd_elf_init_reloc_shdr): New function, split out from ... | |
2231 | (elf_fake_sections): Here. | |
2232 | (assign_section_numbers): Assign section numbers for the second | |
2233 | relocation section, if required. | |
2234 | * elflink.h (elf_link_output_relocs): New function. | |
2235 | (elf_link_size_reloc_section): Likewise. | |
2236 | (elf_bfd_final_link): Use elf_link_size_reloc_section. | |
2237 | (elf_link_input_bfd): Use elf_link_output_relocs. | |
2238 | ||
2239 | * elf32-mips.c (_bfd_mips_elf_fake_sections): Use | |
2240 | _bfd_elf_init_reloc_shdr to initialize rel_hdr2. | |
2241 | ||
17bb48e0 JL |
2242 | Thu Jul 1 13:58:48 1999 Jeffrey A Law (law@cygnus.com) |
2243 | ||
2244 | * elf-hppa.h (_bfd_elf_hppa_gen_reloc_type): Handle R_PCREL_CALL | |
2245 | with 22bit format. | |
2246 | ||
7403cb63 MM |
2247 | 1999-06-28 Mark Mitchell <mark@codesourcery.com> |
2248 | ||
2249 | * elf32-mips.c (mips_elf_got_info): Move declaration before | |
2250 | prototypes. Change global_gotsym to be a pointer to a hash entry, | |
2251 | rather than a number index. | |
2252 | (mips_elf_link_hash_entry): Move declaration before prototypes. | |
2253 | (mips_elf_irix6_finish_dynamic_symbol): New function. | |
2254 | (mips_elf_sign_extend): Likewise. | |
2255 | (mips_elf_high): Likewise. | |
2256 | (mips_elf_higher): Likewise. | |
2257 | (mips_elf_highest): Likewise. | |
2258 | (mips_elf_global_got_index): Likewise. | |
2259 | (mips_elf_local_got_index): Likewise. | |
2260 | (mips_elf_got_offset_from_index): Likeiwse. | |
2261 | (mips_elf_record_global_got_symbol): Likewise. | |
2262 | (mips_elf_got_page): Likewise. | |
2263 | (mips_elf_next_lo16_addend): Likewise. | |
2264 | (mips_elf_calculate_relocation): Likewise. | |
2265 | (mips_elf_obtain_contents): Likewise. | |
2266 | (mips_elf_perform_relocation): Likewise. | |
2267 | (mips_elf_assign_gp): Likewise. | |
2268 | (mips_elf_sort_hash_table_f): Likewise. | |
2269 | (mips_elf_sort_hash_table): Likewise. | |
2270 | (mips_elf_got_section): Likewise. | |
2271 | (mips_elf_got_info): Likewise. | |
2272 | (mips_elf_create_local_got_entry): Likewise. | |
2273 | (mips_elf_got16_entry): Likewise. | |
2274 | (mips_elf_create_dynamic_relocation): Likewise. | |
2275 | (elf_mips_howto_table): Add description of R_MIPS_SCN_DISP. | |
2276 | (mips_elf_final_gp): Use mips_elf_assign_gp. | |
2277 | (_bfd_mips_elf_symbol_processing): Don't move SHN_COMMON symbols | |
2278 | into SHN_SCOMMON automatically on IRIX6. | |
2279 | (mips_elf_add_symbol_hook): Likewise. | |
2280 | (mips_elf_relocate_section): Rewrite, using | |
2281 | mips_elf_calculate_relocation and mips_elf_perform_relocation. | |
2282 | (mips_elf_create_dynamic_section): Use MIPS_ELF_STUB_SECTION_NAME. | |
2283 | Don't deal with .rld_map on IRIX6. | |
2284 | (mips_elf_create_got_section): Adjust use of global_gotsym. Set | |
2285 | section flags appropriately for .got. | |
2286 | (mips_elf_check_relocs): Handle IRIX6 relocations making use of | |
2287 | the got. Call mips_elf_record_global_got_symbol and allocate | |
2288 | local got space appropriately. | |
2289 | (mips_elf_size_dynamic_sections): Use bfd_byte *, not unsigned | |
2290 | char *. Rework calculation of GOT size. Sort dynamic symbol | |
2291 | table entries so entries that do not require GOT entries appear at | |
2292 | the beginning. Don't use DT_MIPS_HIPAGENO on IRIX6. Remove dead | |
2293 | code dealing with DT_INIT and DT_FINI. Remove fiddling with | |
2294 | global_gotsym. | |
2295 | (mips_elf_finish_dynamic_symbol): Adjust creation of global GOT | |
2296 | entries. | |
2297 | (mips_elf_finish_dynamic_symbol): Use | |
2298 | mips_elf_irix6_finish_dynamic_symbol. | |
2299 | (mips_elf_finish_dynamic_sections): Correct off-by-one error | |
2300 | setting DT_MIPS_UNREFEXTNO. Adjust setting of DT_MIPS_GOTSYM for | |
2301 | change to global_gotsym. Set DT_MIPS_OPTIONS on IRIX6. | |
2302 | ||
0dda5f7a ILT |
2303 | 1999-06-30 Ian Lance Taylor <ian@zembu.com> |
2304 | ||
2305 | * elf32-mips.c (mips_elf_final_link): Don't set CPIC when doing a | |
2306 | relocateable link. From Ralf Baechle <ralf@uni-koblenz.de>. | |
2307 | ||
04f7c78d NC |
2308 | 1999-06-04 Philip Blundell <philb@gnu.org> |
2309 | ||
2310 | * elf32-arm.h (elf_backend_got_header_size): Define. | |
2311 | (elf_backend_plt_header_size): Likewise. | |
2312 | ||
a72747a3 NC |
2313 | 1999-06-28 Jim Pick <jim@jimpick.com> |
2314 | ||
2315 | * elf32-arm.h (elf32_arm_relocate_section): Mind no_undefined | |
2316 | ||
caf3d37c JL |
2317 | Tue Jun 29 02:25:03 1999 Jeffrey A Law (law@cygnus.com) |
2318 | ||
2319 | * elf-hppa.c (elf_hppa_howto_table): Use bfd_elf_generic_reloc as | |
2320 | relocation function. | |
2321 | * elf32-hppa.c (hppa_elf_reloc): Kill unused/unwanted function. | |
2322 | ||
9886bd43 MM |
2323 | 1999-06-27 Mark Mitchell <mark@codesourcery.com> |
2324 | ||
303f629d MM |
2325 | * elf32-mips.c (MIPS_ELF_SRDATA_SECTION_NAME): New macro. |
2326 | (MIPS_ELF_OPTIONS_SECTION_NAME): Likewise. | |
2327 | (MIPS_ELF_STUB_SECTION_NAME): Likewise. | |
2328 | (_bfd_mips_elf_section_from_shdr): Use them. | |
2329 | (_bfd_mips_elf_fake_sections): Likewise. Add .srdata to the list | |
2330 | of GP-relative sections. | |
2331 | (_bfd_mips_elf_set_section_contents): Use them. | |
2332 | (_bfd_mips_elf_section_processing): Share code between .sdata and | |
2333 | .lit4/.lit8 sections. Set appropriate flags for .srdata. | |
2334 | (mips_elf_additional_program_headers): Add handling for | |
2335 | PT_MIPS_OPTIONS segment on IRIX6. | |
2336 | (mips_elf_modify_segment_map): Likeiwse. | |
2337 | (mips_elf_final_link): Set EF_MIPS_CPIC when required by the ABI. | |
2338 | Include the options sections on IRIX6. Don't look for GP-relative | |
2339 | sections by name; use SHF_MIPS_GPREL instead. | |
2340 | (ELF_DYNAMIC_INTERPRETER): Adjust to use /usr/lib32/libc.so.1 for | |
2341 | the N32 ABI. | |
2342 | (mips_elf_create_dynamic_sections): Don't muck about with section | |
2343 | alignments and such on IRIX6. | |
2344 | (mips_elf_adjust_dynamic_symbol): Use MIPS_ELF_STUB_SECTION_NAME. | |
2345 | (mips_elf_size_dynamic_sections): Likewise. Adjust to handle the | |
2346 | fact that ELF_DYNAMIC_INTERPRETER is no longer a constant. Use | |
2347 | bfd_zalloc rather than bfd_alloc and memset. | |
2348 | (mips_elf_finish_dynamic_symbol): Use MIPS_ELF_STUB_SECTION_NAME. | |
2349 | Don't assert the existence of .rld_map on IRIX6. | |
2350 | (mips_elf_finish_dynamic_sections): Use MIPS_ELF_STUB_SECTION_NAME. | |
2351 | ||
9886bd43 MM |
2352 | * elf32-mips.c (mips_elf_adjust_dynindx): Remove. |
2353 | (mips_elf_size_dynamic_sections): Use _bfd_elf_link_adjust_dynindx | |
2354 | instead. | |
2355 | ||
a94a7c1c MM |
2356 | 1999-06-26 Mark Mitchell <mark@codesourcery.com> |
2357 | ||
c6142e5d MM |
2358 | * elf32-mips.c (mips_elf_swap_msym_in): New function. |
2359 | (mips_elf_swap_msym_out): New function. | |
2360 | (mips_elf_create_msym_section): Likewise. | |
2361 | (MIPS_ELF_MSYM_SECTION_NAME): New macro. | |
2362 | (_bfd_mips_elf_final_write_processing): Set sh_link for .msym. | |
2363 | (_bfd_mips_elf_section_from_shdr): Reject an SHT_MIPS_MSYM | |
2364 | section not named .msym. | |
2365 | (_bfd_mips_elf_fake_sections): Use MIPS_ELF_MSYM_SECTION_NAME, not | |
2366 | .msym directly. Set appropriate attributes for the .msym | |
2367 | section. | |
2368 | (mips_elf_link_hash_entry): Add min_dyn_reloc_index field. | |
2369 | (mips_elf_link_hash_newfunc): Clear it. | |
2370 | (mips_elf_create_dynamic_sections): Create the .msym section | |
2371 | on IRIX6. | |
2372 | (mips_elf_size_dynamic_sections): Allocate space for the | |
2373 | .msym section. Add a DT_MIPS_MSYM entry. | |
2374 | (mips_elf_finish_dynamic_symbol): Write out a .msym entry for | |
2375 | the symbol. | |
2376 | (mips_elf_finish_dynamic_sections): Assign a value for | |
2377 | DT_MIPS_MSYM. Add .msym entries for the section symbols as well. | |
2378 | ||
a94a7c1c MM |
2379 | * elf32-mips.c (irix_compat_t): New enumeration. |
2380 | (ABI_N32_P): New macro. | |
2381 | (IRIX_COMPAT): Likewise. | |
2382 | (SGI_COMPAT): Implement in terms of IRIX_COMPAT. | |
2383 | (mips_elf_relocate_section): Fix typo. | |
2384 | ||
254f5c45 ILT |
2385 | 1999-06-26 Mumit Khan <khan@xraylith.wisc.edu> |
2386 | ||
2387 | * peicode.h (coff_swap_scnhdr_out): Mark non readonly BFD sections | |
2388 | as writable PE sections. | |
2389 | ||
f623be2b RH |
2390 | 1999-06-26 David Mosberger <davidm@hpl.hp.com> |
2391 | ||
2392 | * dwarf2.c (struct arange): New type. | |
2393 | (struct comp_unit): Replace LOW and HIGH by member ARANGE. | |
2394 | (arange_add): New function. | |
2395 | (decode_line_info): Keep track of address ranges that a compilation | |
2396 | unit covers. | |
2397 | (comp_unit_contains_address): Return true if address is contained | |
2398 | in _any_ of the address ranges associated with a compilation unit. | |
2399 | (_bfd_dwarf2_find_nearest_line): Call comp_unit_find_nearest_line | |
2400 | on the first comp_unit that contains the address. | |
2401 | ||
69dd2e2d RH |
2402 | 1999-06-26 David Mosberger <davidm@hpl.hp.com> |
2403 | ||
2404 | * dwarf2.c (struct dwarf2_debug): Add member dwarf_line_buffer. | |
2405 | (decode_line_info): Add variable STASH and initialize it to point | |
2406 | to the per-bfd dwarf2_debug info. Remove static variable | |
2407 | dwarf_line_buffer and use stash->dwarf_line_buffer in its place. | |
2408 | ||
0429ebd0 ILT |
2409 | 1999-06-26 Ian Lance Taylor <ian@zembu.com> |
2410 | ||
1d7b28df ILT |
2411 | * elflink.h (elf_link_output_extsym): It's OK for a -Bsymbolic |
2412 | shared library to have an undefined symbol. | |
2413 | ||
0429ebd0 ILT |
2414 | From Franz Sirl <Franz.Sirl-kernel@lauterbach.com>: |
2415 | * elf32-ppc.c (ppc_elf_relocate_section): Fix last patch. | |
2416 | ||
4517897e JL |
2417 | Thu Jun 24 20:59:11 1999 Jeffrey A Law (law@cygnus.com) |
2418 | ||
2419 | * elf-hppa.c (elf_hppa_final_write_processing): New function. | |
2420 | * elf32-hppa.c: Remove everything related to symbol extension | |
2421 | sections & records. Use the common elf_hppa_final_write_processing. | |
2422 | ||
f0c2e336 MM |
2423 | 1999-06-22 Mark Mitchell <mark@codesourcery.com> |
2424 | ||
2425 | * elflink.h (size_dynamic_sections): Use user-specified init/fini | |
2426 | functions instead of _init/_fini if requested. | |
2427 | ||
03ae5f59 ILT |
2428 | 1999-06-23 Ian Lance Taylor <ian@zembu.com> |
2429 | ||
2430 | * elf.c (bfd_section_from_shdr): Avoid crashing on a bogus sh_link | |
2431 | field. | |
2432 | ||
464e1740 ILT |
2433 | 1999-06-22 Ian Lance Taylor <ian@zembu.com> |
2434 | ||
2435 | From Franz Sirl <Franz.Sirl-kernel@lauterbach.com>: | |
2436 | * elf32-ppc.c (ppc_elf_size_dynamic_sections): Set unused dynindx | |
2437 | field to 0, not -1. | |
2438 | (ppc_elf_finish_dynamic_sections): Check for positive section | |
2439 | dynindx field, rather than comparing against -1. | |
2440 | (ppc_elf_relocate_section): Only return false if undefined_symbol | |
2441 | or reloc_overflow fail, not always upon encountering an error. | |
2442 | ||
2f5116e2 MM |
2443 | 1999-06-22 Mark Mitchell <mark@codesourcery.com> |
2444 | ||
2445 | * elflink.h (link_read_relocs): Explicitly cast external_relocs to | |
2446 | bfd_byte * before performing pointer arithmetic. | |
2447 | ||
9e103c9c JL |
2448 | Tue Jun 22 13:06:25 1999 Jeffrey A Law (law@cygnus.com) |
2449 | ||
2450 | * elf-hppa.h: New file. Common stuff for elf32 and elf64 PA | |
2451 | support. | |
2452 | * elf32-hppa.c: Include elf-hppa.h. | |
2453 | (ARCH_SIZE): Define. | |
2454 | (elf_hppa_reloc_type_lookup): Delete. Found in the common code | |
2455 | now. | |
2456 | (elf32_hppa_info_to_howto): Similarly. | |
2457 | (elf_hppa_howto_table): Similarly. | |
2458 | (elf_hppa_reloc_type_lookup): Similarly. | |
2459 | (hppa_elf_gen_reloc_type): Similarly. | |
2460 | * elf32-hppa.h (ELF_HOWTO_TALBE, N_PARISC_RELOCS): Delete. | |
2461 | ||
232fb1a3 NC |
2462 | 1999-06-22 Nick Clifton <nickc@cygnus.com> |
2463 | ||
2464 | * elf32-v850.c (v850_elf_final_link_relocate): Catch overflow | |
2465 | handling R_V850_22_PCREL relocation. | |
2466 | ||
271025eb ILT |
2467 | 1999-06-21 Ian Lance Taylor <ian@zembu.com> |
2468 | ||
2469 | * coff-arm.c (arm_emit_base_file_entry): Explicitly declare return | |
2470 | type. | |
2471 | ||
0bde07d4 RH |
2472 | Sun Jun 20 14:13:57 1999 Richard Henderson <rth@cygnus.com> |
2473 | ||
2474 | * section.c (_bfd_strip_section_from_output): Ignore sections | |
2475 | DISCARDed by the link script. | |
2476 | ||
f800e11d ILT |
2477 | 1999-06-19 Ian Lance Taylor <ian@zembu.com> |
2478 | ||
2479 | * elflink.h (elf_link_remove_section_and_adjust_dynindices): | |
2480 | Remove unused local variable spp. | |
2481 | ||
2482 | * xcofflink.c (bfd_xcoff_size_dynamic_sections): Don't crash if | |
2483 | the entry symbol is not set. | |
2484 | ||
72b60c23 RH |
2485 | Fri Jun 18 04:24:57 1999 Richard Henderson <rth@cygnus.com> |
2486 | ||
2487 | * elf64-alpha.c (elf64_alpha_relocate_section): Don't adjust | |
2488 | GPDISP or LITUSE in a relocatable link. | |
2489 | ||
aec89efb JR |
2490 | Thu Jun 17 21:24:43 1999 J"orn Rennecke <amylaar@cygnus.co.uk> |
2491 | ||
2492 | * dwarf1.c (alloc_dwarf1_unit): Allocate using bfd_zalloc. | |
2493 | * (alloc_dwarf1_func): Likewise. | |
2494 | ||
5ba624b0 JL |
2495 | Wed Jun 16 03:09:57 1999 Jeffrey A Law (law@cygnus.com) |
2496 | ||
2497 | * libhppa.h: Fix various formatting errors. | |
2498 | (assemble_3); Rewrite using CATENATE. | |
2499 | (assemble_17): Fix various bugs. | |
2500 | ||
59d23ada NC |
2501 | 1999-06-16 Nick Clifton <nickc@cygnus.com> |
2502 | ||
2503 | * elf32-mcore.c (R_MCORE_RAW): Fix definition. | |
2504 | ||
0c3ff40b RH |
2505 | 1999-06-15 Richard Henderson <rth@cygnus.com> |
2506 | ||
2507 | * section.c (SEC_SHORT): Define. | |
2508 | * bfd-in2.h: Rebuild. | |
2509 | ||
42751cf3 MM |
2510 | 1999-06-13 Mark Mitchell <mark@codesourcery.com> |
2511 | ||
78de0b43 MM |
2512 | * elflink.h (elf_link_remove_section_and_adjust_dynindices): |
2513 | Remove abfd parameter. Use _bfd_strip_section_from_output. | |
2514 | (bfd_elf_size_dynamic_sections): Adjust callers accordingly. | |
2515 | ||
42751cf3 MM |
2516 | * elf-bfd.h (_bfd_elf_link_adjust_dynindx): New function. |
2517 | * elflink.c (_bfd_elf_link_adjust_dynindx): Define it. | |
2518 | * elflink.h (elf_link_remove_section_and_adjust_dynindices): New | |
2519 | function. | |
2520 | (bfd_elf_size_dynamic_sections): Use it. | |
2521 | ||
3e269912 ILT |
2522 | 1999-06-13 Alan Modra <alan@spri.levels.unisa.edu.au> |
2523 | ||
2524 | * elf32-i386.c (elf_howto_table): Change R_386_PC8 from | |
2525 | complain_overflow_bitfield to complain_overflow_signed. | |
2526 | ||
6b5bd373 MM |
2527 | 1999-06-13 Mark Mitchell <mark@codesourcery.com> |
2528 | ||
2529 | * elflink.h (elf_link_read_relocs_from_section): New function, | |
2530 | split out from ... | |
2531 | (elf_link_read_relocs): Here. Use it for both relocation | |
2532 | sections. | |
2533 | ||
57e21bef MM |
2534 | 1999-06-12 Mark Mitchell <mark@codesourcery.com> |
2535 | ||
2536 | * elfcode.h (elf_slurp_reloc_table_from_section): Don't assume | |
2537 | asect->reloc_count is valid. | |
2538 | ||
cc3bfcee ILT |
2539 | 1999-06-12 Ian Lance Taylor <ian@zembu.com> |
2540 | ||
2541 | * elf32-mips.c (mips_elf32_section_processing): Permit a | |
2542 | SHT_MIPS_REGINFO section to have a size of 0. | |
2543 | ||
7a50d4ac ILT |
2544 | 1999-06-12 David O'Brien <obrien@freebsd.org> |
2545 | ||
2546 | * config.bfd (alpha*-*-freebsd*): New target. | |
2547 | (i[3456]86-*-freebsd*): Now defaults to ELF. | |
2548 | ||
f5f9cc4f ILT |
2549 | 1999-06-11 Ian Lance Taylor <ian@zembu.com> |
2550 | ||
44257b8b ILT |
2551 | * reloc.c (_bfd_relocate_contents): Permit bitfield relocations to |
2552 | wrap if the relocation covers the high bit of an address. | |
2553 | ||
f5f9cc4f ILT |
2554 | * dwarf2.c (decode_line_info): Remove unused variable first_time. |
2555 | ||
60dac299 RH |
2556 | 1999-06-10 Jakub Jelinek <jj@ultra.linux.cz> |
2557 | ||
2558 | * elf64_sparc.c (sparc64_elf_relocate_section): Use R_SPARC_max_std | |
2559 | instead of R_SPARC_max. | |
2560 | (sparc64_elf_info_to_howto): Likewise. | |
2561 | * elf32_sparc.c (elf32_sparc_relocate_section): Likewise. | |
2562 | (elf32_sparc_info_to_howto): Likewise; handle vtable relocations. | |
2563 | ||
9d7428a9 RH |
2564 | 1999-06-07 Richard Henderson <rth@cygnus.com> |
2565 | ||
2566 | * section.c (_bfd_strip_section_from_output): Remove output | |
2567 | sections with no initial link_order. | |
2568 | ||
3c82f80f NC |
2569 | 1999-06-07 Nick Clifton <nickc@cygnus.com> |
2570 | ||
2571 | * elf32-m88k.c (ELF_MAXPAGESIZE): Define. | |
2572 | ||
eb519dff AS |
2573 | Mon Jun 7 11:49:43 1999 Andreas Schwab <schwab@issan.cs.uni-dortmund.de> |
2574 | ||
2575 | * Makefile.am (SOURCE_HFILES): Add missing headers. | |
2576 | * Makefile.in: Regenerated. | |
2577 | ||
7f7e7b68 MM |
2578 | 1999-06-06 Mark Mitchell <mark@codesourcery.com> |
2579 | ||
2580 | * elf32-mips.c (_bfd_mips_elf_print_private_data): Recognize | |
2581 | the N32 ABI. | |
2582 | ||
dc1bc0c9 RH |
2583 | 1999-06-04 Franz Sirl <Franz.Sirl-kernel@lauterbach.com> |
2584 | ||
2585 | * elf32-ppc.c (ppc_elf_relocate_section): Don't barf on out of | |
2586 | range undefweak symbols. | |
2587 | * hash.c: Add missing comma after @xref{} | |
2588 | * linker.c: Likewise. | |
2589 | ||
79e5982f NC |
2590 | 1999-06-04 Nick Clifton <nickc@cygnus.com> |
2591 | ||
2592 | * elfxx-target.h (ELF_MAXPAGESIZE): Produce an error message | |
2593 | if not defined. | |
2594 | * elf32-gen.c (ELF_MAXPAGESIZE): Define. | |
2595 | * elf32-i860.c (ELF_MAXPAGESIZE): Define. | |
2596 | * elf32-i960.c (ELF_MAXPAGESIZE): Define. | |
2597 | * elf64-gen.c (ELF_MAXPAGESIZE): Define. | |
2598 | ||
4a54b465 ILT |
2599 | 1999-06-04 Ian Lance Taylor <ian@zembu.com> |
2600 | ||
2601 | * Makefile.am: Rebuild dependencies. | |
2602 | (BFD32_BACKENDS): Add dwarf1.lo. | |
2603 | (BFD32_BACKENDS_CFILES): Add dwarf1.c. | |
2604 | * Makefile.in: Rebuild. | |
2605 | ||
7714a18c NC |
2606 | 1999-06-04 Nick Clifton <nickc@cygnus.com> |
2607 | ||
2608 | * Makefile.am: Add epoc-arm-pe target. | |
2609 | * Makefile.in: Regenerate. | |
2610 | * pe-arm.c: Only redefine interworking function names if they have | |
2611 | not already been redefined. | |
2612 | * pei-arm.c: Only redefine interworking function names if they have | |
2613 | not already been redefined. | |
2614 | * epoc-pe-arm.c: Redefine interworking function names to avoid a | |
2615 | name space clash. | |
2616 | * epoc-pei-arm.c: Redefine interworking function names to avoid a | |
2617 | name space clash. | |
2618 | ||
dece4658 NC |
2619 | 1999-06-03 Nick Clifton <nickc@cygnus.com> |
2620 | ||
2621 | * elfxx-target.h (ELF_MAXPAGESIZE): Default to 0x1000 not 1. | |
2622 | ||
a9d024b8 AS |
2623 | Fri Jun 4 10:05:11 1999 Andreas Schwab <schwab@issan.cs.uni-dortmund.de> |
2624 | ||
2625 | * elf.c (elf_fake_sections): Undo change of 1999-05-10. | |
2626 | ||
06e1ba78 JR |
2627 | Fri Jun 4 03:10:49 1999 J"orn Rennecke <amylaar@cygnus.co.uk> |
2628 | ||
2629 | * elf32-sh.c (sh_elf_relax_delete_bytes): Fix setting of | |
2630 | start / stop for recalculating of r_addend of R_SH_SWITCH*. | |
2631 | ||
084aa3aa JR |
2632 | Fri Jun 4 02:53:13 1999 J"orn Rennecke <amylaar@cygnus.co.uk> |
2633 | ||
2634 | * elf32-sh.c (sh_elf_relax_delete_bytes): Handle R_SH_SWITCH32 | |
2635 | in other text sections. | |
2636 | ||
875f7f69 JR |
2637 | Fri Jun 4 02:29:34 1999 J"orn Rennecke <amylaar@cygnus.co.uk> |
2638 | ||
2639 | * libbfd.c (_bfd_generic_verify_endian_match): New function. | |
2640 | * libbfd-in.h (_bfd_generic_verify_endian_match): Declare. | |
2641 | * libbfd.h: Regenerate. | |
2642 | * coff-sh.c (sh_merge_private_data): Delete. | |
2643 | (coff_bfd_merge_private_bfd_data): Change to | |
2644 | _bfd_generic_verify_endian_match. | |
2645 | (elf32-sh.c): bfd_elf32_bfd_merge_private_bfd_data: Define. | |
2646 | ||
6a9d5c9a UD |
2647 | 1999-06-03 Ulrich Drepper <drepper@cygnus.com> |
2648 | ||
2649 | * elf32-arm.h: Fix typo: change ELF_MAXPAGE_SIZE to ELF_MAXPAGESIZE. | |
2650 | ||
a3e38ad3 ILT |
2651 | 1999-06-03 Ian Lance Taylor <ian@zembu.com> |
2652 | ||
2653 | * bfd-in.h (bfd_elf32_arm_allocate_interworking_sections): Correct | |
2654 | prototype. | |
2655 | (bfd_elf32_arm_process_before_allocation): Likewise. | |
2656 | * bfd-in2.h: Rebuild. | |
2657 | ||
159002ff RH |
2658 | 1999-06-03 David Mosberger <davidm@hpl.hp.com> |
2659 | ||
2660 | * dwarf2.c (struct line_info): Add member END_SEQUENCE to keep | |
2661 | track of end_sequence markers. | |
2662 | (add_line_info): Add END_SEQUENCE arg. | |
2663 | (decode_line_info): Don't try to infer lo_pc and hi_pc from the | |
2664 | debug-line info---it doesn't work right if a compilation unit | |
2665 | consists of multiple discontiguous code-sequences. It would be | |
2666 | worthwhile to optimize for the common case where a compilation | |
2667 | unit results in a contiguous set of code sequences, but this is | |
2668 | quite tricky to get right for arbitrary DWARF2 files. | |
2669 | (lookup_address_in_line_info_table): Don't use the last line entry | |
2670 | for a compilation unit for anything with an address higher than | |
2671 | this line entry. Also, check for end_sequence markers to | |
2672 | correctly handle discontinuities. | |
2673 | (_bfd_dwarf2_find_nearest_line): When checking previously loaded | |
2674 | compilation units, check all compilation units with each->high==0 | |
2675 | just like when reading compilation units. | |
2676 | ||
2677 | * dwarf2.c (decode_line_info): Initialize table->files and | |
2678 | table->last_line to NULL to avoid segfaults due to random | |
2679 | values in these members. | |
2680 | (concat_filename): Check for out-of-range file number before | |
2681 | indexing filename table. Segfaults suck. | |
2682 | ||
2683 | * dwarf2.c (decode_line_info): Don't truncate address to least | |
2684 | significant 32 bits (breaks 64 bit targets). | |
2685 | (lookup_address_in_function_table): Ditto. | |
2686 | (comp_unit_contains_address): Ditto. | |
2687 | ||
42fdc509 MM |
2688 | 1999-06-02 Mark Mitchell <Mark Mitchell <mark@codesourcery.com>> |
2689 | ||
2690 | * elf32-mips.c (elf_mips_howto_table): Add R_MIPS_JALR. | |
2691 | * elf64-mips.c (mips_elf64_howto_table_rel): Likewise. | |
2692 | (mips_elf64_howto_table_rela): Likewise. | |
2693 | ||
2694 | * elfcode.h (elf_slurp_reloc_table_from_section): New function, | |
2695 | split out from ... | |
2696 | (elf_slurp_reloc_table): Here. Use it to handle the case where a | |
2697 | single section has two associated relocation sections. | |
6a9d5c9a | 2698 | |
9d8cefa9 RH |
2699 | 1999-06-02 Mark Salter <msalter@cygnus.com> |
2700 | ||
2701 | * coffcode.h (coff_set_alignment_hook): Set lma from s_vaddr if | |
2702 | COFF_WITH_PE defined. | |
2703 | ||
c9fca91d NC |
2704 | 1999-06-02 Nick Clifton <nickc@cygnus.com> |
2705 | ||
2706 | * pe-arm.c: Rename global arm interworking functions to avoid name | |
2707 | collision when all targets BFD is built. | |
2708 | * pei-arm.c: Ditto. | |
2709 | ||
bf572ba0 MM |
2710 | 1999-05-31 Mark Mitchell <mark@codesourcery.com> |
2711 | ||
2712 | * elf-bfd.h (elf_backend_data): Remove use_rela_p. Add | |
2713 | may_use_rel_p, may_use_rela_p, default_use_rela_p. | |
2714 | (bfd_elf_section_data): Add use_rela_p. | |
2715 | * elf.c (bfd_section_from_shdr): Set use_rela_p appropriately. | |
2716 | (_bfd_elf_new_section_hook): Likewise. | |
2717 | (elf_fake_sections): Use may_use_rela_p, etc., instead of | |
2718 | use_rela_p. | |
2719 | (_bfd_elf_copy_private_section_data): Copy use_rela_p. | |
2720 | * elfcode.h (write_relocs): Determine whether or not use rela | |
2721 | relocs based on the relocation section header. | |
2722 | * elflink.c (_bfd_elf_create_dynamic_sections): Use default_use_rela_p | |
2723 | instead of use_rela_p. | |
2724 | * elfxx-target.h (elf_backend_may_use_relp): New macro. | |
2725 | (elf_backend_may_use_rela_p): Likewise. | |
2726 | (elf_backend_default_use_rela_p): Likewise. | |
2727 | (elfNN_bed): Use them. | |
6a9d5c9a | 2728 | |
3fe702fd RH |
2729 | Wed Jun 2 12:38:49 1999 Miodrag Vallat <miodrag@multimania.com> |
2730 | ||
2731 | * hosts/alphalinux.h (TRAD_CORE_EXTRA_SIZE_ALLOWED): Expand to 4096. | |
2732 | ||
3f830999 MM |
2733 | Tue Jun 1 17:57:58 1999 Mark P. Mitchell <mitchell@n02.acl.lanl.gov> |
2734 | ||
2735 | * reloc.c (BFD_RELOC_MIPS_SUB): New relocation. | |
2736 | (BFD_RELOC_MIPS_GOT_PAGE): Likewise. | |
2737 | (BFD_RELOC_MIPS_GOT_OFST): Likewise. | |
2738 | (BFD_RELOC_MIPS_GOT_DISP): Likewise. | |
2739 | * bfd-in2.h: Regenerated. | |
2740 | * libbfd.h: Likewise. | |
2741 | * elf32-mips.c (mips_info_to_howto_rela): New function. | |
2742 | (USE_REL): Adjust for new conventions. | |
2743 | (MINUS_ONE): New macro. | |
2744 | (elf_mips_howto_table): Add R_MIPS_SUB. | |
6a9d5c9a | 2745 | (mips_r): Add entries for MIPS_SUB, MIPS_GOT_PAGE, MIPS_GOT_OFST, |
3f830999 MM |
2746 | and MIPS_GOT_DISP. |
2747 | (mips_elf_final_write_processing): Set sh_link, not sh_info, for a | |
2748 | .MIPS.content section. | |
2749 | (_bfd_mips_elf_fake_sections): Treat all sections that begin | |
2750 | with .MIPS.content as .MIPS.content sections. Set | |
2751 | SHF_MNIPS_NOSTRIP for such section. | |
2752 | (elf_info_to_howto): Define to mips_info_to_howto_rela. | |
2753 | * elf64-mips.c (mips_r): Add entries for MIPS_SUB, MIPS_GOT_PAGE, | |
2754 | MIPS_GOT_OFST, and MIPS_GOT_DISP. | |
2755 | ||
70f06c4a AS |
2756 | Wed Jun 2 11:51:12 1999 Andreas Schwab <schwab@issan.cs.uni-dortmund.de> |
2757 | ||
015985c9 AS |
2758 | * vms-misc.c (_bfd_vms_hash_newfunc): Fix use of uninitialized |
2759 | variable. | |
2760 | ||
70f06c4a | 2761 | * elf32-m68k.c (elf_m68k_adjust_dynamic_symbol): Avoid ambigous |
6a9d5c9a | 2762 | `else'. |
70f06c4a | 2763 | |
2ef994e0 NC |
2764 | 1999-05-30 Philip Blundell <philb@gnu.org> |
2765 | ||
2766 | * elf32-arm.h (elf32_arm_relocate_section): Reinstate change of | |
2767 | 1993-03-25 (!!). Take into account the bitmasks for the reloc so | |
2768 | the addend does not overflow into the rest of the word. | |
2769 | ||
ba96a88f NC |
2770 | 1999-05-29 Nick Clifton <nickc@cygnus.com> |
2771 | ||
2772 | * bfd-in.h: Amend prototype for | |
2773 | bfd_elf32_arm_process_before_allocation . | |
2774 | * bfd-in.h: Regenerate. | |
6a9d5c9a | 2775 | |
ba96a88f NC |
2776 | * elfarm-oabi.c (NUM_ELEM): New macro: Compute the number of |
2777 | elements in a fixed sized array. | |
2778 | (ARM_ELF_ABI_VERSION): Define. | |
2779 | (ARM_ELF_OS_ABI_VERSION): Define. | |
2780 | (R_ARM_THM_ABS5): Fix rightshift and size. | |
2781 | (R_ARM_THM_PC22): Fix size. | |
2782 | (R_ARM_PLT32): Define Howto. | |
2783 | (find_howto): New function: Locate a howto based on a reloc | |
2784 | number. | |
2785 | (elf32_arm_info_to_howto): Use find_howto if necessary. | |
2786 | (elf32_arm_reloc_map): Change type of field bfd_reloc_val to | |
2787 | bfd_reloc_code_real_type. | |
2788 | (elf32_arm_reloc_map[]): Add entries for BFD_RELOC_VTABLE_INHERIT | |
2789 | and BFD_RELOC_VTABLE_ENTRY. | |
2790 | (elf32_arm_reloc_type_lookup): Use find_howto if necessary. | |
2791 | ||
2792 | * elfarm-nabi.c (NUM_ELEM): New macro: Compute the number of | |
2793 | elements in a fixed sized array. | |
2794 | (ARM_ELF_ABI_VERSION): Define. | |
2795 | (ARM_ELF_OS_ABI_VERSION): Define. | |
2796 | (R_ARM_THM_ABS5): Fix rightshift and size. | |
2797 | (R_ARM_THM_PC22): Fix size. | |
2798 | (elf32_arm_info_to_howto_rel): Rename to elf32_arm_info_to_howto. | |
2799 | (elf32_arm_reloc_map): Change type of field bfd_reloc_val to | |
2800 | bfd_reloc_code_real_type. | |
2801 | ||
2802 | * elf32-arm.h (struct elf32_arm_link_hash_table): Add new field: | |
2803 | no_pipeline_knowledge. | |
2804 | (elf32_arm_link_hash_create): Initialise new field to zero. | |
2805 | (bfd_elf32_arm_process_before_allocation): Add new paraemter: | |
2806 | no_pipeline_knowledge. Use this parameter to initialise the field | |
2807 | in the globals data structure. | |
2808 | (elf32_arm_final_link_relocate): Only add in pipeline offset if | |
2809 | no_pipeline_knowledge is false and the binary is from an old | |
2810 | toolchain. | |
2811 | (elf32_arm_merge_private_data): Generate an error if an attempt is | |
2812 | made to linl together big endian and little endian code. | |
2813 | (elf32_arm_post_process_headers): New function: Initialise the | |
2814 | EI_OSABI and EI_ABIVERSION fields of the newly created ELF program | |
6a9d5c9a | 2815 | header. |
ba96a88f NC |
2816 | (elf_backend_post_process_headers): Define. |
2817 | ||
e6c51ed4 NC |
2818 | 1999-05-28 Nick Clifton <nickc@cygnus.com> |
2819 | ||
2820 | * elf-bfd.h (struct elf_backend_data): Add new field: | |
2821 | elf_backend_post_process_headers. | |
2822 | ||
2823 | * elfxx-target.h (elf_backend_post_process_headers): Define to | |
2824 | NULL if not already defined. | |
6a9d5c9a | 2825 | (elfNN_bed): Initialise elf_backend_post_process_headers field. |
e6c51ed4 NC |
2826 | |
2827 | * elf.c (prep_headers): Set the EI_OSABI and EI_ABIVERSION fields | |
2828 | to zero. | |
2829 | (_bfd_elf_compute_section_file_positions): Call | |
6a9d5c9a | 2830 | elf_backend_post_process_headers if defined. |
e6c51ed4 | 2831 | |
633fd09f ILT |
2832 | 1999-05-28 Ian Lance Taylor <ian@zembu.com> |
2833 | ||
2834 | * configure.in: Check whether getuid and getgid exist. | |
2835 | * archive.c: Define getuid and getgid as macros if HAVE_GETUID or | |
2836 | HAVE_GETGID are not defined, respectively. | |
2837 | (bfd_write_armap): Don't special case on _WIN32 for getuid and | |
2838 | getgid. | |
2839 | * configure.host: Set ac_cv_func_get{ug}id for *-*-windows*. | |
2840 | * configure, config.in: Rebuild. | |
2841 | ||
b2ef150d ILT |
2842 | 1999-05-28 Martin Dorey <mdorey@madge.com> |
2843 | ||
2844 | * elf32-i960.c: New file. | |
2845 | * elf.c (prep_headers): Handle bfd_arch_i960. | |
2846 | * targets.c (bfd_target_vector): Add &bfd_elf32_i960_vec. | |
2847 | * config.bfd (i960-*-elf*): New target. | |
2848 | * configure.in (bfd_elf32_i960_vec): New target vector. | |
2849 | * Makefile.am (BFD32_BACKENDS): Add elf32-i960.lo. | |
2850 | (BFD32_BACKENDS_CFILES): Add elf32-i960.c. | |
2851 | * Makefile.in, aclocal.m4, configure: Rebuild. | |
2852 | ||
5f97aa0c NC |
2853 | 1999-05-27 Nick Clifton <nickc@cygnus.com> |
2854 | ||
2855 | * elfarm-oabi.c (elf32_arm_howto_table): Add entry for | |
6a9d5c9a | 2856 | R_ARM_PLT32. |
5f97aa0c NC |
2857 | (find_howto): New function: Find entries in the |
2858 | elf32_arm_howto_table. | |
2859 | (elf32_arm_info_to_howto): Use find_howto if the entry cannot be | |
2860 | computed simply. | |
2861 | (elf32_arm_reloc_type_lookup): Add lookup for | |
6a9d5c9a | 2862 | BFD_RELOC_ARM_PLT32. |
5f97aa0c | 2863 | |
780a67af NC |
2864 | 1999-05-25 Philip Blundell <pb@nexus.co.uk> |
2865 | ||
2866 | * bfd/elf32-arm.h (elf32_arm_link_hash_newfunc): New function. | |
2867 | (elf32_arm_link_hash_table_create): Use above function as the | |
2868 | constructor for hash table entries. | |
2869 | (elf32_arm_relocate_section): Avoid crash when there is no output | |
6a9d5c9a | 2870 | section. |
780a67af NC |
2871 | (elf32_arm_final_link_relocate): New parameter h. |
2872 | (elf32_arm_relocate_section): Pass symbol hash entry to above | |
2873 | routine. | |
2874 | (elf32_arm_gc_sweep_hook, elf32_arm_check relocs): Correct | |
2875 | comments. | |
6a9d5c9a | 2876 | |
fa0e42e4 | 2877 | 1999-05-25 Catherine Moore <clm@cygnus.com> |
6a9d5c9a | 2878 | |
27ac83bf RH |
2879 | * coff-arm.c (coff_arm_relocate_section): Don't emit |
2880 | base file entries for pc-relative values. | |
6a9d5c9a | 2881 | |
93dfcdf0 DD |
2882 | 1999-05-25 DJ Delorie <dj@cygnus.com> |
2883 | ||
2884 | * peicode.h (coff_swap_sym_in): When we create the actual section | |
2885 | to reflect the not-there section C_SECTION symbols refer to, | |
2886 | change the symbol class to C_STAT as the section is now really | |
2887 | there. | |
2888 | ||
db65e864 NC |
2889 | 1999-05-24 Philip Blundell <pb@nexus.co.uk> |
2890 | ||
2891 | * elf32-arm.h (elf32_arm_relocate_section): Undo change of | |
2892 | 1999-03-25. | |
2893 | ||
948221a8 | 2894 | Mon May 17 13:35:35 1999 Stan Cox <scox@cygnus.com> |
f6886bc4 | 2895 | |
948221a8 NC |
2896 | * coff-arm.c (_bfd_coff_arm_set_private_flags): Changed |
2897 | F_PIC_INT to F_PIC. | |
2898 | * coffcode.h (coff_set_arch_mach_hook): Added F_ARM_2a, and | |
2899 | F_ARM_3M labels. Changed F_PIC_INT to F_PIC. | |
6a9d5c9a | 2900 | |
1349dd65 NC |
2901 | 1999-05-16 Nick Clifton <nickc@cygnus.com> |
2902 | ||
2903 | * coff-mcore.c (in_reloc_p): Reinstate. | |
2904 | ||
36797d47 NC |
2905 | 1999-05-15 Nick Clifton <nickc@cygnus.com> |
2906 | ||
2907 | * reloc.c (BFD_RELOC_MCORE_RVA): Define. | |
2908 | * bfd-in2.h: Regenerate. | |
2909 | * coff-mcore.c (in_reloc_p): Remove defintion. | |
2910 | (mcore_coff_howto): Add IMAGE_REL_MCORE_RVA. | |
2911 | (mcore_coff_reloc_type_lookup): Map BFD_RELOC_RVA to | |
2912 | IMAGE_REL_MCORE_RVA. | |
2913 | (coff_mcore_rtype_to_howto): Add special processing for | |
2914 | IMAGE_REL_MCORE_RVA. | |
2915 | (coff_mcore_relocate_section): Add support for | |
6a9d5c9a | 2916 | IMAGE_REL_MCORE_RVA. |
36797d47 NC |
2917 | * elf32-mcore (mcore_elf_howto_): Add R_MCORE_RELATIVE. |
2918 | (mcore_elf_reloc_type_lookup): Map BFD_RELOC_RVA to | |
2919 | R_MCORE_RELATIVE. | |
6a9d5c9a UD |
2920 | (mcore_elf_relocate_section): Delete redundant case labels. |
2921 | ||
97eaf9de AS |
2922 | Fri May 14 10:59:55 1999 Andreas Schwab <schwab@issan.cs.uni-dortmund.de> |
2923 | ||
2924 | * elf32-arm.h (elf32_arm_relocate_section): Fix operator | |
2925 | precedence between bit-and and comparison. | |
2926 | ||
2e9a84c8 RH |
2927 | Thu May 13 09:45:23 1999 Joel Sherrill (joel@OARcorp.com) |
2928 | ||
2929 | * config.bfd (i[3456]86*-*-rtems*, m68k*-*-rtems*): Added to | |
2930 | list of target formats (targ_selvecs). | |
2931 | (i[3456]86*-*-rtemself*, mips*el-*-rtems*): New targets. | |
2932 | (powerpcle*-*rtems*, sh-*-rtemself*): New targets. | |
2933 | ||
ec0ef80e DD |
2934 | 1999-05-10 DJ Delorie <dj@cygnus.com> |
2935 | ||
2936 | * ecoff.c (_bfd_ecoff_write_armap): give the symtab element a | |
2937 | reasonable mode until "ar x" is smart enough to skip it (fixes | |
2938 | gcc/libgcc.a builds on mips-ecoff targets | |
2939 | ||
2940 | * coffcode.h (styp_to_sec_flags): Explain how COMDATs are supposed | |
2941 | to work. Hack to support MS import libraries, which use different | |
2942 | COMDAT types than GNU. | |
2943 | (coff_slurp_symbol_table): C_SECTION symbols are local; they refer | |
2944 | to implied zero-length sections (see peicode below) | |
2945 | * coffgen.c (coff_get_normalized_symtab): Properly read long MS | |
2946 | filename symbols, which use one *or more* auxents. | |
2947 | * coffswap.h (coff_swap_aux_in): ditto | |
2948 | * peicode.h (coff_swap_sym_in): Build the implied zero-length | |
2949 | sections | |
6a9d5c9a | 2950 | |
5c746d90 JL |
2951 | Tue May 11 15:51:58 1999 Jeffrey A Law (law@cygnus.com) |
2952 | ||
2953 | * elf32-v850.c (v850_elf_howto_table): Make partial_inplace false | |
2954 | for all relocations. | |
2955 | ||
ba1b9317 CM |
2956 | 1999-05-10 Catherine Moore <clm@cygnus.com> |
2957 | ||
27ac83bf RH |
2958 | * bfd-in.h (bfd_arm_allocate_interworking_sections): Static |
2959 | if COFF_IMAGE_WITH_PE. | |
2960 | (bfd_arm_process_before_allocation): Likewise. | |
2961 | (bfd_arm_get_bfd_for_interworking): Likewise. | |
2962 | * coff-arm.c: Likewise. | |
2963 | * bfd-in2.h: Regenerate. | |
2964 | * configure.in (armpe_little_vec): Remove coff-arm.lo. | |
2965 | (armpe_big_vec): Likewise. | |
2966 | * configure: Rebuild. | |
ba1b9317 | 2967 | |
c1f6bc03 NC |
2968 | 1999-05-10 Nick Clifton <nickc@cygnus.com> |
2969 | ||
2970 | * elf.c (elf_fake_sections): Check for .rel. as start of rel | |
2971 | section, not just .rel. Same for .rela. | |
2972 | ||
b23f908b NC |
2973 | 1999-05-07 Nick Clifton <nickc@cygnus.com> |
2974 | ||
2975 | * coff-mcore.c (coff_mcore_relocate_section): Replace assert about | |
2976 | endianism with an error message. | |
2977 | ||
7fafc0fd RH |
2978 | Thu May 6 17:09:09 1999 Fred Fish <fnf@be.com> |
2979 | ||
2980 | * dwarf2.c (read_abbrevs): Change cast of dwarf_abbrev_buffer | |
2981 | assignment from "unsigned char *" to "char *". | |
2982 | (decode_line_info): Likewise for dwarf_line_buffer assignment. | |
2983 | ||
b44267fd CM |
2984 | 1999-05-05 Catherine Moore <clm@cygnus.com> |
2985 | ||
27ac83bf RH |
2986 | * coff-arm.c (coff_arm_relocate_section): Add one to |
2987 | address of ARM_RVA32 thumb functions. | |
6a9d5c9a | 2988 | |
b44267fd | 2989 | 1999-05-05 Catherine Moore <clm@cygnus.com> |
6a9d5c9a | 2990 | |
27ac83bf RH |
2991 | * elf32-m68k.c (elf32_m68k_set_private_flags): New. |
2992 | (elf32_m68k_copy_private_bfd_data): New. | |
2993 | (elf32_m68k_merge_private_bfd_data): New. | |
2994 | (elf32_m68k_print_private_bfd_data): New. | |
2995 | (CPU32_FLAG): Define. | |
2996 | (PLT_CPU32_ENTRY_SIZE): Define. | |
2997 | (elf_cpu32_plt0_entry): Declare. | |
2998 | (elf_cpu32_plt_entry): Declare. | |
2999 | (elf_m68k_adjust_dynamic_symbol): Generate cpu32 plt entries. | |
3000 | (elf_m68k_finish_dynamic_symbol): Likewise. | |
3001 | (elf_m68k_finish_dynamic_sections): Likewise. | |
3002 | (elf_backend_plt_header_size): Remove definition. | |
3003 | (bfd_elf32_bfd_copy_private_bfd_data): Define. | |
3004 | (bfd_elf32_bfd_merge_private_bfd_data): Define. | |
3005 | (bfd_elf32_bfd_set_private_flags): Define. | |
3006 | (bfd_elf32_bfd_print_private_bfd_data): Define. | |
6a9d5c9a | 3007 | |
ac79f2f3 JL |
3008 | Mon May 3 09:24:49 1999 Jeffrey A Law (law@cygnus.com) |
3009 | ||
3010 | * som.c (som_fixup_formats): Fix comments for R_SHORT_PCREL_MODE | |
3011 | and R_LONG_PCREL_MODE. | |
3012 | ||
252b5132 RH |
3013 | 1999-04-29 Nick Clifton <nickc@cygnus.com> |
3014 | ||
3015 | * coff-mcore.c (coff_mcore_relocate_section): Fix typos. | |
3016 | ||
3017 | Fri Apr 28 16:36:19 1999 Stan Cox <scox@cygnus.com> | |
3018 | ||
3019 | * elf32-sh.c (sh_elf_relocate_section): Include relocation addend | |
3020 | in relocation calculation. | |
3021 | ||
3022 | 1999-04-26 Tom Tromey <tromey@cygnus.com> | |
3023 | ||
3024 | * aclocal.m4, configure: Updated for new version of libtool. | |
3025 | ||
3026 | 1999-04-21 Nick Clifton <nickc@cygnus.com> | |
3027 | ||
3028 | * coff-mcore.c: Add support for mcore relocs. | |
3029 | ||
3030 | 1999-04-20 Gavin Romig-Koch <gavin@cygnus.com> | |
3031 | ||
3032 | * elf32-mips.c (_bfd_mips_elf_print_private_bfd_data): Scrap the | |
3033 | incorrect use EF_MIPS_xxBITPTRS. | |
3034 | ||
3035 | 1999-04-18 Ian Lance Taylor <ian@zembu.com> | |
3036 | ||
3037 | * elf64-alpha.c (elf64_alpha_relax_section): Remove unused local | |
3038 | variable insn. | |
3039 | ||
3040 | * bfd-in2.h: Rebuild. | |
3041 | * libbfd.h: Rebuild. | |
3042 | ||
3043 | Sat Apr 17 20:55:15 1999 Catherine Moore <clm@cygnus.com> | |
6a9d5c9a | 3044 | |
252b5132 RH |
3045 | * coff-arm.c (coff_arm_rtype_to_howto): Remove ARM26D transform. |
3046 | (coff_arm_relocate_section): Add ARM26D transform. Only | |
3047 | change to ARM26D for relocateable links. | |
3048 | ||
3049 | 1999-04-16 Gavin Romig-Koch <gavin@cygnus.com> | |
3050 | ||
3051 | * elf32-mips.c (_bfd_mips_elf_print_private_bfd_data): New. | |
3052 | (bfd_elf32_bfd_print_private_bfd_data): New. | |
3053 | ||
3054 | 1999-04-15 Doug Evans <devans@casey.cygnus.com> | |
3055 | ||
3056 | * elf32-arm.h (elf32_arm_final_link_relocate): For R_ARM_THM_ABS5, | |
3057 | refetch addend if USE_REL, add many comments regarding current state. | |
3058 | For R_ARM_THM_PC22, refetch addend if USE_REL, simplify. | |
3059 | * elfarm-nabi.c (elf32_arm_howto_table): For R_ARM_THM_ABS5, fix | |
3060 | size and rightshift. For R_ARM_THM_PC22, fix bitsize. | |
3061 | * elfarm-oabi.c (elf32_arm_howto_table): Ditto. | |
3062 | ||
3063 | Wed Apr 14 14:33:08 1999 Richard Henderson <rth@cygnus.com> | |
3064 | ||
3065 | * elf32-mips.c (_bfd_mips_elf_read_ecoff_info): Zero `debug'. | |
3066 | * elf64-alpha.c (elf64_alpha_read_ecoff_info): Likewise. | |
3067 | ||
3068 | 1999-04-13 David Mosberger <davidm@hpl.hp.com> | |
3069 | ||
3070 | * dwarf2.c (decode_line_info): Don't truncate address to least | |
3071 | significant 32 bits (breaks 64 bit targets). | |
3072 | (lookup_address_in_function_table): Ditto. | |
3073 | (comp_unit_contains_address): Ditto. | |
3074 | ||
3075 | Tue Apr 13 21:27:19 1999 Catherine Moore <clm@cygnus.com> | |
3076 | ||
3077 | * coff-arm.c (arm_emit_base_file_entry): New routine. | |
3078 | (A2T3_OFFSET): Define. | |
3079 | (T2A3_OFFSET): Define. | |
3080 | (coff_arm_relocate_section): Emit base file entries for interworking | |
3081 | stubs. | |
3082 | ||
3083 | 1999-04-13 Philip Blundell <philb@gnu.org> | |
3084 | ||
3085 | * elfarm-nabi.c (elf32_arm_howto_table): Add dummy entries for | |
3086 | relocs 17 through 19. | |
3087 | ||
3088 | Sun Apr 11 01:25:17 1999 Richard Henderson <rth@cygnus.com> | |
3089 | ||
3090 | * elfcode.h: Remove fnmatch.h. | |
3091 | * elflink.h (elf_link_assign_sym_version): Call back to ld | |
3092 | instead of calling fnmatch. | |
3093 | ||
3094 | * config.bfd (i?86-*-beoself): Include pe vecs. | |
3095 | ||
3096 | Sun Apr 11 01:14:06 1999 Richard Henderson <rth@cygnus.com> | |
3097 | ||
3098 | * elf32-i386.c (elf_i386_finish_dynamic_sections): Allow .plt | |
3099 | to go missing. | |
3100 | ||
3101 | 1999-04-10 Richard Henderson <rth@cygnus.com> | |
3102 | ||
3103 | * elf32-i386.c (elf_i386_relocate_section): Mind no_undefined | |
3104 | when trying to resolve dynamic symbol references. | |
3105 | * elf32-m68k.c (elf_m68k_relocate_section): Likewise. | |
3106 | * elf32-mips.c (mips_elf_relocate_section): Likewise. | |
3107 | * elf32-ppc.c (ppc_elf_relocate_section): Likewise. | |
3108 | * elf32-sparc.c (elf32_sparc_relocate_section): Likewise. | |
3109 | * elf64-alpha.c (elf64_alpha_relocate_section): Likewise. | |
3110 | * elf64-sparc.c (sparc64_elf_relocate_section): Likewise. | |
3111 | * elflink.h (elf_link_output_extsym): Likewise. | |
3112 | ||
3113 | Sat Apr 10 15:12:09 1999 Richard Henderson <rth@cygnus.com> | |
3114 | ||
3115 | * section.c (_bfd_strip_section_from_output): New function moved from | |
3116 | * elf64-alpha.c (elf64_alpha_strip_section_from_output): ... here. | |
3117 | * elf32-i386.c (elf_i386_size_dynamic_sections): Use it. | |
3118 | * elf32-m68k.c (elf_m68k_size_dynamic_sections): Likewise. | |
3119 | * elf32-mips.c (mips_elf_size_dynamic_sections): Likewise. | |
3120 | * elf32-ppc.c (ppc_elf_size_dynamic_sections): Likewise. | |
3121 | * elf32-sparc.c (elf32_sparc_size_dynamic_sections): Likewise. | |
3122 | * elf64-sparc.c (sparc64_elf_size_dynamic_sections): Likewise. | |
3123 | * bfd-in2.h: Update. | |
3124 | ||
3125 | 1999-04-09 Ian Lance Taylor <ian@zembu.com> | |
3126 | ||
3127 | * elf64-sparc.c: Fix incorrect calls to bfd_check_overflow. | |
3128 | ||
3129 | 1999-04-08 Nick Clifton <nickc@cygnus.com> | |
3130 | ||
3131 | * coff-mcore.c: New File: Support for mcore-pe targets. | |
3132 | * cpu-mcore.c: New File: Support for mcore targets. | |
3133 | * elf32-mcore.c: New File: Support for mcore-elf target. | |
3134 | * pe-mcore.c: New File: Definitions for mcore-pe target. | |
3135 | * pei-mcore.c: New File: Definitions for mcore-pei target. | |
3136 | * Makefile.am: Add support for MCore targets. | |
3137 | * Makefile.in: Regenerate. | |
3138 | * config.bfd: Add support for MCore targets. | |
3139 | * configure.in: Add support for MCore targets. | |
3140 | * configure: Regenerate. | |
3141 | * archures.c: Add support for MCore architecture. | |
6a9d5c9a | 3142 | * bfd-in2.h: Regenerate. |
252b5132 RH |
3143 | * coffcode.h: Add support for mcore-pe targets. |
3144 | * elf.c: Add support for mcore-elf target. | |
3145 | * reloc.c: Add support for MCore relocs. | |
3146 | * targets.c: Add support for MCore targets. | |
3147 | ||
3148 | 1999-04-07 Nick Clifton <nickc@cygnus.com> | |
3149 | ||
3150 | * elfarm-nabi.c (elf32_arm_howto_table): Add entries for | |
3151 | R_ARM_XPC25 and R_ARM_THM_XPC22. | |
3152 | (elf32_arm_reloc_map): Remove redundant entries. | |
3153 | ||
3154 | 1999-04-06 Ian Lance Taylor <ian@zembu.com> | |
3155 | ||
3156 | * sysdep.h (LC_MESSAGES): Never define. | |
3157 | ||
3158 | 1999-04-06 Chris Torek <torek@bsdi.com> | |
3159 | ||
3160 | * reloc.c (bfd_check_overflow): Add addrsize parameter. Change | |
3161 | all callers. Rewrite completely. | |
3162 | (_bfd_relocate_contents): Rewrite overflow checking. | |
3163 | * bfd-in2.h: Rebuild. | |
3164 | ||
3165 | 1999-04-05 Ian Lance Taylor <ian@zembu.com> | |
3166 | ||
3167 | From Gabriel Paubert <paubert@iram.es>: | |
3168 | * elf32-ppc.c (ppc_elf_howto_raw): Set R_PPC_GOT16_LO, | |
3169 | R_PPC_PLT16_LO and R_PPC_SECTOFF_LO to be complain_overflow_dont. | |
3170 | Set R_PPC_PLT16_HA, R_PPC_SECTOFF_HA and R_PPC_EMB_NADDR16_HA to | |
3171 | have a rightshift of 16 and use ppc_elf_addr16_ha_reloc. | |
3172 | * ppcboot.c (ppcboot_vec): Use little endian routines for | |
3173 | headers. | |
3174 | ||
3175 | * elf.c (elfcore_strndup): Only define if it will be used. | |
3176 | * elf32-ppc.c (ppc_elf_relax_section): Remove unused locals irel | |
3177 | and irelend. | |
3178 | (ppc_elf_check_relocs): Remove unused local i. | |
3179 | (ppc_elf_gc_mark_hook): Add default case to switch. | |
3180 | ||
3181 | From Bernd Nitzler <nitzler@kagcpd01.ag01.kodak.COM>: | |
3182 | * srec.c (srec_scan): Accept \r in symbol definitions. | |
3183 | (srec_object_p): Set HAS_SYMS if we saw any symbols. | |
3184 | (symbolsrec_object_p): Likewise. | |
3185 | ||
3186 | 1999-04-04 Don Bowman <don@pixsci.com> | |
3187 | ||
3188 | * config.bfd: Add mips*el-*-vxworks* and mips*-*-vxworks*. | |
3189 | ||
3190 | 1999-04-04 Ian Lance Taylor <ian@zembu.com> | |
3191 | ||
3192 | * dwarf1.c (parse_line_table): Remove unused locals last_pc and | |
3193 | last_line. | |
3194 | * elf-bfd.h (_bfd_elfcore_section_from_phdr): Declare. | |
3195 | * elf32-i386.c (elf_i386_gc_mark_hook): Add default case to | |
3196 | switch. | |
3197 | * elflink.h (NAME(bfd_elf,size_dynamic_sections)): Remove unused | |
3198 | local i. | |
3199 | * syms.c (_bfd_stab_section_find_nearest_line): Remove unused | |
3200 | local val. | |
3201 | ||
3202 | 1999-03-31 Nick Clifton <nickc@cygnus.com> | |
3203 | ||
3204 | * config.bfd: Add support for arm-epoc-pe target. | |
3205 | * configure.in: Add support for arm-epoc-pe target. | |
3206 | * configure: Regenerate. | |
3207 | * targets.c: Add support for arm-epoc-pe target. | |
3208 | * coff-arm.c: Allow header files to override definition of | |
3209 | TARGET_UNDERSCORE and USER_LABEL_PREFIX. | |
3210 | * pe-arm.h: Allow previous header files to override definition of | |
3211 | TARGET_LITTLE_SYM and TARGET_BIG_SYM. | |
6a9d5c9a | 3212 | * pei-arm.h: Allow previous header files to override definition of |
252b5132 RH |
3213 | TARGET_LITTLE_SYM and TARGET_BIG_SYM. |
3214 | * epoc-pe-arm.c: New file. Support arm-epoc-pe target. | |
3215 | * epoc-pei-arm.c: New file. Support arm-epoc-pei target. | |
6a9d5c9a | 3216 | |
252b5132 RH |
3217 | 1999-03-30 Nick Clifton <nickc@cygnus.com> |
3218 | ||
3219 | * elf.c (elf_map_symbols): Handle the case where section | |
3220 | symbols are generated for content-less sections which are | |
3221 | not mapped to the output file. | |
3222 | ||
3223 | * linker.c: Replace direct references to fields in BFD structure | |
3224 | with accessor macros. | |
3225 | ||
3226 | * elflink.h: Replace direct references to fields in BFD structure | |
3227 | with accessor macros. | |
3228 | ||
3229 | 1999-03-25 Philip Blundell <pb@nexus.co.uk> | |
3230 | ||
3231 | * config.bfd: Eliminate redundancy in checks for Linux/ARM. | |
6a9d5c9a UD |
3232 | |
3233 | * elf32-arm.h (elf32_arm_relocate_section): Take the rightshift into | |
252b5132 RH |
3234 | account when adjusting section symbols during a partial link. |
3235 | ||
3236 | 1999-03-24 Nick Clifton <nickc@cygnus.com> | |
3237 | ||
3238 | * coff-sparc.c (struct coff_reloc_map): Change type of field | |
3239 | 'bfd_reloc_val' to bfd_reloc_code_real_type. | |
3240 | * elf-m10200.c (struct mn10200_reloc_map): Ditto. | |
3241 | * elf-m10300.c (struct mn10300_reloc_map): Ditto. | |
3242 | * elf32-arc.c (struct arc_reloc_map): Ditto. | |
3243 | * elf32-d10v.c (struct d10v_reloc_map): Ditto. | |
3244 | * elf32-d30v.c (struct d30v_reloc_map): Ditto. | |
3245 | * elf32-fr30.c (struct fr30_reloc_map): Ditto. | |
3246 | * elf32-m32r.c (struct m32r_reloc_map): Ditto. | |
3247 | * elf32-sh.c (struct elf_reloc_map): Ditto. | |
3248 | * elf32-sparc.c (struct elf_reloc_map): Ditto. | |
3249 | * elf32-v850.c (struct v850_reloc_map): Ditto. | |
3250 | * elf64-sparc.c (struct elf_reloc_map): Ditto. | |
3251 | * elfarm-nabi.c (struct elf32_arm_reloc_map): Ditto. | |
3252 | * elfarm-oabi.c (struct elf32_arm_reloc_map): Ditto. | |
3253 | ||
3254 | 1999-03-17 Martin Hunt <hunt@cygnus.com> | |
3255 | ||
3256 | * syms.c (_bfd_stab_section_find_nearest_line): Changed this | |
3257 | function so source-level assembly works. If multiple N_SOs | |
3258 | are seen without and N_FUNs, create an indextable entry with | |
3259 | a NULL function name. | |
3260 | ||
3261 | 1999-03-16 Gavin Romig-Koch <gavin@cygnus.com> | |
3262 | ||
3263 | * elf32-mips.c (_bfd_mips_elf_merge_private_bfd_data) Allow merging | |
3264 | of certian similar cpus. | |
3265 | ||
3266 | 1999-03-16 Gavin Romig-Koch <gavin@cygnus.com> | |
3267 | ||
3268 | * elf32-mips.c (_bfd_mips_elf_final_write_processing): | |
3269 | Add the 5000. Change the architecture for the 5400 to mips4. | |
3270 | (elf_mips_mach): Add r5000. | |
3271 | ||
3272 | 1999-03-11 Doug Evans <devans@casey.cygnus.com> | |
3273 | ||
3274 | * cpu-i960.c (scan_i960_mach): Recognize i960:ka_sa and i960:kb_sb. | |
3275 | ||
3276 | 1999-03-11 Nick Clifton <nickc@cygnus.com> | |
3277 | ||
3278 | * binary.c (binary_set_section_contents): Generate warning about | |
3279 | huge file offsets for any section that will occupy file space, not | |
3280 | just those that are loadable. | |
3281 | ||
3282 | 1999-02-24 Jim Blandy <jimb@zwingli.cygnus.com> | |
3283 | ||
3284 | * libbfd.h: Regenerate after Nick Clifton's Feb 17 changes. | |
3285 | ||
3286 | 1999-02-22 Jim Lemke <jlemke@cygnus.com> | |
3287 | ||
3288 | * elf32-ppc.c: Add ppc_elf_relax_section() for the ld option mpc860c0. | |
3289 | ||
3290 | Mon Feb 22 18:26:51 1999 Ian Lance Taylor <ian@cygnus.com> | |
3291 | ||
3292 | * elf-bfd.h (ELF_LINK_HASH_REF_REGULAR_NONWEAK): Define. | |
3293 | * elflink.h: Revert all changes since Feb 16. Instead: | |
3294 | (elf_link_add_object_symbols): Set REF_REGULAR_NONWEAK flag if | |
3295 | appropriate. Copy it to version symbols. | |
3296 | (elf_fix_symbol_flags): Set REF_REGULAR_NONWEAK for non ELF | |
3297 | symbols if appropriate. | |
3298 | (elf_adjust_dynamic_symbol): Set REF_REGULAR_NONWEAK for weakdef | |
3299 | symbol if appropriate. | |
3300 | (elf_link_output_extsym): If symbol is marked as undefined, and | |
3301 | has no nonweak references, mark it as weak undefined. | |
3302 | ||
3303 | Fri Feb 19 16:01:12 1999 Ian Lance Taylor <ian@cygnus.com> | |
3304 | ||
3305 | * elflink.h (elf_merge_symbol): When overriding a dynamic | |
3306 | definition with a weak undefined symbol, set NEEDS_PLT if it is a | |
3307 | function. | |
3308 | (elf_link_add_object_symbols): Don't copy the other field if we | |
3309 | are overridding. | |
3310 | ||
3311 | Thu Feb 18 18:07:43 1999 Ian Lance Taylor <ian@cygnus.com> | |
3312 | ||
3313 | * elflink.h (elf_merge_symbol): Do not merge any symbol from a | |
3314 | shared object with a weak undefined symbol. | |
3315 | ||
3316 | 1999-02-18 Nick Clifton <nickc@cygnus.com> | |
3317 | ||
3318 | * elfarm-nabi.c: Set partial_inplace back to false. | |
3319 | ||
3320 | 1999-02-17 Nick Clifton <nickc@cygnus.com> | |
3321 | ||
3322 | * coff-arm.c (TARGET_UNDERSCORE): Re-enable. | |
3323 | (USER_LABEL_PREFIX): Set to "_". | |
3324 | ||
3325 | The following patches are from: Scott Bambrough | |
3326 | <scottb@corelcomputer.com> | |
6a9d5c9a | 3327 | |
252b5132 RH |
3328 | * libaout.h (M_ARM6_NETBSD): Set to 143. |
3329 | ||
3330 | * reloc.c: Add ARM PIC relocs: BFD_RELOC_ARM_GOT12, | |
3331 | BFD_RELOC_ARM_GOT32, BFD_RELOC_ARM_JUMP_SLOT, BFD_RELOC_ARM_COPY, | |
3332 | BFD_RELOC_ARM_GLOB_DAT, BFD_RELOC_ARM_PLT32, | |
3333 | BFD_RELOC_ARM_RELATIVE, BFD_RELOC_ARM_GOTOFF, BFD_RELOC_ARM_GOTPC. | |
3334 | * bfd-in2.h: Regenerate. | |
3335 | ||
3336 | * elfarm-nabi.c (elf32_arm_howto_table): Set partial_inplace to | |
3337 | 'true' as REL relocs are now being used. Add new PIC relocs: | |
3338 | R_ARM_COPY, R_ARM_GLOB_DAT, R_ARM_JUMP_SLOT, R_ARM_RELATIVE, | |
3339 | R_ARM_GOTOFF, R_ARM_GOTPC, R_ARM_GOT32, R_ARM_PLT32. | |
3340 | ||
3341 | * elf32-arm.h (elf32_arm_merge_private_bfd_data): Check byte order | |
3342 | of targets. | |
3343 | (elf32_arm_final_link_relocate): Change parameters so that entire | |
3344 | reloc is passed. Add support for PIC relocs. | |
3345 | (elf32_arm_relocate_section): Pass entire reloc to | |
6a9d5c9a | 3346 | elf32_arm_final_link_relocate. |
252b5132 RH |
3347 | (elf32_arm_check_relocs): Handle new PIC relocs. |
3348 | (elf32_arm_adjust_dynamic_symbol): New function. | |
3349 | (elf32_arm_size_dynamic_sections): New function. | |
3350 | (elf32_arm_discard_copies): New function. | |
3351 | (elf32_arm_finish_dynamic_symbol): New function. | |
3352 | (elf32_arm_finish_dynamic_sections): New function. | |
3353 | (ELF_MAXPAGE_SIZE): Define. | |
3354 | (bfd_elf32_bfd_reloc_type_lookup): Define. | |
3355 | (elf_backend_relocate_section): Define. | |
3356 | (elf_backend_adjust_dynamic_symbol): Define. | |
3357 | (elf_backend_create_dynamic_sections): Define. | |
3358 | (elf_backend_finish_dynamic_symbol): Define. | |
3359 | (elf_backend_finish_dynamic_sections): Define. | |
3360 | (elf_backend_size_dynamic_sections): Define. | |
3361 | (elf_backend_plt_readonly): Define. | |
3362 | (elf_backend_want_got_plt): Define. | |
3363 | (elf_backend_want_plt_sym): Define. | |
6a9d5c9a | 3364 | |
252b5132 RH |
3365 | Wed Feb 17 12:02:26 1999 Stan Cox <scox@cygnus.com> |
3366 | ||
3367 | * elf32-mips.c (_bfd_mips_elf_section_from_shdr): Make reginfo | |
3368 | sections SEC_LINK_ONCE and SEC_LINK_DUPLICATES_SAME_SIZE. | |
3369 | (_bfd_mips_elf_fake_sections): Likewise. | |
3370 | ||
3371 | Wed Feb 17 12:07:23 1999 Andreas Schwab <schwab@issan.cs.uni-dortmund.de> | |
6a9d5c9a | 3372 | |
27ac83bf RH |
3373 | * elfarm-oabi.c (bfd_elf32_arm_allocate_interworking_sections, |
3374 | bfd_elf32_arm_get_bfd_for_interworking, | |
3375 | bfd_elf32_arm_process_before_allocation): Define to avoid clash | |
3376 | with elfarm-nabi.c. | |
6a9d5c9a | 3377 | |
27ac83bf RH |
3378 | * elf32-arm.h: Don't declare elf32_arm_info_to_howto. |
3379 | (elf32_thumb_to_arm_stub, elf32_arm_to_thumb_stub, | |
3380 | elf32_arm_find_nearest_line): Make them static. | |
252b5132 RH |
3381 | |
3382 | Tue Feb 16 22:44:37 1999 Ian Lance Taylor <ian@cygnus.com> | |
3383 | ||
3384 | * elflink.h (elf_merge_symbol): Add pflags parameter. Change all | |
3385 | callers. Do not merge a definition from a shared object with a | |
3386 | weak undefined symbol. | |
3387 | (elf_link_add_object_symbols): Do not change the symbol type or | |
3388 | size if the old symbol overrides the new one. | |
3389 | ||
3390 | 1999-02-08 Nick Clifton <nickc@cygnus.com> | |
3391 | ||
3392 | * config.bfd: Add support for strongarm target. | |
3393 | ||
3394 | Mon Feb 8 11:18:14 1999 Andreas Schwab <schwab@issan.cs.uni-dortmund.de> | |
3395 | ||
3396 | * elf32-m68k.c (reloc_map): Use the correct types for the struct | |
3397 | fields instead of unsigned char. | |
3398 | ||
3399 | Fri Feb 5 00:22:36 1999 Ian Lance Taylor <ian@cygnus.com> | |
3400 | ||
3401 | * Makefile.am: Rebuild dependencies. | |
3402 | * Makefile.in: Rebuild. | |
3403 | ||
3404 | Thu Feb 4 22:30:13 1999 Ian Lance Taylor <ian@cygnus.com> | |
3405 | ||
3406 | * configure.in: Change AC_PREREQ to 2.13. Remove AM_CYGWIN32. | |
3407 | Change AM_EXEEXT to AC_EXEEXT and AM_PROG_INSTALL to | |
3408 | AC_PROG_INSTALL. Add comments to uses of AC_DEFINE. | |
3409 | * acinclude.m4: Add comments to uses of AC_DEFINE. | |
3410 | * acconfig.h: Remove. | |
3411 | * configure: Rebuild with current autoconf/automake. | |
3412 | * aclocal.m4: Likewise. | |
3413 | * config.in: Likewise. | |
3414 | * Makefile.in: Likewise. | |
3415 | ||
3416 | 1999-02-04 DJ Delorie <dj@cygnus.com> | |
3417 | ||
3418 | * libbfd.c (real_read): don't call fread for zero bytes. This | |
3419 | covers up a bug (or misuse of bfd) that's exposed by Solaris. | |
3420 | ||
3421 | Thu Feb 4 12:38:10 1999 Stan Cox <scox@cygnus.com> | |
3422 | ||
3423 | * elf32-mips.c (mips_elf_relocate_section): Insure that the target | |
3424 | of a jump is in the current 256 MB region. | |
3425 | ||
3426 | Thu Feb 4 12:15:38 1999 Ian Lance Taylor <ian@cygnus.com> | |
3427 | ||
3428 | * format.c (bfd_check_format_matches): Change last patch to only | |
3429 | take effect for the binary target. | |
3430 | ||
3431 | Wed Feb 3 19:40:12 1999 Ian Lance Taylor <ian@cygnus.com> | |
3432 | ||
3433 | * elf32-i386.c (elf_i386_reloc_type_lookup): Add BFD_RELOC_CTOR. | |
3434 | ||
3435 | Wed Feb 3 15:02:44 1999 Catherine Moore <clm@cygnus.com> | |
3436 | ||
3437 | * elf32-fr30.c (fr30_elf_check_relocs): New routine. | |
3438 | ||
3439 | Tue Feb 2 21:38:28 1999 Ian Lance Taylor <ian@cygnus.com> | |
3440 | ||
3441 | * format.c (bfd_check_format_matches): If the target was | |
3442 | previously specified, don't check other targets when checking for | |
3443 | an archive file. | |
3444 | ||
3445 | Tue Feb 2 18:16:43 1999 Catherine Moore <clm@cygnus.com> | |
3446 | ||
27ac83bf RH |
3447 | * elf32-arm.h (elf32_arm_reloc_map): Removed. |
3448 | (elf32_arm_reloc_type_lookup): Removed | |
3449 | * elfarm-nabi.c (elf32_arm_reloc_map): New. | |
3450 | (elf32_arm_reloc_type_lookup): New. | |
3451 | * elfarm-oabi.c (elf32_arm_reloc_map): New. | |
3452 | (elf32_arm_reloc_type_lookup): New. | |
252b5132 RH |
3453 | |
3454 | Mon Feb 1 19:49:21 1999 Catherine Moore <clm@cygnus.com> | |
3455 | ||
27ac83bf RH |
3456 | * elfarm-nabi.c: Renamed from elf32-arm-newabi.c. |
3457 | * elfarm-oabi.c: Renamed from elf32-arm-oldabi.c | |
3458 | * Makefile.am: Use new files. | |
3459 | * Makefile.in: Regenerate. | |
3460 | * configure.in: Use new files. | |
3461 | * configure: Regenerate. | |
252b5132 RH |
3462 | |
3463 | 1999-02-01 Nick Clifton <nickc@cygnus.com> | |
3464 | ||
3465 | * elf32-fr30.c (fr30_elf_gc_mark_hook): New function. | |
3466 | (fr30_elf_gc_sweep_hook): New function. | |
3467 | (elf_backend_can_gc_sections): Define. | |
3468 | ||
3469 | Mon Feb 1 12:21:47 1999 Catherine Moore <clm@cygnus.com> | |
3470 | ||
27ac83bf RH |
3471 | * targets.c (bfd_target_vector): Add bfd_elf32_littlearm_oabi_vec |
3472 | and bfd_elf32_bigarm_oabi_vec. | |
252b5132 RH |
3473 | |
3474 | Mon Feb 1 11:46:31 1999 Catherine Moore <clm@cygnus.com> | |
3475 | ||
27ac83bf RH |
3476 | * Makefile.am (elf32-arm-oldabi.lo): New. |
3477 | (elf32-arm-newabi.lo): New. | |
3478 | * Makefile.in: Regenerate. | |
3479 | * config.bfd (thumb-*-elf): Remove definition of targ_underscore. | |
3480 | (arm-*-elf): Likewise. | |
3481 | (arm-*-oabi): New. | |
3482 | (thumb-*-oabi): New. | |
3483 | * configure: Regenerate. | |
3484 | * configure.in (bfd_elf32_littlearm_oabi_vec): New. | |
3485 | (bfd_elf32_bigarm_oabi_vec): New. | |
3486 | * elf32-arm-newabi.c: New. | |
3487 | * elf32-arm-oldabi.c: New. | |
3488 | * elf32-arm.c: Removed. | |
3489 | * elf32-arm.h: New. | |
252b5132 RH |
3490 | |
3491 | Mon Feb 1 11:52:12 1999 Frank Ch. Eigler <fche@cygnus.com> | |
3492 | ||
3493 | * binary.c (binary_set_section_contents): Omit warnings for | |
3494 | unloadable sections. | |
3495 | ||
3496 | 1999-01-31 Michael Meissner <meissner@cygnus.com> | |
3497 | ||
3498 | * config.bfd (powerpc{,le}-*-vxworks*): Add aliases to | |
3499 | powerpc{,le}-*-eabi. | |
3500 | ||
3501 | 1999-01-29 Nick Clifton <nickc@cygnus.com> | |
3502 | ||
3503 | * dwarf2.c (read_unsigned_leb128): Remove unused variables. | |
3504 | * dwarf2.c (read_signed_leb128): Remove unused variables. | |
3505 | ||
3506 | Fri Jan 29 00:47:21 1999 H.J. Lu <hjl@gnu.org> | |
3507 | ||
3508 | * elf.c (assign_file_positions_for_segments): Only adjust | |
3509 | p_align when needed. | |
3510 | ||
3511 | Thu Jan 28 20:05:22 1999 Ian Lance Taylor <ian@cygnus.com> | |
3512 | ||
3513 | * binary.c (binary_set_section_contents): Don't return early for a | |
3514 | non-loadable section, in case the first section is non-loadable. | |
3515 | Don't set the low lma for a SEC_NEVER_LOAD section. From Maciej | |
3516 | W. Rozycki <macro@ds2.pg.gda.pl>. | |
3517 | ||
3518 | 1999-01-28 Nick Clifton <nickc@cygnus.com> | |
3519 | ||
3520 | * elf32-fr30.c (fr30_reloc_map): Add R_FR30_GNU_VTINHERIT and | |
3521 | R_FR30_GNU_VTENTRY relocs. | |
3522 | ||
3523 | Thu Jan 28 11:08:16 1999 Catherine Moore <clm@cygnus.com> | |
3524 | ||
3525 | * elflink.h (elf_link_output_sym): Zero syms which are | |
3526 | part of sections which have been excluded. | |
3527 | ||
3528 | Wed Jan 27 13:35:35 1999 Stan Cox <scox@cygnus.com> | |
3529 | ||
3530 | * coff-arm.c (_bfd_coff_arm_set_private_flags): Changed F_PIC | |
3531 | to F_PIC_INT. | |
3532 | * coffcode.h (coff_set_arch_mach_hook): Removed F_ARM_2a and | |
3533 | F_ARM_3M labels. Changed F_PIC to F_PIC_INT. | |
6a9d5c9a | 3534 | |
252b5132 RH |
3535 | 1999-01-27 Nick Clifton <nickc@cygnus.com> |
3536 | ||
3537 | * elf32-fr30.c (fr30_elf_howto_table): Fix name of R_FR30_48 | |
6a9d5c9a | 3538 | relocation. |
252b5132 | 3539 | (fr30_final_link_relocate): Use computed value as result of |
6a9d5c9a | 3540 | relocation. |
252b5132 RH |
3541 | |
3542 | 1999-01-26 Frank Ch. Eigler <fche@cygnus.com> | |
3543 | ||
3544 | * binary.c (binary_set_section_contents): Emit warning for | |
3545 | huge file offsets due to widely-dispersed section LMAs. | |
3546 | ||
3547 | Mon Jan 18 03:35:35 1999 Ian Lance Taylor <ian@cygnus.com> | |
3548 | ||
3549 | * elf.c (assign_file_positions_for_segments): If not D_PAGED, | |
3550 | align first section to largest section alignment, not first | |
3551 | section alignment. | |
3552 | ||
3553 | 1999-01-04 Jason Molenda (jsm@bugshack.cygnus.com) | |
3554 | ||
3555 | * configure.in: Require autoconf 2.12.1 or higher. | |
3556 | ||
3557 | Tue Dec 22 15:21:41 1998 Catherine Moore <clm@cygnus.com> | |
3558 | ||
27ac83bf RH |
3559 | * archures.c (bfd_mach_i386_i386_intel_syntax): Define. |
3560 | * bfd-in2.h: Likewise. | |
3561 | * cpu-i386.c (bfd_i386_arch_intel_syntax): New. | |
252b5132 RH |
3562 | |
3563 | 1998-12-16 Gavin Romig-Koch <gavin@cygnus.com> | |
3564 | ||
3565 | * archures.c,bfd-in2.h (bfd_mach_mips4111): New. | |
3566 | * cpu-mips.c: Add support for and independent 4111. | |
3567 | * elf32-mips.c (elf_mips_mach): E_MIPS_MACH_4111 -> bfd_mach_mips4111. | |
6a9d5c9a | 3568 | (_bfd_mips_elf_final_write_processing): |
252b5132 RH |
3569 | bfd_mach_mips4111 -> E_MIPS_ARCH_3 | E_MIPS_MACH_4111. |
3570 | ||
3571 | 1998-12-15 Gavin Romig-Koch <gavin@cygnus.com> | |
3572 | ||
3573 | * elf32-mips.c (elf_mips_abi_name): New. | |
3574 | (_bfd_mips_elf_merge_private_bfd_data): Compare EF_MIPS_ABI flags. | |
3575 | ||
3576 | 1998-12-12 Gavin Romig-Koch <gavin@cygnus.com> | |
3577 | ||
6a9d5c9a | 3578 | * elf32-mips.c (_bfd_mips_elf_final_write_processing): |
252b5132 RH |
3579 | Handle bfd_mach_mips4300. |
3580 | ||
3581 | 1998-12-11 Ulrich Drepper <drepper@cygnus.com> | |
3582 | ||
3583 | * elf32-i386.c: Remove leaked development code from patch | |
3584 | 1998-12-10 by Richard Henderson. | |
3585 | ||
3586 | 1998-12-10 Richard Henderson <rth@cygnus.com> | |
3587 | ||
3588 | * elf32-i386.c (elf_i386_relocate_section): Don't fail relocations | |
3589 | in debug sections for symbol defined externally. | |
3590 | ||
3591 | Thu Dec 10 10:58:38 1998 Andreas Schwab <schwab@issan.cs.uni-dortmund.de> | |
3592 | ||
3593 | * targets.c (bfd_target_vector): Remove duplicate entry for | |
3594 | tekhex_vec. | |
3595 | ||
3596 | 1998-12-09 Nick Clifton <nickc@cygnus.com> | |
3597 | ||
3598 | * elf32-fr30.c (fr30_elf_howto_table): Set src_mask fields to 0 | |
3599 | since we are using RELAs. | |
3600 | ||
3601 | Tue Dec 8 22:15:48 1998 Ian Lance Taylor <ian@cygnus.com> | |
3602 | ||
3603 | SCO Open Server Release 5 core file support, from Jouke Numan | |
3604 | <jnuman@hiscom.nl>: | |
3605 | * sco5-core.c: New file. | |
3606 | * configure.in (i[3456]86-*-sco3.2v5*): Use sco5-core.lo. | |
3607 | (sco5-core.lo): Define SCO5_CORE in COREFLAG. | |
3608 | * Makefile.am: Rebuild dependencies. | |
3609 | (OPTIONAL_BACKENDS): Add sco5-core.lo. | |
3610 | (OPTIONAL_BACKENDS_CFILES): Add sco5-core.c. | |
3611 | * bfd.c (struct _bfd): Add sco5_core_data field to tdata. | |
3612 | * targets.c (sco5_core_vec): Add to target list if SCO5_CORE. | |
3613 | * bfd-in2.h, configure, Makefile.in: Rebuild. | |
3614 | ||
3615 | Tue Dec 8 19:38:42 1998 Mark Klein <mklein@dis.com> | |
3616 | ||
3617 | * config.bfd (hppa*-*-mpeix*): New target. | |
3618 | * configure.in: Add AC_HEADER_DIRENT. | |
3619 | (hppa*-*-mpeix*): New target. | |
3620 | * configure.host (hppa*-*-mpeix*): New host. | |
3621 | * hpux-core.c: Check HOST_HPPAMPEIX. Use HAVE_DIRENT_H and | |
3622 | friends rather than just including <sys/dir.h>. | |
3623 | * som.h (struct som_symbol): Add hppa_priv_level and apto | |
3624 | tc_data. Change all users. | |
3625 | (struct somdata): Add comp_unit field. | |
3626 | (obj_som_compilation_unit): Define. | |
3627 | (bfd_som_attach_compilation_unix): Declare. | |
3628 | * som.c: Check HOST_HPPAMPEIX. | |
3629 | (struct som_misc_symbol_info): Add new field priv_level. | |
3630 | (som_object_setup): Add current_offset parameter. Change all | |
3631 | callers. | |
3632 | (setup_sections): Likewise. | |
3633 | (som_object_p): For EXECLIBMAGIC, read the lst header. | |
3634 | (som_write_symbol_strings): Add compilation_unit parameter. | |
3635 | Change all callers. | |
3636 | (som_finish_writing): Write out compilation_unit. | |
3637 | (som_bfd_derive_misc_symbol_info): Set priv_level. | |
3638 | (som_build_and_write_symbol_table): Set xleast field to 3. | |
3639 | (som_slurp_symbol_table): Set symbol priv_level. | |
3640 | (bfd_som_attach_compilation_unit): New function. | |
3641 | (som_bfd_ar_write_symbol_stuff): Set xleast field to 3. Set | |
3642 | priv_level into symbol_value. | |
3643 | * configure, config.in: Rebuild. | |
3644 | ||
3645 | Tue Dec 8 16:21:35 1998 Ian Lance Taylor <ian@cygnus.com> | |
3646 | ||
3647 | * hpux-core.c (hpux_core_core_file_p): Change call to nonexistent | |
3648 | warning function to call _bfd_error_handler instead. | |
3649 | ||
3650 | * libbfd.c (COERCE32): Cast through unsigned long and long to | |
3651 | avoid bug in old version of gcc. | |
3652 | ||
3653 | * elf64-alpha.c (elf64_alpha_additional_program_headers): Remove. | |
3654 | (elf_backend_additional_program_headers): Don't define. | |
3655 | ||
3656 | 1998-12-08 Nick Clifton <nickc@cygnus.com> | |
3657 | ||
3658 | * elf32-fr30.c (fr30_final_link_relocate): Fix PC relative | |
3659 | relocations to include offset of 2 included in the insns, and the | |
3660 | offset of the relocs within the section. | |
3661 | ||
3662 | Wed Dec 2 15:03:59 1998 David Taylor <taylor@texas.cygnus.com> | |
3663 | ||
3664 | The following changes were made by David Taylor | |
3665 | <taylor@texas.cygnus.com>, Edith Epstein | |
3666 | <eepstein@sophia.cygnus.com>, Jim Blandy | |
3667 | <jimb@zwingli.cygnus.com>, and Elena Zannoni | |
3668 | <ezannoni@kwikemart.cygnus.com> as part of the project to merge in | |
3669 | changes originally made by HP; HP did not create ChangeLog | |
3670 | entries. | |
3671 | ||
3672 | * aclocal.m4, configure, Makefile.in: Rebuilt using latest | |
3673 | automake macro library. | |
3674 | ||
3675 | * hpux-core.c (hpux_core_core_file_p): this function now | |
3676 | understands HPUX 10.30 thread info. Yes, the thread stacks can be | |
3677 | found in the corefile! Also, in hpux_core_core_file_p, if we | |
3678 | encounter a section with an unknown type, don't punt. Instead, | |
3679 | just skip it. Also, count the number of sections of known type | |
3680 | that we encounter. If we encounter at least one good one, then | |
3681 | we'll declare that the file is a core file. If we encounter any | |
3682 | unknown ones but some known ones, then we'll issue a warning (but | |
3683 | still declare it to be a core file). Also, correctly decide when a | |
3684 | file is not a core. | |
3685 | (PROC_INFO_HAS_THREAD_ID): define if CORE_ANON_SHMEM defined. | |
3686 | (CORE_ANON_SHMEM): define if not defined. | |
3687 | (hpux_core_struct): add members lwpid and user_tid. | |
3688 | (core_kernel_thread_id, core_user_thread_id): new macros. | |
3689 | (make_bfd_asection): use bfd_alloc to allocate room for a copy of | |
3690 | the name before storing it in the bfd. | |
3691 | (hpux_core_core_file_p): handle threads. | |
3692 | ||
3693 | * libhppa.h (GET_FIELD): protect against redefinition. | |
3694 | (HPPA_WIDE): define. | |
3695 | (GET_FIELD): define. | |
3696 | (GET_BIT): define. | |
3697 | (MASK): define. | |
3698 | (CATENATE): define. | |
3699 | (ELEVEN): define. | |
3700 | (sign_extend): redefine. | |
3701 | (assemble_6): define. | |
3702 | (assemble_12): rewrite. | |
3703 | (assemble_16): define. | |
3704 | (assemble_16a): define. | |
3705 | (assemble_17): rewrite. | |
3706 | (assemble_22): define. | |
3707 | ||
3708 | 1998-12-07 Nick Clifton <nickc@cygnus.com> | |
3709 | ||
3710 | * elf32-fr30.c (fr30_final_link_relocate): Using signed | |
3711 | relocations for signed values. | |
3712 | ||
3713 | Sun Dec 6 16:30:33 1998 Ian Lance Taylor <ian@cygnus.com> | |
3714 | ||
3715 | * mipsbsd.c (MY(set_arch_mach)): Make static. | |
3716 | * aoutx.h (NAME(aout,machine_type)): For bfd_arch_mips, use | |
3717 | bfd_mach_mips* macros rather than simple numbers. | |
3718 | ||
3719 | COFF weak symbol support, based on patches from Mark Elbrecht | |
3720 | <snowball3@usa.net>: | |
3721 | * coffcode.h (coff_slurp_symbol_table): Handle C_WEAKEXT. | |
3722 | * coffgen.c (coff_renumber_symbols): Handle weak symbols. | |
3723 | (coff_write_alien_symbol): Likewise. | |
3724 | * cofflink.c (coff_link_check_ar_symbols): Likewise. | |
3725 | (coff_link_add_symbols): Likewise. | |
3726 | (_bfd_coff_link_input_bfd): Likewise. | |
3727 | (_bfd_coff_write_global_sym): Likewise. | |
3728 | ||
3729 | * elf.c (copy_private_bfd_data): Always initialize the | |
3730 | includes_phdrs field. | |
3731 | ||
3732 | * elflink.h (elf_fix_symbol_flags): Check for case where a non-ELF | |
3733 | file defines a symbol first mentioned in an ELF file. | |
3734 | ||
3735 | * bfd-in.h: Always define BFD_HOST_64_BIT and BFD_HOST_U_64_BIT if | |
3736 | possible, rather than only if BFD64. | |
3737 | * elflink.h (compute_bucket_count): Just check BFD_HOST_U_64_BIT, | |
3738 | not __GNUC__. | |
3739 | * bfd-in2.h: Rebuild. | |
3740 | ||
3741 | * srec.c (srec_set_section_contents): Correct test to avoid | |
3742 | switching to 4 byte addresses after seeing a second section which | |
3743 | requires 3 byte addresses. From Joel Schantz | |
3744 | <joel.schantz@argosys.boeing.com>. | |
3745 | ||
3746 | * config.bfd (m68*-*-gnu*): New target. From Aymeric Vincent | |
3747 | <aymeric.vincent@emi.u-bordeaux.fr>. | |
3748 | ||
3749 | 1998-12-04 Jim Blandy <jimb@zwingli.cygnus.com> | |
3750 | ||
3751 | * elf32-ppc.c (ppc_elf_merge_private_bfd_data): Fix logic to | |
3752 | decide whether the output file is -mrelocatable-lib, | |
3753 | -mrelocatable, or neither. (gdb.base/nodebug.exp) | |
3754 | ||
3755 | 1998-12-03 Nick Clifton <nickc@cygnus.com> | |
3756 | ||
3757 | * elf32-fr30.c: Add support for R_FR30_48 reloc. | |
3758 | * reloc.c: Add BFD_RELOC_FR30_48 relocation. | |
3759 | * bfd-in2.h: Regenerate. | |
3760 | * libbfd.h: Regenerate | |
3761 | ||
3762 | Wed Dec 2 00:58:37 1998 Ian Lance Taylor <ian@cygnus.com> | |
3763 | ||
3764 | * elflink.h (elf_adjust_dynamic_symbol): Warn on an attempt to | |
3765 | link against a dynamic symbol with no type or size. | |
3766 | ||
3767 | 1998-12-01 Ulrich Drepper <drepper@cygnus.com> | |
3768 | ||
3769 | * elf32-i386.c (i386_check_relocs) [R_386_32]: Don't emit | |
3770 | relocation for section which does not get loaded. | |
3771 | (elf_i386_relocate_section) [R_386_32]: Likewise. | |
3772 | ||
3773 | Tue Dec 1 11:33:33 1998 Jim Wilson <wilson@cygnus.com> | |
3774 | ||
3775 | * coff-h8300.c (h8300_bfd_link_add_symbols): Make reloc_size, | |
3776 | reloc_count and i long instead of unsigned long. Handle error | |
3777 | return from bfd_canonicalize_reloc. | |
3778 | ||
3779 | 1998-12-01 Nick Clifton <nickc@cygnus.com> | |
3780 | ||
3781 | * elf32-v850.c (v850_elf_relocate_section): Detect the absence of | |
3782 | a hash table. | |
3783 | ||
3784 | Mon Nov 30 15:28:09 1998 J"orn Rennecke <amylaar@cygnus.co.uk> | |
3785 | ||
3786 | * elf32-sh.c (elf/sh.h): Include. | |
3787 | sh_reloc_type: Delete. Changed all references to elf_sh_reloc_type. | |
3788 | (sh_elf_howto_tab): Add HOWTO for R_SH_SWITCH8. | |
3789 | (sh_reloc_map): Map BFD_RELOC_8_PCREL to R_SH_SWITCH8. | |
3790 | (sh_elf_relax_delete_bytes): Handle R_SH_SWITCH8. | |
3791 | * Makefile.in: Add dependency of elf32-sh.lo on $(INCDIR)/elf/sh.h. | |
3792 | ||
3793 | Fri Nov 27 17:51:38 1998 Geoff Keating <geoffk@ozemail.com.au> | |
3794 | ||
3795 | * elflink.h (compute_bucket_count): Don't allow minsize==0, it | |
3796 | causes division by zero later on. | |
3797 | ||
3798 | Thu Nov 26 11:19:35 1998 Dave Brolley <brolley@cygnus.com> | |
3799 | ||
3800 | * elf32-fr30.c (fr30_elf_pc9_reloc,fr30_elf_pc12_reloc): Not | |
3801 | needed. | |
3802 | ||
3803 | 1998-11-25 DJ Delorie <dj@cygnus.com> | |
3804 | ||
3805 | * coff-i386.c (i3coff_object_p): Remove hack. Use new emulation | |
3806 | hook now. | |
3807 | ||
3808 | Tue Nov 24 10:25:27 1998 Nick Clifton <nickc@cygnus.com> | |
3809 | ||
3810 | * elf32-fr30.c (fr30_elf_relocate_section): Call | |
3811 | fr30_final_link_relocate. | |
3812 | (fr30_final_link_relocate): New function: Handle I20 and I32 | |
3813 | relocs. | |
3814 | (fr30_elf_i32_reloc): New function: Handle I32 relocs. | |
3815 | (fr30_elf_pc9_reloc): New function: Handle 9_PCREL relocs. | |
3816 | (fr30_elf_pc12_reloc): New function: Handle 12_PCREL relocs. | |
3817 | ||
3818 | * elf32-v850.c (v850_elf_relocate_section): Reset hi16s reloc | |
3819 | chain to empty. | |
3820 | ||
3821 | The following changes are based on a patch submitted by Gianluca | |
3822 | Moro <glctr@abc.it>: | |
3823 | ||
3824 | (v850_elf_perform_relocation): Only update a hi16s reloc if it has | |
3825 | not already been updated. | |
3826 | (find_remembered_hi16s_reloc): New parameter 'already_found' | |
3827 | returns state of remembered hi16s reloc. | |
3828 | (remember_hi16s_reloc): Set 'found' field to false. | |
3829 | (hi16s_location): Add 'found' field. | |
3830 | ||
3831 | 1998-11-23 DJ Delorie <dj@cygnus.com> | |
3832 | ||
3833 | * coff-i386.c (bfd_pe_dll_not_recognized_hack): the linker wants | |
3834 | to see .DLL files as unrecognized. | |
3835 | (i3coff_object_p): Sorry, had to hack it to not recognize these | |
3836 | files (pei-i386) on request. | |
3837 | ||
3838 | 1998-11-23 DJ Delorie <dj@cygnus.com> | |
3839 | ||
3840 | * opncls.c (bfd_make_readable): need more cleanup for symbols and | |
3841 | relents. Call bfd_check_format to reinitialize. | |
3842 | ||
3843 | Fri Nov 20 14:21:36 1998 Nick Clifton <nickc@cygnus.com> | |
3844 | ||
3845 | * elf32-fr30.c (fr30_elf_relocate_section): Remove spurious | |
3846 | warnings. | |
3847 | ||
3848 | Thu Nov 19 14:42:15 1998 Geoffrey Noer <noer@cygnus.com> | |
3849 | ||
3850 | * aclocal.m4: regenerate | |
3851 | * configure: regenerate | |
3852 | ||
3853 | Tue Nov 17 20:23:35 1998 Richard Henderson <rth@cygnus.com> | |
3854 | ||
3855 | * elf-bfd.h (struct elf_link_hash_entry): Add vtable_entries_size. | |
3856 | * elf.c (_bfd_elf_link_hash_newfunc): Clear it. | |
3857 | * elflink.h (elf_gc_propagate_vtable_entries_used): Copy it, and | |
3858 | respect it as an upper bound on what memory to reference. | |
3859 | (elf_gc_smash_unused_vtentry_relocs): Likewise. | |
3860 | (elf_gc_record_vtentry): Handle as-yet undefined vtables. Set and | |
3861 | update vtable_entries_size appropriately. | |
3862 | ||
3863 | Tue Nov 17 15:28:31 1998 Nick Clifton <nickc@cygnus.com> | |
3864 | ||
3865 | * elf32-fr30.c (fr30_reloc_type_lookup): Used integers to hold | |
3866 | reloc number. | |
3867 | ||
3868 | Mon Nov 16 22:19:21 1998 DJ Delorie <dj@cygnus.com> | |
3869 | ||
3870 | * archive.c (bfd_ar_hdr_from_filesystem): support BFD_IN_MEMORY | |
3871 | bfds; they have no "file" so we fake it. | |
3872 | * bfd-in2.h: add bfd_make_writable and bfd_make_readable (regen) | |
3873 | * libbfd.c (bfd_write): Allow writing to BFD_IN_MEMORY bfds by | |
3874 | resizing the memory buffer. | |
3875 | * opncls.c (bfd_make_writable): New function; lets you write a | |
3876 | bfd_create'd bfd to an in-memory buffer. | |
3877 | (bfd_make_readable): New function; lets you read back that buffer | |
3878 | as if it were from bfd_openr. Used to build generated archive | |
3879 | members (winsup's ld's dlltool) | |
3880 | ||
3881 | Mon Nov 16 19:15:19 1998 Dave Brolley <brolley@cygnus.com> | |
3882 | ||
3883 | * po/bfd.pot: Regenerated. | |
3884 | ||
3885 | Mon Nov 16 10:57:06 1998 Nick Clifton <nickc@cygnus.com> | |
3886 | ||
3887 | * elf32-v850.c (hi16s_location): Replaced fixed size array with | |
3888 | linked list. | |
3889 | ||
3890 | Sun Nov 15 20:28:25 1998 Richard Henderson <rth@cygnus.com> | |
3891 | ||
3892 | * elf64-alpha.c (elf64_alpha_relax_section): Search for the proper | |
3893 | element of the gotentry list for local symbols too. | |
3894 | (elf64_alpha_relocate_section): Unify local and global handling. | |
3895 | Assert that gotent->use_count > 0. | |
3896 | ||
3897 | Sat Nov 14 15:16:01 1998 Ian Lance Taylor <ian@cygnus.com> | |
3898 | ||
3899 | * configure.in (vms_alpha_vec): Rename from evax_alpha_vec, and | |
3900 | update for file name changes of July 2, 1998. | |
3901 | (vms_vax_vec): New. | |
3902 | * configure: Rebuild. | |
3903 | ||
3904 | Thu Nov 12 19:19:54 1998 Dave Brolley <brolley@cygnus.com> | |
3905 | ||
3906 | * po/bfd.pot: Regenerated. | |
3907 | ||
3908 | Tue Nov 10 16:17:06 1998 Geoffrey Noer <noer@cygnus.com> | |
3909 | ||
3910 | * acinclude.m4, config.bfd: detect cygwin* instead of cygwin32*. | |
3911 | * aclocal.m4, configure: regenerate | |
3912 | ||
3913 | Tue Nov 10 15:13:59 1998 Nick Clifton <nickc@cygnus.com> | |
3914 | ||
3915 | * elf.c (prep_headers): Add support for bfd_arch_fr30. | |
3916 | ||
3917 | Tue Nov 10 13:37:36 1998 Felix Lee <flee@cygnus.com> | |
3918 | ||
3919 | * acinclude.m4 (BFD_HAVE_SYS_PROCFS_TYPE, | |
3920 | BFD_HAVE_SYS_PROCFS_TYPE_MEMBER): didn't define macro when value | |
3921 | was cached. | |
3922 | * aclocal.m4, configure: regenerated. | |
3923 | ||
3924 | Tue Nov 10 14:31:01 1998 Catherine Moore <clm@cygnus.com> | |
3925 | ||
27ac83bf RH |
3926 | * elf32-d10v.c (reloc_type): Add R_D10V_GNU_VTINHERIT and |
3927 | R_D10V_GNU_VTENTRY relocs. | |
3928 | (elf_d10v_howto_table): Likewise. | |
3929 | (d10v_reloc_map d10v_reloc_map): Likewise. | |
3930 | (elf32_d10v_gc_mark_hook): New. | |
3931 | (elf32_d10v_gc_sweep_hook): New. | |
3932 | (elf32_d10v_check_relocs): New. | |
3933 | (elf32_d10v_relocate_section): New. | |
3934 | (elf_backend_relocate_section): Define. | |
3935 | (elf_backend_can_gc_sections): Define. | |
252b5132 RH |
3936 | |
3937 | Sat Nov 7 18:07:51 1998 Peter Schauer <peter.schauer@regent.e-technik.tu-muenchen.de> | |
3938 | ||
3939 | * Makefile.am (BFD32_BACKENDS): Move vms files here... | |
3940 | (BFD64_BACKENDS): ...from here. | |
3941 | (BFD32_BACKENDS_CFILES): Move vms files here... | |
3942 | (BFD64_BACKENDS_CFILES): ...from here. | |
3943 | * Makefile.in: Rebuild. | |
3944 | ||
3945 | Wed Nov 4 15:58:48 1998 Nick Clifton <nickc@cygnus.com> | |
3946 | ||
3947 | * Makefile.am: Add FR30 target. | |
3948 | * Makefile.in: Add FR30 target. | |
3949 | * archures.c: Add support for FR30. | |
3950 | * config.bfd: Add support for FR30. | |
3951 | * configure.in: Add support for FR30. | |
3952 | * reloc.c: Add support for FR30 relocations. | |
3953 | * targets.c: Add support for FR30 relocations. | |
3954 | * bfd-in2.h: Regenerate. | |
3955 | * configure: Regenerate. | |
3956 | * libbfd.h: Regenerate. | |
3957 | * cpu-fr30.c: New file. | |
3958 | * elf32-fr30.c: New file. | |
3959 | ||
3960 | Mon Nov 2 14:59:33 1998 Geoffrey Noer <noer@cygnus.com> | |
3961 | ||
3962 | * configure.in: detect cygwin* instead of cygwin32* | |
3963 | * configure: regenerate | |
3964 | ||
3965 | Sun Nov 1 19:32:28 1998 Jeffrey A Law (law@cygnus.com) | |
3966 | ||
3967 | * elf-m10300.c (mn10300_elf_relax_section): Do not use alloca, | |
3968 | use bfd_malloc and free instead and check return value from bfd_malloc. | |
3969 | ||
3970 | Sun Nov 1 16:20:35 1998 Ian Lance Taylor <ian@cygnus.com> | |
3971 | ||
3972 | * libbfd-in.h (_bfd_dwarf1_find_nearest_line): Declare. | |
3973 | * libbfd.h: Rebuild. | |
3974 | ||
3975 | * elf32-mips.c (mips_elf_dynsym_sec_names): Comment out. | |
3976 | (SIZEOF_MIPS_DYNSYM_SECNAMES): Likewise. | |
3977 | (MIPS_TEXT_DYNSYM_SECN): Likewise. | |
3978 | (_bfd_mips_elf_fake_sections): Don't set sh_info field of a .hash | |
3979 | section. | |
3980 | (struct mips_elf_link_hash_table): Remove dynsym_sec_strindex | |
3981 | field. | |
3982 | (mips_elf_link_hash_table_create): Don't initialize | |
3983 | dynsym_sec_strindex. | |
3984 | (mips_elf_gc_mark_hook): Add default case to avoid warning. | |
3985 | (mips_elf_size_dynamic_sections): Generate a section symbol for | |
3986 | every output section. | |
3987 | (mips_elf_finish_dynamic_sections): Count all sections for | |
3988 | DT_MIPS_UNREFEXTNO. | |
3989 | (mips_elf_finish_dynamic_sections): Use dynamic symbols for all | |
3990 | output sections. | |
3991 | ||
3992 | Sun Nov 1 12:46:53 1998 Geoff Keating <geoffk@ozemail.com.au> | |
3993 | ||
3994 | * elf32-ppc.c (ppc_elf_adjust_dynamic_symbol): Allocate two slots | |
3995 | for later PLT entries in large PLTs. | |
3996 | (ppc_elf_finish_dynamic_symbol): Allow for the extra slots. | |
3997 | ||
3998 | Sat Oct 31 20:10:09 1998 Jeffrey A Law (law@cygnus.com) | |
3999 | ||
4000 | * elf32-ppc.c (ppc_elf_reload_section): Fix typo. | |
4001 | ||
4002 | 1998-10-26 15:58 Ulrich Drepper <drepper@cygnus.com> | |
4003 | ||
4004 | * elf-bfd.h (struct elf_link_hash_entry): Add new field elf_hash_value. | |
4005 | * elflink.h (elf_collect_hash_codes): New function. This function is | |
4006 | called for each exported symbol and we compute the ELF hash value for | |
4007 | it. | |
4008 | (compute_bucket_value): New function. It is called from | |
4009 | size_dynamic_sections to determine the hash table size. When we are | |
4010 | optimizing a better, but slower, algorithm is used. | |
4011 | (size_dynamic_sections): Call compute_bucket_value. | |
4012 | ||
4013 | * elf.c (bfd_elf_hash): Optimize the hash function a bit. | |
4014 | ||
4015 | Mon Oct 19 20:03:21 1998 Catherine Moore <clm@cygnus.com> | |
4016 | ||
27ac83bf RH |
4017 | * elf32-sh.c: Add HOWTO entries for R_SH_GNU_VTINHERIT and |
4018 | R_SH_GNU_VTENTRY. | |
4019 | (sh_elf_gc_mark_hook): New. | |
4020 | (sh_elf_gc_sweep_hook): New. | |
4021 | (sh_elf_check_relocs): New. | |
4022 | (elf_backend_can_gc_sections): Define. | |
252b5132 RH |
4023 | |
4024 | Mon Oct 19 16:57:05 1998 Felix Lee <flee@cygnus.com> | |
4025 | ||
4026 | * acinclude.m4: undo previous gettext change | |
4027 | * aclocal.m4: rebuild with right version of aclocal. | |
4028 | ||
4029 | Mon Oct 19 01:47:21 1998 Felix Lee <flee@cygnus.com> | |
4030 | ||
4031 | * acinclude.m4, aclocal.m4: move gettext-related fragments from | |
4032 | aclocal.m4 to acinclude.m4, so they don't get lost. | |
4033 | ||
4034 | * elfcore.h: rewrite for better corefile support. | |
4035 | * elf.c (elfcore_*): new functions. | |
4036 | * elf-bfd.h (elf_obj_tdata): new structure members. | |
4037 | * acconfig.h, acinclude.m4, configure.in: add feature-tests for | |
4038 | flavor of procfs. | |
4039 | * aclocal.m4, config.in, configure, Makefile.in: regenerated. | |
4040 | ||
4041 | Fri Oct 16 14:07:45 1998 Catherine Moore <clm@cygnus.com> | |
4042 | ||
27ac83bf RH |
4043 | * elf32-m32r.c: Add HOWTO entries for R_M32R_GNU_VTINHERIT |
4044 | and R_M32R_GNU_VTENTRY. | |
4045 | (elf_backend_can_gc_sections): Define. | |
4046 | (m32r_elf_check_relocs): New. | |
4047 | (m32r_elf_gc_mark_hook): New. | |
4048 | (m32r_elf_gc_sweep_hook): New. | |
4049 | (m32r_elf_relocate_section): Handle VT relocs. | |
252b5132 RH |
4050 | |
4051 | Mon Oct 12 14:18:40 1998 Nick Clifton <nickc@cygnus.com> | |
4052 | ||
4053 | * coff-arm.c (arm_relocate_section): Remove redundant test. | |
4054 | ||
4055 | * bfd-in2.h (struct reloc_howto_struct): Improve comment to make | |
4056 | cleat that the 'bitsize' field is the size of the bitfield AFTER | |
4057 | relocation not before. | |
4058 | ||
4059 | * elf32-m32r.c (R_M32R_18_PCREL): Fix size of bitfield. | |
4060 | ||
4061 | * coff-mips.c (mips_relocate_hi): Cope with missing refhi or reflo | |
4062 | relocs. | |
4063 | ||
4064 | Tue Oct 6 09:20:44 1998 Catherine Moore <clm@cygnus.com> | |
4065 | ||
27ac83bf RH |
4066 | * elf32-sparc.c: Add HOWTO entries for R_SPARC_GNU_VTINHERIT and |
4067 | R_SPARC_GNU_VTENTRY. | |
4068 | (elf32_sparc_check_relocs): Handle them. | |
4069 | (elf32_sparc_reloc_type_lookup): Likewise. | |
4070 | (elf32_sparc_relocate_section): Likewise. | |
4071 | (elf32_sparc_gc_mark_hook): New. | |
4072 | (elf32_sparc_gc_sweep_hook): New. | |
252b5132 RH |
4073 | |
4074 | Mon Oct 5 14:55:30 1998 Jeffrey A Law (law@cygnus.com) | |
4075 | ||
4076 | * som.c (som_finish_writing): Perform some sanity checks when | |
4077 | writing an executable or shared library. | |
4078 | ||
4079 | Mon Oct 5 12:02:31 1998 Gavin Romig-Koch <gavin@cygnus.com> | |
4080 | ||
4081 | * dwarf1.c : New file. Adds _bfd_dwarf1_find_nearest_line. | |
4082 | * configure.in (elf): Add dwarf1.lo. | |
4083 | * elf_bfd.h (elf_ob_tdata): Add dwarf1_find_line_info. | |
4084 | * elf.c (_bfd_elf_find_nearest_line): Add call to | |
4085 | _bfd_dwarf1_find_nearest_line. | |
4086 | * elf32-mips.c (_bfd_mips_elf_find_nearest_line): | |
4087 | Add call to _bfd_dwarf1_find_nearest_line. | |
4088 | * configure: Rebuilt. | |
4089 | ||
4090 | Mon Oct 5 10:06:22 1998 Catherine Moore <clm@cygnus.com> | |
4091 | ||
27ac83bf RH |
4092 | * elflink.h (elf_gc_sections): Do not allow garbage |
4093 | collection if dynamic sections have been created. | |
252b5132 RH |
4094 | |
4095 | Mon Oct 5 09:07:37 1998 Catherine Moore <clm@cygnus.com> | |
4096 | ||
27ac83bf RH |
4097 | * elf32-v850.c: Add HOWTO entries for R_V850_GNU_VTINHERIT and |
4098 | R_V850_GNU_VTENTRY. | |
4099 | (v850_elf_check_relocs): Handle VTINHERIT and VTENTRY relocs. | |
4100 | (v850_elf_perform_relocation): Likewise. | |
4101 | (v850_elf_final_link_relocate): Likewise. | |
4102 | (v850_elf_relocate_section): Likewise. | |
4103 | (v850_elf_gc_sweep_hook): New routine. | |
4104 | (v850_elf_gc_mark_hook): New routine. | |
4105 | (elf_backend_can_gc_sections): Define. | |
252b5132 RH |
4106 | |
4107 | Mon Oct 5 09:04:25 1998 Catherine Moore <clm@cygnus.com> | |
4108 | ||
27ac83bf RH |
4109 | * elf32-m68k.c (elf_m68k_gc_sweep_hook): Don't assume |
4110 | that dynobj exists. | |
252b5132 RH |
4111 | |
4112 | Sun Oct 4 23:29:34 1998 David Edelsohn <edelsohn@mhpcc.edu> | |
4113 | ||
4114 | * rs6000-core.c (rs6000coff_core_file_matches_executable_p): | |
4115 | Declare size as bfd_size_type. | |
4116 | (rs6000coff_get_section_contents): Declare count as bfd_size_type. | |
4117 | ||
4118 | Sun Oct 4 20:38:29 1998 Jeffrey A Law (law@cygnus.com) | |
4119 | ||
4120 | * cpu-hppa.c (bfd_hppa20_arch): Define. Link it into the bfd_hppa_arch | |
4121 | structure. | |
4122 | * som.c (CPU_PA_RISC2_0): Define. | |
4123 | (_PA_RISC2_0_ID): Likewise. | |
4124 | (som_finish_writing): Use CPU_PA_RISC2_0 for the system_id as needed. | |
4125 | ||
4126 | Sun Oct 4 21:19:09 1998 Ian Lance Taylor <ian@cygnus.com> | |
4127 | ||
4128 | * elflink.h (elf_link_add_object_symbols): When a versioned symbol | |
4129 | has a base which is already defined, only add the referenced | |
4130 | symbol to the dynamic symbol table if it is defined or referenced | |
4131 | by a regular file. | |
4132 | ||
4133 | * elf32-i386.c (elf_i386_info_to_howto_rel): Handle vtable relocs | |
4134 | correctly. | |
4135 | ||
4136 | 1998-09-27 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de> | |
4137 | ||
27ac83bf | 4138 | * elflink.h (elf_link_add_object_symbols): Undo last change. |
252b5132 RH |
4139 | |
4140 | Wed Sep 23 16:09:31 1998 Richard Henderson <rth@cygnus.com> | |
4141 | ||
27ac83bf RH |
4142 | * elflink.h (elf_link_add_object_symbols): Don't record a dynamic |
4143 | symbol for the indirect alias to a versioned symbol. | |
252b5132 RH |
4144 | |
4145 | Mon Sep 21 12:15:22 1998 Catherine Moore <clm@cygnus.com> | |
4146 | ||
27ac83bf RH |
4147 | * elf32-i386.c (elf32_i386_vtinherit_howto): New. |
4148 | (elf32_i386_vtentry_howto): New. | |
4149 | (elf_i386_reloc_type_lookup): Return elf32_i386_vtentry_howto | |
4150 | or elf32_i386_vtinherit_howto on lookup. | |
252b5132 RH |
4151 | |
4152 | Sun Sep 20 00:48:07 1998 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de> | |
4153 | ||
4154 | * elf32-m68k.c: Include "elf/m68k.h". Remove definition of enum | |
4155 | reloc_type. Rename R_68K__max to R_68K_max. | |
4156 | (howto_table): Use _bfd_elf_rel_vtable_reloc_fn for a VTENTRY | |
4157 | reloc. | |
4158 | ||
4159 | Sun Sep 20 00:09:25 1998 Chris Torek <torek@bsdi.com> | |
4160 | ||
4161 | * libbfd.c (bfd_getb32): Rewrite expression to get better code. | |
4162 | (bfd_getl32, bfd_getb_signed_32, bfd_getl_signed_32): Likewise. | |
4163 | ||
4164 | * libbfd.c (bfd_log2): Cast to bfd_vma before shifting, not | |
4165 | after. | |
4166 | ||
4167 | Sat Sep 19 22:42:23 1998 Doug Rabson <dfr@nlsystems.com> | |
4168 | ||
4169 | * elflink.h (elf_link_add_object_symbols): Ensure that the warning | |
4170 | message has a null byte terminator. | |
4171 | ||
4172 | Fri Sep 18 14:35:29 1998 Nick Clifton <nickc@cygnus.com> | |
4173 | ||
4174 | * elf32-v850.c (v850_elf_perform_relocation): Ignore contents of | |
4175 | word subject to R_V850_32 relocation. | |
4176 | ||
4177 | Thu Sep 17 17:20:36 1998 Nick Clifton <nickc@cygnus.com> | |
4178 | ||
4179 | * dwarf2.c: Add comment describing problem computing line numbers | |
4180 | for undefined symbols at link time. | |
4181 | ||
4182 | Thu Sep 17 16:03:28 1998 Richard Henderson <rth@cygnus.com> | |
4183 | ||
27ac83bf RH |
4184 | * elf64-alpha.c (elf64_alpha_adjust_dynamic_symbol): Don't |
4185 | transform a defweak into a plt entry. | |
4186 | (elf64_alpha_calc_dynrel_sizes): Allow room for secondary | |
4187 | plt entry references to receive a RELATIVE reloc. | |
4188 | (elf64_alpha_finish_dynamic_symbol): Fill them in. | |
4189 | (elf64_alpha_relocate_section): Assert we don't overrun | |
4190 | the allocated relocation space. | |
252b5132 RH |
4191 | |
4192 | Wed Sep 16 18:03:13 1998 Nick Clifton <nickc@cygnus.com> | |
4193 | ||
4194 | * elf.c (swap_out_syms): Always treat section symbols as | |
4195 | special, even if they are attached to a common section. | |
4196 | ||
4197 | Wed Sep 16 10:34:13 1998 Nick Clifton <nickc@cygnus.com> | |
4198 | ||
4199 | * elf32-v850.c (v850_elf_symbol_processing): Move symbols in | |
4200 | sections with v850 common section attributes into named v850 | |
4201 | common sections. | |
4202 | (v850_elf_add_symbol_hook): Move symbols in sections with v850 | |
4203 | common section attributes into named v850 common sections. | |
4204 | ||
4205 | Wed Sep 16 11:26:49 CDT 1998 Catherine Moore <clm@cygnus.com> | |
4206 | ||
27ac83bf RH |
4207 | * elf32-arm.c (elf32_arm_gc_mark_hook): Remove print |
4208 | statement. | |
252b5132 RH |
4209 | |
4210 | 1998-09-15 Geoff Keating <geoffk@ozemail.com.au> | |
4211 | ||
4212 | * elf32-ppc.c (ppc_elf_relocate_section): Reverse output_offset | |
4213 | part of Vladimir's change of 1998-08-19. Make a R_PPC_SDAREL16 | |
4214 | reloc to the wrong section a warning, not an error. .dynsbss | |
4215 | is not an output section, so there is no need to check for it. | |
4216 | ||
4217 | Tue Sep 15 12:40:05 1998 Catherine Moore <clm@cygnus.com> | |
4218 | ||
4219 | * elf-bfd.h: Add argument to elf_backend_get_symbol_type. | |
4220 | ||
4221 | Tue Sep 15 08:34:40 1998 Catherine Moore <clm@cygnus.com> | |
4222 | ||
4223 | * elf.c (swap_out_syms): Pass type to elf_backend_get_symbol_type. | |
4224 | * elf32-arm.c: Add HOWTO entries for R_ARM_GNU_VTINHERIT and | |
4225 | R_ARM_GNU_VTENTRY. | |
4226 | (elf32_arm_gc_mark_hook): New. | |
4227 | (elf32_arm_gc_sweep_hook): New. | |
4228 | (elf32_arm_check_relocs): New. | |
4229 | (elf32_arm_final_link_relocate): Handle VTINHERIT and VTENTRY | |
4230 | relocations. | |
4231 | (elf32_arm_relocate_section): Handle VTINHERIT and VTENTRY | |
4232 | relocations. | |
4233 | ||
4234 | 1998-09-10 Geoff Keating <geoffk@ozemail.com.au> | |
4235 | ||
27ac83bf RH |
4236 | * elf32-ppc.c (ppc_elf_relocate_section): If dynobj is NULL, |
4237 | assume there is no PLT or GOT. | |
252b5132 RH |
4238 | |
4239 | Wed Sep 9 14:24:12 1998 Nick Clifton <nickc@cygnus.com> | |
4240 | ||
4241 | * elf32-arm.c (elf32_arm_find_nearest_line): New function: just | |
4242 | like _elf_bfd_find_nearest_line() except that STT_ARM_TFUNC is | |
4243 | also accepted as a function symbol type. | |
4244 | ||
4245 | Mon Sep 7 13:24:03 1998 Peter Schauer <pes@regent.e-technik.tu-muenchen.de> | |
4246 | ||
4247 | * rs6000-core.c (_LONG_LONG): Define for AIX 4.x only. | |
4248 | ||
4249 | Sat Sep 5 20:40:18 1998 Ian Lance Taylor <ian@cygnus.com> | |
4250 | ||
4251 | * libbfd-in.h (_bfd_nolink_bfd_gc_sections): Correct definition to | |
4252 | match definition of _bfd_gc_sections field. | |
4253 | * libbfd.h: Rebuild. | |
4254 | ||
4255 | Fri Sep 4 13:54:23 1998 David Miller <davem@dm.cobaltmicro.com> | |
4256 | ||
4257 | * elf32-sparc.c (elf32_sparc_relocate_section): Properly adjust | |
4258 | the addend of a dynamic relocation referencing a section. | |
4259 | * elf64-sparc.c (sparc64_elf_relocate_section): Likewise. | |
4260 | (sparc64_elf_finish_dynamic_symbol): Fix the PLT relocation offset. | |
4261 | ||
4262 | Thu Sep 3 17:28:50 1998 Richard Henderson <rth@cygnus.com> | |
4263 | ||
4264 | * elflink.h (bfd_elfNN_size_dynamic_sections): Verify that the | |
4265 | bed has a size_dynamic_sections routine before trying to use it. | |
4266 | ||
4267 | Mon Aug 31 14:49:22 1998 Richard Henderson <rth@cygnus.com> | |
4268 | ||
4269 | * elf32-mips.c (elf_mips_gnu_vtentry_howto): Use | |
4270 | _bfd_elf_rel_vtable_reloc_fn. | |
4271 | ||
4272 | Mon Aug 31 10:23:40 1998 Catherine Moore <clm@cygnus.com> | |
4273 | ||
27ac83bf RH |
4274 | * Makefile.am: Add elf32-arm.c. |
4275 | * Makefile.in: Rebuild. | |
4276 | * elf-bfd.h: Add elf_backend_get_symbol_type. | |
4277 | * elf.c (swap_out_syms): If defined, call | |
4278 | elf_backend_get_symbol_type. | |
4279 | * elf32-arm.c: Define elf_backend_get_symbol_type. | |
4280 | (elf32_arm_get_symbol-type): New routine. | |
4281 | (record_thumb_to_arm_glue): Change to use STT_ARM_TFUNC. | |
4282 | (bfd_elf32_arm_process_before_allocation): Change to | |
4283 | check for STT_ARM_TFUNC. | |
4284 | (elf32_arm_final_link_relocate): Likewise. | |
4285 | * elfxx-target.h: Add elf_backend_get_symbol_type. | |
252b5132 RH |
4286 | |
4287 | Fri Aug 28 19:44:07 1998 Richard Henderson <rth@cygnus.com> | |
4288 | ||
4289 | * archures.c (bfd_mach_alpha_ev[456]): New. | |
4290 | * cpu-alpha.c: Rework to match these types. | |
4291 | * bfd-in2.h: Rebuild. | |
4292 | ||
4293 | Fri Aug 28 19:38:53 1998 Richard Henderson <rth@cygnus.com> | |
4294 | ||
4295 | * elf-bfd.h (_bfd_elf_rel_vtable_reloc_fn): Declare. | |
4296 | * elf.c (_bfd_elf_rel_vtable_reloc_fn): New. | |
4297 | ||
4298 | * elf32-i386.c (elf_howto_table): Add vtable relocs. | |
4299 | (elf_i386_reloc_type_lookup): Recognize them. | |
4300 | (elf_i386_check_relocs): Pass them off to generic code. | |
4301 | (elf_i386_relocate_section): Ignore them. | |
4302 | (elf_i386_gc_mark_hook, elf_i386_gc_sweep_hook): New. | |
4303 | (elf_backend_can_gc_sections): True. | |
4304 | ||
4305 | Thu Aug 20 15:03:45 1998 Nick Clifton <nickc@cygnus.com> | |
4306 | ||
4307 | * elf32-arm.c (elf32_thumb_to_arm_stub): Check sym_sec is not NULL | |
4308 | before looking at owner field. | |
4309 | (elf32_arm_to_thumb_stub): Ditto. | |
4310 | (elf32_arm_relocate_section): Compute name before calling | |
4311 | elf32_arm_final_link_relocate(). | |
4312 | ||
4313 | Thu Aug 20 11:30:17 1998 Michael Snyder <msnyder@cleaver.cygnus.com> | |
4314 | ||
4315 | * elf.c: comment and formatting cleanups. | |
4316 | * elfcore.h: ditto. | |
4317 | ||
4318 | Wed Aug 19 15:43:26 1998 Michael Snyder <msnyder@cleaver.cygnus.com> | |
4319 | ||
4320 | * elfcode.h (elf_object_p): Reject files of header type ET_CORE | |
4321 | (core files are treated differently than object files). | |
4322 | * elf-bfd.h (_bfd_elf_write_corefile_contents, | |
4323 | bfd_elf_mkcorefile): declare. | |
4324 | * elfxx-target.h (_bfd_elf_write_corefile_contents, | |
4325 | bfd_elf_mkcorefile): add to bfd_target vector. | |
4326 | * elfcore.h (elf_core_file_p): save the program header table, | |
4327 | and set the bfd architecture from the elf file header. | |
4328 | * elf.c (bfd_elf_mkcorefile): new function. | |
4329 | (_bfd_elf_write_corefile_contents): new function. | |
4330 | (assign_file_positions_for_segments): add cases for handling | |
4331 | PT_NOTE segments. (assign_file_positions_except_relocs): | |
4332 | core files should be handled the same as exec files. | |
4333 | (prep_headers): identify core files as type ET_CORE. | |
4334 | (copy_private_bfd_data): identify the sections belonging to | |
4335 | the PT_NOTE segment. | |
4336 | ||
4337 | * elf32-sparc.c (elf32_sparc_final_write_processing): | |
4338 | add break statement to default case. | |
4339 | ||
4340 | 1998-08-19 Vladimir N. Makarov <vmakarov@cygnus.com> | |
4341 | ||
4342 | * elf32-ppc.c (ppc_elf_relocate_section): Check that output | |
4343 | section (not input) will be in sections ".sbss", ".sbss2", | |
4344 | ".sdata", and ".sdata" for R_PPC_SDAREL16, R_PPC_EMB_SDA2REL, | |
4345 | R_PPC_EMB_SDA21, R_PPC_EMB_RELSDA. In all these cases also ignore | |
4346 | output_offset for correct evaluation of addend. | |
4347 | ||
4348 | Tue Aug 18 11:48:12 1998 Catherine Moore <clm@cygnus.com> | |
4349 | ||
27ac83bf RH |
4350 | * elf32-arm.c: Add prefix bfd_ to elf32_arm_get_bfd_for_interworking, |
4351 | elf32_arm_allocate_interworking_sections and | |
4352 | elf32_arm_process_before_allocation. | |
252b5132 RH |
4353 | |
4354 | Tue Aug 18 11:46:00 1998 Nick Clifton <nickc@cygnus.com> | |
4355 | ||
27ac83bf RH |
4356 | * bfd-in.h: Ammend prototype for |
4357 | elf32_arm_process_before_allocation to remove surplus third | |
4358 | argument. | |
252b5132 | 4359 | |
27ac83bf | 4360 | * bfd-in2.h: Regenerate. |
252b5132 RH |
4361 | |
4362 | Sat Aug 15 20:55:08 1998 Richard Henderson <rth@cygnus.com> | |
4363 | ||
4364 | * elf64-alpha.c (elf64_alpha_relax_section): Handle indirect symbols. | |
4365 | ||
4366 | Fri Aug 14 09:12:28 1998 Stan Cox <scox@cygnus.com> | |
4367 | ||
4368 | * aoutx.h (aout_link_input_section_ext): Use the relocation already | |
4369 | calculated for RELOC_SPARC_REV32 case. | |
4370 | ||
4371 | Thu Aug 13 14:02:02 1998 Catherine Moore <clm@cygnus.com> | |
4372 | ||
4373 | * bfd-in.h: Add prototypes for elf32_arm_get_bfd_for_interworking, | |
4374 | elf32_arm_allocate_interworking_sections and | |
4375 | elf32_arm_process_before_allocation. | |
4376 | * bfd-in2.h: Regenerated. | |
4377 | * elf32-arm.c Define elf32_arm_link_hash_table. | |
4378 | (insert_thumb_branch): New routine. | |
4379 | (find_thumb_glue): New routine. | |
4380 | (find_arm_glue): New routine. | |
4381 | (record_arm_to_thumb_glue): New routine. | |
4382 | (record_thumb_to_arm_glue): New routine. | |
4383 | (elf32_arm_link_hash_table_create): New routine. | |
4384 | (elf32_arm_get_bfd_for_interworking): New routine. | |
4385 | (elf32_arm_allocate_interworking_sections) New routine. | |
4386 | (elf32_arm_process_before_allocation) New routine. | |
4387 | (elf32_thumb_to_arm_stub): New routine. | |
4388 | (elf32_arm_to_thumb_stub): New routine. | |
4389 | (elf32_print_private_bfd_data): Fix typo. | |
4390 | (elf32_arm_final_link_relocate): Add argument sym_sec. | |
4391 | Check for branches to thumb symbols in case R_ARM_PC24. | |
4392 | Check for branches to arm symbols in case R_ARM_THM_PC22. | |
4393 | (elf32_arm_relocate_section): Pass symbol section to | |
4394 | elf32_arm_final_link_relocate. | |
4395 | ||
4396 | Wed Aug 12 19:00:39 1998 Geoff Keating <geoffk@ozemail.com.au> | |
4397 | ||
4398 | * elf32-ppc.c (ppc_elf_adjust_dynamic_symbol): Generate PLT | |
4399 | entries unless the symbol is defined in the executable; in | |
4400 | particular, undefined weak symbols get a PLT entry. | |
4401 | ||
4402 | Wed Aug 12 14:48:33 1998 Ian Lance Taylor <ian@cygnus.com> | |
4403 | ||
4404 | * libaout.h: Remove nested comment to avoid warning. | |
4405 | ||
4406 | Wed Aug 12 08:10:11 1998 Catherine Moore <clm@cygnus.com> | |
4407 | ||
4408 | * elf32-arm.c (elf32_arm_final_link_relocate): Rework | |
4409 | R_ARM_PC24 relocation. | |
4410 | ||
4411 | Tue Aug 11 14:42:26 1998 Catherine Moore <clm@cygnus.com> | |
4412 | ||
4413 | * elf32-arm.c (elf32_arm_final_link_relocate): Remove unused | |
4414 | argument is_local. Add argument sym_flags. Check sym_flags | |
4415 | in R_ARM_ABS32 case. Include addend for R_ARM_THM_PC22 case. | |
4416 | (elf32_arm_relocate_section): Don't pass local sym and pass | |
4417 | sym_flags to elf32_arm_final_link_relocate. | |
4418 | ||
4419 | Mon Aug 10 20:38:39 1998 Richard Henderson <rth@cygnus.com> | |
4420 | ||
4421 | * elf64-alpha.c (elf64_alpha_calc_dynrel_sizes): Correct last change | |
4422 | to not count too few relocs for dynamicly linked executables. | |
4423 | ||
4424 | Mon Aug 10 15:35:34 1998 Richard Henderson <rth@cygnus.com> | |
4425 | ||
4426 | * elf64-alpha.c (alpha_elf_dynamic_symbol_p): Never consider | |
4427 | symbols without a dynamic index dynamic. Consider all weak | |
4428 | symbols dynamic. | |
4429 | (elf64_alpha_strip_section_from_output): Don't assume 1-1 | |
4430 | correspondance between input and output sections. | |
4431 | ||
4432 | Mon Aug 10 15:31:39 1998 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de> | |
4433 | ||
4434 | * elflink.h (elf_gc_common_finalize_got_offsets): For backends | |
4435 | that use a .got.plt section start the got offset at zero. | |
4436 | ||
4437 | Mon Aug 10 17:31:21 1998 Ian Lance Taylor <ian@cygnus.com> | |
4438 | ||
4439 | * ieee.c (ieee_write_processor): Correct the processor ID written | |
4440 | out for bfd_arch_m68k, accommodating change of March 25. | |
4441 | ||
4442 | Sun Aug 9 20:55:44 1998 Catherine Moore <clm@cygnus.com> | |
4443 | ||
27ac83bf RH |
4444 | * elf32-arm.c (elf32_arm_final_link_relocate): Rework |
4445 | R_ARM_THM_RPC22 relocations. | |
252b5132 RH |
4446 | |
4447 | Sat Aug 8 15:15:30 1998 Richard Henderson <rth@cygnus.com> | |
4448 | ||
4449 | * elf64-alpha.c (alpha_elf_dynamic_symbol_p): Undef weak symbols | |
4450 | are always dynamic. | |
4451 | (elf64_alpha_calc_dynrel_sizes): Allow enough room for RELATIVE | |
4452 | .got relocs in -Bsymbolic shared objects. | |
4453 | ||
4454 | Wed Aug 5 15:48:08 1998 Nick Clifton <nickc@cygnus.com> | |
4455 | ||
4456 | * elf32-arm.c: Add private flags to ELF header. | |
4457 | (elf32_arm_print_private_bfd_data): New Function. | |
4458 | (elf32_arm_set_private_flags): New Function. | |
4459 | (elf32_arm_copy_private_flags): New Function. | |
4460 | (elf32_arm_merge_private_bfd_data): New Function. | |
4461 | ||
4462 | Mon Aug 3 17:10:15 1998 Ian Lance Taylor <ian@cygnus.com> | |
4463 | ||
4464 | * elf32-sparc.c (elf32_sparc_check_relocs): Permit WPLT30 against | |
4465 | a local symbol. | |
4466 | (elf32_sparc_relocate_section): Likewise. | |
4467 | ||
4468 | Sun Aug 2 03:19:23 1998 Richard Henderson <rth@cygnus.com> | |
4469 | ||
4470 | * elf32-ppc.c (ppc_elf_check_relocs): Init sgot to NULL. Create the | |
4471 | .got if any relocation referrs to _GLOBAL_OFFSET_TABLE_. | |
4472 | (ppc_elf_relocate_section): Pull sgot and splt search to the start | |
4473 | of the function. Recognize no .plt as static linking. | |
4474 | ||
4475 | 1998-08-01 Ulrich Drepper <drepper@cygnus.com> | |
4476 | ||
4477 | * elf32-mips.c (_bfd_mips_elf_section_from_shdr): Don't pass | |
4478 | ".liblist" string through gettext. | |
4479 | ||
4480 | Fri Jul 31 16:38:14 1998 Catherine Moore <clm@cygnus.com> | |
4481 | ||
27ac83bf RH |
4482 | * Makefile.am: Add support for elf32-arm.lo. |
4483 | * Makefile.in: Rebuild. | |
4484 | * config.bfd (arm-*-elf): Define targ_defvec and targ_selvecs. | |
4485 | (thumb-*-elf): Define targ_defvec and targ_selvecs. | |
4486 | * configure.in: Handle bfd_elf32_littlearm_vec and bfd_elf32_bigarm_vec. | |
4487 | * configure: Regenerate. | |
4488 | * elf.c: (prep_headers): Support arch_type of EM_ARM. | |
4489 | * targets.c: Support new targets bfd_elf32_bigarm_vec and | |
4490 | bfd_target bfd_elf32_littlearm_vec. | |
4491 | * elf32-arm.c: New file. | |
252b5132 RH |
4492 | |
4493 | Tue Jun 28 19:05:28 1998 Stan Cox <scox@cygnus.com> | |
4494 | ||
4495 | * libaout.h (M_SPARCLITE_LE): New machine. | |
4496 | * sunos.c (MACHTYPE_OK): Add machine M_SPARCLITE_LE. | |
4497 | * aoutf1.h (sunos_set_arch_mach): Add machine M_SPARCLITE_LE. | |
4498 | (sunos_write_object_contents): Add machine bfd_mach_sparc_sparclite_le | |
4499 | * aoutx.h (howto_table_ext): Add relocation R_SPARC_REV32. | |
4500 | (NAME(aout,machine_type)) Add machine bfd_mach_sparc_sparclite_le | |
4501 | (aout_link_input_section_ext): Add RELOC_SPARC_REV32 support. | |
4502 | * elf32-sparc.c (_bfd_sparc_elf_howto_table, sparc_reloc_map, | |
4503 | elf32_sparc_relocate_section): Rename R_SPARC_32LE to be R_SPARC_REV32 | |
4504 | * libbfd.h (bfd_reloc_code_real_names): Rename BFD_RELOC_SPARC_32LE to | |
4505 | be BFD_RELOC_SPARC_REV32. | |
4506 | * reloc.c: Ditto. | |
4507 | * config.bfd (sparc86x-*-aout): New | |
4508 | ||
4509 | Fri Jul 24 13:54:19 1998 Nick Clifton <nickc@cygnus.com> | |
4510 | ||
4511 | * linker.c (_bfd_generic_final_link): Allocate NULL symbol before | |
4512 | actually mapping the output sections. | |
4513 | ||
4514 | Fri Jul 24 11:24:29 1998 Jeffrey A Law (law@cygnus.com) | |
4515 | ||
4516 | ||
4517 | * elf-m10300.c (mn10300_elf_howto): Add R_MN10300_24 entry. | |
4518 | (mn10300_elf_reloc_map): Similarly. | |
4519 | (mn10300_elf_final_link_relocate): Handle R_MN10300_24. | |
4520 | ||
4521 | Fri Jul 24 12:36:04 1998 Ian Lance Taylor <ian@cygnus.com> | |
4522 | ||
4523 | * elf32-mips.c (elf_mips_howto_table): Add reloc types used on | |
4524 | Irix 6. | |
4525 | (bfd_elf32_bfd_reloc_type_lookup): Add default case. | |
4526 | * elf64-mips.c: Replace all uses of mips_elf64_reloc_type with | |
4527 | elf_mips_reloc_type defined in elf/mips.h. | |
4528 | ||
4529 | 1998-07-24 Ulrich Drepper <drepper@cygnus.com> | |
4530 | ||
4531 | * elf64-mips.c: Remove reloc_type definition completely. It's now | |
4532 | in elf/mips.h. | |
4533 | ||
4534 | Thu Jul 23 13:33:19 1998 Doug Evans <devans@canuck.cygnus.com> | |
4535 | ||
4536 | * elf64-mips.c (mips_elf64_reloc_type): #if 0 out more relocations | |
4537 | as they are defined in elf/mips.h now. | |
4538 | ||
4539 | Thu Jul 23 11:29:43 1998 Jeffrey A Law (law@cygnus.com) | |
4540 | ||
4541 | ||
4542 | * Re-add lost change: | |
27ac83bf RH |
4543 | * elf-m10300.c (elf32_mn10300_link_hash_entry): Add new field |
4544 | "movm_stack_size". | |
4545 | (mn10300_elf_relax_section): Include stack space for register saves | |
4546 | in the imm8 field of a "call" instruction. | |
4547 | (compute_function_info): Determine how much stack is allocated by | |
4548 | the movm instruction. Fix typo. | |
4549 | (elf32_mn10300_link_hash_newfunc): Initialize movm_stack_size. | |
252b5132 RH |
4550 | |
4551 | Thu Jul 23 11:38:05 1998 Ian Lance Taylor <ian@cygnus.com> | |
4552 | ||
4553 | * elf32-sparc.c (elf_backend_got_header_size): Define as 4. | |
4554 | * elf64-sparc.c (elf_backend_got_header_size): Define as 8. | |
4555 | ||
4556 | 1998-07-22 Ulrich Drepper <drepper@cygnus.com> | |
4557 | ||
4558 | * elf32-ppc.c: Change use of pp_reloc_type to elf_ppc_reloc_type. | |
4559 | ||
4560 | Wed Jul 22 16:27:18 1998 Nick Clifton <nickc@cygnus.com> | |
4561 | ||
4562 | * elf32-hppa.h: Let ELF header define the enum containing the | |
4563 | external reloc numbers. | |
4564 | * elf32-i386.h: Likewise. | |
4565 | ||
4566 | 1998-07-22 14:57 Ulrich Drepper <drepper@cygnus.com> | |
4567 | ||
4568 | * elf-m10300.c: Let ELF header now define the macros to get the enum. | |
4569 | * elf32-mips.c: Likewise. | |
4570 | * elf32-ppc.c: Likewise. | |
4571 | ||
4572 | Wed Jul 22 13:53:52 1998 Nick Clifton <nickc@cygnus.com> | |
4573 | ||
4574 | * bfd-in2.h: Change type of 'class' parameter to 'unsigned int' in | |
4575 | bfd_coff_set_symbol_class(), in order to avoid K&R compatability | |
4576 | prblems. | |
4577 | * bfd-in.h: Regenerate. | |
4578 | * coffgen.c (bfd_coff_set_symbol_class): Change type of 'class' | |
4579 | parameter to 'unsigned int' to avoid K&R compatability problems. | |
4580 | ||
4581 | Wed Jul 22 16:43:24 1998 Ian Lance Taylor <ian@cygnus.com> | |
4582 | ||
4583 | * ieee.c (ieee_find_nearest_line): Change filename_ptr and | |
4584 | functionname_ptr to be const. Change line_ptr to be unsigned. | |
4585 | ||
4586 | * coffcode.h (coff_link_output_has_begun): Simplify handling when | |
4587 | macro is not defined. Change second parameter from bfd_link_info | |
4588 | to coff_final_link_info. Add prototype. | |
4589 | (coff_final_link_postscript): Simplify handling when macro is not | |
4590 | defined. Add prototype. | |
4591 | ||
4592 | 1998-07-22 13:08 Ulrich Drepper <drepper@cygnus.com> | |
4593 | ||
4594 | * elf-mn10300.c: Before include system specific ELF header define | |
4595 | START_RELOC_NUMBERS, RELOC_NUMBER, and END_RELOC_NUMBERS. | |
4596 | * elf32-mips.c: Likewise. | |
4597 | * elf32-ppc.c: Likewise. | |
4598 | ||
4599 | Wed Jul 22 13:46:51 1998 Ian Lance Taylor <ian@cygnus.com> | |
4600 | ||
4601 | * elf64-mips.c (mips_elf64_reloc_type): Copy Ulrich's elf32-mips.c | |
4602 | temporary patch over to elf64-mips.c as well. | |
4603 | ||
4604 | 1998-07-21 Ulrich Drepper <drepper@cygnus.com> | |
4605 | ||
4606 | * elf32-mips.c (reloc_type): Temporarily disable definition of | |
4607 | standard relocation since they are now defined in elf/mips.h. | |
4608 | ||
4609 | Tue Jul 21 09:47:00 1998 Catherine Moore <clm@cygnus.com> | |
4610 | ||
27ac83bf RH |
4611 | * elf-m10200.c (mn10200_elf_final_link_relocate): |
4612 | Modify range test for case R_MN10200_8. | |
252b5132 | 4613 | |
27ac83bf RH |
4614 | * elf-m10300.c (mn10300_elf_final_link_relocate): |
4615 | Modify range test for case R_MN10300_8. | |
252b5132 RH |
4616 | |
4617 | Mon Jul 20 18:50:54 1998 Richard Henderson <rth@cygnus.com> | |
4618 | ||
4619 | * elf-bfd.h (struct elf_backend_data): Add got_ & plt_header_size. | |
4620 | * elf32-i386.c (elf_backend_got_header_size): Define. | |
4621 | (elf_backend_plt_header_size): Define. | |
4622 | * elf32-m68k.c, elf32-mips.c, elf32-ppc.c: Likewise. | |
4623 | * elf32-sparc.c, elf64-alpha.c, elf64-sparc.c: Likewise. | |
4624 | * elfxx-target.h: Provide a default of zero. | |
4625 | * elflink.c (_bfd_elf_create_got_section): Use got_header_size. | |
4626 | * elflink.h (elf_gc_common_finalize_got_offsets): Likewise. | |
4627 | ||
4628 | * elf32-ppc.c (ppc_elf_adjust_dynamic_symbol): Don't remove a PLT | |
4629 | entry from an executable, even if the plt refcount goes to 0. | |
4630 | ||
4631 | Mon Jul 20 12:47:26 1998 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de> | |
4632 | ||
4633 | * aoutx.h (NAME(aout,find_nearest_line)): Also remember the | |
4634 | directory name at the line number. | |
4635 | ||
4636 | * elf.c (_bfd_elf_find_nearest_line): Also consider symbols | |
4637 | with an unspecified type. | |
4638 | ||
4639 | Wed Jul 15 11:20:01 1998 Ian Lance Taylor <ian@cygnus.com> | |
4640 | ||
4641 | * sunos.c: Add undef of valid to avoid problem on SunOS. | |
4642 | ||
4643 | Tue Jul 14 15:30:59 1998 Richard Henderson <rth@cygnus.com> | |
4644 | ||
4645 | * config.bfd (i?86-pc-beos{pe,elf,}*): Recognize. | |
4646 | ||
4647 | Tue Jul 14 11:22:21 1998 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de> | |
4648 | ||
4649 | * elf32-m68k.c (elf_m68k_check_relocs): Also reference count | |
4650 | R_68K_PCxx and R_68K_xx relocations. Make sure that | |
4651 | ELF_LINK_HASH_NEEDS_PLT is always set for a PLT reloc reference. | |
4652 | (elf_m68k_gc_sweep_hook): Also reference count R_68K_PCxx and | |
4653 | R_68K_xx relocations. | |
4654 | (elf_m68k_adjust_dynamic_symbol): Reset the plt offset of a symbol | |
4655 | that has no plt entry. | |
4656 | (elf_m68k_relocate_section): Ignore the plt offset in a static | |
4657 | link. | |
4658 | * elflink.h (elf_adjust_dynamic_symbol): Reset the plt offset for | |
4659 | an ignored symbol. | |
4660 | (elf_gc_common_finalize_got_offsets): Set the got offsets also in | |
4661 | a static link. | |
4662 | ||
4663 | * elf32-m68k.c (R_68K_GNU_VTINHERIT, R_68K_GNU_VTENTRY): New reloc | |
4664 | types. | |
4665 | (howto_table, reloc_map): Add entries for them. | |
4666 | (elf_m68k_check_relocs): Handle them. Implement reference | |
4667 | counting for got and plt entries. | |
4668 | (elf_m68k_gc_mark_hook, elf_m68k_gc_sweep_hook): New functions. | |
4669 | (elf_m68k_adjust_dynamic_symbol): Handle unreferenced plt | |
4670 | symbols. | |
4671 | (rtype_to_howto_rel, elf_info_to_howto_rel): Delete. | |
4672 | (elf_m68k_relocate_section): Handle the new reloc types. | |
4673 | (bfd_elf32_bfd_final_link, elf_backend_gc_mark_hook, | |
4674 | elf_backend_gc_sweep_hook, elf_backend_can_gc_sections): Define. | |
4675 | * elflink.h (elf_link_add_object_symbols): When creating an | |
4676 | indirect reference for symbol versioning also copy the plt | |
4677 | offset. | |
4678 | (elf_fix_symbol_flags): When clearing the ELF_LINK_HASH_NEEDS_PLT | |
4679 | flag also reset the plt offset. | |
4680 | (elf_link_assign_sym_version): Likewise. | |
4681 | (elf_gc_common_finalize_got_offsets): Increment the got offset by | |
4682 | the size of the entry in bytes. | |
4683 | (elf_gc_allocate_got_offsets): Likewise. | |
4684 | ||
4685 | Tue Jul 14 11:18:14 1998 Ian Lance Taylor <ian@cygnus.com> | |
4686 | ||
4687 | * elflink.h (elf_gc_sections): Return true rather than falling off | |
4688 | the bottom. | |
4689 | ||
4690 | * coffgen.c (bfd_coff_set_symbol_class): Call bfd_alloc, not | |
4691 | xmalloc. | |
4692 | ||
4693 | Mon Jul 13 11:06:31 1998 Nick Clifton <nickc@cygnus.com> | |
4694 | ||
4695 | * coff-arm.c: Supress definition of TARGET_UNDERSCORE and add a | |
4696 | comment describing when it should be enabled. | |
4697 | Changed definition of USER_LABEL_PREFIX to "", to fall into line | |
4698 | with GCC sources. | |
4699 | ||
4700 | Mon Jul 13 13:06:54 1998 Ian Lance Taylor <ian@cygnus.com> | |
4701 | ||
4702 | * ieee.c (ieee_slurp_external_symbols): Handle call optimization | |
4703 | information ATN records. | |
4704 | ||
4705 | Fri Jul 10 16:31:06 1998 Ian Lance Taylor <ian@cygnus.com> | |
4706 | ||
4707 | * ieee.c (ieee_slurp_external_symbols): Select an appropriate | |
4708 | section for an absolute symbol in a fully linked file. Based on | |
4709 | patch from Christian Holland <CHolland@de.lucent.com>. | |
4710 | ||
4711 | Wed Jul 8 11:29:56 1998 Manfred Hollstein <manfred@s-direktnet.de> | |
4712 | ||
4713 | * coff-m88k.c (m88k_special_reloc): Don't lose the information | |
4714 | that a symbol is undefined. | |
4715 | ||
4716 | Tue Jul 7 21:47:02 1998 Jeffrey A Law (law@cygnus.com) | |
4717 | ||
4718 | * som.c (som_bfd_gc_sections): Define. | |
4719 | ||
4720 | Mon Jul 6 11:35:50 1998 Nick Clifton <nickc@cygnus.com> | |
4721 | ||
4722 | * coff-arm.c (aoutarm_std_reloc_howto): Do not complain about | |
4723 | overflows in ARM_26D patches, since they have already been | |
4724 | implmented. Patch submitted by Dr. R.J. Black <rjb@dcs.gla.ac.uk> | |
4725 | ||
4726 | Sat Jul 4 12:25:36 1998 Ian Lance Taylor <ian@cygnus.com> | |
4727 | ||
4728 | * coffcode.h (coff_write_object_contents): If we have any long | |
4729 | section names, call coff_write_symbols even if there are no | |
4730 | symbols. | |
4731 | ||
4732 | Fri Jul 3 13:11:35 1998 Ian Lance Taylor <ian@cygnus.com> | |
4733 | ||
4734 | * elf.c (copy_private_bfd_data): Only set phdr_included once for a | |
4735 | PT_LOAD segment, rather than only setting it once for the entire | |
4736 | file. | |
4737 | ||
4738 | * elf.c (_bfd_elf_make_section_from_shdr): When setting the LMA, | |
4739 | rather than ignoring every phdr with a p_paddr of 0, ignore all | |
4740 | the phdrs if they all have a p_paddr of 0. | |
4741 | ||
4742 | * stabs.c (_bfd_write_stab_strings): Check whether the .stabstr | |
4743 | section was discarded from the link. | |
4744 | ||
4745 | Fri Jul 3 14:39:05 1998 J"orn Rennecke <amylaar@cygnus.co.uk> | |
4746 | ||
4747 | * coff-sh.c (sh_insn_uses_freg): Ignore lowest bit of register number. | |
4748 | ||
4749 | Fri Jul 3 14:35:48 1998 J"orn Rennecke <amylaar@cygnus.co.uk> | |
4750 | ||
4751 | * coff-sh.c (sh_insns_conflict): Load of fpscr conflicts with | |
4752 | floating point operations. | |
4753 | ||
4754 | Thu Jul 2 18:37:25 1998 Ian Lance Taylor <ian@cygnus.com> | |
4755 | ||
4756 | * cofflink.c (_bfd_coff_link_input_bfd): Skip undefined global | |
4757 | function symbols. | |
4758 | ||
4759 | Thu Jul 2 14:59:42 1998 Klaus Kaempf <kkaempf@rmi.de> | |
4760 | ||
4761 | Merge of vax/vms (read-only) support | |
4762 | * configure.com: Support Vax target. | |
4763 | * makefile.vms: Support Vax target. | |
27ac83bf | 4764 | * vms.h: Renamed from evax.h, merged vax/vms (read-only) support. |
252b5132 RH |
4765 | * vms.c: Renamed from evax-alpha.c, merged vax/vms (read-only) |
4766 | support. | |
4767 | * vms-hdr.c: Renamed from evax-emh.c, merged vax/vms (read-only) | |
4768 | support. | |
4769 | * vms-gsd.c: Renamed from evax-egsd.c, merged vax/vms (read-only) | |
4770 | support. | |
4771 | * vms-tir.c: Renamed from evax-etir.c, merged vax/vms (read-only) | |
4772 | support. | |
4773 | * vms-misc.c: Renamed from evax-misc.c, merged vax/vms (read-only) | |
4774 | support. | |
4775 | * libbfd.c (real_read): Use unbuffered read on VMS/Vax. | |
4776 | * targets.c (bfd_target_ovax_flavour): New flavour. | |
4777 | (vms_alpha_vec): Renamed from evax_alpha_vec. | |
4778 | (vms_vax_vec): New. | |
4779 | (target_vector): Update accordingly. | |
4780 | * config.bfd (alpha*-*-*vms*): Use vms_alpha_vec, not | |
4781 | evax_alpha_vec. | |
4782 | (vax*-*-*vms*): New target. | |
4783 | * Makefile.am: Update for renamed files. Rebuild dependencies. | |
4784 | * bfd-in2.h: Rebuild. | |
4785 | * configure.in, Makefile.in, aclocal.m4: Rebuild. | |
4786 | ||
4787 | Thu Jul 2 13:31:55 1998 Ian Lance Taylor <ian@cygnus.com> | |
4788 | ||
4789 | Based on patch from Matt Semersky <matts@scd.hp.com>: | |
4790 | * linker.c (_bfd_generic_final_link): Force a trailing NULL | |
4791 | pointer on abfd->outsymbols. | |
4792 | (generic_add_output_symbol): Handle NULL sym parameter. | |
4793 | ||
4794 | Wed Jul 1 17:05:53 1998 Nick Clifton <nickc@cygnus.com> | |
4795 | ||
4796 | * elf.c (copy_private_bfd_data): Add support for changing VMA or | |
4797 | LMA of sections. | |
4798 | ||
4799 | Wed Jul 1 16:58:50 1998 Ian Lance Taylor <ian@cygnus.com> | |
4800 | ||
4801 | * coff-sh.c (sh_relax_delete_bytes): Correct address comparisons | |
4802 | when handling 32 bit immediate relocs. | |
4803 | * elf32-sh.c (sh_elf_relax_delete_bytes): Likewise. | |
4804 | ||
4805 | Tue Jun 30 09:55:03 1998 Jeffrey A Law (law@cygnus.com) | |
4806 | ||
4807 | * section.c (STD_SECTION): Account for recently added gc_mark | |
4808 | field in struct asection. | |
4809 | ||
4810 | * elf-m10300.c (bfd_mn10300_elf_merge_private_bfd_data): New function. | |
4811 | (bfd_elf32_bfd_merge_private_bfd_data): Define. | |
4812 | ||
4813 | Thu Jun 25 18:31:41 1998 Richard Henderson <rth@cygnus.com> | |
4814 | ||
4815 | ELF Section-level Garbage Collection: | |
4816 | * bfd.c (bfd_gc_sections): New. | |
4817 | * aout-adobe.c: Hook to default implementation. | |
4818 | * aout-target.h, aout-tic30.c, binary.c, bout.c: Likewise. | |
4819 | * coff-alpha.c, coff-mips.c, coff-rs6000.c, coffcode.h: Likewise. | |
4820 | * evax-alpha.c, i386msdos.c, i386os9k.c, ieee.c: Likewise. | |
4821 | * ihex.c, nlm-target.h, oasys.c, ppcboot.c, srec.c: Likewise. | |
4822 | * tekhex.c, versados.c: Likewise. | |
4823 | * libbfd-in.h (_bfd_nolink_bfd_gc_sections): New. | |
4824 | * targets.c (BFD_JUMP_TABLE_LINK): Add _bfd_gc_sections. | |
4825 | ||
4826 | * reloc.c (BFD_RELOC_VTABLE_INHERIT, BFD_RELOC_VTABLE_ENTRY): New. | |
4827 | (bfd_generic_gc_sections): New. | |
4828 | * section.c (SEC_KEEP): New. | |
4829 | (asection): Add gc_mark member. | |
4830 | ||
4831 | * elfcode.h (elf_gc*): New name remappings. | |
4832 | * elflink.h (elf_link_input_bfd): Don't set contents on stabs | |
4833 | sections to be excluded. | |
4834 | (elf_gc_mark, elf_gc_sweep, elf_gc_sweep_symbol): New. | |
4835 | (elf_gc_propogate_vtable_entries_used): New. | |
4836 | (elf_gc_smash_unused_vtentry_relocs): New. | |
4837 | (elf_gc_sections, elf_gc_record_vtinherit, elf_gc_record_vtentry): New. | |
4838 | (elf_gc_common_finalize_got_offsets): New. | |
4839 | (elf_gc_allocate_got_offsets, elf_gc_common_final_link): New. | |
4840 | * elfxx-target.h: Add and default gc hooks. | |
4841 | ||
4842 | * elf-bfd.h (struct elf_link_hash_entry): Swap got_offset/plt_offset | |
4843 | for unions. | |
4844 | (struct elf_obj_tdata): Likewise for local_got_offsets. | |
4845 | * elf.c, elf-i386.c, elf32-m68k.c, elf32-mips.c: Update all uses. | |
4846 | * elf32-ppc.c, elf32-sparc.c, elf64-alpha.c: Likewise. | |
4847 | * elf64-sparc.c, elflink.h: Likewise. | |
4848 | ||
4849 | * elf-bfd.h (struct elf_link_hash_entry): Add vtable members. | |
4850 | (ELF_LINK_HASH_MARK): Define. | |
4851 | (struct elf_backend_data): Add GC hooks. | |
4852 | * elf.c (_bfd_elf_link_hash_newfunc): Zero vtable members. | |
4853 | ||
4854 | * elf-m10300.c (mn10300_elf_check_relocs): New. | |
4855 | (mn10300_elf_gc_mark_hook): New. | |
4856 | (R_MN10300_GNU_VTINHERIT, R_MN10300_GNU_VTENTRY): New. | |
4857 | (elf_mn10300_howto, mn10300_reloc_map): Handle them. | |
4858 | (mn10300_elf_final_link_relocate): Likewise. | |
4859 | (mn10300_elf_relocate_section): Likewise. | |
4860 | (elf_backend_can_gc_sections): Define. | |
4861 | * elf32-mips.c (R_MIPS_GNU_VTINHERIT, R_MIPS_GNU_VTENTRY): New. | |
4862 | (elf_mips_gnu_vtinherit_howto, elf_mips_gnu_vtentry_howto): New. | |
4863 | (bfd_elf32_bfd_reloc_type_lookup): Handle them. | |
4864 | (mips_info_to_howto_rel): Likewise. | |
4865 | (mips_elf_relocate_section): Likewise. | |
4866 | (mips_elf_check_relocs): Likewise. | |
4867 | (mips_elf_gc_mark_hook, mips_elf_gc_sweep_hook): New. | |
4868 | (elf_backend_can_gc_sections): Define. | |
4869 | * elf32-ppc.c (R_PPC_GNU_VTINHERIT, R_PPC_GNU_VTENTRY): New. | |
4870 | (ppc_elf_howto_raw): Handle them. | |
4871 | (ppc_elf_reloc_type_lookup): Likewise. | |
4872 | (ppc_elf_relocate_section): Likewise. | |
4873 | (ppc_elf_check_relocs): Reference count .got and .plt entires. | |
4874 | Handle new vtable relocs. | |
4875 | (ppc_elf_adjust_dynamic_symbol): Recognize unused .plt entries. | |
4876 | (ppc_elf_gc_mark_hook, ppc_elf_gc_sweep_hook): New. | |
4877 | (elf_backend_can_gc_sections): Define. | |
4878 | ||
4879 | Fri Jun 26 10:48:23 1998 Jeffrey A Law (law@cygnus.com) | |
4880 | ||
4881 | * archures.c (bfd_mach_mn10300): Define. | |
4882 | * elf-m10300.c: Include elf/mn10300.h | |
4883 | (elf_mn10300_mach): New function. | |
4884 | (_bfd_mn10300_elf_final_write_processing): Likewise. | |
4885 | (_bfd_mn10300_elf_object_p): Likewise. | |
4886 | (elf_backendfinal_write_processing): Define. | |
4887 | (elf_backend_object_p): Likewise. | |
4888 | ||
4889 | Thu Jun 25 18:31:08 1998 Nick Clifton <nickc@cygnus.com> | |
4890 | ||
4891 | * elf32-v850.c (v850_elf_perform_relocation): Fix HI16_S | |
4892 | relocation. | |
4893 | ||
4894 | Wed Jun 24 17:17:57 1998 Ian Lance Taylor <ian@cygnus.com> | |
4895 | ||
4896 | * elflink.h (elf_bfd_final_link): Loop over input_bfds using the | |
4897 | link_next field, not the next field. | |
4898 | ||
4899 | Sun Jun 21 19:38:39 1998 Ian Lance Taylor <ian@cygnus.com> | |
4900 | ||
4901 | * elf.c (map_sections_to_segments): Check the section address | |
4902 | against the phdr size both with and without a modulo of | |
4903 | maxpagesize. | |
4904 | ||
4905 | Fri Jun 19 17:08:18 1998 Ian Lance Taylor <ian@cygnus.com> | |
4906 | ||
4907 | * elf32-mips.c (mips_elf_size_dynamic_sections): Only strip a | |
4908 | linker created empty input section if the output section has the | |
4909 | same name. | |
4910 | ||
4911 | * elflink.h (elf_link_output_extsym): Print an error message if | |
4912 | _bfd_elf_section_from_bfd_section fails. | |
4913 | ||
4914 | * elf.c (_bfd_elf_section_from_bfd_section): Call bfd_set_error on | |
4915 | failure. | |
4916 | ||
4917 | Tue Jun 16 11:55:55 1998 Ian Lance Taylor <ian@cygnus.com> | |
4918 | ||
4919 | * elf.c (copy_private_bfd_data): Improve handling of Solaris | |
4920 | native linker output. Avoid putting an empty section in more than | |
4921 | one segment. | |
4922 | ||
4923 | Fri Jun 12 13:30:17 1998 Tom Tromey <tromey@cygnus.com> | |
4924 | ||
4925 | * po/Make-in (all-yes): If maintainer mode, depend on .pot file. | |
4926 | ($(PACKAGE).pot): Unconditionally depend on POTFILES. | |
4927 | ||
4928 | Fri Jun 12 13:34:02 1998 Doug Evans <devans@canuck.cygnus.com> | |
4929 | ||
4930 | * elf.c (swap_out_syms): New arg relocatable_p. | |
4931 | Don't add section VMA to symbols for relocatable output. | |
4932 | (_bfd_elf_compute_section_file_positions): Update call to | |
4933 | swap_out_syms. | |
4934 | ||
4935 | Mon Jun 8 15:20:57 1998 Nick Clifton <nickc@cygnus.com> | |
4936 | ||
4937 | * elf32-v850.c (v850_elf_perform_relocation): Make comparisons | |
4938 | against 'addend' be signed rather than unsigned. | |
4939 | ||
4940 | Sat Jun 6 00:31:21 1998 Nick Clifton <nickc@cygnus.com> | |
4941 | ||
4942 | * elf32-m32r.c: Add prototyps for static functions. | |
4943 | ||
4944 | * coff-arm.c: Add prototypes for static functions. | |
4945 | ||
4946 | Fri Jun 5 17:21:51 1998 Nick Clifton <nickc@cygnus.com> | |
4947 | ||
4948 | * elf.c (elf_sort_sections): Sort by LMA first then VMA, since the | |
4949 | LMA is used to order sections in a segment. | |
4950 | ||
4951 | * elf32-v850.c: Add prototypes for static functions. | |
4952 | Change type of addend parameter to bfd_vma in various functions. | |
4953 | ||
4954 | Fri Jun 5 18:09:58 1998 Ian Lance Taylor <ian@cygnus.com> | |
4955 | ||
4956 | * aoutx.h (howto_table_ext): Change RELOC_BASE13 to use | |
4957 | complain_overflow_signed instead of complain_overflow_bitfield. | |
4958 | ||
4959 | Fri Jun 5 15:11:11 1998 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de> | |
4960 | ||
4961 | * elf.c (elf_map_symbols): Don't add section VMA to symbol value | |
4962 | when comparing against 0. | |
4963 | ||
4964 | Wed Jun 3 17:52:49 1998 Ian Lance Taylor <ian@cygnus.com> | |
4965 | ||
4966 | * Makefile.am (config.status): New target. | |
4967 | * Makefile.in: Rebuild. | |
4968 | ||
4969 | Wed Jun 3 12:18:24 1998 Stan Cox <scox@equinox.cygnus.com> | |
4970 | ||
4971 | * elf32-sparc.c (elf32_sparc_merge_private_bfd_data): Give an | |
4972 | error if previous object endianness doesn't match current object. | |
4973 | ||
4974 | Tue Jun 2 17:50:59 1998 Nick Clifton <nickc@cygnus.com> | |
4975 | ||
4976 | * elf32-v850.c (v850_elf_print_private_bfd_data): Call | |
4977 | _bfd_elf_print_private)bfd_data (). | |
4978 | ||
4979 | Tue Jun 2 15:29:35 1998 Ian Lance Taylor <ian@cygnus.com> | |
4980 | ||
4981 | * elflink.h (elf_merge_symbol): Don't always set type_change_ok | |
4982 | and size_change_ok. | |
4983 | (elf_link_add_object_symbols): Set type_change_ok and | |
4984 | size_change_ok before calling elf_merge_symbol. | |
4985 | ||
4986 | * elf32-mips.c (mips_elf_relocate_section): If we issue an | |
4987 | undefined symbol error, don't also issue an overflow error. | |
4988 | ||
4989 | Tue Jun 2 13:51:00 1998 Geoff Keating <geoffk@ozemail.com.au> | |
4990 | ||
4991 | * elf32-ppc.c (ppc_elf_relocate_section): The target of an | |
4992 | R_PPC_LOCAL24PC relocation should be local; if not, print an error | |
4993 | message instead of crashing. | |
4994 | ||
4995 | Mon Jun 1 18:23:12 1998 Yuli Barcohen <yuli.barcohen@telrad.co.il> | |
4996 | ||
4997 | * archures.c (bfd_mach_cpu32): Define. | |
4998 | (bfd_default_scan): Add case for 68060. Fix 68332 case to use | |
4999 | bfd_mach_cpu32. | |
5000 | * cpu-m68k.c (arch_info_struct): Add m68k:cpu32. | |
5001 | * ieee.c: Include <ctype.h>. | |
5002 | (ieee_object_p): Parse out process ID string to make it more | |
5003 | likely to be acceptable for bfd_scan_arch. | |
5004 | * bfd-in2.h: Rebuild. | |
5005 | ||
5006 | Mon Jun 1 11:12:02 1998 Nick Clifton <nickc@cygnus.com> | |
5007 | ||
5008 | * elf32-m32r.c (m32r_elf_print_private_bfd_data): Also call | |
5009 | _bfd_elf_print_private_bfd_data() so that the program header will | |
5010 | be displayed. | |
5011 | ||
5012 | Mon Jun 1 12:14:28 1998 Ian Lance Taylor <ian@cygnus.com> | |
5013 | ||
5014 | * peicode.h (coff_swap_sym_in): Check for C_SECTION rather than | |
5015 | 0x68. Reindent. Add some comments. | |
5016 | ||
5017 | Fri May 29 09:58:08 1998 Nick Clifton <nickc@cygnus.com> | |
5018 | ||
5019 | * elf.c (copy_private_bfd_data): Adjust physical address of | |
5020 | segment in output BFD to contain LMAs of its sections. | |
5021 | ||
5022 | Tue May 26 19:37:47 1998 Stan Cox <scox@equinox.cygnus.com> | |
5023 | ||
5024 | * elf32-sparc.c (_bfd_sparc_elf_howto_table, sparc_reloc_map, | |
5025 | elf32_sparc_relocate_section): Added R_SPARC_32LE for little | |
5026 | endian data 32 bit relocations. | |
5027 | (elf32_sparc_merge_private_bfd_data): Check if linking little | |
5028 | endian objects with big endian objects. | |
5029 | (elf32_sparc_object_p): Set bfd_mach_sparc_sparclite_le. | |
5030 | (elf32_sparc_final_write_processing): Set EF_SPARC_LEDATA in e_flags. | |
5031 | * libbfd.h (bfd_reloc_code_real_names): Added BFD_RELOC_SPARC_32LE. | |
5032 | * reloc.c: Same. | |
5033 | * cpu-sparc.c (arch_info_struct): Added sparc:sparclite_le | |
5034 | * archures.c (bfd_mach_sparc_sparclite_le): New. | |
5035 | * bfd-in2.h (BFD_RELOC_SPARC_32LE, bfd_mach_sparc_sparclite_le): New. | |
5036 | ||
5037 | Thu May 21 16:59:28 1998 Nick Clifton <nickc@cygnus.com> | |
5038 | ||
5039 | * peicode.h (add_data_entry): Fix precedence of operators in if () | |
5040 | statement. | |
5041 | ||
5042 | Tue May 19 18:41:19 1998 Ian Lance Taylor <ian@cygnus.com> | |
5043 | ||
5044 | * bfd-in.h: Move over patch to bfd-in2.h. | |
5045 | ||
5046 | * reloc.c (bfd_check_overflow): Add casts before shifts which may | |
5047 | not fit in 32 bits. | |
5048 | (_bfd_relocate_contents): Likewise. | |
5049 | ||
5050 | Mon May 18 14:44:15 1998 Nick Clifton <nickc@cygnus.com> | |
5051 | ||
5052 | * peicode.h (add_data_entry): If the section has no private data | |
5053 | then do not create a Data Dictionary entry for it. | |
5054 | ||
5055 | Mon May 18 00:09:28 1998 Richard Henderson <rth@cygnus.com> | |
5056 | ||
5057 | * elf64-alpha.c (elf64_alpha_relax_section): Set again on changes. | |
5058 | (elf64_alpha_can_merge_gots, elf64_alpha_merge_gots, | |
5059 | elf64_alpha_size_got_sections): Rewrite, handling multiple got | |
5060 | subsections during relaxation more correctly. | |
5061 | ||
5062 | Thu May 14 14:22:58 1998 Nick Clifton <nickc@cygnus.com> | |
5063 | ||
5064 | * bfd-in2.h: Add new prototype: bfd_coff_set_symbol_class (). | |
5065 | Add extra argument to bfd_arm_process_before_allocation (). | |
5066 | * bfd-in.h: Reflect changes made in bfd-in2.h. | |
5067 | * coffgen.c (bfd_coff_set_symbol_class): New function. Set the | |
5068 | coff class of a BFD symbol. | |
5069 | * coff-arm.c: Add support for interworking between Thumb code and | |
5070 | non-interworking aware ARM code. | |
5071 | ||
5072 | Sun May 10 22:33:59 1998 Jeffrey A Law (law@cygnus.com) | |
5073 | ||
5074 | * po/Make-in (install-info): New target. | |
5075 | ||
5076 | Thu May 7 17:40:56 1998 Ian Lance Taylor <ian@cygnus.com> | |
5077 | ||
5078 | * filemode.c: Remove; not used. | |
5079 | ||
5080 | If sysdep.h includes a header file, don't include it again: | |
5081 | * aix386-core.c: Don't include <stdio.h>, <stddef.h>, or | |
5082 | <errno.h>. | |
5083 | * aoutx.h: Don't include <string.h>. Use "sysdep.h" rather than | |
5084 | <sysdep.h>. | |
5085 | * archive.c: Don't include <string.h> or <errno.h>. | |
5086 | * evax-alpha.c; Don't include <stdio.h>. | |
5087 | * evax-egsd.c: Likewise. | |
5088 | * evax-etir.c: Likewise. | |
5089 | * evax-misc.c: Likewise. | |
5090 | * evax-emh.c: Likewise. Also, don't include <sys/types.h>. | |
5091 | * hppabsd-core.c: Don't include <stdio.h>, <sys/types.h>, or | |
5092 | <errno.h>. | |
5093 | * hpux-core.c: Likewise. | |
5094 | * netbsd-core.c: Likewise. | |
5095 | * som.c: Likewise. | |
5096 | * libbfd.c: Don't include <sys/types.h>. | |
5097 | * nlmcode.h: Don't include <string.h>. | |
5098 | * osf-core.c: Don't include <string.h> or <stdio.h>. | |
5099 | * ptrace-core.c: Don't include <stdio.h>, <sys/types.h>, | |
5100 | <errno.h>, or <unistd.h>. | |
5101 | * trad-core.c: Don't include <stdio.h> or <sys/types.h>. | |
5102 | ||
5103 | Thu May 7 13:12:50 1998 Klaus Kaempf <kkaempf@progis.de> | |
5104 | ||
5105 | * configure.com: If the version number can not be found in | |
5106 | configure.in, set it to "unknown" rather than "2.8.1". | |
5107 | ||
5108 | Wed May 6 09:46:05 1998 Gavin Koch <gavin@cygnus.com> | |
5109 | ||
5110 | * elf32-mips.c (elf_mips_mach): New. | |
5111 | (_bfd_mips_elf_object_p): Use elf_mips_mach. | |
5112 | (_bfd_mips_elf_final_write_processing): Use the names | |
5113 | of machines, rather than the numbers. Set both the ARCH | |
5114 | and MACH in e_flags. Handle a few more specific machines. | |
5115 | (_bfd_mips_elf_merge_private_bfd_data): Merge both | |
5116 | EF_MIPS_ARCH and EF_MIPS_MACH. | |
5117 | ||
5118 | Tue May 5 21:01:53 1998 Richard Henderson <rth@cygnus.com> | |
5119 | ||
5120 | * syms.c (bfd_is_local_label): Revert last change. | |
5121 | * srec.c (srec_write_symbols): Discard debugging symbols. | |
5122 | ||
5123 | Tue May 5 23:36:06 1998 Ian Lance Taylor <ian@cygnus.com> | |
5124 | ||
5125 | * som.c: Include <ctype.h>. | |
5126 | * som.h: Don't include sysdep.h. | |
5127 | ||
5128 | Tue May 5 18:29:24 1998 Tom Tromey <tromey@cygnus.com> | |
5129 | ||
5130 | * libbfd.h: Rebuilt. | |
5131 | * libbfd-in.h: Removed gettext includes and defines. | |
5132 | * sysdep.h: Moved gettext-related includes and defines here. | |
5133 | ||
5134 | Tue May 5 16:47:54 1998 Richard Henderson <rth@cygnus.com> | |
5135 | ||
5136 | * srec.c (srec_write_symbols): Use bfd_is_local_label rather than | |
5137 | an ad-hoc test. Kill bogus #if 0 code. | |
5138 | * syms.c (bfd_is_local_label): Consider BSF_DEBUGGING symbols local. | |
5139 | ||
5140 | Mon May 4 16:10:33 1998 Ian Lance Taylor <ian@cygnus.com> | |
5141 | ||
5142 | * sunos.c (sunos_check_dynamic_reloc): Don't use the PLT address | |
5143 | when generating a normal executable for a symbol defined in a | |
5144 | regular file. When copying a reloc into the output file, adjust | |
5145 | the addend for a PC relative reloc against a global symbol. | |
5146 | ||
5147 | Mon May 4 10:08:18 1998 Tom Tromey <tromey@cygnus.com> | |
5148 | ||
5149 | * libbfd.h: Rebuilt. | |
5150 | * libbfd-in.h (_): Define as dgettext. | |
5151 | ||
5152 | Mon May 4 11:02:23 1998 Ian Lance Taylor <ian@cygnus.com> | |
5153 | ||
5154 | * coff-arm.c (coff_arm_relocate_section): Cast to bfd_signed_vma, | |
5155 | not signed. | |
5156 | * peicode.h (pe_saved_coff_bfd_print_private_bfd_data): Use PARAMS | |
5157 | when declaring parameter types. | |
5158 | (pe_saved_coff_bfd_copy_private_bfd_data): Likewise. | |
5159 | ||
5160 | Wed Apr 29 15:35:03 1998 Ian Lance Taylor <ian@cygnus.com> | |
5161 | ||
5162 | * config.bfd: If we include any ELF targets in targ_defvec and/or | |
5163 | targ_selvecs, then add the generic ELF targets to targ_selvecs. | |
5164 | * elf32-gen.c (dummy): New static const variable. | |
5165 | (elf_generic_info_to_howto): New static function. | |
5166 | (elf_generic_info_to_howto_rel): New static function. | |
5167 | (elf_info_to_howto): Define as elf_generic_info_to_howto. | |
5168 | (elf_info_to_howto_rel): Define as elf_generic_info_to_howto_rel. | |
5169 | * elf64-gen.c: Same changes as elf32-gen.c. | |
5170 | * elfcode.h (elf_object_p): For the generic target, ignore a | |
5171 | failure of bfd_default_set_arch_mach. Fix indentation a bit. | |
5172 | ||
5173 | Tue Apr 28 20:05:52 1998 Ian Lance Taylor <ian@cygnus.com> | |
5174 | ||
5175 | * configure.in (WIN32LIBADD): Add -lintl on cygwin32. | |
5176 | * configure: Rebuild. | |
5177 | ||
5178 | Tue Apr 28 12:16:57 1998 Jason Molenda (crash@bugshack.cygnus.com) | |
5179 | ||
5180 | * config.bfd: Update OSR5/Unixware patterns. | |
5181 | ||
5182 | Mon Apr 27 18:02:24 1998 Richard Henderson <rth@cygnus.com> | |
5183 | ||
5184 | * elf.c (assign_file_positions_for_segments): Allow for holes | |
5185 | between sections added by a link script. | |
5186 | ||
5187 | Mon Apr 27 11:49:55 1998 Ian Lance Taylor <ian@cygnus.com> | |
5188 | ||
5189 | * configure.in: Change version number to 2.9.4 | |
5190 | * configure: Rebuild. | |
5191 | ||
5192 | Based on patch from H.J. Lu <hjl@gnu.org>: | |
5193 | * elf.c (bfd_elf_get_bfd_needed_list): New function. | |
5194 | * bfd-in.h (bfd_elf_get_bfd_needed_list): Declare. | |
5195 | * bfd-in2.h: Rebuild. | |
5196 | ||
5197 | Sat Apr 25 20:07:53 1998 Richard Henderson <rth@cygnus.com> | |
5198 | ||
5199 | * elf64-alpha.c (struct alpha_relax_info): Replace elfsym with other. | |
5200 | Change all users. | |
5201 | ||
5202 | Sat Apr 25 18:29:07 1998 Richard Henderson <rth@cygnus.com> | |
5203 | ||
5204 | * elf64-alpha.c (struct alpha_relax_info): Add tsec & elfsym members. | |
5205 | (elf64_alpha_relax_section): Fill them in. | |
5206 | (elf64_alpha_relax_opt_call): Implement more than a stub. | |
5207 | (elf64_alpha_add_symbol_hook): Don't set SEC_LOAD or default | |
5208 | alignment on .scommon. | |
5209 | (elf64_alpha_merge_gots): Merge use counts as well. | |
5210 | ||
5211 | Sat Apr 25 14:07:29 1998 Richard Henderson <rth@cygnus.com> | |
5212 | ||
5213 | * elf64-alpha.c (elf64_alpha_relax_section): Use the proper section | |
5214 | for calculating a local symbol's address. | |
5215 | (elf64_alpha_calc_got_offsets): Skip entries with 0 use count. | |
5216 | Set the .got's cooked size as well as the raw size. | |
5217 | ||
5218 | Fri Apr 24 09:16:00 1998 Nick Clifton <nickc@cygnus.com> | |
5219 | ||
5220 | * elf32-v850.c (v850_elf_print_private_bfd_data): Add | |
5221 | internationalisation of printed information. | |
5222 | ||
5223 | * coff-arm.c (coff_arm_print_private_bfd_data): Add | |
5224 | internationalisation of printed information. | |
5225 | ||
5226 | Fri Apr 24 12:09:18 1998 Ian Lance Taylor <ian@cygnus.com> | |
5227 | ||
5228 | * syms.c (struct indexentry): Change directory_name, file_name, | |
5229 | and function_name fields to char *. | |
5230 | (struct stab_find_info): Change cached_file_name field to char *. | |
5231 | ||
5232 | Thu Apr 23 08:13:04 1998 Nick Clifton <nickc@cygnus.com> | |
5233 | ||
5234 | * peicode.h (dir_names): Add missing N_() macros to dir_names array. | |
5235 | ||
5236 | Wed Apr 22 13:06:15 1998 Tom Tromey <tromey@cygnus.com> | |
5237 | ||
5238 | * po/Make-in (MKINSTALLDIRS): Don't look in $(top_srcdir). | |
5239 | ||
5240 | Wed Apr 22 17:48:48 1998 Ian Lance Taylor <ian@cygnus.com> | |
5241 | ||
5242 | * Makefile.am (install-data-local): Make $(includedir). | |
5243 | * Makefile.in: Rebuild. | |
5244 | ||
5245 | Wed Apr 22 13:06:15 1998 Tom Tromey <tromey@cygnus.com> | |
5246 | ||
5247 | * libbfd-in.h: Use `gettext' and not `dgettext' for now. | |
5248 | ||
5249 | Wed Apr 22 12:53:40 1998 Ian Lance Taylor <ian@cygnus.com> | |
5250 | ||
5251 | * Makefile.am (INCLUDES): Add -I$(srcdir)/../intl -I../intl. | |
5252 | * Makefile.in: Rebuild. | |
5253 | ||
5254 | * bfd-in2.h: Rebuild for Nick's changes. | |
5255 | ||
5256 | Tue Apr 21 23:11:51 1998 Richard Henderson <rth@cygnus.com> | |
5257 | ||
5258 | * archive.c (_bfd_generic_read_ar_hdr_mag): Fix lossage in last | |
5259 | change wrt length == max_namelen. | |
5260 | ||
5261 | Tue Apr 21 21:19:36 1998 Tom Tromey <tromey@scribbles.cygnus.com> | |
5262 | ||
5263 | * Many files: Added gettext invocations around user-visible | |
5264 | strings. | |
5265 | * libbfd-in.h: Added gettext includes and defines. | |
5266 | * acconfig.h (ENABLE_NLS, HAVE_CATGETS, HAVE_GETTEXT, HAVE_STPCPY, | |
5267 | HAVE_LC_MESSAGES): Define. | |
5268 | * configure.in: Call CY_GNU_GETTEXT. Create po/Makefile.in and | |
5269 | po/Makefile. | |
5270 | * Makefile.am (SUBDIRS): Added po. | |
5271 | (POTFILES): New macro. | |
5272 | (po/POTFILES.in): New target. | |
5273 | (SOURCE_HFILES): New macro. | |
5274 | (HFILES): Use it. | |
5275 | * po/Make-in, po/POTFILES.in, po/bfd.pot: New files. | |
5276 | ||
5277 | Tue Apr 21 13:38:18 1998 Peter Schauer (pes@regent.e-technik.tu-muenchen.de) | |
5278 | ||
5279 | * elfcore.h (bfd_prstatus): Copy core_prstatus from the first | |
5280 | NT_PRSTATUS note section encountered, it contains the status of | |
5281 | the currently executing thread when the core file was written. | |
5282 | ||
5283 | Tue Apr 21 10:00:12 1998 Nick Clifton <nickc@cygnus.com> | |
5284 | ||
5285 | * libcoff.h: Add extra parameter to | |
5286 | bfd_coff_link_output_has_begun overrideable function. | |
5287 | * cofflink.c: Pass extra parameter to | |
5288 | bfd_coff_link_output_has_begun function. | |
5289 | * bfd-in.h: Add prototypes for exported ARM interworking | |
5290 | functions. | |
5291 | * peicode.h: ARM specific code reorganised to conform to BFD | |
5292 | coding conventions. | |
5293 | * coffcode.h: ARM specific code reorganised to conform to BFD | |
5294 | coding conventions. | |
5295 | * coff-arm.c: Code reorganised to conform to the BFD coding | |
5296 | conventions. Global variables have been moved into an ARM | |
5297 | specific hash table structure and a new function: | |
5298 | bfd_arm_get_bfd_for_interworking() has been created which is | |
5299 | called from the linker scripts. | |
5300 | ||
5301 | Tue Apr 21 00:11:51 1998 Richard Henderson <rth@cygnus.com> | |
5302 | ||
5303 | * archive.c (_bfd_generic_read_ar_hdr_mag): Simplify end-of-name test. | |
5304 | ||
5305 | * elf64-alpha.c (elf64_alpha_find_reloc_at_ofs): Renamed from | |
5306 | elf64_alpha_relax_find_reloc_ofs. Changed all callers. | |
5307 | (elf64_alpha_add_symbol_hook): Put small commons in .scommon not .sbss. | |
5308 | (elf64_alpha_size_got_sections): Don't merge .got sections twice. | |
5309 | ||
5310 | Sat Apr 18 01:21:04 1998 Stan Cox <scox@cygnus.com> | |
5311 | ||
5312 | * config.bfd: Added sparc86x support. | |
5313 | ||
5314 | Fri Apr 17 22:29:04 1998 Ian Lance Taylor <ian@cygnus.com> | |
5315 | ||
5316 | * elf32-mips.c (mips_elf_relocate_section): Do not complain about | |
5317 | an out of range pc-relative jump/call to an undefined weak symbol. | |
5318 | ||
5319 | Thu Apr 16 13:49:00 1998 Richard Henderson <rth@cygnus.com> | |
5320 | ||
5321 | * elf64-alpha.c (elf64_alpha_do_reloc_gpdisp): Do all gpdisp | |
5322 | comparisons signed. | |
5323 | ||
5324 | Thu Apr 16 11:43:33 1998 Ian Lance Taylor <ian@cygnus.com> | |
5325 | ||
5326 | * archive.c (bfd_generic_archive_p): If a slurp subroutine returns | |
5327 | an error other than bfd_error_system_call, set the error to | |
5328 | bfd_error_wrong_format. | |
5329 | ||
5330 | * targets.c (bfd_target_vector) [SELECT_VECS not defined]: Add | |
5331 | bfd_elf32_powerpcle_vec. | |
5332 | ||
5333 | * elf.c (copy_private_bfd_data): If all the p_paddr fields in the | |
5334 | program segments are zero, don't set p_paddr_valid. | |
5335 | ||
5336 | Wed Apr 15 22:15:16 1998 Richard Henderson <rth@cygnus.com> | |
5337 | ||
5338 | * elf64-alpha.c: Initial implementation of relaxation -- | |
5339 | (struct alpha_elf_link_hash_entry): Add use_count member. | |
5340 | (elf64_alpha_check_relocs): Initialize and increment it. | |
5341 | (elf64_alpha_can_merge_gots): Check it when considering merging. | |
5342 | (elf64_alpha_merge_gots): Drop entries with zero use. | |
5343 | (elf64_alpha_calc_got_offsets_for_symbol): Likewise. | |
5344 | (elf64_alpha_always_size_sections): Split out got sizing ... | |
5345 | (elf64_alpha_size_got_sections): ... here. New function. | |
5346 | (elf64_alpha_relax_find_reloc_ofs): New function. | |
5347 | (elf64_alpha_relax_with_lituse): Likewise. | |
5348 | (elf64_alpha_relax_without_lituse): Likewise. | |
5349 | (elf64_alpha_relax_opt_call): Likewise. | |
5350 | (elf64_alpha_relax_section): Likewise. | |
5351 | (elf64_alpha_add_symbol_hook): Likewise. | |
5352 | (elf64_alpha_howto_table): Implement GPRELHIGH/LOW & IMMED_GP_16. | |
5353 | (elf64_alpha_relocate_section): Likewise. | |
5354 | (bfd_elf64_bfd_relax_section): Define. | |
5355 | (elf_backend_add_symbol_hook): Likewise. | |
5356 | ||
5357 | Wed Apr 15 16:08:46 1998 Richard Henderson <rth@cygnus.com> | |
5358 | ||
5359 | * elf.c (prep_headers): Use new EM_SPARCV9 symbol. | |
5360 | * elf64-sparc.c (ELF_MACHINE_CODE): Likewise. | |
5361 | (ELF_MACHINE_ALT1): New. Set to EM_OLD_SPARC64. | |
5362 | ||
5363 | Wed Apr 15 11:34:33 1998 Ian Lance Taylor <ian@cygnus.com> | |
5364 | ||
5365 | * configure.in: Add -lkernel32 to WIN32LIBADD on cygwin32. | |
5366 | * configure: Rebuild. | |
5367 | ||
5368 | Mon Apr 13 16:46:27 1998 Ian Lance Taylor <ian@cygnus.com> | |
5369 | ||
5370 | * Makefile.am (libbfd_la_LIBADD): Add @WIN32LIBADD@. | |
5371 | (libbfd_la_LDFLAGS): Add @WIN32LDFLAGS@. | |
5372 | * configure.in: Define and substitute WIN32LDFLAGS and | |
5373 | WIN32LIBADD. | |
5374 | * aclocal.m4: Rebuild with new libtool. | |
5375 | * configure, Makefile.in: Rebuild. | |
5376 | ||
5377 | Fri Apr 10 13:44:27 1998 Ian Lance Taylor <ian@cygnus.com> | |
5378 | ||
5379 | * coffcode.h (coff_write_object_contents): Move a PE COMDAT symbol | |
5380 | before any other symbols in the same section. | |
5381 | ||
5382 | Wed Apr 8 14:50:23 1998 Michael Meissner <meissner@cygnus.com> | |
5383 | ||
5384 | * config.bfd (powerpc*-*-*): Remove PowerPC NT support from ELF | |
5385 | systems. | |
5386 | ||
5387 | Tue Apr 7 16:25:31 1998 Gavin Romig-Koch <gavin@cygnus.com> | |
5388 | ||
5389 | * dwarf2.c (comp_unit): Move it earlier in the source. Add | |
5390 | addr_size. | |
5391 | (read_address): Replace 'bdf*' argument with 'comp_unit*' argument. | |
27ac83bf | 5392 | Use addr_size for address size, rather than sizeof(bfd_vma). |
252b5132 RH |
5393 | (read_attribute): Replace bdf* argument with 'comp_unit*' argument. |
5394 | Fix call to read_address. | |
5395 | (decode_line_info): Replace bdf* argument with 'comp_unit*' argument. | |
5396 | Scrap other unneeded arguments. Fix call to read_address. | |
5397 | (scan_unit_for_functions): Fix call to read_attribute. | |
5398 | (parse_comp_unit): We now handle more values for addr_size. | |
5399 | Set addr_size in unit. Fix call to read_attribute and | |
5400 | decode_line_info. | |
5401 | ||
5402 | Tue Apr 7 15:44:47 1998 Gavin Romig-Koch <gavin@cygnus.com> | |
5403 | ||
5404 | * dwarf2.c (parse_comp_unit): Drop use of unit->name when it is null. | |
5405 | ||
5406 | Tue Apr 7 12:35:18 1998 Ian Lance Taylor <ian@cygnus.com> | |
5407 | ||
5408 | * archures.c (bfd_default_scan): Add m68k cases back to default | |
5409 | switch, reverting patch of March 25, since IEEE support depends | |
5410 | upon them. | |
5411 | ||
5412 | Mon Apr 6 14:06:40 1998 Ian Lance Taylor <ian@cygnus.com> | |
5413 | ||
5414 | * Makefile.am (diststuff): New target. | |
5415 | * Makefile.in: Rebuild. | |
5416 | ||
5417 | Sun Apr 5 16:21:44 1998 Jeffrey A Law (law@cygnus.com) | |
5418 | ||
5419 | * som.c (som_bfd_ar_write_symbol_stuff): Fix computation of | |
5420 | som_offset when we have an extended name table. | |
5421 | ||
5422 | Sun Apr 5 16:04:39 1998 H.J. Lu <hjl@gnu.org> | |
5423 | ||
5424 | * Makefile.am (stamp-lib): Check that .libs/libbfd.a exists before | |
5425 | trying to copy it. | |
5426 | * Makefile.in: Rebuild. | |
5427 | ||
5428 | Fri Apr 3 11:09:42 1998 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de> | |
5429 | ||
5430 | * elf32-m68k.c (elf_m68k_size_dynamic_sections): Generate section | |
5431 | symbols when creating a shared library. | |
5432 | (elf_m68k_adjust_dynindx): New function, used by above code. | |
5433 | (elf_m68k_finish_dynamic_sections): Initialize the section | |
5434 | symbols. | |
5435 | (elf_m68k_relocate_section): Change abort to BFD_ASSERT. | |
5436 | ||
5437 | Wed Apr 1 16:04:02 1998 Nick Clifton <nickc@cygnus.com> | |
5438 | ||
5439 | * coff-arm.c (in_reloc_p): Use ARM_RVA32 in place of constant | |
5440 | value 11. | |
5441 | ||
5442 | Wed Apr 1 13:36:58 1998 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de> | |
5443 | ||
5444 | * elf32-m68k.c (elf_m68k_relocate_section, case R_68K_PLT*O): Fix | |
5445 | assertion. | |
5446 | ||
5447 | Tue Mar 31 00:12:12 1998 Jeffrey A Law (law@cygnus.com) | |
5448 | ||
5449 | * elf-m10300.c (mn10300_elf_relax_section): Correctly handle | |
5450 | absolute symbols. | |
5451 | ||
5452 | Mon Mar 30 12:46:15 1998 Ian Lance Taylor <ian@cygnus.com> | |
5453 | ||
5454 | * configure.in: Set version to 2.9.1. | |
5455 | * configure: Rebuild. | |
5456 | ||
5457 | * Branched binutils 2.9. | |
5458 | ||
5459 | Mon Mar 30 12:20:50 1998 Brent Baccala <baccala@freesoft.org> | |
5460 | ||
5461 | * syms.c (ENABLE_CACHING): Define. | |
5462 | (struct indexentry): Define. | |
5463 | (struct stab_cache): Remove. | |
5464 | (cmpindexentry): New static function. | |
5465 | (struct stab_find_info): Add new fields: indextable, | |
5466 | indextablesize, cached_indexentry, cached_offset, cached_stab, and | |
5467 | cached_file_name. Remove fields: file_cache, function_cache, and | |
5468 | line_cache. | |
5469 | (_bfd_stab_section_find_nearest_line): Rewrite to build a sorted | |
5470 | index table and search it. | |
5471 | ||
5472 | Mon Mar 30 10:39:34 1998 Ian Lance Taylor <ian@cygnus.com> | |
5473 | ||
5474 | * elf.c (_bfd_elf_copy_private_section_data): Call | |
5475 | copy_private_bfd_data once we've seen the last SEC_ALLOC section. | |
5476 | ||
5477 | * cpu-mips.c: Remove trailing comma at end of enumeration list. | |
5478 | ||
5479 | Sat Mar 28 16:33:02 1998 Ian Lance Taylor <ian@cygnus.com> | |
5480 | ||
5481 | * coff-arm.c: Define all globally visible variables and functions | |
5482 | only when COFF_WITH_PE is not defined. | |
5483 | * configure.in (armpe_little_vec, armpe_big_vec): Add | |
5484 | coff-arm.lo. | |
5485 | * configure: Rebuild. | |
5486 | ||
5487 | Fri Mar 27 16:06:02 1998 Ian Lance Taylor <ian@cygnus.com> | |
5488 | ||
5489 | Fix some gcc -Wall warnings: | |
5490 | * aout-arm.c (MY(fix_pcrel_26)): Add casts to avoid warnings. | |
5491 | * archive.c (_bfd_generic_read_ar_hdr_mag): Likewise. | |
5492 | * archures.c (bfd_default_scan): Likewise. | |
5493 | * bfd.c (bfd_scan_vma): Likewise. | |
5494 | * binary.c (mangle_name): Likewise | |
5495 | * coff-arm.c (aoutarm_fix_pcrel_26): Likewise. | |
5496 | * coff-sh.c (sh_relocate_section): Likewise. | |
5497 | * coff-stgo32.c (create_go32_stub): Likewise. | |
5498 | * coffcode.h (coff_slurp_line_table): Likewise. | |
5499 | * ecoff.c (_bfd_ecoff_write_armap): Likewise. | |
5500 | * elf.c (_bfd_elf_make_section_from_shdr): Likewise. | |
5501 | (assign_file_positions_for_segments): Likewise. | |
5502 | * elf32-mips.c (mips_elf_relocate_section): Likewise. | |
5503 | * elf32-ppc.c (ppc_elf_add_symbol_hook): Likewise. | |
5504 | * oasys.c (oasys_write_sections): Likewise. | |
5505 | * ppcboot.c (ppcboot_object_p): Likewise. | |
5506 | (mangle_name): Likewise. | |
5507 | * riscix.c (riscix_fix_pcrel_26): Likewise. | |
5508 | * srec.c (srec_scan): Likewise. | |
5509 | * stabs.c (_bfd_write_section_stabs): Likewise. | |
5510 | * sunos.c (sunos_add_dynamic_symbols): Likewise. | |
5511 | * aout-ns32k.c (_bfd_ns32k_relocate_contents): Add default case to | |
5512 | switch. Declare parameters for function pointers. | |
5513 | * archures.c (bfd_default_scan): Add braces to avoid ambiguous if | |
5514 | warning. | |
5515 | * elf.c (elf_sort_sections): Likewise. | |
5516 | * coff-arm.c (coff_thumb_pcrel_common): Initialize relocation. | |
5517 | Add default cases to switches. | |
5518 | (coff_arm_relocate_section): Remove unused local variables. | |
5519 | Always set rstat. | |
5520 | (coff_arm_bfd_set_private_flags): Change flag variable to type | |
5521 | flagword. | |
5522 | * coff-mips.c (mips_relocate_section): Initialize use_lo. | |
5523 | * coff-ppc.c (ppc_record_toc_entry): Change i to unsigned int. | |
5524 | (dump_toc): Change cat to const, and initialize it. | |
5525 | * coff-sh.c (sh_relax_delete_bytes): Initialize start and voff. | |
5526 | * elf32-sh.c (sh_elf_relax_delete_bytes): Likewise. | |
5527 | (sh_elf_relocate_section): Initialize r_symndx. | |
5528 | * coffcode.h (coff_compute_section_file_positions): Only declare | |
5529 | old_sofar if ALIGN_SECTIONS_IN_FILE. | |
5530 | (coff_write_object_contents): Initialize csym. | |
5531 | * coffgen.c (coff_pointerize_aux): Make type and class unsigned. | |
5532 | * cpu-ns32k.c (_bfd_ns32k_get_displacement): Add default case to | |
5533 | switch. | |
5534 | * dwarf2.c: Include libiberty.h. | |
5535 | (read_2_signed_bytes, read_4_signed_bytes): Comment out. | |
5536 | (decode_line_info): Remove unused local variables. | |
5537 | * elf32-m32r.c (m32r_elf_sda16_reloc): Likewise. | |
5538 | (m32r_elf_relocate_section): Likewise. | |
5539 | * elf32-v850.c (v850_elf_store_addend_in_insn): Likewise. | |
5540 | (v850_elf_reloc): Likewise. | |
5541 | * elf-bfd.h (elf_linker_section_t): Make alignment unsigned. | |
5542 | (struct elf_obj_tdata): Make cverdefs and cverrefs unsigned. | |
5543 | * elf.c (assign_file_positions_for_segments): Always set adjust. | |
5544 | * elf32-d30v.c (bfd_elf_d30v_reloc): Initialize tmp_addr. Fully | |
5545 | parenthesize expression. | |
5546 | * elf32-m32r.c (m32r_elf_relocate_section): Always initialize h. | |
5547 | (m32r_elf_object_p): Return a value. | |
5548 | (m32r_elf_print_private_bfd_data): Change fprintf format string. | |
5549 | * elf32-mips.c (mips_elf_final_link): Initialize last. | |
5550 | (mips_elf_finish_dynamic_sections): Initialize last and dindx. | |
5551 | * elf32-v850.c (v850_elf_object_p): Return a value. | |
5552 | (v850_elf_print_private_bfd_data): Change fprintf format string. | |
5553 | * elfcode.h (elf_slurp_symbol_table): Change symcount and i to | |
5554 | unsigned long. | |
5555 | * elflink.h (elf_link_add_object_symbols): Change vernum to | |
5556 | unsigned int, and initialize it. Change fprintf format string. | |
5557 | (NAME(bfd_elf,size_dynamic_sections)): Cast -1 to bfd_size_type | |
5558 | when setting or comparing to soname_indx. | |
5559 | (elf_create_pointer_linker_section): Change num_symbols to | |
5560 | unsigned int. | |
5561 | * libcoff-in.h (coff_data_type): Change flags to flagword. | |
5562 | * peicode.h (pe_print_idata): Initialize idx. Change j to | |
5563 | bfd_size_type. Initialize hint_member. Remove useless test to | |
5564 | time_stamp. | |
5565 | (pe_print_edata): Change num_functions and num_names in struct | |
5566 | EDT_type to unsigned long. Remove cast. Change fprintf format | |
5567 | string. | |
5568 | * ppcboot.c (ppcboot_object_p): Change i to size_t. | |
5569 | * reloc.c (bfd_get_reloc_size): Change return type to unsigned | |
5570 | int. | |
5571 | * reloc16.c (bfd_coff_reloc16_relax_section): Change shrinks to | |
5572 | int *. Update uses. Change j to long. | |
5573 | * bfd-in2.h, libcoff.h: Rebuild. | |
5574 | ||
5575 | Fri Mar 27 10:10:46 1998 Catherine Moore <clm@cygnus.com> | |
5576 | ||
5577 | * elf32-v850.c Remove definition of USE_REL. | |
5578 | (v850_elf_info_to_howto_rela): New function. | |
5579 | (v850_elf_perform_relocation): Renamed from | |
5580 | v850_elf_store_addend_in_insn. Removed replace argument. | |
5581 | (v850_elf_reloc): store the relocation in the addend field instead | |
5582 | of the insn. | |
5583 | (v850_elf_final_link_relocate): Now calls | |
5584 | v850_elf_perform_relocation. | |
5585 | (v850_elf_relocate_section): Remove code to generate REL | |
5586 | relocations. | |
5587 | ||
5588 | Thu Mar 26 13:32:17 1998 Ian Lance Taylor <ian@cygnus.com> | |
5589 | ||
5590 | * coffcode.h (coff_new_section_hook): Set the type and storage | |
5591 | class in the native symbol information allocated for a new section | |
5592 | symbol. | |
5593 | ||
5594 | Thu Mar 26 10:13:41 1998 Nick Clifton <nickc@cygnus.com> | |
5595 | ||
5596 | * peicode.h: Chain together calls to | |
5597 | coff_bfd_copy_private_bfd_data and | |
5598 | coff_bfd_print_private_bfd_data. | |
5599 | ||
5600 | * coff-arm.c: Add prototypes for | |
5601 | coff_arm_bfd_print_private_bfd_data and | |
5602 | coff_arm_bfd_copy_private_bfd_data. | |
5603 | ||
5604 | Wed Mar 25 15:45:55 1998 Nick Clifton <nickc@cygnus.com> | |
5605 | ||
5606 | * coffcode.h (coff_mkobject_hook): Set private falgs even for a PE | |
5607 | build. | |
5608 | ||
5609 | * peicode.h: Call arm-coff private data functions after handling | |
5610 | pe private data. | |
5611 | ||
5612 | * coff-arm.c: Turn statics into globals so that they can be shared | |
5613 | both pe and pei backends. | |
5614 | ||
5615 | Wed Mar 25 15:19:38 1998 Ian Lance Taylor <ian@cygnus.com> | |
5616 | ||
5617 | * aoutf1.h (sunos_set_arch_mach): Use bfd_mach_m68* rather than | |
5618 | plain numbers. | |
5619 | (sunos_write_object_contents): Likewise. | |
5620 | * aoutx.h (NAME(aout,machine_type)): Likewise. | |
5621 | * coffcode.h (coff_set_arch_mach_hook): Likewise. | |
5622 | ||
5623 | Wed Mar 25 13:59:24 1998 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de> | |
5624 | ||
5625 | * archures.c (bfd_mach_m68*): Add definitions for various m68k | |
5626 | variants. | |
5627 | (bfd_default_scan): Remove m68k special cases. | |
5628 | * bfd-in2.h: Rebuild. | |
5629 | * mipsbsd.c (MY(write_object_contents)): Use bfd_mach_m68* rather | |
5630 | than plain numbers. | |
5631 | * sparclynx.c (NAME(lynx,set_arch_mach)): Likewise. | |
5632 | * cpu-m68k.c (arch_info_struct): Likewise. Add entry for | |
5633 | m68k:68000. | |
5634 | (bfd_m68k_arch): Set mach field to zero to signal no explicit | |
5635 | selection, change printable_name to just "m68k" and make that the | |
5636 | default instead of m68k:68020. | |
5637 | ||
5638 | * aout-tic30.c (NAME): Define this to avoid multiple definitions | |
5639 | from aoutx.h. | |
5640 | (MY_get_section_contents): Define as aout_32_get_section_contents | |
5641 | rather than NAME(aout,get_section_contents). | |
5642 | ||
5643 | * elf-m10300.c (elf32_mn10300_link_hash_table_create): Fix cast. | |
5644 | ||
5645 | * evax-alpha.c (evax_set_arch_mach): Only accept bfd_arch_alpha | |
5646 | and call bfd_default_set_arch_mach to do the real work. | |
5647 | ||
5648 | Wed Mar 25 10:41:35 1998 Richard Henderson <rth@cygnus.com> | |
5649 | ||
5650 | * bout.c (BALX): Include return register g14 as part of the insn. | |
5651 | (BALX_MASK): New. | |
5652 | (calljx_callback): Use it. | |
5653 | ||
5654 | Wed Mar 25 11:19:28 1998 Ian Lance Taylor <ian@cygnus.com> | |
5655 | ||
5656 | * libbfd-in.h (BFD_ALIGN): Cast this parameter to bfd_vma. | |
5657 | * libbfd.h: Rebuild. | |
5658 | ||
5659 | * elf-m10300.c (elf32_mn10300_finish_hash_table_entry): Change | |
5660 | byte_count to unsigned int. | |
5661 | (mn10300_elf_relax_section): Initialize internal_relocs. Remove | |
5662 | unused local variables. | |
5663 | ||
5664 | * evax-alpha.c (evax_close_and_cleanup): Remove unused local | |
5665 | variables er and er1. | |
5666 | ||
5667 | * cpu-v850.c: Include <ctype.h>. | |
5668 | (scan): Case isdigit argument to unsigned char. | |
5669 | ||
5670 | From Yan Meroth <YAN.MEROTH@st.com>: | |
5671 | * ihex.c (ihex_scan): Add extbase variable so that getting an | |
5672 | extended linear address record does not ignore any previous | |
5673 | extended address. | |
5674 | (ihex_write_object_contents): When writing out an extended linear | |
5675 | address record, zero out any previous extended address. | |
5676 | ||
5677 | Tue Mar 24 16:09:43 1998 Manfred Hollstein <manfred@s-direktnet.de> | |
5678 | ||
5679 | * ieee.c (do_one): Check section before dereferencing it. | |
5680 | (ieee_canonicalize_reloc): Likewise with src->relent.sym_ptr_ptr. | |
5681 | (ieee_generic_stat_arch_elt): Likewise with abfd->my_archive. | |
5682 | ||
5683 | Mon Mar 23 18:51:47 1998 Joel Sherrill <joel@OARcorp.com> | |
5684 | ||
5685 | * config.bfd: (sh*-*-rtems*): Switched from ELF to COFF. | |
5686 | ||
5687 | Mon Mar 23 14:23:36 1998 Nick Clifton <nickc@cygnus.com> | |
5688 | ||
5689 | * coff-arm.c: Add interworking functions to pe backends. | |
5690 | ||
5691 | Fri Mar 20 18:47:20 1998 Ian Lance Taylor <ian@cygnus.com> | |
5692 | ||
5693 | * configure.in: Use AM_DISABLE_SHARED. | |
5694 | * aclocal.m4, configure: Rebuild with libtool 1.2. | |
5695 | ||
5696 | Fri Mar 20 11:25:41 1998 Nick Clifton <nickc@cygnus.com> | |
5697 | ||
5698 | * coff-arm.c (coff_arm_relocate_section): Better error messages | |
5699 | when interowrking conflucts occur. Courtesy of Jonathan Walton | |
5700 | and Tony Thompson. | |
5701 | (aoutarm_std_reloc_howto): Fixed bitsize fields of rightshifted | |
5702 | relocations. Patch courtesy of Jonathan Walton and Tony | |
5703 | Thompson. | |
5704 | ||
5705 | Fri Mar 20 02:26:43 1998 Richard Henderson <rth@cygnus.com> | |
5706 | ||
5707 | * elf32-sparc.c (elf32_sparc_adjust_dynamic_symbol): Revert | |
5708 | part of Feb 22 change controling when to override the existing | |
5709 | symbol with the .plt entry. | |
5710 | ||
5711 | Wed Mar 18 09:26:25 1998 Nick Clifton <nickc@cygnus.com> | |
5712 | ||
5713 | * config.bfd (targ_cpu): Add thumb-pe target. | |
5714 | ||
5715 | * coffcode.h (OTHER_GLOBAL_CLASS): Support thumb external | |
5716 | functions in PE build. | |
5717 | ||
5718 | Sun Mar 8 23:37:26 1998 Stan Cox <scox@equinox.cygnus.com> | |
5719 | ||
5720 | * config.bfd (sparclite-*-elf*): Added. | |
5721 | ||
5722 | Mon Feb 23 19:31:19 1998 Ian Lance Taylor <ian@cygnus.com> | |
5723 | ||
5724 | * configure.in: Add elf.lo to elf shell variable. | |
5725 | * Makefile.am (BFD_LIBS): Remove elf.lo. | |
5726 | (BFD_LIBS_CFILES): Remove elf.c. | |
5727 | (BFD32_BACKENDS): Add elf.lo. | |
5728 | (BFD32_BACKENDS_CFILES): Add elf.c. | |
5729 | * configure, Makefile.in: Rebuild. | |
5730 | ||
5731 | 1998-02-23 15:53 Richard Henderson <rth@cygnus.com> | |
5732 | ||
5733 | * elf32-i386.c (elf_i386_relocate_section): A pc-relative | |
5734 | relocation against a now-local symbol should not have a dynamic | |
5735 | relocation. | |
5736 | ||
5737 | Mon Feb 23 16:17:08 1998 Ian Lance Taylor <ian@cygnus.com> | |
5738 | ||
5739 | * peicode.h (coff_swap_filehdr_in): Don't set BFD flag HAS_SYMS in | |
5740 | COFF filehdr flags. | |
5741 | (pe_print_private_bfd_data): Print PE flags. From Mikey | |
5742 | <jeffdb@netzone.com>. | |
5743 | ||
5744 | Sun Feb 22 20:39:00 1998 Richard Henderson <rth@cygnus.com> | |
5745 | ||
5746 | * elf32-sparc.c (elf32_sparc_adjust_dynamic_symbol): Don't create | |
5747 | a plt entry when we can determine that we authoritatively define | |
5748 | the symbol. | |
5749 | ||
5750 | Sun Feb 22 20:33:05 1998 Richard Henderson <rth@cygnus.com> | |
5751 | ||
5752 | * configure.in (COREFILE selection): Remove sparc-*-linux*. They | |
5753 | don't actually use trad-core, but a SunOS-style core file handled | |
5754 | by gdb directly. | |
5755 | * hosts/sparclinux.h: Remove. | |
5756 | ||
5757 | Wed Feb 18 15:31:06 1998 Ian Lance Taylor <ian@cygnus.com> | |
5758 | ||
5759 | * peicode.h (pe_print_idata): If there is no .idata section, look | |
5760 | for the import tables in some other section. Make the initial | |
5761 | label line up better with the data. Print the import address | |
5762 | table even if there is no import name table. If the import | |
5763 | address table holds actual addresses, print them. | |
5764 | ||
5765 | Tue Feb 17 12:58:34 1998 Ian Lance Taylor <ian@cygnus.com> | |
5766 | ||
5767 | * libbfd.c (bfd_seek): If fseek fails, save errno around call to | |
5768 | bfd_tell. If errno is EINVAL, set bfd_error_file_truncated, not | |
5769 | bfd_error_system_call. | |
5770 | ||
5771 | Fri Feb 13 13:11:33 1998 Ian Lance Taylor <ian@cygnus.com> | |
5772 | ||
5773 | * Makefile.am (AUTOMAKE_OPTIONS): Define. | |
5774 | * configure, Makefile.in, aclocal.m4: Rebuild with automake 1.2e. | |
5775 | ||
5776 | From H.J. Lu <hjl@gnu.org>: | |
5777 | * Makefile.am (libbfd_la_LDFLAGS): Define. | |
5778 | * Makefile.in: Rebuild. | |
5779 | ||
5780 | Thu Feb 12 17:31:11 1998 Ian Lance Taylor <ian@cygnus.com> | |
5781 | ||
5782 | NetBSD patches from Gordon W. Ross <gwr@mc.com>: | |
5783 | * netbsd.h (MACHTYPE_OK): Define. | |
5784 | (MY(write_object_contents)): Use DEFAULT_ARCH and DEFAULT_MID when | |
5785 | calling N_SET_MACHTYPE, rather than having a switch. | |
5786 | * libaout.h (enum machine_type): Add M_PMAX_NETBSD, M_VAX_NETBSD, | |
5787 | and M_ALPHA_NETBSD. | |
5788 | * i386netbsd.c (MACHTYPE_OK): Don't define. | |
5789 | (DEFAULT_MID): Define. | |
5790 | * m68k4knetbsd.c (SEGMENT_SIZE): Don't define. | |
5791 | (MACHTYPE_OK): Don't define. | |
5792 | (DEFAULT_MID): Define. | |
5793 | * m68knetbsd.c: (MACHTYPE_OK): Don't define. | |
5794 | (DEFAULT_MID): Define. | |
5795 | * ns32knetbsd.c (MACHTYPE_OK): Don't define. | |
5796 | (DEFAULT_MID): Define. | |
5797 | * sparcnetbsd.c (MACHTYPE_OK): Don't define. | |
5798 | (DEFAULT_MID): Define. | |
5799 | ||
5800 | NetBSD patches from Gordon W. Ross <gwr@mc.com>: | |
5801 | * vaxnetbsd.c: New file. | |
5802 | * netbsd-core.c: Clean up. Remove unused macros. Use netbsd | |
5803 | rather than netbsd_core. | |
5804 | * targets.c (vaxnetbsd_vec): Declare. | |
5805 | (bfd_target_vector): Add vaxnetbsd_vec. If NETBSD_CORE is | |
5806 | defined, add netbsd_core_vec. | |
5807 | * configure.in: Set COREFILE for alpha*-*-netbsd* and | |
5808 | powerpc-*-netbsd* to netbsd-core.lo. If COREFILE is | |
5809 | netbsd-core.lo, set COREFLAG to -DNETBSD_CORE. | |
5810 | * config.bfd (alpha*-*-netbsd*): New target. | |
5811 | * Makefile.am: Rebuild dependencies. | |
5812 | (BFD32_BACKENDS): Add vaxnetbsd.lo. | |
5813 | (BFD32_BACKENDS_CFILES): Add vaxnetbsd.c. | |
5814 | * configure, Makefile.in: Rebuild. | |
5815 | ||
5816 | * configure.host: Remove the old shared library build stuff. We | |
5817 | now use libtool instead. | |
5818 | ||
5819 | Wed Feb 11 17:13:09 1998 Richard Henderson <rth@cygnus.com> | |
5820 | ||
5821 | * tekhex.c (tekhex_write_object_contents): Call tekhex_init. | |
5822 | ||
5823 | Tue Feb 10 19:23:28 1998 H.J. Lu <hjl@gnu.org> | |
5824 | ||
5825 | * configure.in: Take stab-syms.lo out of sparclinux_vec list. | |
5826 | * configure: Rebuild. | |
5827 | ||
5828 | Tue Feb 10 15:16:38 1998 Nick Clifton <nickc@cygnus.com> | |
5829 | * elf32-v850.c (remember_hi16s_reloc): New function. | |
5830 | (find_remembered_hi16s_reloc): New function. | |
5831 | (v850_elf_store_addend_in_insn): Use the above new functions to | |
5832 | match up HI6S relocs with LO16 relocs. | |
5833 | ||
5834 | Tue Feb 10 15:01:39 1998 Ian Lance Taylor <ian@cygnus.com> | |
5835 | ||
5836 | * configure.in: Change -linux* to -linux-gnu*. | |
5837 | * config.bfd, configure.host: Likewise. | |
5838 | * configure: Rebuild. | |
5839 | ||
5840 | Mon Feb 9 19:40:59 1998 Nick Clifton <nickc@cygnus.com> | |
5841 | ||
5842 | * elf32-v850.c (v850_elf_store_addend_in_insn): Fix another | |
5843 | LO16/HI16S bug and improve comments about what is going on. | |
5844 | ||
5845 | Sat Feb 7 15:27:03 1998 Ian Lance Taylor <ian@cygnus.com> | |
5846 | ||
5847 | * configure, aclocal.m4: Rebuild with new libtool. | |
5848 | ||
5849 | Fri Feb 6 14:48:20 1998 Nick Clifton <nickc@cygnus.com> | |
5850 | ||
5851 | * elf32-v850.c (v850_elf_merge_private_bfd_data): Do not complain | |
5852 | when merging v850 code into v850e/v850ea code. Do not initialise | |
5853 | output flags if the input is the default architecture. | |
6a9d5c9a | 5854 | |
252b5132 RH |
5855 | Fri Feb 6 11:50:22 1998 Jeffrey A Law (law@cygnus.com) |
5856 | ||
5857 | * elf32-mips.c (bfd_elf32_bfd_reloc_type_lookup): For BFD_RELOC_CTOR | |
5858 | get the size from bfd_arch_bits_per_address instead of directly | |
5859 | from the isa. | |
5860 | ||
5861 | Thu Feb 5 14:21:34 1998 Michael Meissner <meissner@cygnus.com> | |
5862 | ||
5863 | * libbfd-in.h (BFD_ALIGN): If rounding up would cause the address | |
5864 | to wrap, just return all 1's bits instead. | |
5865 | * libbfd.h: Regenerate. | |
5866 | ||
5867 | Thu Feb 5 11:51:05 1998 Ian Lance Taylor <ian@cygnus.com> | |
5868 | ||
5869 | * coff-i386.c (coff_pe_i386_relocate_section): New static function | |
5870 | if COFF_WITH_PE. | |
5871 | (coff_relocate_section): If COFF_WITH_PE, define as | |
5872 | coff_pe_i386_relocate_section. | |
5873 | * coffcode.h (coff_write_object_contents): If COFF_IMAGE_WITH_PE, | |
5874 | skip empty sections, to match coff_write_object_contents. | |
5875 | ||
5876 | * elf64-mips.c (mips_elf64_swap_reloca_out): Swap out r_addend, | |
5877 | rather than swapping out r_offset twice. From Luke Deller | |
5878 | <luked@cse.unsw.edu.au>. | |
5879 | ||
5880 | Wed Feb 4 19:11:28 1998 Ian Lance Taylor <ian@cygnus.com> | |
5881 | ||
5882 | * configure.in: Set libtool_enable_shared rather than | |
5883 | libtool_shared. Remove diversion hack. | |
5884 | * configure, Makefile.in, doc/Makefile.in, aclocal.m4: Rebuild | |
5885 | with new libtool. | |
5886 | ||
5887 | Wed Feb 4 16:10:21 1998 Brent Baccala <baccala@freesoft.org> | |
5888 | ||
5889 | * syms.c (struct stab_cache): Define. | |
5890 | (struct stab_find_info): Remove cached_offset, cached_stab, | |
5891 | cached_str, and cached_stroff fields. Add file_cache, | |
5892 | function_cache, and line_cache fields. | |
5893 | (_bfd_stab_section_find_nearest_line): Use extensive caching to | |
5894 | speed up searches. | |
5895 | ||
5896 | Wed Feb 4 13:34:22 1998 Ian Lance Taylor <ian@cygnus.com> | |
5897 | ||
5898 | * peicode.h (pe_print_idata): Check for import of ordinal rather | |
5899 | than name. | |
5900 | (pe_print_edata): If there is no .edata section, look for the | |
5901 | export data in some other section. | |
5902 | ||
5903 | Mon Feb 2 20:05:42 1998 Jason Molenda (crash@bugshack.cygnus.com) | |
5904 | ||
5905 | * configure.in: Change version to 2.8.4. | |
5906 | * configure: Regenerated. | |
5907 | ||
5908 | Mon Feb 2 17:39:39 1998 Steve Haworth <steve@pm.cse.rmit.EDU.AU> | |
5909 | ||
5910 | Add tms320c30 support: | |
5911 | * cpu-tic30.c: New file. | |
5912 | * aout-tic30.c: New file. | |
5913 | * coff-tic30.c: New file. | |
5914 | * archures.c (bfd_arch_tic30): Define. | |
5915 | (bfd_tic30_arch): Declare. | |
5916 | (bfd_archures_list): Add bfd_tic30_arch. | |
5917 | * targets.c (bfd_target_vector): Add tic30_aout_vec and | |
5918 | tic30_coff_vec. | |
5919 | * reloc.c (BFD_RELOC_TIC30_LDP): Define. | |
5920 | * coffcode.h (coff_set_arch_mach_hook): Add tic30 case. | |
5921 | (coff_set_flags): Likewise. | |
5922 | * config.bfd (tic30-*-*aout*, tic30-*-*coff*): New targets. | |
5923 | * configure.in (tic30_aout_vec, tic30_coff_vec): New vectors. | |
5924 | * Makefile.am: Rebuild dependencies. | |
5925 | (ALL_MACHINES): Add cpu-tic30.lo. | |
5926 | (ALL_MACHINES_CFILES): Add cpu-tic30.c. | |
5927 | (BFD32_BACKENDS): Add aout-tic30.lo and coff-tic30.lo. | |
5928 | (BFD32_BACKENDS_CFILES): Add aout-tic30.c and coff-tic30.c. | |
5929 | * configure, Makefile.in, bfd-in2.h, libbfd.h: Rebuild. | |
5930 | ||
5931 | Mon Feb 2 12:25:12 1998 Nick Clifton <nickc@cygnus.com> | |
5932 | ||
5933 | * elf32-v850.c (v850_elf_store_addend_in_insn): Allow HI16_S reloc | |
5934 | to lag behind LO16 reloc by a couple of instructions. | |
5935 | ||
5936 | Mon Feb 2 14:09:46 1998 Ian Lance Taylor <ian@cygnus.com> | |
5937 | ||
5938 | * Makefile.am ($(srcdir)/bfd-in2.h): Add dummy command to force | |
5939 | make to reexamine the file timestamp. | |
5940 | ($(srcdir)/libbfd.h, $(srcddir)/libcoff.h): Likewise. | |
5941 | ||
5942 | * elf64-alpha.c (ELF_MAXPAGESIZE): Change to 0x10000 from | |
5943 | 0x100000. | |
5944 | ||
5945 | Fri Jan 30 19:07:07 1998 Geoff Keating <geoffk@ozemail.com.au> | |
5946 | ||
5947 | * elf32-ppc.c (ppc_elf_create_dynamic_sections): New procedure | |
5948 | to create .dynsbss and .rela.sbss sections. | |
5949 | (ppc_elf_adjust_dynamic_symbol): Put space for small data to be | |
5950 | copied from dynamic objects into .sbss. | |
5951 | (ppc_elf_size_dynamic_sections): Strip .rela.sbss if we don't | |
5952 | use it. Correct typo of .rela.sdata2. | |
5953 | (ppc_elf_finish_dynamic_symbol): Generate reloc to where we | |
5954 | put the data, which may now be in .sbss. | |
5955 | (ppc_elf_relocate_section): A SDAREL16 reloc can be in dynsbss. | |
5956 | (elf_backend_create_dynamic_sections): Define as | |
5957 | ppc_elf_create_dynamic_sections. | |
5958 | ||
5959 | * elf32-ppc.c (ppc_elf_check_relocs): Don't emit R_PPC_REL* relocs | |
5960 | against _GLOBAL_OFFSET_TABLE_. | |
5961 | (ppc_elf_relocate_section): Don't emit R_PPC_REL32 relocs in | |
5962 | shared libraries which refer to local symbols. Make sure that the | |
5963 | test for allocating space for a reloc in a shared object is the | |
5964 | same as the test for emitting a reloc. | |
5965 | ||
5966 | Thu Jan 29 15:55:35 1998 J.J. van der Heijden <J.J.vanderHeijden@student.utwente.nl> | |
5967 | ||
5968 | * config.bfd (i[3456]-*-mingw32*): New target. | |
5969 | * acinclude.m4 (BFD_BINARY_OPEN): Check for mingw32. | |
5970 | * aclocal.m4, configure: Rebuild. | |
5971 | ||
5972 | Wed Jan 28 13:41:26 1998 Ian Lance Taylor <ian@cygnus.com> | |
5973 | ||
5974 | * elf.c (_bfd_elf_close_and_cleanup): Only check the strtab if we | |
5975 | have a bfd_object. | |
5976 | ||
5977 | Tue Jan 27 21:43:55 1998 Richard Henderson <rth@cygnus.com> | |
5978 | ||
5979 | Sparc v9 ABI compliant PLT: | |
5980 | * elf64-sparc.c (PLT_HEADER_SIZE): V9 ABI uses 4 entries. | |
5981 | (plt_templates, sparc64_elf_build_plt_entry): Delete. | |
5982 | (LARGE_PLT_THRESHOLD): New define. | |
5983 | (GOT_RESERVED_ENTRIES): V9 ABI only uses 1. | |
5984 | (sparc64_elf_build_plt): New function. | |
5985 | (sparc64_elf_plt_entry_offset): Likewise. | |
5986 | (sparc64_elf_plt_ptr_offset): Likewise. | |
5987 | (sparc64_elf_adjust_dynamic_symbol): Change h->plt_offset to | |
5988 | contain the index for convenience. Skip the initial entries | |
5989 | in .rela.plt. | |
5990 | (sparc64_elf_size_dynamic_sections): Zero the allocated contents | |
5991 | memory for the benefit of .rela.plt. | |
5992 | (sparc64_elf_relocate_section): Call sparc64_elf_plt_entry_offset. | |
5993 | (sparc64_elf_finish_dynamic_symbol): Kill template stuff. Use | |
5994 | sparc64_elf_plt_entry_offset & sparc64_elf_plt_ptr_offset for reloc. | |
5995 | (sparc64_elf_finish_dynamic_sections): DT_PLTGOT points to .plt. | |
5996 | Call sparc64_elf_build_plt. | |
5997 | (elf_backend_want_got_plt): No. | |
5998 | (elf_backend_plt_readonly): No. | |
5999 | (elf_backend_plt_alignment): 8. | |
6000 | ||
6001 | * elf.c (_bfd_elf_close_and_cleanup): New function; free the shstrtab. | |
6002 | * elf-bfd.h (_bfd_elf_close_and_cleanup): Declare it. | |
6003 | * elfxx-target.h (bfd_elfNN_close_and_cleanup): Arrange for it | |
6004 | to be called. | |
6005 | ||
6006 | Tue Jan 27 21:45:15 1998 Jeffrey A Law (law@cygnus.com) | |
6007 | ||
6008 | * archures.c (bfd_mach_mips*): Add definitions for various MIPS | |
6009 | processors. | |
6010 | * cpu-mips.c (arch_info_struct): Add mips variants. | |
6011 | * bfd-in2.h: Rebuilt. | |
6012 | ||
6013 | Tue Jan 27 15:06:04 1998 Nick Clifton <nickc@cygnus.com> | |
6014 | ||
6015 | * coff-arm.c (coff_arm_relocate_section): Preserve the contents of | |
6016 | t2a3_b_insn. | |
6017 | ||
6018 | Tue Jan 27 12:47:27 1998 Robert Lipe <robertl@dgii.com> | |
6019 | ||
6020 | * config.bfd (i[3456]86-sco3.2v5*): ELF now the default. | |
6021 | (i[3456]86sco3.2v5*coff): New target. | |
6022 | ||
6023 | Mon Jan 26 15:41:30 1998 Ian Lance Taylor <ian@cygnus.com> | |
6024 | ||
6025 | * bfd-in2.h: Rebuild with changes to chew--tab expansion. | |
6026 | ||
6027 | Thu Jan 22 21:26:48 1998 Richard Henderson <rth@cygnus.com> | |
6028 | ||
6029 | * bfd.c (bfd_get_error_handler): Add orthogonal function. | |
6030 | * bfd-in2.h: Regenerate. | |
6031 | ||
6032 | Thu Jan 22 21:13:39 1998 Richard Henderson <rth@cygnus.com> | |
6033 | ||
6034 | * tekhex.c (tekhex_write_object_contents): Check for no symbols. | |
6035 | ||
6036 | Wed Jan 21 21:19:03 1998 Ian Lance Taylor <ian@cygnus.com> | |
6037 | ||
6038 | * coff-i386.c (coff_i386_rtype_to_howto): If COFF_WITH_PE, don't | |
6039 | adjust addend for an output common symbol (from Jimmy Blair | |
6040 | <jimmyb@wrs.com>). If COFF_WITH_PE, adjust addend for PC relative | |
6041 | defined symbol to counteract adjustment made in generic relocation | |
6042 | code. | |
6043 | ||
6044 | * dwarf2.c: Include sysdep.h, not stdio.h and stdlib.h. | |
6045 | ||
6046 | Wed Jan 21 21:16:06 1998 Manfred Hollstein <manfred@s-direktnet.de> | |
6047 | ||
6048 | * coff-m88k.c (GET_SCNDHR_NRELOC): Fix typo in macro name. | |
6049 | (GET_SCNDHR_NLNNO): Likewise. | |
6050 | ||
6051 | Mon Jan 19 12:49:52 1998 Ian Lance Taylor <ian@cygnus.com> | |
6052 | ||
6053 | * cpu-sh.c (arch_info_struct): Correct next field of sh3e. | |
6054 | ||
6055 | Wed Jan 14 17:23:27 1998 Nick Clifton <nickc@cygnus.com> | |
6056 | ||
6057 | * elf32-m32r.c: Add macros to handle NOP insertion. | |
6058 | ||
6059 | Wed Jan 14 16:15:22 1998 Richard Henderson <rth@cygnus.com> | |
6060 | ||
6061 | * xcofflink.c (xcoff_mark_symbol): Don't mark the absolute section. | |
6062 | (xcoff_mark): Likewise. | |
6063 | (xcoff_build_ldsyms): Mark absolute symbols. | |
6064 | ||
6065 | Wed Jan 14 16:03:11 1998 Richard Henderson <rth@cygnus.com> | |
6066 | ||
6067 | * bout.c (b_out_write_object_contents): Sort symbols before output | |
6068 | to keep {CALL,BAL}NAME symbols adjacent. | |
6069 | (b_out_symbol_cmp): New function. | |
6070 | ||
6071 | For older changes see ChangeLog-9697 | |
6072 | \f | |
6073 | Local Variables: | |
6074 | mode: change-log | |
6075 | left-margin: 8 | |
6076 | fill-column: 74 | |
6077 | version-control: never | |
6078 | End: |