]>
Commit | Line | Data |
---|---|---|
f5f31454 L |
1 | 2001-04-26 H.J. Lu <[email protected]> |
2 | ||
3 | * elf32-i386.c (elf_i386_check_relocs): Verify if r_symndx is | |
4 | valid. | |
5 | ||
d436a9b3 FCE |
6 | 2001-04-25 Frank Ch. Eigler <[email protected]> |
7 | ||
8 | * bfd-in.h (bfd_cache_close): Declare newly exported function. | |
9 | * bfd-in2.h: Regenerated. | |
10 | ||
a531bbd2 JJ |
11 | 2001-04-24 Jakub Jelinek <[email protected]> |
12 | ||
13 | * merge.c (struct sec_merge_hash_entry): Add alignment field. | |
14 | (struct sec_merge_hash): Remove alignment_power. | |
15 | (sec_merge_hash_newfunc): Clear alignment. | |
16 | (sec_merge_hash_lookup): Pass alignment as argument. | |
17 | Use hashp->root.next, not hashp->next to walk the hash chain. | |
18 | If a string already in the hashtable does not have required | |
19 | alignment, create a new hashtable entry. | |
20 | (sec_merge_init): Remove alignment_power argument. | |
21 | (sec_merge_add): Add alignment argument. | |
22 | (sec_merge_emit): Alignment is now a per-entity thing, not per | |
23 | section. | |
24 | (_bfd_merge_section): Sanity check even non-SEC_STRINGS sections | |
25 | for proper alignment. | |
26 | Pass alignment information to sec_merge_add. | |
27 | ||
6840198f NC |
28 | 2001-04-24 Christian Groessler <[email protected]> |
29 | ||
30 | * coff-z8k.c (extra_case): added handler for R_DISP7, R_CALLR | |
31 | and R_REL16 reloc types; accept odd values for R_REL16 type | |
32 | ||
b3baf5d0 NC |
33 | 2001-04-24 Johan Rydberg <[email protected]> |
34 | ||
35 | * cpu-openrisc.c: New file. | |
36 | * elf32-openrisc.c: Likewise. | |
37 | ||
38 | * Makefile.am (ALL_MACHINES): Add cpu-openrisc.lo. | |
39 | (ALL_MACHINES_CFILES): Add cpu-openrisc.c. | |
40 | (BFD32_BACKENDS): Add elf32-openrisc.lo. | |
41 | (BFD32_BACKENDS_CFILES): Add elf32-openrisc.c. | |
42 | (cpu-openrisc.lo, elf32-openrisc.lo): New rules. | |
43 | * Makefile.in: Regenerated. | |
44 | * config.bfd: (openrisc-*-elf): New target. | |
45 | * configure.in (bfd_elf32_openrisc_vec): New vector. | |
46 | * configure: Regenerated. | |
47 | * libbfd.h: Regenerated. | |
48 | * bfd-in2.h: Regenerated. | |
49 | * reloc.c: Add OpenRISC relocations. | |
50 | * targets.c (bfd_elf32_openrisc_vec): Declare. | |
51 | (bfd_target_vect): Add bfd_elf32_openrisc_vec. | |
52 | * archures.c (enum bfd_architecture): Add bfd_arch_openrisc. | |
53 | (bfd_openrisc_arch): Declare. | |
54 | (bfd_archures_list): Add bfd_openrisc_arch. | |
55 | * elf.c (prep_headers): Add bfd_arch_openrisc. | |
56 | ||
fe4770f4 AJ |
57 | 2001-04-23 Bo Thorsen <[email protected]> |
58 | ||
59 | * elf64-x86-64.c: Add c++ vtable hack. | |
60 | Small whitespace and comment changes. | |
61 | ||
653165cc AJ |
62 | 2001-04-19 Andreas Jaeger <[email protected]> |
63 | ||
64 | * elf64-x86-64.c (elf64_x86_64_plt0_entry): Fix instructions. | |
65 | (elf64_x86_64_plt_entry): Likewise. | |
66 | (elf64_x86_64_finish_dynamic_sections): Fix PLT0 generation. | |
67 | (elf64_x86_64_finish_dynamic_symbol): Fix PLT generation. | |
68 | ||
4d96d128 HPN |
69 | 2001-04-17 Hans-Peter Nilsson <[email protected]> |
70 | ||
71 | * elf32-cris.c: Tweak comments related to dynamic linking. | |
72 | (cris_elf_relocate_section): When not creating shared object, fill | |
73 | in the .got table for any symbol not in the dynamic symbol table. | |
74 | (elf_cris_finish_dynamic_symbol): When not creating shared object, | |
75 | only emit a .got.rela reloc if the symbol is in the dynamic symbol | |
76 | table. | |
77 | (cris_elf_check_relocs): Use variable r_type in all places rather | |
78 | than the original expression. Add default case in switch for | |
79 | reloc types. | |
80 | (elf_cris_size_dynamic_sections): Iterate over | |
81 | elf_cris_discard_excess_program_dynamics when not creating shared | |
82 | library. | |
653165cc | 83 | (elf_cris_discard_excess_dso_dynamics): Renamed from |
4d96d128 HPN |
84 | elf_cris_discard_copies. Correct typo, s/Rel/Rela/. |
85 | (elf_cris_discard_excess_program_dynamics): New. | |
86 | ||
3ed30d29 DD |
87 | 2001-04-14 Mark Elbrecht <[email protected]> |
88 | ||
89 | * coffcode.h (coff_write_object_contents): Use | |
90 | bfd_coff_swap_filehdr_out instead of coff_swap_filehdr_out. | |
91 | ||
a80f6941 L |
92 | 2001-04-14 H.J. Lu <[email protected]> |
93 | ||
94 | * bfd-in2.h: Regenerate. | |
95 | ||
767e4b0d JJ |
96 | 2001-04-14 Jakub Jelinek <[email protected]> |
97 | ||
98 | * section.c (STD_SECTION): Add entsize. | |
99 | ||
2dd439c5 L |
100 | 2001-04-13 H.J. Lu <[email protected]> |
101 | ||
102 | * section.c (SEC_MERGE): Define new flag for merging. | |
103 | (SEC_STRINGS): Likewise. | |
104 | (entsize): New field. | |
105 | ||
baf80c32 DD |
106 | 2001-04-13 Roger Sayle <[email protected]> |
107 | ||
108 | * coff-i386.c (TARGET_SYM): SEC_READONLY is an applicable section | |
109 | flag on pe-i386 targets. | |
110 | ||
f5fa8ca2 JJ |
111 | 2001-04-13 Jakub Jelinek <[email protected]> |
112 | ||
113 | * libbfd-in.h (_bfd_merge_section): New. | |
114 | (_bfd_write_merged_section): New. | |
115 | (_bfd_merged_section_offset): New. | |
116 | * libbfd.h: Rebuilt. | |
117 | * linker.c (_bfd_generic_link_output_symbols): Handle | |
118 | discard_sec_merge. | |
119 | * aoutx.h (aout_link_write_symbols): Likewise. | |
120 | * pdp11.c (aout_link_write_symbols): Likewise. | |
121 | * elflink.h (elf_link_add_object_symbols): Call _bfd_merge_section. | |
122 | (elf_bfd_final_link): Adjust global symbols pointing into SEC_MERGE | |
123 | sections. | |
124 | (elf_link_sec_merge_syms): New. | |
125 | (elf_link_input_bfd): Call _bfd_merged_section_offset | |
126 | and _bfd_write_merged_section. | |
127 | Handle discard_sec_merge. | |
128 | * elf-bfd.h (struct elf_link_hash_table): Add merge_info | |
129 | field. | |
130 | (struct bfd_elf_section_data): Likewise. | |
131 | * elf.c (_bfd_elf_make_section_from_shdr): Set SEC_MERGE and | |
132 | SEC_STRINGS section flags and entsize from their ELF counterparts. | |
133 | (_bfd_elf_link_hash_table_init): Initialize merge_info. | |
134 | (elf_fake_sections): Set SHF_MERGE, SHF_STRINGS and sh_entsize | |
135 | from their BFD counterparts. | |
136 | * merge.c: New file. | |
137 | * Makefile.am: Add strtab.lo. | |
138 | * Makefile.in: Rebuilt. | |
139 | ||
d954b040 HPN |
140 | 2001-04-09 Hans-Peter Nilsson <[email protected]> |
141 | ||
142 | * elflink.h (elf_fix_symbol_flags): For non-default visibilities, | |
143 | only hide symbols marked STV_INTERNAL or STV_HIDDEN. | |
144 | ||
fdbafa10 L |
145 | 2001-04-05 Steven J. Hill <[email protected]> |
146 | ||
147 | * config.bfd (mips*el*-*-linux-gnu*): Use traditional little | |
148 | endian MIPS ELF target. | |
149 | * config.bfd (mips*-*-linux-gnu*): Use traditional big endian | |
150 | MIPS ELF target. | |
151 | ||
152 | * configure.in (bfd_elf64_tradbigmips_vec): New. Traditional | |
153 | 64bit big endian MIPS ELF target. | |
653165cc | 154 | (bfd_elf64_tradlittlemips_vec): New. Traditional 64bit little |
fdbafa10 L |
155 | endian MIPS ELF target. |
156 | * configure: Regenerated. | |
157 | ||
158 | * elf32-mips.c (IRIX_COMPAT): Handle traditional 64bit and | |
159 | little endian targets. | |
160 | (mips_elf_sym_is_global): Handle traditional targets. | |
161 | ||
162 | * elf64-mips.c (bfd_elf64_tradbigmips_vec): New. Traditional | |
163 | 64bit big endian MIPS ELF target. | |
164 | (bfd_elf64_tradlittlemips_vec): New. Traditional 64bit little | |
165 | endian MIPS ELF target. | |
166 | ||
167 | * targets.c: (_bfd_target_vector): Add bfd_elf64_tradbigmips_vec | |
168 | and bfd_elf64_tradlittlemips_vec. | |
169 | ||
dd484e5c L |
170 | 2001-04-05 David Mosberger <[email protected]> |
171 | ||
172 | * elf32-i386.c (elf_i386_fake_sections): Treat ".reloc" as an | |
173 | ordinary "progbits" section. | |
174 | ||
391a809a AM |
175 | 2001-04-04 Alan Modra <[email protected]> |
176 | ||
177 | * elflink.h (elf_fix_symbol_flags): Call elf_backend_hide_symbol | |
178 | when -Bsymbolic causes a symbol to no longer need a .plt entry. | |
179 | ||
5854c633 L |
180 | 2001-04-03 David Mosberger <[email protected]> |
181 | ||
182 | * efi-app-ia32.c (ALIGN_SECTIONS_IN_FILE): Deleted. | |
183 | ||
8b4b0fac L |
184 | 2001-03-30 H.J. Lu <[email protected]> |
185 | ||
186 | * efi-app-ia32.c (PEI_TARGET_SUBSYSTEM): Rename from ... | |
187 | (PEI_DEFAULT_TARGET_SUBSYSTEM): This. | |
188 | ||
eb4a6e4f L |
189 | 2001-03-26 H.J. Lu <[email protected]> |
190 | ||
191 | * elf32-gen.c (elf32_generic_link_add_symbols): New. Check | |
192 | if there are any relocations for generic ELF. | |
193 | (bfd_elf32_bfd_link_add_symbols): Defined to | |
194 | elf32_generic_link_add_symbols. | |
195 | * elf64-gen.c (elf64_generic_link_add_symbols): New. Check | |
196 | if there are any relocations for generic ELF. | |
197 | (bfd_elf64_bfd_link_add_symbols): Defined to | |
198 | elf64_generic_link_add_symbols. | |
199 | ||
55c80943 NC |
200 | 2001-03-23 Nick Clifton <[email protected]> |
201 | ||
202 | * Makefile.am (BUILD_CFILES): New variable: List of C source | |
203 | files created in build directory. | |
204 | (BUILD_HFILES): New variable: List of header files created in | |
205 | build directory. | |
206 | (POTFILES): Delete. | |
207 | (po/POTFILES.in): Replace rule with empty entry. | |
208 | (po/SRC-POTFILES.in): New rule: Create a list of source files | |
209 | in the source directory. | |
210 | (po/BLD-POTFILES.in): New rule: Create a list of source files | |
211 | in the build directory. | |
212 | (MOSTLYCLEAN): Do not delete source files created in build | |
213 | directory. | |
214 | * Makefile.in: Regenerate. | |
215 | * configure.in: Insert SRC-POTFILES.in and BLD-POTFILES.in | |
216 | into po/Makefile. | |
217 | * configure: Regenerate. | |
218 | ||
219 | * po/Make-in: Replace occurrences of POTFILES with SRC-POTFILES | |
220 | and BLD_POTFILES. | |
221 | Add .. to the search path when building bfd.pot. | |
222 | Delete POTFILES when performing distclean. | |
223 | Add comment describing why distclean is broken in maintainer mode. | |
224 | * po/POTFILES.in: Delete. | |
225 | * po/SRC-POTFILES.in: New file. | |
226 | * po/BLD-POTFILES.in: New file. | |
227 | * po/bfd.pot: Regenerate. | |
228 | ||
58d29fc3 HPN |
229 | 2001-03-22 Hans-Peter Nilsson <[email protected]> |
230 | ||
915e5146 HPN |
231 | * elf32-cris.c: Shlib and PIC support. PCREL tweaks. |
232 | (elf_cris_discard_copies, elf_cris_adjust_gotplt_to_got, | |
233 | elf_cris_try_fold_plt_to_got, elf_cris_link_hash_newfunc, | |
234 | elf_cris_link_hash_table_create, elf_cris_adjust_dynamic_symbol, | |
235 | elf_cris_size_dynamic_sections, elf_cris_finish_dynamic_symbol, | |
236 | elf_cris_finish_dynamic_sections,elf_cris_hide_symbol): New | |
237 | functions. | |
238 | (cris_elf_howto_table) <R_CRIS_8_PCREL, R_CRIS_16_PCREL, | |
239 | R_CRIS_32_PCREL>: Correct comments. Set pcrel_offset to false. | |
240 | <R_CRIS_COPY, R_CRIS_GLOB_DAT, R_CRIS_JUMP_SLOT, R_CRIS_RELATIVE, | |
241 | R_CRIS_16_GOT, R_CRIS_32_GOT, R_CRIS_16_GOTPLT, R_CRIS_32_GOTPLT, | |
242 | R_CRIS_32_GOTREL, R_CRIS_32_PLT_GOTREL, R_CRIS_32_PLT_PCREL>: | |
243 | New HOWTO members for new relocs. | |
244 | (cris_reloc_map): Map new relocs. | |
245 | (ELF_DYNAMIC_INTERPRETER): Define. | |
246 | (PLT_ENTRY_SIZE): Define. | |
247 | (elf_cris_plt0_entry, elf_cris_plt_entry, elf_cris_pic_plt0_entry, | |
248 | elf_cris_pic_plt_entry): New, PLT templates. | |
249 | (struct elf_cris_pcrel_relocs_copied, struct | |
250 | elf_cris_link_hash_entry, struct elf_cris_link_hash_table): New. | |
251 | (elf_cris_link_hash_traverse, elf_cris_hash_table): Define. | |
252 | (cris_final_link_relocate): Check that 16-bit GOT relocs have | |
253 | positive values. Adjust PCREL relocs to be relative to location | |
254 | after relocation. | |
255 | (cris_elf_relocate_section): Handle relocations to dynamic | |
256 | objects. Handle new relocations. Call error handler when seeing | |
257 | non-PIC relocation for read-only sections while generating shared | |
258 | object. | |
259 | (cris_elf_check_relocs): Set reference counts for GOT and PLT | |
260 | entries. | |
261 | (bfd_elf32_bfd_link_hash_table_create, | |
262 | elf_backend_adjust_dynamic_symbol, | |
263 | elf_backend_size_dynamic_sections, | |
264 | elf_backend_finish_dynamic_symbol, | |
265 | elf_backend_finish_dynamic_sections, | |
266 | elf_backend_create_dynamic_sections, bfd_elf32_bfd_final_link, | |
267 | elf_backend_hide_symbol, elf_backend_want_got_plt, | |
268 | elf_backend_plt_readonly, elf_backend_want_plt_sym, | |
269 | elf_backend_got_header_size, elf_backend_plt_header_size): | |
270 | Define. | |
271 | ||
58d29fc3 HPN |
272 | * reloc.c: (BFD_RELOC_CRIS_COPY, BFD_RELOC_CRIS_GLOB_DAT, |
273 | BFD_RELOC_CRIS_JUMP_SLOT, BFD_RELOC_CRIS_RELATIVE, | |
274 | BFD_RELOC_CRIS_32_GOT, BFD_RELOC_CRIS_16_GOT, | |
275 | BFD_RELOC_CRIS_32_GOTPLT, BFD_RELOC_CRIS_16_GOTPLT, | |
276 | BFD_RELOC_CRIS_32_GOTREL, BFD_RELOC_CRIS_32_PLT_GOTREL, | |
277 | BFD_RELOC_CRIS_32_PLT_PCREL): New relocs. | |
278 | * bfd-in2.h, libbfd.h: Regenerate. | |
279 | ||
7a65545d DN |
280 | 2001-03-21 Diego Novillo <[email protected]> |
281 | ||
282 | (_bfd_mips_elf_relocate_section): Give a better error message when | |
283 | a relocation is not recognized. | |
284 | ||
b32b5d6e AM |
285 | 2001-03-21 Alan Modra <[email protected]> |
286 | ||
287 | * elf32-hppa.c (elf32_hppa_set_gp): Check sec->output_section | |
288 | non-NULL before attempting to dereference. | |
289 | ||
f4fbb4a3 L |
290 | 2001-03-20 H.J. Lu <[email protected]> |
291 | ||
292 | * configure.in: Remove the redundent AC_ARG_PROGRAM. | |
293 | * configure: Rebuild. | |
294 | ||
95fc45e6 AS |
295 | 2001-03-20 Andreas Schwab <[email protected]> |
296 | ||
297 | * elf32-m68k.c (elf_m68k_relocate_section): Don't need the | |
298 | relocation value when resolving a reference from a debugging | |
299 | section. | |
300 | ||
03d411a9 NC |
301 | 2001-03-16 Scott Thomason <[email protected]> |
302 | ||
303 | * coff64-rs6000.c (xcoff64_swap_sym_out): Fix syntax errors. | |
304 | (xcoff64_swap_sym_out): Fix syntax errors. | |
305 | ||
d1659392 NC |
306 | 2001-03-16 Richard Sandiford <[email protected]> |
307 | ||
308 | * elf32-arm.h (elf32_arm_merge_private_bfd_data): Fix warning. | |
309 | ||
12cca0d2 AM |
310 | 2001-03-15 Alan Modra <[email protected]> |
311 | ||
312 | * elf32-hppa.c (elf32_hppa_link_hash_entry): Add maybe_pic_call. | |
313 | (hppa_link_hash_newfunc): Init it. | |
314 | (hppa_type_of_stub): Only use non-PIC to PIC call stub if caller | |
315 | section appears to be non-PIC. | |
316 | (final_link_relocate): Likewise. | |
317 | (elf32_hppa_adjust_dynamic_symbol): Set maybe_pic_call for any | |
318 | possible candidate function, and set pic_call for those that will | |
319 | only have a .plt entry for the PIC call stub. | |
320 | (hppa_handle_PIC_calls): Set maybe_pic_call. | |
321 | ||
cd6ec716 DD |
322 | 2001-03-12 DJ Delorie <[email protected]> |
323 | ||
324 | * elf32-sh.c (sh_elf_relocate_section): Only relocation | |
325 | R_SH_DIR8WP* relocs if they're against external symbols, else | |
326 | they're just for relaxing. Validate the reloc values. | |
327 | ||
43a0748c NC |
328 | 2001-03-12 Stefan Geuken <[email protected]> |
329 | ||
330 | * binary.c (bfd_external_binary_architecture): Declare. | |
331 | (binary_object_p): If bfd_external_binary_architecture is defined, | |
332 | set the architecture to this string. | |
333 | ||
d982ba73 PB |
334 | 2001-03-11 Philip Blundell <[email protected]> |
335 | ||
336 | * elf32-arm.h (elf32_arm_finish_dynamic_symbol): Don't make PLT | |
337 | entries that could serve as a definition for a weak symbol. | |
338 | ||
7898deda NC |
339 | 2001-03-08 Nick Clifton <[email protected]> |
340 | ||
341 | * Most files: Update copyright notices using Perl script created | |
342 | by Kevin Buettner <[email protected]>. | |
653165cc | 343 | |
df425bc0 NC |
344 | 2001-03-07 Nick Clifton <[email protected]> |
345 | ||
346 | * elf32-arm.h (elf32_arm_final_link_relocate): Conditionalise | |
347 | prior patch on ! defined OLD_ARM_ABI. | |
348 | ||
bcdd92f3 AJ |
349 | 2001-03-07 Andreas Jaeger <[email protected]> |
350 | ||
351 | * elf64-x86-64.c (elf64_x86_64_relocate_section): Fix handling of | |
352 | some relocation values. | |
353 | ||
4f3c3dbb NC |
354 | 2001-03-06 Nick Clifton <[email protected]> |
355 | ||
356 | * elf32-arm.h (elf32_arm_final_link_relocate): Clear bit zero | |
357 | of offset in BLX(1) instruction. | |
358 | * coff-arm.c (coff_arm_relocate_section): Clear bit zero of | |
359 | offset in BLX(1) instruction. | |
360 | Fix formatting. | |
361 | ||
f8f3c6cc NC |
362 | 2001-03-06 Nick Clifton <[email protected]> |
363 | ||
364 | * coff-arm.c (coff_arm_reloc_type_lookup): Add | |
365 | BFD_RELOC_THUMB_PCREL_BLX. | |
366 | ||
3cac17ae NC |
367 | 2001-03-06 Igor Shevlyakov <[email protected]> |
368 | ||
369 | * archures.c (bfd_default_scan): Add Coldfire CPUs. | |
370 | * bfd-in2.h: Regenerate. | |
371 | * cpu-m68k.c: Add Coldfire CPUs for arch table. | |
372 | * ieee.c (ieee_write_processor): Set proper id for | |
373 | Coldfire CPUs. | |
374 | ||
d1b17ab0 NC |
375 | 2001-03-01 D.J. Barrow <[email protected],[email protected]> |
376 | ||
377 | * configure.in: Add s390 target. | |
378 | * configure: Regenerate. | |
379 | ||
5608e05b AJ |
380 | 2001-02-28 Andreas Jaeger <[email protected]> |
381 | ||
382 | * elf64-x86-64.c (elf64_x86_64_relocate_section): Add relocation | |
383 | to addend. | |
384 | ||
fd2ec330 PB |
385 | 2001-02-28 Philip Blundell <[email protected]> |
386 | ||
387 | * elf32-arm.h: Update mentions of renamed EF_xx constants. | |
5608e05b | 388 | (elf32_arm_print_private_bfd_data): Handle ARM EABI version 2. |
fd2ec330 | 389 | |
920581c5 L |
390 | 2001-02-27 H.J. Lu <[email protected]> |
391 | ||
392 | * aoutx.h (NAME(aout,bfd_free_cached_info)): Return true if | |
393 | abfd->tdata.aout_data == NULL. | |
394 | ||
27b7e12d AM |
395 | 2001-02-27 Alan Modra <[email protected]> |
396 | ||
3ee1d854 AM |
397 | * elf32-hppa.c: Correct field selector in stub comments. |
398 | (clobber_millicode_symbols): Formatting fix. | |
399 | ||
27b7e12d AM |
400 | * configure.in: Bump version to 2.11.90. |
401 | * configure: Regenerate. | |
402 | * Makefile.am (CFILES): Rename to SOURCE_CFILES. | |
403 | (CFILES): $SOURCE_CFILES + generated C files. | |
404 | (POTFILES): Include $HFILES not $SOURCE_HFILES. | |
405 | Run "make dep-am" | |
406 | * Makefile.in: Regenerate. | |
407 | * doc/Makefile.in: This too. | |
408 | ||
10d1e03a TW |
409 | 2001-02-26 Timothy Wall <[email protected]> |
410 | ||
411 | * elfxx-ia64.c (elfNN_ia64_aix_add_symbol_hook): Remove obsolete | |
5608e05b | 412 | comments. |
10d1e03a | 413 | |
1276aefa NC |
414 | 2001-02-26 Nick Clifton <[email protected]> |
415 | ||
416 | * coffcode.h (styp_to_sec_flags) [COFF_WITH_PE version]: Tidy | |
417 | up, replacing multiple if statements with a switch. | |
418 | (handle_COMDAT): New function. | |
419 | ||
420 | 2001-02-26 H.J. Lu <[email protected]> | |
421 | ||
422 | * coffcode.h (styp_to_sec_flags) [COFF_WITH_PE version]: Issue | |
423 | a warning for section flags we do not handle instead of | |
424 | aborting. | |
425 | ||
4a73f21b AJ |
426 | 2001-02-26 Andreas Jaeger <[email protected]> |
427 | ||
428 | * elf64-x86-64.c (x86_64_elf_howto_table): Fix order of entries. | |
429 | ||
7b6dab7f TW |
430 | 2001-02-22 Timothy Wall <[email protected]> |
431 | ||
432 | * config.bfd (targ_cpu): Add vectors for ia64-*-aix* (aka Monterey). | |
433 | * configure.in: Add objects for elf64_ia64_aix vectors. | |
434 | * configure: Regenerated. | |
435 | * configure.host: Recognize ia64-*-aix*. | |
436 | * elfxx-ia64.c: Add hooks for ELF64 on AIX5. Define new vectors | |
437 | for AIX. AIX5 requires most relocations to be dynamic (*all* | |
438 | binaries are somewhat similar to shared libraries). | |
439 | * targets.c: Add elf64_ia64_aix vectors. | |
4a73f21b | 440 | |
87f8eb97 JW |
441 | 2001-02-21 David Mosberger <[email protected]> |
442 | ||
443 | * cpu-ia64-opc.c (elf64_ia64_operands}: Fix typo: error string for | |
444 | C8 said "1" instead of "8". Clarify error string for IMM22: | |
445 | "signed integer" instead of just "integer". | |
446 | ||
05aa1441 AJ |
447 | 2001-02-20 Andreas Jaeger <[email protected]> |
448 | ||
449 | * elf64-x86-64.c (elf64_x86_64_finish_dynamic_symbol): Don't make | |
450 | PLT entries that could serve as a definition for a weak symbol. | |
451 | ||
8701c1bc JJ |
452 | 2001-02-19 Jakub Jelinek <[email protected]> |
453 | ||
454 | * elf32-sparc.c (elf32_sparc_finish_dynamic_symbol): Don't make PLT | |
455 | entries that could serve as a definition for a weak symbol. | |
456 | * elf64-sparc.c (sparc64_elf_finish_dynamic_symbol): Likewise. | |
457 | ||
d4af9775 DB |
458 | 2001-02-18 David O'Brien <obrien@FreeBSD> |
459 | ||
460 | * configure.in: Recognize FreeBSD/arm, FreeBSD/PowerPC, and treat | |
461 | FreeBSD/i386-CURRENT differently until I can figure out the needed | |
462 | corefile changes. | |
463 | * configure: Regenerate. | |
464 | * config.bfd: Recognize FreeBSD/x86-64, FreeBSD/ia64, FreeBSD/arm, | |
465 | FreeBSD/PowerPC, and FreeBSD/sparc64. | |
466 | ||
e135f41b NC |
467 | 2001-02-18 lars brinkhoff <[email protected]> |
468 | ||
469 | * Makefile.am: Add PDP-11 a.out target. | |
470 | * config.bfd: Likewise. | |
471 | * configure.in: Likewise. | |
472 | * targets.c: Likewise. | |
473 | * archures.c: Likewise. | |
474 | * bfd-in2.h: Likewise. Add PDP-11 relocations. | |
475 | * libbfd.h: Add PDP-11 relocations. | |
476 | * reloc.c: Likewise. | |
477 | * cpu-pdp11.c: New file. | |
478 | * pdp11.c: New file. | |
479 | ||
480 | * libaout.h (GET_WORD) [ARCH_SIZE==16]: Define. | |
481 | (GET_SWORD) [ARCH_SIZE==16]: Likewise. | |
482 | (GET_SWORD) [ARCH_SIZE==16]: Likewise. | |
483 | (PUT_WORD) [ARCH_SIZE==16]: Likewise. | |
484 | (GET_MAGIC): New macro. | |
485 | (PUT_MAGIC): Likewise. | |
486 | * aout-target.h (MY(object_p)): Use GET_MAGIC to read magic word. | |
487 | ||
dc3febfa NC |
488 | 2001-02-18 Jim Kingdon <[email protected]> |
489 | ||
490 | * irix-core.c (irix_core_core_file_p): Set the architecture (GDB | |
491 | multiarch needs it). | |
492 | ||
ea412e04 L |
493 | 2001-02-18 H.J. Lu <[email protected]> |
494 | ||
495 | * elflink.h (elf_link_input_bfd): Ignore invalid section symbol | |
496 | index. | |
497 | ||
47eee8a9 KH |
498 | 2001-02-18 Kazu Hirata <[email protected]> |
499 | ||
500 | * vms-misc.c: Fix formatting. | |
501 | ||
8a0c27cd KH |
502 | 2001-02-16 Kazu Hirata <[email protected]> |
503 | ||
504 | * vms.c: Fix formatting. | |
505 | ||
d1fad7c6 NC |
506 | 2001-02-14 H.J. Lu <[email protected]> |
507 | ||
508 | * elf.c (elf_find_function): New function. | |
509 | (_bfd_elf_find_nearest_line): Call elf_find_function () to find | |
510 | the file name and function name. | |
511 | ||
825b47db NC |
512 | 2001-02-14 Nick Clifton <[email protected]> |
513 | ||
51d7ee16 NC |
514 | * ecoff.c (bfd_debug_section): Update to initialise new fields in |
515 | asection structure. | |
516 | ||
825b47db NC |
517 | * Makefile.am (BFD32_BACKENDS_CFILES): Remove peigen.c |
518 | (BFD64_BACKENDS): Add pepigen.c | |
519 | Add rules to create peigen.c and pepigen.c from peXXigen.c. | |
520 | ||
521 | * Makefile.in: Regenerate. | |
522 | * configure: Regenerate. | |
523 | * po/POTFILES.in: Regenerate. | |
524 | * po/bfd.pot: Regenerate. | |
525 | ||
ea36a178 L |
526 | 2001-02-14 H.J. Lu <[email protected]> |
527 | ||
528 | * libcoff-in.h (pe_tdata): Add members target_subsystem and | |
529 | force_minimum_alignment. | |
530 | ||
407443a3 AJ |
531 | 2001-02-14 Bo Thorsen <[email protected]> |
532 | ||
533 | * elf64-x86-64.c: Small formatting fixes and rearrangements of code. | |
534 | (elf64_86_64_size_info): Struct added to fix a problem | |
535 | with the hashtable string entries. | |
536 | (elf64_x86_64_adjust_dynamic_symbol): Add generation of .got.plt. | |
537 | (elf64_x86_64_size_dynamic_sections): A FIXME removed. | |
538 | (elf64_x86_64_size_dynamic_sections): Fix a dynamic entry and | |
539 | remove the FIXME for this. | |
540 | (elf64_x86_64_adjust_dynamic_symbol): Fix check for unneeded .plt | |
541 | section. Also removed the FIXME for it. | |
542 | (x86_64_elf_howto_table): Use bfd_elf_generic_reloc. | |
543 | (ELF_DYNAMIC_INTERPRETER): Fix the name of the dynamic linker. | |
544 | (elf64_x86_64_finish_dynamic_sections): Enable .got.plt writing. | |
545 | ||
b4adccfd RH |
546 | 2001-02-13 Richard Henderson <[email protected]> |
547 | ||
548 | * elfxx-ia64.c (elfNN_ia64_final_link): Set __gp if required | |
549 | and not user provided. | |
550 | ||
9635981a KH |
551 | 2001-02-13 Kazu Hirata <[email protected]> |
552 | ||
553 | * vms.c (vms_print_symbol): Remove unreachable code. | |
554 | ||
6a125b16 KH |
555 | * rs6000-core.c: Fix formatting. |
556 | ||
cbff5e0d DD |
557 | 2001-02-13 David Mosberger <[email protected]> |
558 | ||
559 | * peicode.h (coff_swap_filehdr_out) [COFF_IMAGE_WITH_PE]: Define | |
560 | as _bfd_XXi_only_swap_filehdr_out. | |
561 | (pe_mkobject) [PEI_FORCE_MINIMUM_ALIGNMENT]: Set | |
562 | pe->force_minimum_alignment to TRUE. | |
563 | (pe_mkobject) [PEI_TARGET_SUBSYSTEM]: Set pe->target_subsystem to | |
564 | PEI_TARGET_SUBSYSTEM. | |
565 | (pe_print_private_bfd_data): Call | |
566 | _bfd_XX_print_private_bfd_data_common() instead of | |
567 | _bfd_pe_print_private_bfd_data_common(). | |
568 | (pe_bfd_copy_private_bfd_data): Call | |
569 | _bfd_XX_bfd_copy_private_bfd_data_common() instead of | |
570 | _bfd_pe_bfd_copy_private_bfd_data_common(). | |
571 | (coff_bfd_copy_private_section_data): Define as | |
572 | _bfd_XX_bfd_copy_private_section_data instead of | |
573 | _bfd_pe_bfd_copy_private_section_data. | |
574 | (coff_get_symbol_info): Define as _bfd_XX_get_symbol_info instead | |
575 | of a _bfd_pe_get_symbol_info. | |
576 | ||
577 | * peigen.c: Delete. | |
578 | ||
579 | * peXXigen.c: Renamed from peigen.c. | |
580 | (COFF_WITH_XX): Define this macro (will get expanded into | |
581 | COFF_WITH_pep or COFF_WITH_pe, depending on whether this is being | |
582 | compiled as peigen.c or pepigen.c. | |
583 | [COFF_WITH_pep]: Include "coff/ia64.h" instead of "coff/i386.h" to | |
584 | define the canonical PEP structures and definitions. | |
585 | (_bfd_XXi_swap_aouthdr_out): If pe->force_minimum_alignment is in | |
586 | effect, enforce minimum file and section alignments. If | |
587 | extra->Subsystem is IMAGE_SUBSYSTEM_UNKNOWN, set it to | |
588 | pe->target_subsystem (this defaults to IMAGE_SUBSYSTEM_UNKNOWN, | |
589 | so, by default, this is a no-op). | |
590 | ||
591 | * libpei.h: Rename COFF_WITH_PEP to COFF_WITH_pep. | |
592 | (_bfd_XX_bfd_copy_private_bfd_data_common): Add macros to map | |
593 | _bfd_XXfoo to _bfd_pepfoo if COFF_WIT_PEP is defined and to | |
594 | _bfd_pefoo if it's not defined. Use these macros to define | |
595 | coff swap macros. | |
596 | ||
597 | * libcoff.h (pe_tdata): Add members target_subsystem and | |
598 | force_minimum_alignment. | |
599 | ||
600 | * efi-app-ia64.c (COFF_WITH_pep): Rename COFF_WITH_PEP to | |
601 | COFF_WITH_pep. | |
602 | (PEI_TARGET_SUBSYSTEM): Rename from PEI_DEFAULT_TARGET_SUBSYSTEM. | |
603 | ||
604 | * configure.in (bfd_efi_app_ia64_vec): Use pepigen.lo instead of | |
605 | peigen.lo. | |
606 | ||
607 | * coff-ia64.c: Rename COFF_WITH_PEP to COFF_WITH_pep. | |
608 | (AOUTSZ): Rename PEP64AOUTSZ and PEP64AOUTHDR to PEPAOUTSZ and | |
609 | PEPAOUTHDR. | |
610 | ||
611 | * Makefile.in (BFD64_BACKENDS): Mention pepigen.lo. | |
612 | (BFD64_BACKENDS_CFILES): Mention pepigen.c | |
613 | (peigen.c): Add rule to generate from peXXigen.c. | |
614 | (pepigen.c): Ditto. | |
615 | (pepigen.lo): List dependencies for pepigen.lo. | |
616 | ||
df8634e3 AM |
617 | 2001-02-13 Alan Modra <[email protected]> |
618 | ||
619 | * elf32-hppa.c (elf32_hppa_set_gp): Handle weak $global$. If | |
620 | $global$ referenced but not defined, set its value here. | |
621 | ||
51e0a107 JH |
622 | 2001-02-09 Bo Thorsen <[email protected]> |
623 | ||
624 | * elf64-x86-64.c (elf64_x86_64_check_relocs): Set .rela.got section | |
625 | alignment to 3. | |
626 | (elf64_x86_64_check_relocs): Write R_X86_64_GOTPCREL GOT entry | |
627 | and relocation. | |
628 | (elf64_x86_64_relocate_section): Fix formatting. | |
629 | (elf64_x86_64_relocate_section): Fix addend for relocation of | |
630 | R_X86_64_(8|16|32|PC8|PC16|PC32). | |
631 | ||
d1fad7c6 | 632 | 2001-02-12 Jan Hubicka <[email protected]> |
23df1078 JH |
633 | |
634 | * elf64-x86-64.c (x86_64_elf_howto): Fix name of R_X86_64_GOTPCREL. | |
635 | ||
f0e1d18a L |
636 | 2001-02-11 H.J. Lu <[email protected]> |
637 | ||
6757257f | 638 | * elflink.h (elf_bfd_final_link): Use file_align for SYMTAB |
f0e1d18a L |
639 | alignment. |
640 | ||
9117d219 NC |
641 | 2001-02-11 Maciej W. Rozycki <[email protected]> |
642 | ||
643 | * elf32-mips.c (mips_elf_create_dynamic_relocation): Undo patch | |
644 | from 2000-10-13. Do not add the symbol's value for R_MIPS_REL32 | |
645 | relocations against dynsym symbols. | |
646 | ||
647 | * elf32-mips.c (elf_mips_howto_table): Fix the comment on | |
648 | the R_MIPS_26 relocation. | |
649 | (mips_elf_calculate_relocation): Use (p + 4) instead of p for | |
650 | the R_MIPS_26 relocation. | |
651 | (mips_elf_perform_relocation): Fix the comment on the R_MIPS16_26 | |
652 | relocation. | |
653 | * elf64-mips.c (mips_elf64_howto_table_rel): Fix the comment on | |
654 | the R_MIPS_26 relocation. | |
655 | (mips_elf64_howto_table_rela): Likewise. | |
656 | ||
657 | * elf32-mips.c (struct mips_elf_link_hash_entry): Added no_fn_stub | |
658 | member to mark symbols that have non-CALL relocations against | |
659 | them. | |
660 | (mips_elf_link_hash_newfunc): Initialize no_fn_stub. | |
661 | (mips_elf_calculate_relocation): Handle R_MIPS_CALL16 like | |
662 | R_MIPS_GOT16. | |
663 | (_bfd_mips_elf_check_relocs): Set no_fn_stub for a symbol if a | |
664 | non-CALL relocation against it is encountered. | |
665 | (_bfd_mips_elf_copy_indirect_symbol): Merge no_fn_stub as well. | |
666 | (_bfd_mips_elf_adjust_dynamic_symbol): Only create a stub if | |
667 | no_fn_stub is not set. | |
668 | ||
669 | * elf32-mips.c (mips_elf_output_extsym): Get the output section | |
670 | information from the real symbol for indirect ones. | |
671 | Check no_fn_stub to find out if a symbol has a function stub | |
672 | indeed. | |
673 | ||
9f93bca5 MS |
674 | 2001-02-11 Michael Sokolov <[email protected]> |
675 | ||
676 | * Makefile.am (stamp-lib): ranlib the libbfd.a in the build directory. | |
677 | * Makefile.in: Regenerate. | |
678 | ||
81545d45 RH |
679 | 2001-02-09 David Mosberger <[email protected]> |
680 | ||
681 | * elfxx-ia64.c (is_unwind_section_name): New function. Returns | |
682 | true if section name is an unwind table section name. | |
683 | (elfNN_ia64_additional_program_headers): Count each unwind section | |
684 | separately. | |
685 | (elfNN_ia64_modify_segment_map): Install one unwind program header | |
686 | for each unwind separate section. Note: normally the linker | |
687 | script merges the unwind sections that go into a single segment, | |
688 | so this still generates at most one unwind program header per | |
689 | segment. | |
690 | ||
691 | * elfxx-ia64.c (elfNN_ia64_section_from_shdr): Accept any section | |
692 | name for SHT_IA_64_UNWIND, not just .IA_64.unwind. | |
693 | (elfNN_ia64_fake_sections): Mark sections with names that start | |
694 | with .IA_64.unwind but not with .IA_64.unwind_info as an IA-64 | |
695 | unwind section. | |
696 | ||
697 | * elfxx-ia64.c (elfNN_ia64_final_write_processing): New function. | |
698 | Use it to make sh_info in unwind section point to the text section | |
699 | it applies to. | |
700 | ||
a85d7ed0 NC |
701 | 2001-02-09 Martin Schwidefsky <[email protected]> |
702 | ||
703 | * Makefile.am: Add linux target for S/390. | |
704 | * archures.c: Likewise. | |
705 | * bfd-in2.h: Likewise. | |
706 | * config.bfd: Likewise. | |
707 | * configure.in: Likewise. | |
708 | * elf.c: Likewise. | |
709 | * libbfd.h: Likewise. | |
710 | * targets.c: Likewise. | |
711 | * cpu-s390.c: New file. | |
712 | * elf32-s390.c: New file. | |
713 | * elf64-s390.c: New file. | |
714 | ||
356d255d NC |
715 | 2001-02-09 Nick Clifton <[email protected]> |
716 | ||
717 | * peigen.c (_bfd_pe_get_symbol_info): Suppress addition of | |
718 | ImageBase. This has already been done by coff_swap_hdr_in. | |
719 | ||
069f40e5 JJ |
720 | 2001-02-09 Jakub Jelinek <[email protected]> |
721 | ||
722 | * elf64-sparc.c (sparc64_elf_copy_private_bfd_data): New function. | |
723 | ||
eadfa8ab JJ |
724 | 2001-02-09 Jakub Jelinek <[email protected]> |
725 | ||
726 | * elf64-sparc.c (sparc64_elf_check_relocs): Don't trust reloc_count. | |
727 | (sparc64_elf_relocate_section): Likewise. | |
728 | ||
9fc54e19 MK |
729 | 2001-02-09 Mark Kettenis <[email protected]> |
730 | ||
731 | * elf32-sparc.c (_bfd_sparc_elf_howto_table): Treat R_SPARC_UA32 | |
732 | similar to R_SPARC_32. | |
733 | * elf64-sparc.c (sparc64_elf_howto_table): Likewise. | |
734 | ||
1f655a09 L |
735 | 2001-02-08 H.J. Lu <[email protected]> |
736 | ||
737 | * elf32-i386.c (elf_i386_check_relocs): Reserve R_386_PC32 | |
738 | relocation entries for weak definitions when building DSO with | |
739 | -Bsymbolic. | |
740 | ||
ca88208a RH |
741 | 2001-02-08 Richard Henderson <[email protected]> |
742 | ||
743 | * elf64-alpha.c (alpha_elf_dynamic_symbol_p): Respect weakness | |
744 | before visibility. Locally defined protected symbols are not | |
745 | dynamic. | |
746 | ||
4603e845 GK |
747 | 2001-02-08 Geoffrey Keating <[email protected]> |
748 | ||
749 | * config.bfd: Enable coff64 for rs6000-*. Patch from | |
750 | <[email protected]>. | |
751 | ||
4ca29a6a NC |
752 | 2001-02-07 Mark Elbrecht <[email protected]> |
753 | ||
754 | * coffgen.c (coff_find_nearest_line): If stabs info is successfully | |
755 | found, do not attempt to find dwarf2 info before returning. | |
756 | ||
7da9d88f NC |
757 | 2001-02-07 Jakub Jelinek <[email protected]> |
758 | ||
759 | * elflink.h (is_global_symbol_definition): Rename to | |
760 | is_global_data_symbol_definition and have it reject function | |
761 | symbols. | |
762 | (elf_link_is_defined_archive_symbol): Use renamed function. | |
763 | ||
7340082d NC |
764 | 2001-02-07 Todd Vierling <[email protected]> |
765 | ||
766 | * libbfd-in.h (bfd_target_vector): Change extern array to pointer. | |
767 | * libbfd.h (bfd_target_vector): Likewise. | |
768 | * targets.c (bfd_target_vector): Rename to _bfd_target_vector and | |
81545d45 | 769 | make static; create pointer reference named bfd_target_vector. |
7340082d NC |
770 | (_bfd_target_vector_entries): Calculate this based on the array |
771 | typed _bfd_target_vector. | |
772 | ||
2719f880 L |
773 | 2001-02-06 H.J. Lu <[email protected]> |
774 | ||
775 | * elfxx-ia64.c (elfNN_ia64_dynamic_symbol_p): Only hidden and | |
776 | internal symbols are not dynamic. | |
777 | * elf64-alpha.c (alpha_elf_dynamic_symbol_p): Likewise. | |
778 | ||
175aa013 NC |
779 | 2001-02-06 Nick Clifton <[email protected]> |
780 | ||
781 | * Makefile.am (BFD64_BACKENDS_CFILES): Remove elf64-ia64.c, so | |
782 | that it will not be pulled into the list of files that make up | |
783 | po/POTFILES.in. | |
784 | * Makefile.in: Regenerate. | |
785 | * po/bfd.pot: Regenerate. | |
786 | ||
15e0ecd9 L |
787 | 2001-02-06 H.J. Lu <[email protected]> |
788 | ||
7898deda | 789 | * peicode.h (coff_swap_filehdr_in): Remove the e_magic |
15e0ecd9 L |
790 | checking. |
791 | (pe_bfd_object_p): Rewrite with external_PEI_DOS_hdr and | |
792 | external_PEI_IMAGE_hdr. | |
793 | ||
27def10f KH |
794 | 2001-02-06 Kazu Hirata <[email protected]> |
795 | ||
796 | * elf-m10200.c: Fix formatting. | |
797 | ||
a0f2e916 NC |
798 | 2001-02-04 Nick Clifton <[email protected]> |
799 | ||
800 | * elf32-v850.c (v850_elf_reloc): Do not convert reloc addend to PC | |
801 | rel, it will be handled later on. | |
802 | ||
d96031fb NC |
803 | 2001-02-02 Fred Fish <[email protected]> |
804 | ||
805 | * Makefile.in: Fix typo. | |
806 | ||
010ac81f KH |
807 | 2001-02-01 Kazu Hirata <[email protected]> |
808 | ||
809 | * elf-m10300.c: Fix formatting. | |
810 | ||
3fab46d0 AM |
811 | 2001-01-30 Alan Modra <[email protected]> |
812 | ||
813 | * elf64-hppa.c (elf64_hppa_elf_get_symbol_type): New function. | |
814 | (elf_backend_get_symbol_type): Define. | |
d9634ba1 AM |
815 | (elf64_hppa_object_p): Set architecture and machine from elf |
816 | header flags. | |
3fab46d0 | 817 | |
95404643 RH |
818 | 2001-01-30 Curtis L. Janssen <[email protected]> |
819 | ||
820 | * elf64-alpha.c (elf64_alpha_find_nearest_line): Query dwarf2 | |
821 | before mdebug. | |
822 | ||
8fb35fed RH |
823 | 2001-01-26 Richard Henderson <[email protected]> |
824 | ||
825 | * elfxx-ia64.c (elfNN_ia64_dynamic_symbol_p): Return false | |
826 | for non-default visibility. | |
827 | * elf64-alpha.c (alpha_elf_dynamic_symbol_p): Likewise, but | |
828 | delete ugly macro and replace with pretty function. | |
829 | ||
a4f68544 NC |
830 | 2001-01-25 Mark Elbrecht <[email protected]> |
831 | ||
832 | * coff-go32.c: Update copyright. | |
833 | * coff-stgo32.c: Likewise. | |
834 | * coff-go32.c (COFF_LONG_FILENAMES): Define. | |
835 | * coff-stgo32.c (COFF_LONG_FILENAMES): Likewise. | |
836 | * coff-go32.c (COFF_SECTION_ALIGNMENT_ENTRIES): Remove .bss entry. | |
837 | * coff-stgo32.c (COFF_SECTION_ALIGNMENT_ENTRIES): Likewise. | |
838 | ||
c02e7c3e KH |
839 | 2001-01-25 Kazu Hirata <[email protected]> |
840 | ||
841 | * bfd-in2.h: Rebuild. | |
842 | * libbfd.h: Likewise. | |
843 | ||
541389e2 L |
844 | 2001-01-23 H.J. Lu <[email protected]> |
845 | ||
846 | * bfd-in2.h: Rebuild. | |
847 | ||
0007625f L |
848 | 2001-01-23 H.J. Lu <[email protected]> |
849 | ||
850 | * vms-misc.c (_bfd_vms_next_record): Return -1 if PRIV(vms_buf) | |
851 | is NULL or PRIV(vms_rec) is outside of the buffer. | |
852 | ||
b653e1b1 KH |
853 | 2001-01-23 Kazu Hirata <[email protected]> |
854 | ||
855 | * coff64-rs6000.c: Fix formatting. | |
856 | * coff-arm.c: Likewise. | |
857 | * coffgen.c: Likewise. | |
858 | * cofflink.c: Likewise. | |
859 | * coff-mcore.c: Likewise. | |
860 | * coff-mips.c: Likewise. | |
861 | * coff-pmac.c: Likewise. | |
862 | * coff-ppc.c: Likewise. | |
863 | * coff-rs6000.c: Likewise. | |
864 | * elf32.c: Likewise. | |
865 | * elf32-fr30.c: Likewise. | |
866 | * elf32-i370.c: Likewise. | |
867 | * elf32-i860.c: Likewise. | |
868 | * elf32-m32r.c: Likewise. | |
869 | * elf32-m68k.c: Likewise. | |
870 | * elf32-mcore.c: Likewise. | |
871 | * elf32-ppc.c: Likewise. | |
872 | * elf32-sh.c: Likewise. | |
873 | * elf32-v850.c: Likewise. | |
874 | * elf64-alpha.c: Likewise. | |
875 | * elf64-sparc.c: Likewise. | |
876 | * elflink.c: Likewise. | |
877 | * elflink.h: Likewise. | |
878 | * elf-m10200.c: Likewise. | |
879 | * elf-m10300.c: Likewise. | |
880 | * elfxx-ia64.c: Likewise. | |
881 | ||
3fde5a36 KH |
882 | * aoutx.h: Fix formatting. |
883 | * bfd.c: Likewise. | |
884 | * bfd-in2.h: Likewise. | |
885 | * bfd-in.h: Likewise. | |
886 | * cpu-i386.c: Likewise. | |
887 | * cpu-m68hc11.c: Likewise. | |
888 | * dwarf2.c: Likewise. | |
889 | * elf64-x86-64.c: Likewise. | |
890 | * format.c: Likewise. | |
891 | * freebsd.h: Likewise. | |
892 | * hash.c: Likewise. | |
893 | * hp300hpux.c: Likewise. | |
894 | * hppabsd-core.c: Likewise. | |
895 | * hpux-core.c: Likewise. | |
896 | ||
70256ad8 AJ |
897 | 2001-01-22 Bo Thorsen <[email protected]> |
898 | ||
899 | * elf64-x86-64.c: Added PIC support for X86-64. | |
900 | (elf64_x86_64_link_hash_newfunc): Function added. | |
901 | (elf64_x86_64_link_hash_table_create): Likewise. | |
902 | (elf64_x86_64_check_relocs): Likewise. | |
903 | (elf64_x86_64_gc_mark_hook): Likewise. | |
904 | (elf64_x86_64_gc_sweep_hook): Likewise. | |
905 | (elf64_x86_64_adjust_dynamic_symbol): Likewise. | |
906 | (elf64_x86_64_size_dynamic_sections): Likewise. | |
907 | (elf64_x86_64_discard_copies): Likewise. | |
908 | (elf64_x86_64_finish_dynamic_symbol): Likewise. | |
909 | (elf64_x86_64_finish_dynamic_sections): Likewise. | |
910 | (elf64_x86_64_relocate_section): Add relocation of PIC sections. | |
911 | ||
ee0bebb8 AJ |
912 | 2001-01-21 Maciej W. Rozycki <[email protected]> |
913 | ||
914 | * Makefile.am (install-data-local): Make use of $(DESTDIR). | |
915 | * Makefile.in: Regenerate. | |
916 | ||
2a38f751 KH |
917 | 2001-01-21 Kazu Hirata <[email protected]> |
918 | ||
919 | * coff-a29k.c: Fix formatting. | |
920 | ||
c8492176 L |
921 | 2001-01-19 H.J. Lu <[email protected]> |
922 | ||
923 | * elf32-i386.c (elf_i386_check_relocs): Report files with bad | |
924 | relocation section names. | |
925 | (elf_i386_relocate_section): Report files with bad relocation | |
926 | section names and return false. | |
927 | ||
a5377ec0 AJ |
928 | 2001-01-17 Bo Thorsen <[email protected]> |
929 | ||
930 | * targets.c: Alphabetize list of xvecs. | |
931 | ||
b352eebf AM |
932 | 2001-01-14 Alan Modra <[email protected]> |
933 | ||
d952f17a AM |
934 | * config.bfd: Add linux target variant for elfxx-hppa. |
935 | * configure.in: Recognize bfd_elf32_hppa_linux_vec and | |
936 | bfd_elf64_hppa_linux_vec. | |
937 | * configure: Regenerate. | |
938 | * elf64-hppa.c: Include elf64-target.h again to support linux | |
939 | target variant. | |
940 | (elf64_hppa_post_process_headers): Set ELFOSABI_LINUX for linux. | |
941 | * elf32-hppa.c: Include elf32-target.h again to support linux | |
942 | target variant. | |
943 | (elf32_hppa_post_process_headers): New function. | |
944 | (elf_backend_post_process_headers): Define. | |
945 | * targets.c (bfd_target_vector): Add bfd_elf64_hppa_linux_vec and | |
946 | bfd_elf32_hppa_linux_vec. | |
947 | ||
c46b7515 AM |
948 | * elf32-hppa.c (elf32_hppa_link_hash_table): Add text_segment_base, |
949 | and data_segment_base fields. | |
950 | (elf32_hppa_link_hash_table_create ): Init them. | |
951 | (elf32_hppa_check_relocs): Update comments. | |
952 | (hppa_record_segment_addr): New function. | |
953 | (elf32_hppa_relocate_section): Call it. | |
954 | (final_link_relocate): Handle R_PARISC_SEGREL32. | |
955 | (elf32_hppa_final_link): New function. | |
956 | (bfd_elf32_bfd_final_link): Define to call it. | |
957 | (hppa_unwind_entry_compare): New function. | |
958 | * cache.c (bfd_open_file): Create files in write+read mode. | |
959 | ||
960 | * elf-hppa.h (elf_hppa_howto_table): Set bitsize value for | |
961 | SEGREL32 and numerous other relocs. Change duplicate | |
962 | R_PARISC_NONE relocs to R_PARISC_UNIMPLEMENTED. | |
963 | ||
d768008d AM |
964 | * opncls.c (bfd_fdopenr): Add parens like the comment says around |
965 | O_ACCMODE. | |
966 | ||
150ccafb AM |
967 | * elf32-hppa.c (elf32_hppa_size_dynamic_sections): Don't create |
968 | .plt entries for DT_INIT and DT_FINI. | |
969 | (elf32_hppa_finish_dynamic_sections): Remove special handling of | |
970 | DT_INIT and DT_FINI. | |
971 | ||
b352eebf AM |
972 | * elf64-hppa.c (elf64_hppa_finish_dynamic_symbol): Use 16-bit |
973 | offsets for stub .plt access if wide mode. Check offset in range. | |
974 | ||
b3b9a062 NC |
975 | 2001-01-13 Nick Clifton <[email protected]> |
976 | ||
b7ed8fad NC |
977 | * elf32-fr30.c (fr30_elf_howto_table): Remove spurious blank |
978 | line. | |
979 | ||
b3b9a062 NC |
980 | * coffcode.h (coff_canonicalize_reloc): Remove spurious blank |
981 | line. | |
982 | ||
6e0b89ee AM |
983 | 2001-01-12 Alan Modra <[email protected]> |
984 | ||
985 | * configure.in ([bfd_elf64_x86_64_vec]): Set target64. | |
986 | * configure: Regenerate. | |
987 | ||
0d2bcfaf NC |
988 | 2001-01-11 Peter Targett <[email protected]> |
989 | ||
990 | * bfd-in2.h (bfd_architecture): Add bfd_mach_arc_5, | |
991 | bfd_mach_arc_6, bfd_mach_arc_7, bfd_mach_arc_8 for ARC variants. | |
992 | * cpu-arc.c (arch_info_struct): Add entries for variants. | |
993 | (bfd_arc_arch) Set default to bfd_mach_arc_5. | |
994 | (arc_get_mach) Don't assume machine names prefixed arc- before | |
995 | testing. | |
996 | * elf32-arc.c (arc_elf_object_p): Set machine number based on new | |
997 | selections. | |
998 | (arc_elf_final_write_processing) Likewise. | |
999 | (ELF_MACHINE_CODE) Use EM_ARC. | |
1000 | ||
c31c1f70 NC |
1001 | 2001-01-10 Nick Clifton <[email protected]> |
1002 | ||
2758140b | 1003 | * coff-arm.c (LOCAL_LABEL_PREFIX): Change definition to "". |
c31c1f70 | 1004 | |
5ad083e3 PB |
1005 | 2001-01-07 Philip Blundell <[email protected]> |
1006 | ||
1007 | * README: Replace `[email protected]' with | |
1008 | `[email protected]'. | |
1009 | ||
7eae7d22 KH |
1010 | 2001-01-04 Kazu Hirata <[email protected]> |
1011 | ||
1012 | * som.c: Fix formatting. | |
1013 | ||
509945ae KH |
1014 | 2001-01-03 Kazu Hirata <[email protected]> |
1015 | ||
3e932841 KH |
1016 | * ecoffswap.h: Fix formatting. |
1017 | * elf-bfd.h: Likewise. | |
1018 | * elfarm-nabi.c: Likewise. | |
1019 | * elfarm-oabi.c: Likewise. | |
1020 | * elfcode.h: Likewise. | |
1021 | * elfcore.h: Likewise. | |
1022 | * elflink.c: Likewise. | |
1023 | * elflink.h: Likewise. | |
1024 | * elfxx-ia64.c: Likewise. | |
1025 | * elfxx-target.h: Likewise. | |
1026 | * libbfd.c: Likewise | |
509945ae KH |
1027 | * linker.c: Likewise. |
1028 | * lynx-core.c: Likewise. | |
1029 | ||
892339ee KH |
1030 | 2001-01-02 Kazu Hirata <[email protected]> |
1031 | ||
1032 | * pc532-mach.c: Fix formatting. | |
1033 | * pe-arm.c: Likewise. | |
1034 | * pe-i386.c: Likewise. | |
1035 | * pe-mips.c: Likewise. | |
1036 | * pe-ppc.c: Likewise. | |
1037 | * pe-sh.c: Likewise. | |
1038 | * pei-mips.c: Likewise. | |
1039 | * pei-sh.c: Likewise. | |
ee91ed79 | 1040 | * peicode.h: Likewise. |
892339ee KH |
1041 | * ppcboot.c: Likewise. |
1042 | * ptrace-core.c: Likewise. | |
1043 | ||
3d855632 KH |
1044 | 2001-01-01 Kazu Hirata <[email protected]> |
1045 | ||
1046 | * reloc.c: Fix formatting. | |
1047 | * riscix.c: Likewise. | |
1048 | * rs6000-core.c: Likewise. | |
1049 | * xcoff-target.h: Likewise. | |
1050 | ||
a77a9fef HPN |
1051 | 2000-12-29 Hans-Peter Nilsson <[email protected]> |
1052 | ||
1053 | * elfcode.h (elf_object_p): Also restore the bfd mach field on | |
1054 | error, by calling bfd_default_set_arch_mach with incoming | |
1055 | values. | |
1056 | ||
558e161f KH |
1057 | 2000-12-26 Kazu Hirata <[email protected]> |
1058 | ||
1059 | * vaxnetbsd.c: Fix formatting. | |
1060 | * versados.c: Likewise. | |
1061 | * vms-gsd.c: Likewise. | |
1062 | * vms-hdr.c: Likewise. | |
1063 | * vms-misc.c: Likewise. | |
1064 | ||
3c579812 AO |
1065 | 2000-12-25 Alexandre Oliva <[email protected]> |
1066 | ||
1067 | * archive.c (coff_write_armap): Don't write more than symbol_count | |
1068 | `archive_member_file_ptr's. | |
1069 | ||
672579e9 KH |
1070 | 2000-12-25 Kazu Hirata <[email protected]> |
1071 | ||
1072 | * vms-tir.c: Fix formatting. | |
1073 | ||
55f2d5ed KH |
1074 | 2000-12-23 Kazu Hirata <[email protected]> |
1075 | ||
1076 | * vms.c: Fix formatting. | |
1077 | * vms.h: Likewise. | |
1078 | ||
23ccc829 NC |
1079 | 2000-12-21 Santeri Paavolainen <[email protected]> |
1080 | ||
1081 | * vms-hdr.c: Include alloca.h if HAVE_ALLOCA_H is defined. | |
1082 | ||
1083 | * peicode.h (pe_ILF_object_p): Add const to import of TARGET_LITTLE_SYM. | |
1084 | ||
1085 | * elf32-m32r.c (m32r_elf_generic_reloc): Add cast to avoid (void *) | |
1086 | arithmetic. | |
1087 | ||
1088 | * elf32-fr30.c: Add casts to avoid (void *) arithmetic. | |
1089 | ||
1090 | * coffcode.h (styp_to_sec_flags): Add empty statement after label. | |
1091 | ||
8c603c85 NC |
1092 | 2000-12-21 Richard Sandiford <[email protected]> |
1093 | ||
1094 | * libbfd.c (bfd_get_bits): Added | |
1095 | (bfd_put_bits): Likewise | |
1096 | * bfd-in.h: Declared the above. | |
1097 | * bfd-in2.h: Regenerated. | |
1098 | ||
5bff4f56 KH |
1099 | 2000-12-20 Kazu Hirata <[email protected]> |
1100 | ||
1101 | * targets.c: Fix formatting. | |
1102 | * tekhex.c: Likewise. | |
1103 | * trad-core.c: Likewise. | |
1104 | ||
7b82c249 KH |
1105 | 2000-12-19 Kazu Hirata <[email protected]> |
1106 | ||
1107 | * sco5-core.c: Fix formatting. | |
1108 | * section.c: Likewise. | |
1109 | * sparclinux.c: Likewise. | |
1110 | * sparclynx.c: Likewise. | |
1111 | * sparcnetbsd.c: Likewise. | |
1112 | * srec.c: Likewise. | |
1113 | * stabs.c: Likewise. | |
1114 | * stab-syms.c: Likewise. | |
1115 | * sunos.c: Likewise. | |
1116 | * syms.c: Likewise. | |
1117 | * sysdep.h: Likewise. | |
1118 | ||
f78c5281 NC |
1119 | 2000-12-18 Nick Clifton <[email protected]> |
1120 | ||
1121 | * coff-arm.c (EXTRA_S_FLAGS): Only define if not already | |
1122 | defined. | |
1123 | * epoc-pe-arm.c (EXTRA_S_FLAGS): Define. | |
1124 | * epoc-pei-arm.c (EXTRA_S_FLAGS): Define. | |
1125 | ||
02b89dce NC |
1126 | 2000-12-18 Nick Clifton <[email protected]> |
1127 | ||
1128 | * vms-misc.c (_bfd_vms_get_record): Add default case to | |
1129 | file_format switch. | |
1130 | ||
d20966a7 NC |
1131 | 2000-12-15 Miloslav Trmac <[email protected]> |
1132 | ||
1133 | * elfcore.h (elf_core_file_p): Move to the start of the program | |
1134 | headers before attempting to read them. | |
1135 | ||
6fa957a9 KH |
1136 | 2000-12-14 Kazu Hirata <[email protected]> |
1137 | ||
1138 | * peigen.c: Fix formatting. | |
1139 | * som.c: Likewise. | |
1140 | * som.h: Likewise. | |
1141 | ||
9602af51 KH |
1142 | 2000-12-13 Kazu Hirata <[email protected]> |
1143 | ||
1144 | * peigen.c: Fix formatting. | |
1145 | ||
514829c3 JW |
1146 | 2000-12-12 Jim Wilson <[email protected]> |
1147 | ||
1148 | * elfxx-ia64.c (get_dyn_sym_info): Cast %p argument to void *. | |
1149 | ||
3a71aec8 NC |
1150 | 2000-12-08 Mark Salter <[email protected]> |
1151 | ||
1152 | * binary.c (binary_set_section_contents): Ignore sections | |
1153 | with zero size. | |
1154 | ||
1518639e KH |
1155 | 2000-12-12 Kazu Hirata <[email protected]> |
1156 | ||
1157 | * m68klinux.c: Fix formatting. | |
1158 | * m68knetbsd.c: Likewise. | |
1159 | * mipsbsd.c: Likewise. | |
1160 | * netbsd-core.c: Likewise. | |
1161 | * netbsd.h: Likewise. | |
1162 | * newsos3.c: Likewise. | |
1163 | * nlm32-alpha.c: Likewise. | |
1164 | * nlm32-i386.c: Likewise. | |
1165 | * nlm32-ppc.c: Likewise. | |
1166 | * nlm32-sparc.c: Likewise. | |
1167 | * nlmcode.h: Likewise. | |
1168 | * nlmswap.h: Likewise. | |
1169 | * nlm-target.h: Likewise. | |
1170 | * ns32knetbsd.c: Likewise. | |
1171 | ||
b79e8c78 NC |
1172 | 2000-12-10 Fred Fish <[email protected]> |
1173 | ||
d952f17a AM |
1174 | * elflink.h (elf_link_output_extsym): Don't complain about undefined |
1175 | symbols in shared objects if allow_shlib_undefined is true. | |
b79e8c78 | 1176 | |
38b1a46c NC |
1177 | 2000-12-12 Nick Clifton <[email protected]> |
1178 | ||
1179 | * cpu-sh.c: Fix formattng. | |
1180 | * elf.c: Fix formattng. | |
1181 | * elf32-mips.c: Fix formattng. | |
1182 | * elf32-sh.c: Fix formattng. | |
1183 | * elf64-alpha.c: Fix formattng. | |
1184 | ||
857ec808 NC |
1185 | 2000-12-09 Nick Clifton <[email protected]> |
1186 | ||
1187 | * elf32-mips.c (_bfd_mips_elf_find_nearest_line): Pass | |
1188 | dwarf2_find_line_info as last parameter to invocation of | |
1189 | _bfd_dwarf2_find_nearest_line. | |
1190 | * elf32-arm.h (elf32_arm_find_nearest_line): Pass | |
1191 | dwarf2_find_line_info as last parameter to invocation of | |
1192 | _bfd_dwarf2_find_nearest_line. | |
1193 | ||
51db3708 NC |
1194 | 2000-12-08 Mark Elbrecht <[email protected]> |
1195 | ||
1196 | * Makefile.am (BFD32_BACKENDS): Move dwarf2.lo from here... | |
857ec808 NC |
1197 | (BFD_LIBS): ...to here. |
1198 | (BFD32_BACKENDS_CFILES): Move dwarf2.c from here... | |
1199 | (BFD_LIBS_CFILES): ...to here. | |
51db3708 NC |
1200 | * Makefile.in: Regenerate. |
1201 | * configure.in: Remove dwarf.lo from the elf shell variable. | |
1202 | * configure: Regenerate. | |
1203 | * libcoff-in.h (coff_tdata): Add pointer dwarf2_find_line_info. | |
1204 | * libcoff.h: Regenerate. | |
d952f17a | 1205 | * coffgen.c (coff_find_nearest_line): Call |
857ec808 | 1206 | _bfd_dwarf2_find_nearest_line. |
51db3708 | 1207 | * dwarf2.c (_bfd_dwarf2_find_nearest_line): Add parameter. Update |
857ec808 NC |
1208 | accordingly. |
1209 | (read_abbrevs): Likewise | |
1210 | (decode_line_info): Likewise. | |
1211 | (parse_comp_unit): Likewise. | |
1212 | (comp_unit_find_nearest_line): Likewise. | |
51db3708 NC |
1213 | * libbfd-in.h (_bfd_dwarf2_find_nearest_line): Update prototype. |
1214 | * libbfd.h: Regenerate. | |
1215 | * elf.c (_bfd_elf_find_nearest_line): Update call. | |
1216 | * elf-bfd.h (elf_obj_tdata): Change dwarf2_find_line_info to type PTR. | |
1217 | * dwarf2.c (concat_filename): Use IS_ABSOLUTE_PATH. | |
1218 | * coffcode.h (STYP_XCOFF_DEBUG, STYP_DEBUG_INFO): New macros. | |
857ec808 NC |
1219 | (sec_to_styp_flags): Use them. Handle DWARF2 sections. |
1220 | (styp_to_sec_flags): Handle DWARF2 sections. | |
1221 | * elf32-arm.h (elf32_arm_find_nearest_line): Add parameter to call | |
1222 | to _bfd_find_nearest_line. | |
1223 | * elf32-mips.c (_bfd_mips_elf_find_nearest_line): Add parameter to | |
1224 | call to _bfd_find_nearest_line. | |
d952f17a | 1225 | |
435b1e90 KH |
1226 | 2000-12-08 Kazu Hirata <[email protected]> |
1227 | ||
1228 | * coffgen.c: Fix formatting. | |
fe8bc63d | 1229 | * elf-m10300.c: Likewise. |
435b1e90 KH |
1230 | * elf32-i386.c: Likewise. |
1231 | * elf32-i960.c: Likewise. | |
1232 | * elf32-m68k.c: Likewise. | |
1233 | * elf32-mcore.c: Likewise. | |
1234 | * elf32-ppc.c: Likewise. | |
1235 | * elf32-sh.c: Likewise. | |
1236 | * elf32-sparc.c: Likewise. | |
1237 | * elf32-v850.c: Likewise. | |
fe8bc63d KH |
1238 | * elf64-alpha.c: Likewise. |
1239 | * elf64-hppa.c: Likewise. | |
1240 | * elf64-mips.c: Likewise. | |
435b1e90 | 1241 | * elf64-sparc.c: Likewise. |
435b1e90 | 1242 | |
8da6118f KH |
1243 | 2000-12-07 Kazu Hirata <[email protected]> |
1244 | ||
1245 | * elf32-ppc.c: Fix formatting. | |
1246 | * elf64-x86-64.c: Likewise. | |
1247 | ||
a9922e52 UC |
1248 | 2000-12-06 Ulf Carlsson <[email protected]> |
1249 | ||
1250 | From Ralf Baechle <[email protected]> | |
1251 | ||
1252 | * elf32-mips.c (elf32_mips_merge_private_bfd_data): Always permit | |
1253 | BFDs containing no sections or empty .text, .data or .bss sections | |
1254 | to be merged, regardless of their flags. | |
1255 | ||
c3668558 KH |
1256 | 2000-12-06 Kazu Hirata <[email protected]> |
1257 | ||
1258 | * elf32-m32r.c: Fix formatting. | |
1259 | * elf32-m68hc11.c: Likewise. | |
1260 | * elf32-m68hc12.c: Likewise. | |
1261 | * elf32-m68k.c: Likewise. | |
1262 | * elf32-mcore.c: Likewise. | |
1263 | * elf32-pj.c: Likewise. | |
1264 | * elf32-ppc.c: Likewise. | |
1265 | ||
6609fa74 KH |
1266 | 2000-12-05 Kazu Hirata <[email protected]> |
1267 | ||
1268 | * elf32-fr30.c: Fix formatting. | |
1269 | * elf32-hppa.c: Likewise. | |
1270 | * elf32-i370.c: Likewise. | |
1271 | * elf32-i386.c: Likewise. | |
1272 | * elf32-i860.c: Likewise. | |
1273 | * elf32-i960.c: Likewise. | |
1274 | ||
a7c10850 KH |
1275 | 2000-12-03 Kazu Hirata <[email protected]> |
1276 | ||
1277 | * elf32-arm.h: Fix formatting. | |
1278 | * elf32-avr.c: Likewise. | |
1279 | * elf32-cris.c: Likewise. | |
1280 | * elf32-d10v.c: Likewise. | |
1281 | * elf32-d30v.c: Likewise. | |
1282 | * elf-hppa.h: Likewise. | |
1283 | * elf-m10200.c: Likewise. | |
1284 | * elf-m10300.c: Likewise. | |
1285 | ||
e7af610e NC |
1286 | 2000-12-01 Chris Demetriou <[email protected]> |
1287 | ||
d952f17a AM |
1288 | * aoutx.h (NAME(aout,machine_type)): Add bfd_mach_mips32 and |
1289 | bfd_mach_mips32_4k. Update FIXME comment. | |
1290 | * archures.c (bfd_mach_mips32): New constant. | |
1291 | (bfd_mach_mips4K, bfd_mach_mips32_4k) Rename the former to | |
1292 | the latter, renumber it. | |
1293 | * bfd-in2.h (bfd_mach_mips32): New constant. | |
1294 | (bfd_mach_mips4K, bfd_mach_mips32_4k) Rename the former to | |
1295 | the latter, renumber it. | |
1296 | * cpu-mips.c (I_mips32): New constant. | |
1297 | (I_mips4K, I_mips32_4k): Rename the former to the latter. | |
1298 | (arch_info_struct): Add bfd_mach_mips32 entry, replace | |
1299 | bfd_mach_mips4K entry with bfd_mach_mips32_4k entry. | |
1300 | * elf32-mips.c (elf_mips_isa): Add E_MIPS_ARCH_32 case. | |
1301 | (elf_mips_mach): Likewise. Also, replace E_MIPS_MACH_MIPS32 | |
1302 | with E_MIPS_MACH_MIPS32_4K. | |
1303 | (_bfd_mips_elf_final_write_processing): Replace | |
1304 | bfd_mach_mips4K with bfd_mach_mips32_4k case, add | |
1305 | bfd_mach_mips32 case. | |
1306 | (_bfd_mips_elf_merge_private_bfd_data): Generalize ISA mixing | |
1307 | comparison with support for MIPS32. | |
1308 | (_bfd_mips_elf_print_private_bfd_data): Print ISA name for | |
1309 | MIPS32. | |
1310 | ||
1311 | * aoutx.h (NAME(aout,machine_type)): Add cases for | |
1312 | bfd_mach_mips5 and bfd_mach_mips64. | |
1313 | * archures.c (bfd_mach_mips5, bfd_mach_mips64): New constants. | |
1314 | * bfd-in2.h (bfd_mach_mips5, bfd_mach_mips64): Likewise. | |
1315 | * cpu_mips.c (I_mips5, I_mips64): New definitions. | |
1316 | (arch_info_struct): Add entries for bfd_mach_mips5 and | |
1317 | bfd_mach_mips64. | |
1318 | * elf32-mips.c (elf_mips_isa, elf_mips_mach, | |
1319 | _bfd_mips_elf_print_private_bfd_data): Add cases for | |
1320 | E_MIPS_ARCH_5 and E_MIPS_ARCH_64. | |
1321 | (_bfd_mips_elf_final_write_processing): Add cases for | |
1322 | bfd_mach_mips5 and bfd_mach_mips64. | |
1323 | ||
7898deda | 1324 | * aoutx.h (NAME(aout,machine_type)): Add a |
d952f17a | 1325 | bfd_mach_mips_sb1 case. |
7898deda NC |
1326 | * archures.c (bfd_mach_mips_sb1): New constant. |
1327 | * bfd-in2.h (bfd_mach_mips_sb1): New constant. | |
1328 | * cpu-mips.c (I_sb1): New constant. | |
d952f17a | 1329 | (arch_info_struct): Add entry for bfd_mach_mips_sb1. |
7898deda | 1330 | * elf32-mips.c (elf_mips_mach): Add case for |
d952f17a AM |
1331 | E_MIPS_MACH_SB1. |
1332 | (_bfd_mips_elf_final_write_processing): Add case for | |
1333 | bfd_mach_mips_sb1. | |
1334 | ||
1335 | 2000-12-01 Joel Sherrill <[email protected]> | |
ddcfc5fc NC |
1336 | |
1337 | * config.bfd (arm-*-rtems*, a29k-*rtems*): New targets. | |
1338 | (sparc*-*-rtemself*, sparc*-*-rtemsaout*): New targets. | |
1339 | (sparc*-*-rtems*): Switched from a.out to ELF. | |
1340 | ||
8d88c4ca | 1341 | 2000-11-30 Jan Hubicka <[email protected]> |
d952f17a AM |
1342 | |
1343 | * Makefile.am (BFD64_BACKENDS): Add elf64-x86-64.lo | |
1344 | BFD64_BACKENDS_CFILES): Add elf64-x86-64.c | |
1345 | (elf64-x86-64.lo): Add dependencies. | |
1346 | * archures.c (DESCRIPTION): Add bfd_mach_x86_64, | |
1347 | bfd_mach_x86_64_intel_syntax. | |
1348 | * elf.c (prep_headers): Use EM_x86_64 for 64bit output. | |
1349 | * config.bfd (x86_64): Add. | |
1350 | * configure.in: Add support for bfd_elf64_x86_64_vec. | |
1351 | * cpu-i386.c (bfd_x86_64_arch_intel_syntax, bfd_x86_64_arch): Add. | |
1352 | (bfd_i386_arch, i8086_ar): Link in. | |
1353 | * elf64-x86-64.c: New file. | |
1354 | * reloc.c (ENUMDOC): Add BFD_RELOC_X86_64*. | |
1355 | * targets.c (bfd_elf64_x86_64_vec): Add. | |
1356 | (bfd_target_vect): Add bfd_elf64_x86_64_vec. | |
8d88c4ca | 1357 | |
fbc4fff4 KH |
1358 | 2000-11-30 Kazu Hirata <[email protected]> |
1359 | ||
1360 | * xcofflink.c: Fix formatting. | |
1361 | ||
e60b52c6 KH |
1362 | 2000-11-28 Kazu Hirata <[email protected]> |
1363 | ||
1364 | * aoutx.h: Fix formatting. | |
1365 | * bfd-in.h: Likewise. | |
1366 | * bfd-in2.h: Likewise. | |
1367 | * cache.c: Likewise. | |
1368 | * cisco-core.c: Likewise. | |
1369 | * coff64-rs6000.c: Likewise. | |
1370 | * coffcode.h: Likewise. | |
1371 | * coffswap.h: Likewise. | |
1372 | * corefile.c: Likewise. | |
be3ccd9c | 1373 | * elf32-mips.c: Likewise. |
e60b52c6 | 1374 | |
336eced2 KH |
1375 | 2000-11-27 Kazu Hirata <[email protected]> |
1376 | ||
1377 | * aout-adobe.c: Fix formatting. | |
244148ad KH |
1378 | * coff64-rs6000.c: Likewise. |
1379 | * coffgen.c: Likewise. | |
1380 | * cofflink.c: Likewise. | |
336eced2 | 1381 | |
d71f672e PB |
1382 | 2000-11-27 Philip Blundell <[email protected]> |
1383 | ||
1384 | * libcoff-in.h (coff_tdata): Add `strings_written' flag. | |
1385 | (obj_coff_strings_written): New accessor macro for above. | |
1386 | * libcoff.h: Regenerate. | |
1387 | * cofflink.c (_bfd_coff_final_link): Say that we wrote the | |
1388 | strings. | |
1389 | * coffcode.h (coff_write_object_contents): No need to write out | |
1390 | the string table if it's already been done. | |
1391 | ||
bc7a577d PB |
1392 | 2000-11-22 Philip Blundell <[email protected]> |
1393 | ||
d952f17a | 1394 | * cofflink.c (_bfd_coff_generic_relocate_section): Don't object to |
bc7a577d PB |
1395 | weak undefined symbols. |
1396 | ||
077b8428 NC |
1397 | 2000-11-24 Nick Clifton <[email protected]> |
1398 | ||
1399 | * archures.c (bfd_mach_arm_5TE): Define. | |
1400 | (bfd_mach_arm+XScale): Define. | |
1401 | * bfd-in2.h: Regenerate. | |
1402 | ||
1403 | * coff-arm.c (coff_arm_reloc_type_lookup): Accept | |
1404 | BFD_RELOC_ARM_PCREL_BLX. | |
1405 | ||
1406 | * coffcode.h (coff_set_flags): Set flags for 5t, 5te and | |
1407 | XScale machine numbers. | |
1408 | ||
1409 | * config.bfd (xscale-elf): Add target. | |
1410 | (xscale-coff): Add target. | |
1411 | ||
1412 | * cpu-arm.c: Add xscale machine name. | |
1413 | Add v5t, v5te and XScale machine numbers. | |
1414 | ||
e9e41bd9 KH |
1415 | 2000-11-23 Kazu Hirata <[email protected]> |
1416 | ||
1417 | * aix386-core.c: Fix formatting. | |
1418 | ||
64bf6ae6 JW |
1419 | 2000-11-22 Jim Wilson <[email protected]> |
1420 | ||
1421 | * coff-ia64.c (howto_table): Use EMPTY_HOWTO. | |
1422 | (in_reloc_p): Add ATTRIBUTE_UNUSED to unused parameters. | |
1423 | * cpu-ia64-opc.c (ins_rsvd, ext_rsvd, ins_const, ext_const): Likewise. | |
1424 | (ins_imms_scaled): Initialize sign_bit at function entry. | |
1425 | (elf64_ia64_operands): Add missing initializers. | |
1426 | * elfxx-ia64.c (elfNN_ia64_reloc, elfNN_ia64_reloc_type_lookup, | |
1427 | elfNN_ia64_info_to_howto, elfNN_ia64_fake_sections, | |
1428 | elfNN_ia64_add_symbol_hook, elfNN_ia64_is_local_label_name, | |
1429 | elfNN_ia64_local_hash_table_init, get_fptr, get_pltoff, | |
1430 | elfNN_ia64_adjust_dynamic_symbol): Add ATTRIBUTE_UNUSED for unused | |
1431 | parameters. | |
1432 | (elfNN_ia64_info_to_howto): Initialize free_relocs, free_contents, | |
1433 | and free_extsyms at function entry. | |
1434 | (elfNN_add_symbol_hook): Add unsigned cast to bfd_get_gp_size result. | |
1435 | (elfNN_ia64_create_dynamic_sections): Delete unused local h. | |
1436 | (get_got): Delete unused local srel. | |
1437 | (elfNN_ia64_check_relocs): Initialize dynrel_type when declared. | |
1438 | (elfNN_ia64_relocate_section): Delete unused local dynindx. | |
d952f17a | 1439 | |
1abaf976 KH |
1440 | 2000-11-21 Kazu Hirata <[email protected]> |
1441 | ||
6e301b2b KH |
1442 | * coff-a29k.c: Fix formatting. |
1443 | * coff-h8500.c: Likewise. | |
1444 | * coff-i960.c: Likewise. | |
1445 | * coff-ppc.c: Likewise. | |
1446 | * coff-rs6000.c: Likewise. | |
1447 | * coff-stgo32.c: Likewise. | |
1448 | * coff-tic54x.c: Likewise. | |
1449 | * coff-w65.c: Likewise. | |
1450 | * cpu-h8500.c: Likewise. | |
1451 | * cpu-hppa.c: Likewise. | |
1452 | * cpu-ns32k.c: Likewise. | |
1453 | * ecoff.c: Likewise. | |
1abaf976 KH |
1454 | * ecofflink.c: Likewise. |
1455 | ||
a0fc8ba1 NC |
1456 | 2000-11-21 Nick Clifton <[email protected]> |
1457 | ||
1458 | * elf32-sh.c (sh_elf_reloc_loop): Fix compile time warning, and | |
1459 | remove possibility of infinite loop. | |
1460 | ||
beb0d161 KH |
1461 | 2000-11-20 Kazu Hirata <[email protected]> |
1462 | ||
1463 | * aix386-core.c: Fix formatting. | |
1464 | * aout-adobe.c: Likewise. | |
1465 | * aout-arm.c: Likewise. | |
1466 | * aout-encap.c: Likewise. | |
1467 | * aout-ns32k.c: Likewise. | |
1468 | * aout-target.h: Likewise. | |
1469 | * aout-tic30.c: Likewise. | |
1470 | * aoutf1.h: Likewise. | |
1471 | * aoutx.h: Likewise. | |
1472 | * archive.c: Likewise. | |
eb6e10cb KH |
1473 | * bfd-in.h: Likewise. |
1474 | * bfd-in2.h: Likewise. | |
1475 | * bfd.c: Likewise. | |
1476 | * bout.c: Likewise. | |
beb0d161 | 1477 | |
2c2475db JW |
1478 | 2000-11-17 H.J. Lu <[email protected]> |
1479 | ||
1480 | * elfxx-ia64.c (elfNN_ia64_size_dynamic_sections): Don't create | |
1481 | pltoff entries for DT_INIT and DT_FINI. | |
1482 | (elfNN_ia64_final_link): Don't set DT_INIT/FINI entries. | |
1483 | (elfNN_ia64_finish_dynamic_sections): Don't fill in DT_INIT/FINI | |
1484 | entries. | |
1485 | ||
18b27f17 RH |
1486 | 2000-11-16 Richard Henderson <[email protected]> |
1487 | ||
1488 | * elfxx-ia64.c (elfNN_ia64_check_relocs): Handle IPLT relocs. | |
1489 | (allocate_dynrel_entries): Likewise. | |
1490 | (elfNN_ia64_relocate_section): Likewise. Set REL addends correctly. | |
1491 | (set_pltoff_entry): Likewise. | |
1492 | (ia64_howto_table): Remove R_IA64_SEGBASE, and R_IA64_EPLT[ML]SB | |
1493 | (elfNN_ia64_reloc_type_lookup): Likewise. | |
1494 | (elfNN_ia64_install_value): Likewise. | |
1495 | (elfNN_ia64_relocate_section): Likewise. | |
1496 | * reloc.c (BFD_RELOC_IA64_SEGBASE): Remove. | |
1497 | (BFD_RELOC_IA64_EPLTMSB, BFD_RELOC_IA64_EPLTLSB): Remove. | |
1498 | ||
98591c73 KH |
1499 | 2000-11-16 Kazu Hirata <[email protected]> |
1500 | ||
71f6b586 KH |
1501 | * cpu-a29k.c: Fix formatting. |
1502 | * cpu-alpha.c: Likewise. | |
1503 | * cpu-arm.c: Likewise. | |
1504 | * cpu-avr.c: Likewise. | |
1505 | * cpu-d10v.c: Likewise. | |
1506 | * cpu-h8500.c: Likewise. | |
1507 | * cpu-hppa.c: Likewise. | |
1508 | * cpu-i370.c: Likewise. | |
1509 | * cpu-i386.c: Likewise. | |
1510 | * cpu-i960.c: Likewise. | |
1511 | * cpu-ia64-opc.c: Likewise. | |
1512 | * cpu-ia64.c: Likewise. | |
1513 | * cpu-m32r.c: Likewise. | |
1514 | * cpu-m68hc11.c: Likewise. | |
1515 | * cpu-m68hc12.c: Likewise. | |
1516 | * cpu-m68k.c: Likewise. | |
1517 | * cpu-m88k.c: Likewise. | |
1518 | * cpu-mips.c: Likewise. | |
1519 | * cpu-ns32k.c: Likewise. | |
1520 | * cpu-pj.c: Likewise. | |
1521 | * cpu-powerpc.c: Likewise. | |
1522 | * cpu-sh.c: Likewise. | |
1523 | * cpu-sparc.c: Likewise. | |
1524 | * cpu-tic54x.c: Likewise. | |
1525 | * cpu-v850.c: Likewise. | |
1526 | * cpu-vax.c: Likewise. | |
1527 | * cpu-w65.c: Likewise. | |
1528 | * cpu-we32k.c: Likewise. | |
1529 | * cpu-z8k.c: Likewise. | |
1530 | * dwarf1.c: Likewise. | |
98591c73 KH |
1531 | * dwarf2.c: Likewise. |
1532 | ||
c5930ee6 KH |
1533 | 2000-11-15 Kazu Hirata <[email protected]> |
1534 | ||
1535 | * coff-arm.c: Fix formatting. | |
1536 | * coff-ppc.c: Likewise. | |
1537 | * coff-rs6000.c: Likewise. | |
cbfe05c4 KH |
1538 | * coff-sh.c: Likewise. |
1539 | * coff-sparc.c: Likewise. | |
1540 | * coff-tic30.c: Likewise. | |
1541 | * coff-tic54x.c: Likewise. | |
1542 | * coff-tic80.c: Likewise. | |
1543 | * coff-w65.c: Likewise. | |
1544 | * coff-we32k.c: Likewise. | |
1545 | * coff-z8k.c: Likewise. | |
c5930ee6 | 1546 | |
dac544a8 RH |
1547 | 2000-11-15 Richard Henderson <[email protected]> |
1548 | ||
1549 | * elf64-alpha.c (elf64_alpha_check_relocs): Create the reloc | |
1550 | section with the same ALLOC|LOAD flags as the source section. | |
1551 | ||
c810873d JJ |
1552 | 2000-11-14 Jakub Jelinek <[email protected]> |
1553 | ||
1554 | * elf64-alpha.c (elf64_alpha_relax_opt_call): Only check bits used | |
1555 | by STO_ALPHA constants. | |
1556 | ||
43646c9d KH |
1557 | 2000-11-14 Kazu Hirata <[email protected]> |
1558 | ||
1559 | * coff-pmac.c: Fix formatting. | |
1560 | * coff-ppc.c: Likewise. | |
1561 | ||
051b8577 L |
1562 | 2000-11-13 H.J. Lu <[email protected]> |
1563 | ||
1564 | * elflink.h (elf_link_add_object_symbols): Also add indirect | |
1565 | symbols for common symbols with the default version. | |
1566 | ||
90460d97 PB |
1567 | 2000-11-09 Philip Blundell <[email protected]> |
1568 | ||
1569 | * section.c (STD_SECTION): Set gc_mark flag. | |
1570 | ||
b48499ec KH |
1571 | 2000-11-11 Kazu Hirata <[email protected]> |
1572 | ||
1573 | * coff-i960.c: Likewise. | |
1574 | * coff-m68k.c: Likewise. | |
1575 | * coff-m88k.c: Likewise. | |
1576 | * coff-mcore.c: Likewise. | |
1577 | * coff-mips.c: Likewise. | |
1578 | ||
c5aeb40f AO |
1579 | 2000-11-11 Bernd Schmidt <[email protected]> |
1580 | ||
1581 | * elf32-sh.c (sh_elf_relocate_section): Ignore R_SH_NONE relocs. | |
1582 | ||
5fcfd273 KH |
1583 | 2000-11-10 Kazu Hirata <[email protected]> |
1584 | ||
1585 | * coff-h8300.c: Fix formatting. | |
1586 | * coff-h8500.c: Likewise. | |
1587 | * coff-i386.c: Likewise. | |
1588 | * coff-i860.c: Likewise. | |
1589 | * coff-i960.c: Likewise. | |
1590 | * coff-ia64.c: Likewise. | |
1591 | ||
047066e1 KH |
1592 | 2000-11-09 Kazu Hirata <[email protected]> |
1593 | ||
1594 | * archive.c: Fix formatting. | |
1595 | * archures.c: Likewise. | |
1596 | ||
9a951beb RH |
1597 | 2000-11-07 Richard Henderson <[email protected]> |
1598 | ||
1599 | * elfxx-ia64.c (elf64_ia64_final_link): New local unwind_output_sec. | |
1600 | Set it before bfd_elf64_bfd_final_link call. Use it after the call. | |
1601 | * section.c (bfd_set_section_contents): Call memcpy if | |
1602 | section->contents set and location not equal to contents plus offset. | |
1603 | ||
aebad5fe KH |
1604 | 2000-11-08 Kazu Hirata <[email protected]> |
1605 | ||
8546af74 KH |
1606 | * bfd-in.h: Fix formatting. |
1607 | * bfd-in2.h: Likewise. | |
1608 | * bfd.c: Likewise. | |
aebad5fe KH |
1609 | * binary.c: Likewise. |
1610 | * bout.c: Likewise. | |
346ceb11 KH |
1611 | * coff-a29k.c: Likewise. |
1612 | * coff-alpha.c: Likewise. | |
1613 | * coff-apollo.c: Likewise. | |
1614 | * coff-aux.c: Likewise. | |
aebad5fe | 1615 | |
0ef5a5bd KH |
1616 | 2000-11-07 Kazu Hirata <[email protected]> |
1617 | ||
1618 | * aix386-core.c: Fix formatting. | |
1619 | * aoutf1.h: Likewise. | |
1620 | * aoutx.h: Likewise. | |
1621 | * archures.c: Likewise. | |
1622 | * armnetbsd.c: Likewise. | |
1623 | ||
d562d2fb AM |
1624 | 2000-11-07 Alan Modra <[email protected]> |
1625 | ||
1626 | * coff-h8300.c (special): Adjust reloc address. | |
1627 | ||
bbe66d08 JW |
1628 | 2000-11-06 Steve Ellcey <[email protected]> |
1629 | ||
4efc3e05 | 1630 | * archures.c (bfd_mach_ia64_elf64, bfd_mach_ia64_elf32): Add defines |
bbe66d08 JW |
1631 | to differentiate elf32 and elf64 on ia64. |
1632 | * bfd-in2.h: Regenerate. | |
1633 | * config.bfd: Add target for "ia64*-*-hpux*". | |
1634 | * configure.in: Add bfd_elf32_ia64_big_vec to selvecs switch. | |
1635 | * configure: Regenerate. | |
4efc3e05 | 1636 | * cpu-ia64.c (bfd_ia64_elf32_arch): Add elf32 arch info structure. |
bbe66d08 JW |
1637 | * targets.c: Add bfd_target bfd_elf32_ia64_big_vec. |
1638 | ||
1639 | * Makefile.am: Make elf32-ia64.c and elf64-ia64.c derived objects | |
1640 | from elfxx-ia64.c. Add depenency rules for making elf32-ia64.lo. | |
1641 | * Makefile.in: Regnerate. | |
4efc3e05 | 1642 | * elf64-ia64.c: Deleted. |
bbe66d08 JW |
1643 | * elfxx-ia64.c: New file, paramaterized version of elf64-ia64.c. |
1644 | ||
c4dfa77f KH |
1645 | 2000-11-06 Kazu Hirata <[email protected]> |
1646 | ||
1647 | * aout-adobe.c: Fix formatting. | |
1648 | * aout-arm.c: Likewise. | |
1649 | * aout-cris.c: Likewise. | |
1650 | * aout-encap.c: Likewise. | |
1651 | * aout-ns32k.c: Likewise. | |
1652 | * aout-target.h: Likewise. | |
1653 | * aout-tic30.c: Likewise. | |
1654 | ||
cf919dfd PB |
1655 | 2000-11-05 Philip Blundell <[email protected]> |
1656 | ||
1657 | * elf32-arm.h (elf32_arm_merge_private_bfd_data): Always permit | |
1658 | BFDs containing no sections to be merged, regardless of their flags. | |
1659 | ||
1660 | 2000-11-04 Philip Blundell <[email protected]> | |
1661 | ||
1662 | * elf32-arm.h (elf32_arm_relocate_section): Suppress error message | |
1663 | if a relocation for an undefined symbol also results in an | |
1664 | overflow. | |
1665 | ||
8d88c4ca | 1666 | 2000-11-06 Christopher Faylor <[email protected]> |
8848a8d0 CF |
1667 | |
1668 | * config.bfd: Add support for Sun Chorus. | |
1669 | ||
46d59bfa DB |
1670 | 2000-11-05 David O'Brien <[email protected]> |
1671 | ||
1672 | * configure.in: Recognize alpha-*-freebsd*. | |
1673 | * configure: Regenerate. | |
1674 | ||
d952f17a | 1675 | 2000-11-02 Luciano Gemme <[email protected]> |
420496c1 NC |
1676 | |
1677 | * srec.c (CHUNK): Rename to DEFAULT_CHUNK. | |
1678 | (Chunk): New global variable set by a parameter in objcopy.c. | |
1679 | (S3Forced): New global variable set by a parameter in | |
1680 | objcopy.c. | |
1681 | (srec_set_section_contents): If S3Forced is true, always generate | |
1682 | S3 records. | |
1683 | (srec_write_section): Use 'Chunk' to limit maximum length of S | |
1684 | records. | |
1685 | ||
59ff2774 NC |
1686 | 2000-11-02 Per Lundberg <[email protected]> |
1687 | ||
1688 | * config.bfd: Add support for i[3456]86-chaosdev-storm-chaos. | |
1689 | * Makefile.in: Regenerate. | |
1690 | * bfd-in2.h: Regenerate. | |
1691 | * po/bfd.pot: Regenerate. | |
d952f17a | 1692 | |
ee43f35e PB |
1693 | 2000-10-31 Philip Blundell <[email protected]> |
1694 | ||
1695 | * elf32-arm.h (elf32_arm_merge_private_bfd_data): Only handle | |
1696 | EF_SOFT_FLOAT if it is defined. | |
1697 | ||
1006ba19 PB |
1698 | 2000-10-27 Philip Blundell <[email protected]> |
1699 | ||
1700 | * elf32-arm.h (elf32_arm_copy_private_bfd_data): Don't refuse | |
1701 | attempts to mix PIC code with non-PIC, just mark the output as | |
1702 | being position dependent. | |
d952f17a AM |
1703 | (elf32_arm_merge_private_bfd_data): Likewise. Print an error |
1704 | message for EF_SOFT_FLOAT mismatches. Display diagnostics for | |
1006ba19 | 1705 | all mismatches, not just the first one. |
d952f17a | 1706 | |
c4920b97 NC |
1707 | 2000-10-25 Chris Demetriou <[email protected]> |
1708 | ||
1709 | * ieee.c (ieee_archive_p): Plug one of many possible | |
1710 | memory leaks in error handling. | |
1711 | ||
19f7b010 JJ |
1712 | 2000-10-20 Jakub Jelinek <[email protected]> |
1713 | ||
1714 | * elf32-sparc.c (elf32_sparc_merge_private_bfd_data, | |
1715 | elf32_sparc_object_p, elf32_sparc_final_write_processing): | |
1716 | Support v8plusb. | |
1717 | * elf64-sparc.c (sparc64_elf_merge_private_bfd_data, | |
1718 | sparc64_elf_object_p): Support v9b. | |
1719 | * archures.c: Declare v8plusb and v9b machines. | |
1720 | * bfd-in2.h: Ditto. | |
1721 | * cpu-sparc.c: Ditto. | |
1722 | ||
e1e0340b GK |
1723 | 2000-10-16 Geoffrey Keating <[email protected]> |
1724 | ||
ea5fbc67 GK |
1725 | * elf64-sparc.c (sparc64_elf_relocate_section): Clear the location |
1726 | of a GOT reloc. | |
1727 | ||
e1e0340b GK |
1728 | * elf32-ppc.c (SYMBOL_REFERENCES_LOCAL): New macro. |
1729 | (SYMBOL_CALLS_LOCAL): New macro. | |
1730 | (ppc_elf_adjust_dynamic_symbol): Use SYMBOL_CALLS_LOCAL. | |
1731 | (ppc_elf_check_relocs): Use SYMBOL_REFERENCES_LOCAL. | |
1732 | (ppc_elf_finish_dynamic_symbol): Use SYMBOL_REFERENCES_LOCAL. | |
1733 | (ppc_elf_relocate_section): Use flag variable to determine | |
1734 | whether the relocation refers to a local symbol. | |
1735 | Test whether a PLTREL24 reloc will produce a reloc by looking | |
1736 | to see whether a PLT entry was made. | |
1737 | ||
a4b120e1 GK |
1738 | 2000-10-14 Geoffrey Keating <[email protected]> |
1739 | ||
1740 | * elf32-ppc.c (ppc_elf_finish_dynamic_symbol): Don't make PLT | |
1741 | entries that could serve as a definition for a weak symbol. | |
1742 | ||
5af5b85b UC |
1743 | 2000-10-13 Ulf Carlsson <[email protected]> |
1744 | ||
1745 | From Ralf Baechle <[email protected]> | |
1746 | ||
1747 | * elf32-mips.c (mips_elf_create_dynamic_relocation): New argument | |
1748 | local_p. Add symbol value only for non-R_MIPS_REL32 relocations | |
1749 | against local symbols. | |
1750 | (_bfd_mips_elf_finish_dynamic_sections): Undo patch from 2000-10-01. | |
d952f17a | 1751 | |
3ef20aaa AM |
1752 | 2000-10-12 Alan Modra <[email protected]> |
1753 | ||
24376d1b AM |
1754 | * section.c (struct sec): Add kept_section. |
1755 | (struct bfd_comdat_info): Remove sec, we can use above. | |
1756 | (STD_SECTION): Add initializer. | |
1757 | (bfd_make_section_anyway): Init here too. | |
1758 | ||
1759 | * bfd-in2.h: Regenerate. | |
1760 | ||
1761 | * elflink.h (elf_link_add_object_symbols): Remove unnecessary | |
d952f17a | 1762 | zeroing of `flags'. |
24376d1b AM |
1763 | (elf_link_input_bfd): Set all asection->symbol->value's here, and |
1764 | fudge values for discarded link-once section symbols. | |
1765 | ||
3ef20aaa AM |
1766 | * elf64-hppa.c: Include alloca-conf.h |
1767 | ||
c0e219cc AM |
1768 | 2000-10-11 Alan Modra <[email protected]> |
1769 | ||
d01e2a23 AM |
1770 | * elf.c (swap_out_syms): Revert 2000-10-07 changes. |
1771 | ||
c0e219cc AM |
1772 | * ieee.c (ieee_make_empty_symbol): Oops, bfd_zalloc needs another arg. |
1773 | ||
fe268b66 AM |
1774 | 2000-10-10 Alan Modra <[email protected]> |
1775 | ||
1776 | * ieee.c (ieee_make_empty_symbol): Use bfd_zalloc, not bfd_zmalloc. | |
1777 | ||
4d7ce4dd AM |
1778 | 2000-10-10 Tom Rix <[email protected]> |
1779 | ||
d952f17a | 1780 | * section.c (bfd_make_section_anyway): Release newsect ptr when |
4d7ce4dd AM |
1781 | newsect->symbol fails to alloc. Use bfd_release instead of free. |
1782 | ||
f3b6f7c3 RH |
1783 | 2000-10-09 Richard Henderson <[email protected] |
1784 | ||
1785 | * elf64-ia64.c (elf64_ia64_unwind_entry_compare_bfd): New. | |
1786 | (elf64_ia64_unwind_entry_compare): New. | |
1787 | (elf64_ia64_final_link): Sort the .IA_64.unwind section. | |
1788 | ||
44852b19 AM |
1789 | 2000-10-07 Alan Modra <[email protected]> |
1790 | ||
fc8c40a0 AM |
1791 | * elflink.h (size_dynamic_sections): Don't create various tags if |
1792 | .dynstr is excluded from the link. Don't set first dynsym entry | |
1793 | if dynsymcount is zero. | |
1794 | (elf_bfd_final_link): Don't try to swap out dynamic syms if | |
1795 | .dynsym excluded from the link. Don't try to write any dynamic | |
1796 | sections excluded from the link. | |
1797 | ||
44852b19 AM |
1798 | * elf.c (swap_out_syms): Handle global section symbols. |
1799 | ||
3e4554a2 DD |
1800 | 2000-10-05 DJ Delorie <[email protected]> |
1801 | ||
1802 | * peigen.c (_bfd_pei_swap_scnhdr_out): note extended relocs | |
1803 | * coffcode.h (coff_set_alignment_hook): read extended reloc count | |
1804 | (coff_write_relocs): write extended reloc count | |
1805 | (coff_write_object_contents): account for extended relocs | |
1806 | ||
fa152c49 JW |
1807 | 2000-10-05 Jim Wilson <[email protected]> |
1808 | ||
1809 | * elf-bfd.h (struct elf_backend_data): Add elf_backend_section_flags | |
1810 | field. | |
1811 | * elf.c (_bfd_elf_make_section_from_shdr): Call the | |
1812 | elf_backend_section_flags function. | |
1813 | * elf64-ia64.c (elf64_ia64_section_from_shdr): Delete flag conversion | |
1814 | code. | |
1815 | (elf64_ia64_section_flags): New function containing flag conversion | |
1816 | code. | |
1817 | (elf_backend_section_flags): Define to elf64_ia64_section_flags. | |
1818 | * elfxx-target.h (elf_backend_section_flags): Define. | |
1819 | (elfNN_bed): Initialize elf_backend_section_flags field. | |
1820 | ||
36605136 AM |
1821 | 2000-10-02 Alan Modra <[email protected]> |
1822 | ||
1823 | * elf32-hppa.c (elf32_hppa_check_relocs): Correct call to | |
1824 | _bfd_elf32_gc_record_vtable. Correct a comment. | |
1825 | ||
4b6609a0 UC |
1826 | 2000-10-01 Ulf Carlsson <[email protected]> |
1827 | ||
1828 | From Ralf Baechle <[email protected]> | |
1829 | ||
1830 | * elf32-mips.c (_bfd_mips_elf_finish_dynamic_sections): Mark gld | |
1831 | produces binaries with got[1] = 0x80000001 to differenciate them | |
1832 | for the dynamic linker from the broken binaries produced by old | |
1833 | versions. | |
36605136 | 1834 | |
f572a39d AM |
1835 | 2000-09-30 Petr Sorfa <[email protected]> |
1836 | ||
1837 | * elf.c (elfcore_grok_pstatus): Check for size of pxstatus_t. | |
1838 | (elfcore_grok_lwpstatus): Check for size of lwpxstatus_t. | |
1839 | * configure.in: Add check for pxstatus_t and lwpxstatus_t. | |
1840 | * configure: Regenerate. | |
1841 | ||
4da81684 HPN |
1842 | 2000-09-27 Hans-Peter Nilsson <[email protected]> |
1843 | ||
1844 | Define two bfd_targets for absence and presence of leading | |
1845 | underscore on symbols. Make sure to only link same kind. | |
1846 | * elf32-cris.c (cris_elf_object_p, | |
1847 | cris_elf_final_write_processing, cris_elf_print_private_bfd_data, | |
1848 | cris_elf_merge_private_bfd_data): New. | |
1849 | (elf_backend_object_p, elf_backend_final_write_processing, | |
1850 | bfd_elf32_bfd_print_private_bfd_data, | |
1851 | bfd_elf32_bfd_merge_private_bfd_data): Define. | |
1852 | <Target vector definition>: Include elf32-target.h twice with | |
1853 | different macro settings: | |
1854 | (TARGET_LITTLE_SYM): First as bfd_elf32_cris_vec, then as | |
1855 | bfd_elf32_us_cris_vec. | |
1856 | (TARGET_LITTLE_NAME): First as "elf32-cris", then "elf32-us-cris". | |
1857 | (elf_symbol_leading_char): First as 0, then '_'. | |
1858 | (INCLUDED_TARGET_FILE): Define for second include of elf32-target.h. | |
1859 | * config.bfd (cris-*-*): Add bfd_elf32_us_cris_vec to targ_selvecs. | |
1860 | * configure.in (bfd_elf32_cris_vec, cris_aout_vec): New vector. | |
1861 | * configure: Regenerate. | |
1862 | * targets.c: Declare bfd_elf32_us_cris_vec. | |
1863 | * po/bfd.pot: Regenerate. | |
1864 | ||
9a5aca8c AM |
1865 | 2000-09-29 Momchil Velikov <[email protected]> |
1866 | ||
1867 | * elf32-arm.h (arm_add_to_rel): Correctly adjust the addend for | |
1868 | R_ARM_THM_PC22 relocations. | |
1869 | ||
512a2384 AM |
1870 | 2000-09-29 NIIBE Yutaka <[email protected]> |
1871 | ||
1872 | * elflink.h (elf_link_add_object_symbols): Don't bfd_release runpath. | |
1873 | ||
6c99a5c3 AM |
1874 | 2000-09-29 Momchil Velikov <[email protected]> |
1875 | ||
1876 | * elf.c (elf_fake_sections): Do not mark the section SHT_NOBITS if | |
1877 | is has the SEC_HAS_CONTENTS flag set. | |
1878 | ||
0dc1fa07 | 1879 |