]> git.ipfire.org Git - thirdparty/binutils-gdb.git/blame - bfd/ChangeLog
Have bfd_archive_filename() return NULL on NULL input
[thirdparty/binutils-gdb.git] / bfd / ChangeLog
CommitLineData
d2f7ecac
NC
12004-04-22 Nick Clifton <nickc@redhat.com>
2
3 * bfd.c (bfd_archive_filename): Return NULL on NULL input.
4
fd99574b
NC
52004-04-22 Peter Barada <peter@the-baradas.com>
6
7 * archures.c: Add bfd_mach_mcfv4e to bfd_architecture.
8 * bfd2-in.h: Regenerate.
9 * cpu-m68k.c: Add 'm68k:mcfv4e' to arch_info_struct[].
10
23867d67
CD
112004-04-21 Chris Demetriou <cgd@broadcom.com>
12
13 * coff-mips.c (bfd_mips_ecoff_create_embedded_relocs): Remove.
14 * elf32-mips.c (bfd_mips_elf32_create_embedded_relocs): Remove.
15 * bfd-in.h (bfd_mips_ecoff_create_embedded_relocs)
16 (bfd_mips_elf32_create_embedded_relocs): Remove prototypes
17 * bfd-in2.h: Regenerate.
18
2c8c90bc
BW
192004-04-21 Bob Wilson <bob.wilson@acm.org>
20
21 * elf32-xtensa.c (is_same_value): Add final_static_link argument and
22 require relocations against a weak symbol to reference the same
23 symbol hash entry if not a final, static link.
24 (get_cached_value, add_value_map): Add final_static_link argument.
25 (remove_literals): Pass final_static_link argument as needed.
26
40838a72
AC
272004-04-21 Andrew Cagney <cagney@redhat.com>
28
29 * opncls.c (_bfd_new_bfd_contained_in): Copy "iovec".
30 (struct opncls, opncls_btell, opncls_bseek, opncls_bread)
31 (opncls_bwrite, opncls_bclose, opncls_bflush)
32 (opncls_bstat, opncls_iovec, bfd_openr_iovec): Implement a
33 bfd iovec that uses function callbacks.
34 (bfd_close): Use the iovec's bclose.
35 * cache.c (cache_btell, cache_bseek, cache_bread, cache_bwrite)
36 (cache_bclose, cache_bflush, cache_bstat)
37 (cache_iovec): New functions and global variable, implement a
38 cache "iovec", where applicable set bfd_error.
39 (bfd_cache_init, bfd_cache_close): Set/test the bfd's iovec.
40 * bfdio.c (struct bfd_iovec): Define.
41 (real_read): Delete function.
42 (bfd_bread, bfd_bread, bfd_bwrite, bfd_tell, bfd_flush, bfd_stat)
43 (bfd_seek, bfd_get_mtime, bfd_get_size): Use the bfd's "iovec",
44 assume that bread and bwrite set bfd_error.
45 * bfd.c (struct bfd): Add "iovec", update comments.
46 * bfd-in2.h, libbfd.h: Re-generate.
47
7f919c84
AC
482004-04-21 Andrew Cagney <cagney@redhat.com>
49
50 * libaout.h (enum machine_type): Add M_POWERPC_NETBSD.
51
715df9b8
EB
522004-04-21 Eric Botcazou <ebotcazou@act-europe.fr>
53
54 * elflink.c (elf_gc_mark_dynamic_ref_symbol): New function.
55 (bfd_elf_gc_sections): Fail if a shared object is being created.
56 Do not fail if dynamic sections have been created. Instead call
57 elf_gc_mark_dynamic_ref_symbol to mark sections that contain
58 dynamically referenced symbols. Do not mark the whole graph
59 rooted at .eh_frame, only the section proper.
60
6482c264
NC
612004-04-20 DJ Delorie <dj@redhat.com>
62
63 * reloc.c: Add BFD_RELOC_32_SECREL.
64 * bfd-in2.h: Regenerate.
65 * libbfd.h: Likewise.
66 * coff-i386.c (howto_table) [COFF_WITH_PE]: Add R_SECREL32.
67 (coff_i386_rtype_to_howto) [COFF_WITH_PE]: Handle it.
68 (coff_i386_reloc_type_lookup) [COFF_WITH_PE]: Likewise.
69
4dc570c2
JJ
702004-04-19 Jakub Jelinek <jakub@redhat.com>
71
72 * elf32-sparc.c (elf32_sparc_relocate_section): Handle
73 relocs against hidden/protected undefweak symbols properly.
74 * elf64-sparc.c (sparc64_elf_relocate_section): Likewise.
75
0b60d5d3
MK
762004-04-18 Mark Kettenis <kettenis@gnu.org>
77
78 * libaout.h (enum machine_type): Add M_POWERPC_NETBSD.
79 * netbsd-core.c (netbsd_core_file_p): Set architecture for PowerPC
80 core files.
81
d48bdb99
AM
822004-04-17 Brian Ford <ford@vss.fsi.com>
83
84 * peXXigen.c (_bfd_XXi_swap_aouthdr_out): Use the first non-zero
85 filepos for the SizeOfHeaders field.
86 (_bfd_XXi_swap_scnhdr_out): Correct section flags lossage on reloc
87 overflow.
88 (_bfd_XXi_swap_sym_in): Remove redundant section flags assignment.
89
57a1784e
AM
902004-04-16 Alan Modra <amodra@bigpond.net.au>
91
92 * simple.c (bfd_simple_get_relocated_section_contents): Don't
93 change reloc_done. Set and restore _cooked_size.
94 (RETURN): Delete.
95
d1ad3f6f
MK
962004-04-15 Mark Kettenis <kettenis@gnu.org>
97
98 * netbsd-core.c (netbsd_core_file_p): Set architecture for VAX
99 core files.
100
3d1bca9d
NC
1012004-04-15 Nick Clifton <nickc@redhat.com>
102
103 * bfd.c (bfd_archive_filename): Catch NULL bfd pointers.
104
019b892f
AM
1052004-04-15 Alan Modra <amodra@bigpond.net.au>
106
107 * elf64-sparc.c (sparc64_elf_check_relocs): Fix thinko last change.
108
15b43f48
AM
1092004-04-15 H.J. Lu <hongjiu.lu@intel.com>
110
111 * elflink.c (_bfd_elf_merge_symbol): Treat weak as strong only
112 when it is a definition.
113
6de00a78
AM
1142004-04-14 Alan Modra <amodra@bigpond.net.au>
115
116 * elf32-sparc.c (elf32_sparc_relocate_section): Don't abort
117 when statically linking PIC code.
118 * elf64-sparc.c (sparc64_elf_relocate_section): Likewise.
119
279500de
TS
1202004-04-11 Thiemo Seufer <seufer@csv.ica.uni-stuttgart.de>
121
122 * config.bfd: Remove mips*-*-mach3* and mips*-dec-mach3* targets.
123 * configure.in: Remove mips-dec-bsd*, mips-dec-mach3*, mips-*-mach3*
124 targets amd aout_mips_big_vec, aout_mips_little_vec target vectors.
125 * configure: Regenerate.
126
ccf2f652
RS
1272004-04-08 Richard Sandiford <rsandifo@redhat.com>
128
129 * elflink.c: Include libiberty.h.
130 * Makefile.am (elflink.lo): Depend on libiberty.h.
131 * Makefile.in: Regenerate.
132
ca07892d
DJ
1332004-04-06 Daniel Jacobowitz <drow@mvista.com>
134
135 * elfxx-mips.c (MIPS_ELF_STUB_SECTION_NAME): Always use
136 ".MIPS.stubs".
137
a5a58ba4
L
1382004-04-05 H.J. Lu <hongjiu.lu@intel.com>
139
140 * elfxx-ia64.c (elfNN_ia64_size_dynamic_sections): Always
141 reserve the memory for dynamic linker
142
24d18d30
MK
1432004-04-05 Mark Kettenis <kettenis@gnu.org>
144
145 * netbsd-core.c (CORE_WCOOKIE_OFFSET): New define.
146 (netbsd_core_file_p): Create a .wcookie section for OpenBSD/sparc.
147
a4d7b4b5
L
1482004-04-02 H.J. Lu <hongjiu.lu@intel.com>
149
150 * elf32-cr16c.c (elf32_cr16c_relocate_section): Use
151 RELOC_FOR_GLOBAL_SYMBOL.
152 (elf32_cr16c_add_symbol_hook): Remove const from Elf_Internal_Sym.
153
1f433d93
L
1542004-04-02 H.J. Lu <hongjiu.lu@intel.com>
155
156 * elf32-arm.h (elf32_arm_final_link_relocate): Handle
157 R_ARM_ALU* only if OLD_ARM_ABI is not defined.
158
e489d0ae
PB
1592004-04-01 Paul Brook <paul@codesourcery.com>
160
161 * bfd-in.h (bfd_elf32_arm_process_before_allocation): Update.
162 * elf32-arm.h (struct elf32_elf_section_map): New.
163 (struct _arm_elf_section_data): New.
164 (elf32_arm_section_data): Define.
165 (struct elf32_arm_link_hash_table): Add byteswap_code.
166 (elf32_arm_link_hash_table_create): Initialize byteswap_code.
167 (bfd_elf32_arm_process_before_allocation): Add byteswap_code.
168 (elf32_arm_post_process_headers): Set EF_ARM_BE8.
169 (elf32_arm_output_symbol_hook, elf32_arm_new_section_hook,
170 elf32_arm_compare_mapping, elf32_arm_write_section): New functions.
171 (bfd_elf32_new_section_hook, elf_backend_write_section,
172 elf_backend_link_output_symbol_hook): Define.
173
66a695f0
NC
1742004-04-01 Andy Chittenden <achittenden@bluearc.com>
175
176 * stabs.c (struct stab_link_includes_totals): Add field 'symb'
177 that keeps the characters in a B_INCL..B_EINCL range.
178 (_bfd_link_section_stabs): When computing the sum of the
179 characters in a B_INCL..B_EINCL range also keep a copy of those
180 characters. Use this information to distinguish between
181 include sections that have the same sum and the same length
182 but which are nevertheless unique.
183
8375c36b
PB
1842004-03-31 Paul Brook <paul@codesourcery.com>
185
186 * elf32-arm.h (elf32_arm_final_link_relocate): Add R_ARM_ALU*.
187 * elfarm-nabi.c (elf32_arm_howto_table): Ditto.
188
a56b48eb
NC
1892004-03-31 Andy Chittenden <achittenden@bluearc.com>
190
191 * stabs.c (struct stab_link_includes_totals): Rename field 'total'
192 to 'sum_chars' and add field 'num_chars'.
193 (_bfd_link_section_stabs): When computing the sum of the
194 characters in a B_INCL..B_EINCL range also keep a count of the
195 number of characters. Use this information to help distinguish
196 between include sections when have the same sum but which
197 nevertheless are still unique.
198
3d456464
NC
199