]> git.ipfire.org Git - thirdparty/binutils-gdb.git/blame - bfd/ChangeLog
* config/tc-mips.h (USE_GLOBAL_POINTER_OPT): Remove.
[thirdparty/binutils-gdb.git] / bfd / ChangeLog
CommitLineData
0fdea5ce
AC
12004-04-22 Andrew Cagney <cagney@redhat.com>
2
3 * opncls.c (bfd_alloc): Fix type of "wanted" in doco.
4
5198ba8b
DA
52004-04-22 John David Anglin <dave.anglin@nrc-cnrc.gc.ca>
6
7 * hpux-core.c (hpux_core_core_file_p): Add cast in call to
8 make_bfd_asection.
9 * som.c (som_set_section_contents): Constantify second argument.
10 (hppa_som_gen_reloc_type): Abort for unsupported selectors.
11 (som_object_setup): Rework to avoid warning.
12 (setup_sections, som_write_fixups, bfd_section_from_som_symbol):
13 Likewise.
14
fe2e161a
AC
152004-04-22 Andrew Cagney <cagney@redhat.com>
16
17 * cache.c (bfd_cache_close): Check for a previously closed file.
18
4c45e5c9
JJ
192004-04-22 Jakub Jelinek <jakub@redhat.com>
20
21 * bfd.c (bfd_get_synthetic_symtab): Define.
22 * targets.c (BFD_JUMP_TABLE_DYNAMIC): Add
23 NAME##_get_synthetic_symtab.
24 (struct bfd_target): Add _bfd_get_synthetic_symtab.
25 * libbfd-in.h (_bfd_nodynamic_get_synthetic_symtab): Define.
26 * elf-bfd.h (struct elf_backend_data): Add plt_sym_val and
27 relplt_name fields.
28 (_bfd_elf_get_synthetic_symtab): New prototype.
29 * elfcode.h (elf_get_synthetic_symtab): Define.
30 * elf.c (_bfd_elf_get_synthetic_symtab): New function.
31 * elfxx-target.h (bfd_elfNN_get_synthetic_symtab): Define.
32 (elf_backend_plt_sym_val, elf_backend_relplt_name): Define.
33 (elfNN_bed): Add elf_backend_plt_sym_val and elf_backend_relplt_name.
34 * bfd-in2.h: Rebuilt.
35 * libbfd.h: Rebuilt.
36 * elf32-i386.c (elf_i386_plt_sym_val): New function.
37 (elf_backend_plt_sym_val): Define.
38 * elf64-x86-64.c (elf64_x86_64_plt_sym_val): New function.
39 (elf_backend_plt_sym_val): Define.
40 * elf32-s390.c (elf_s390_plt_sym_val): New function.
41 (elf_backend_plt_sym_val): Define.
42 * elf64-s390.c (elf_s390_plt_sym_val): New function.
43 (elf_backend_plt_sym_val): Define.
44 * elf32-sparc (elf32_sparc_plt_sym_val): New function.
45 (elf_backend_plt_sym_val): Define.
46 * elf64-sparc.c (sparc64_elf_plt_sym_val): New function.
47 (elf_backend_plt_sym_val): Define.
48 * elf32-ppc.c (ppc_elf_plt_sym_val): New function.
49 (elf_backend_plt_sym_val): Define.
50 * aout-target.h (MY_get_synthetic_symtab): Define.
51 * aout-tic30.c (MY_get_synthetic_symtab): Define.
52 * coff-rs6000.c (rs6000coff_vec): Add
53 _bfd_nodynamic_get_synthetic_symtab.
54 (pmac_xcoff_vec): Likewise.
55 * coff64-rs6000.c (rs6000coff64_vec): Add
56 _bfd_nodynamic_get_synthetic_symtab.
57 (aix5coff64_vec): Likewise.
58 * sunos.c (MY_get_synthetic_symtab): Define.
59 * vms.c (vms_get_synthetic_symtab): Define.
60
d2f7ecac
NC
612004-04-22 Nick Clifton <nickc@redhat.com>
62
63 * bfd.c (bfd_archive_filename): Return NULL on NULL input.
64
fd99574b
NC
652004-04-22 Peter Barada <peter@the-baradas.com>
66
67 * archures.c: Add bfd_mach_mcfv4e to bfd_architecture.
68 * bfd2-in.h: Regenerate.
69 * cpu-m68k.c: Add 'm68k:mcfv4e' to arch_info_struct[].
70
23867d67
CD
712004-04-21 Chris Demetriou <cgd@broadcom.com>
72
73 * coff-mips.c (bfd_mips_ecoff_create_embedded_relocs): Remove.
74 * elf32-mips.c (bfd_mips_elf32_create_embedded_relocs): Remove.
75 * bfd-in.h (bfd_mips_ecoff_create_embedded_relocs)
76 (bfd_mips_elf32_create_embedded_relocs): Remove prototypes
77 * bfd-in2.h: Regenerate.
78
2c8c90bc
BW
792004-04-21 Bob Wilson <bob.wilson@acm.org>
80
81 * elf32-xtensa.c (is_same_value): Add final_static_link argument and
82 require relocations against a weak symbol to reference the same
83 symbol hash entry if not a final, static link.
84 (get_cached_value, add_value_map): Add final_static_link argument.
85 (remove_literals): Pass final_static_link argument as needed.
86
40838a72
AC
872004-04-21 Andrew Cagney <cagney@redhat.com>
88
89 * opncls.c (_bfd_new_bfd_contained_in): Copy "iovec".
90 (struct opncls, opncls_btell, opncls_bseek, opncls_bread)
91 (opncls_bwrite, opncls_bclose, opncls_bflush)
92 (opncls_bstat, opncls_iovec, bfd_openr_iovec): Implement a
93 bfd iovec that uses function callbacks.
94 (bfd_close): Use the iovec's bclose.
95 * cache.c (cache_btell, cache_bseek, cache_bread, cache_bwrite)
96 (cache_bclose, cache_bflush, cache_bstat)
97 (cache_iovec): New functions and global variable, implement a
98 cache "iovec", where applicable set bfd_error.
99 (bfd_cache_init, bfd_cache_close): Set/test the bfd's iovec.
100 * bfdio.c (struct bfd_iovec): Define.
101 (real_read): Delete function.
102 (bfd_bread, bfd_bread, bfd_bwrite, bfd_tell, bfd_flush, bfd_stat)
103 (bfd_seek, bfd_get_mtime, bfd_get_size): Use the bfd's "iovec",
104 assume that bread and bwrite set bfd_error.
105 * bfd.c (struct bfd): Add "iovec", update comments.
106 * bfd-in2.h, libbfd.h: Re-generate.
107
7f919c84
AC
1082004-04-21 Andrew Cagney <cagney@redhat.com>
109
110 * libaout.h (enum machine_type): Add M_POWERPC_NETBSD.
111
715df9b8
EB
1122004-04-21 Eric Botcazou <ebotcazou@act-europe.fr>
113
114 * elflink.c (elf_gc_mark_dynamic_ref_symbol): New function.
115 (bfd_elf_gc_sections): Fail if a shared object is being created.
116 Do not fail if dynamic sections have been created. Instead call
117 elf_gc_mark_dynamic_ref_symbol to mark sections that contain
118 dynamically referenced symbols. Do not mark the whole graph
119 rooted at .eh_frame, only the section proper.
120
6482c264
NC
1212004-04-20 DJ Delorie <dj@redhat.com>
122
123 * reloc.c: Add BFD_RELOC_32_SECREL.
124 * bfd-in2.h: Regenerate.
125 * libbfd.h: Likewise.
126 * coff-i386.c (howto_table) [COFF_WITH_PE]: Add R_SECREL32.
127 (coff_i386_rtype_to_howto) [COFF_WITH_PE]: Handle it.
128 (coff_i386_reloc_type_lookup) [COFF_WITH_PE]: Likewise.
129
4dc570c2
JJ
1302004-04-19 Jakub Jelinek <jakub@redhat.com>
131
132 * elf32-sparc.c (elf32_sparc_relocate_section): Handle
133 relocs against hidden/protected undefweak symbols properly.
134 * elf64-sparc.c (sparc64_elf_relocate_section): Likewise.
135
0b60d5d3
MK
1362004-04-18 Mark Kettenis <kettenis@gnu.org>
137
138 * libaout.h (enum machine_type): Add M_POWERPC_NETBSD.
139 * netbsd-core.c (netbsd_core_file_p): Set architecture for PowerPC
140 core files.
141
d48bdb99
AM
1422004-04-17 Brian Ford <ford@vss.fsi.com>
143
144 * peXXigen.c (_bfd_XXi_swap_aouthdr_out): Use the first non-zero
145 filepos for the SizeOfHeaders field.
146 (_bfd_XXi_swap_scnhdr_out): Correct section flags lossage on reloc
147 overflow.
148 (_bfd_XXi_swap_sym_in): Remove redundant section flags assignment.
149
57a1784e
AM
1502004-04-16 Alan Modra <amodra@bigpond.net.au>
151
152 * simple.c (bfd_simple_get_relocated_section_contents): Don't
153 change reloc_done. Set and restore _cooked_size.
154 (RETURN): Delete.
155
d1ad3f6f
MK
1562004-04-15 Mark Kettenis <kettenis@gnu.org>
157
158 * netbsd-core.c (netbsd_core_file_p): Set architecture for VAX
159 core files.
160
3d1bca9d
NC
1612004-04-15 Nick Clifton <nickc@redhat.com>
162
163 * bfd.c (bfd_archive_filename): Catch NULL bfd pointers.
164
019b892f
AM
1652004-04-15 Alan Modra <amodra@bigpond.net.au>
166
167 * elf64-sparc.c (sparc64_elf_check_relocs): Fix thinko last change.
168
15b43f48
AM
1692004-04-15 H.J. Lu <hongjiu.lu@intel.com>
170
171 * elflink.c (_bfd_elf_merge_symbol): Treat weak as strong only
172 when it is a definition.
173
6de00a78
AM
1742004-04-14 Alan Modra <amodra@bigpond.net.au>
175
176 * elf32-sparc.c (elf32_sparc_relocate_section): Don't abort
177 when statically linking PIC code.
178 * elf64-sparc.c (sparc64_elf_relocate_section): Likewise.
179
279500de
TS
1802004-04-11 Thiemo Seufer <seufer@csv.ica.uni-stuttgart.de>
181
182 * config.bfd: Remove mips*-*-mach3* and mips*-dec-mach3* targets.
183 * configure.in: Remove mips-dec-bsd*, mips-dec-mach3*, mips-*-mach3*
184 targets amd aout_mips_big_vec, aout_mips_little_vec target vectors.
185 * configure: Regenerate.
186
ccf2f652
RS
1872004-04-08 Richard Sandiford <rsandifo@redhat.com>
188
189 * elflink.c: Include libiberty.h.
190 * Makefile.am (elflink.lo): Depend on libiberty.h.
191 * Makefile.in: Regenerate.
192
ca07892d
DJ
1932004-04-06 Daniel Jacobowitz <drow@mvista.com>
194
195 * elfxx-mips.c (MIPS_ELF_STUB_SECTION_NAME): Always use
196 ".MIPS.stubs".
197
a5a58ba4
L
1982004-04-05 H.J. Lu <hongjiu.lu@intel.com>
199
200 * elfxx-ia64.c (elfNN_ia64_size_dynamic_sections): Always
201 reserve the memory for dynamic linker
202
24d18d30
MK
2032004-04-05 Mark Kettenis <kettenis@gnu.org>
204
205 * netbsd-core.c (CORE_WCOOKIE_OFFSET): New define.
206 (netbsd_core_file_p): Create a .wcookie section for OpenBSD/sparc.
207
a4d7b4b5
L
2082004-04-02 H.J. Lu <hongjiu.lu@intel.com>
209
210 * elf32-cr16c.c (elf32_cr16c_relocate_section): Use
211 RELOC_FOR_GLOBAL_SYMBOL.
212 (elf32_cr16c_add_symbol_hook): Remove const from Elf_Internal_Sym.
213
1f433d93
L
2142004-04-02 H.J. Lu <hongjiu.lu@intel.com>
215
216 * elf32-arm.h (elf32_arm_final_link_relocate): Handle
217 R_ARM_ALU* only if OLD_ARM_ABI is not defined.
218
e489d0ae
PB
2192004-04-01 Paul Brook <paul@codesourcery.com>
220
221 * bfd-in.h (bfd_elf32_arm_process_before_allocation): Update.
222 * elf32-arm.h (struct elf32_elf_section_map): New.
223 (struct _arm_elf_section_data): New.
224 (elf32_arm_section_data): Define.
225 (struct elf32_arm_link_hash_table): Add byteswap_code.
226 (elf32_arm_link_hash_table_create): Initialize byteswap_code.
227 (bfd_elf32_arm_process_before_allocation): Add byteswap_code.
228 (elf32_arm_post_process_headers): Set EF_ARM_BE8.
229 (elf32_arm_output_symbol_hook, elf32_arm_new_section_hook,
230 elf32_arm_compare_mapping, elf32_arm_write_section): New functions.
231 (bfd_elf32_new_section_hook, elf_backend_write_section,
232 elf_backend_link_output_symbol_hook): Define.
233
66a695f0
NC
2342004-04-01 Andy Chittenden <achittenden@bluearc.com>
235
236 * stabs.c (struct stab_link_includes_totals): Add field 'symb'
237 that keeps the characters in a B_INCL..B_EINCL range.
238 (_bfd_link_section_stabs): When computing the sum of the
239 characters in a B_INCL..B_EINCL range also keep a copy of those
240 characters. Use this information to distinguish between
241 include sections that have the same sum and the same length
242 but which are nevertheless unique.
243
8375c36b
PB
2442004-03-31 Paul Brook <paul@codesourcery.com>
245
246 * elf32-arm.h (elf32_arm_final_link_relocate): Add R_ARM_ALU*.
247 * elfarm-nabi.c (elf32_arm_howto_table): Ditto.
248
a56b48eb
NC
2492004-03-31 Andy Chittenden <achittenden@bluearc.com>
250
251 * stabs.c (struct stab_link_includes_totals): Rename field 'total'
252 to 'sum_chars' and add field 'num_chars'.
253 (_bfd_link_section_stabs): When computing the sum of the
254 characters in a B_INCL..B_EINCL range also keep a count of the
255 number of characters. Use this information to help distinguish
256 between include sections when have the same sum but which
257 nevertheless are still unique.
258
3d456464
NC
259