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