* archures.c: Update copyright.
[deliverable/binutils-gdb.git] / bfd / ChangeLog
CommitLineData
6f179bd0
AN
12008-02-04 Adam Nemet <anemet@caviumnetworks.com>
2
3 * archures.c: Update copyright.
4 (bfd_mach_mips_octeon): New macro.
5 * bfd-in2.h: Regenerate.
6 * elfxx-mips.c (_bfd_elf_mips_mach): Handle Octeon.
7 (mips_set_isa_flags): Likewise.
8 (mips_mach_extensions): Add Octeon.
9 * cpu-mips.c: Update copyright.
10 (I_mipsocteon): New enum constant.
11 (arch_info_struct): Add Octeon.
12
d16c7321
AM
132008-02-04 Alan Modra <amodra@bigpond.net.au>
14
15 * elf32-spu.c (spu_elf_relocate_section): Correct return type.
16 Return error status on unexpected relocation errors.
17
e44a2c9c
AM
182008-02-04 Alan Modra <amodra@bigpond.net.au>
19
20 PR ld/5692
21 * elf.c (bfd_elf_get_elf_syms): Revert 2008-01-31. Instead abort
22 on non-ELF input.
23 * elf32-arm.c (elf32_arm_size_dynamic_sections): Skip glue
24 processing on non-ELF input.
25
f8a52b59
BW
262008-01-31 Marc Gauthier <marc@tensilica.com>
27
28 * config.bfd (xtensa*-*-*): Recognize processor variants.
29
b7c368d0
NC
302008-01-31 Nick Clifton <nickc@redhat.com>
31
32 PR ld/5692
33 * elf.c (bfd_elf_get_elf_syms): Check the return value of
34 get_elf_backend_data.
35
00b2bfc1
NC
362008-01-28 Fabian Groffen <grobian@gentoo.org>
37
38 * config.bfd (x86_64-*-solaris2): Add support for this target.
39
47f6dab9
AM
402008-01-28 Alan Modra <amodra@bigpond.net.au>
41
42 Rewrite SPU overlay handling code. Put overlay calls stubs in the
43 overlays where possible. Use a faster call stub, or optionally at
44 compile time, a more compact stub. Double size of _ovly_buf_table
45 so that low bit of _ovly_table.buf can be used as a "present" bit.
46 Reserve an extra _ovly_table entry for index zero.
47 * elf32-spu.c: (struct spu_link_hash_table): Delete a number of fields,
48 add new ones.
49 (struct got_entry): New.
50 (struct spu_stub_hash_entry): Delete.
51 (stub_hash_newfunc, spu_elf_link_hash_table_free): Delete.
52 (spu_elf_link_hash_table_create): Adjust for struct changes.
53 (spu_stub_name): Delete.
54 (spu_elf_find_overlays): Don't track sections from overlay regions.
55 Instead set ovl_buf number in spu elf section data. Error if
56 overlays in one region don't start at the same address. Adjust
57 for struct _spu_elf_section_data changes.
58 (SIZEOF_STUB1, SIZEOF_STUB2, ILA_79, ILA_78): Delete.
59 (OVL_STUB_SIZE, BRSL, LNOP, ILA): Define.
60 (needs_ovl_stub): Adjust for struct _spu_elf_section_data changes.
61 (enum _insn_type): New.
62 (count_stub, build_stub): New functions.
63 (allocate_spuear_stubs): Use count_stub.
64 (build_spuear_stubs): Use build_stub.
65 (populate_stubs, sort_stubs): Delete.
66 (process_stubs): New function.
67 (write_one_stub): Delete.
68 (spu_elf_size_stubs, spu_elf_build_stubs): Rewrite.
69 (alloc_stack_info): Adjust for struct _spu_elf_section_data changes.
70 (maybe_insert_function, check_function_ranges): Likewise.
71 (find_function, pasted_function, build_call_tree): Likewise.
72 (spu_elf_stack_analysis, spu_elf_modify_segment_map): Likewise.
73 (spu_elf_modify_program_headers): Likewise.
74 (interesting_section): Detect stub sections differently. Delete
75 htab param, adjust all callers.
76 (spu_elf_relocate_section): Rewrite stub handling.
77 (spu_elf_output_symbol_hook): Likewise.
78 (bfd_elf32_bfd_link_hash_table_free): Delete.
79 * elf32-spu.h (struct _spu_elf_section_data): Move input-only and
80 output-only fields into a union. Add ovl_buf.
81 (spu_elf_size_stubs, spu_elf_build_stubs): Update prototypes.
82
c006d697
DD
832008-01-25 DJ Delorie <dj@redhat.com>
84
85 * elf32-m32c.c (_bfd_m32c_elf_eh_frame_address_size): New.
86
6e3d6dc1
NC
872008-01-25 Kai Tietz <kai.tietz@onevision.com>
88
89 * bfd-in.h: Add mingw I64 support.
90 * bfd-in2.h: Regenerated.
91 * bfd.c: (bfd_get_sign_extend_vma): Add pe-x86-64 and pei-x86-64.
92
fbb3bb98
AM
932008-01-21 Alan Modra <amodra@bigpond.net.au>
94
95 PR 4453
96 * format.c (bfd_check_format_matches): Don't accept archives as
97 fully matching unless they have a map.
98
297d8443
AM
992008-01-21 Alan Modra <amodra@bigpond.net.au>
100
101 * elflink.c (_bfd_elf_link_output_relocs): Correct error return.
102
66cd82b5
AM
1032008-01-21 Alan Modra <amodra@bigpond.net.au>
104
105 * ecoff.c (_bfd_ecoff_archive_p): Delete.
106 * libecoff.h (_bfd_ecoff_archive_p): Delete.
107 * coff-alpha.c (ecoffalpha_little_vec): Use bfd_generic_archive_p.
108 * coff-mips.c (ecoff_little_vec, ecoff_big_vec): Likewise.
109 (ecoff_biglittle_vec): Likewise.
110
85f7a9cb
AM
1112008-01-19 Alan Modra <amodra@bigpond.net.au>
112
113 PR 5646
114 * elf64-ppc.c (ppc64_elf_tls_optimize): Ensure htab->tls_get_addr
115 non-NULL before dereferencing.
116
74f0fb50
AM
1172008-01-15 Alan Modra <amodra@bigpond.net.au>
118
119 PR 5604
120 * elf-bfd.h (struct elf_backend_data): Add gc_keep. Remove param
121 names from others.
122 (_bfd_elf_gc_keep): Declare.
123 * elfxx-target.h (elf_backend_gc_keep): Define.
124 (elfNN_bed): Init new field.
125 * elflink.c (_bfd_elf_gc_keep): New function.
126 (bfd_elf_gc_sections): Call gc_keep.
127 * elf64-ppc.c (elf_backend_gc_keep): Define.
128 (struct _ppc64_elf_section_data): Move .opd related fields to
129 a struct so they don't occupy the same storage. Adjust accesses
130 throughout file.
131 (ppc64_elf_gc_keep): New function, split out from..
132 (ppc64_elf_gc_mark_hook): ..here. Don't call _bfd_elf_gc_mark
133 to mark .opd section, just set gc_mark.
134 (ppc64_elf_edit_opd): Remove no_opd_opt parm. Don't set opd->adjust
135 unless we are changing .opd. Test non-NULL opd->adjust at all
136 accesses throughout file.
137 * elf64-ppc.h (ppc64_elf_edit_opd): Update prototype.
138
787daa7a
AM
1392008-01-15 Alan Modra <amodra@bigpond.net.au>
140
141 * bfd-in.h (BFD_HOST_LONG_LONG): Delete.
142 * bfd-in2.h: Regenerate.
143
7dda2462
TG
1442008-01-11 Tristan Gingold <gingold@adacore.com>
145 Eric Botcazou <ebotcazou@adacore.com>
146
147 * elf32-ppc.c (ppc_elf_gc_sweep_hook): Exit early if generating a
148 relocatable.
149 * elf32-arm.c (elf32_arm_gc_sweep_hook): Likewise.
150 * elf32-cris.c (cris_elf_gc_sweep_hook): Likewise.
151 * elf32-hppa.c (elf32_hppa_gc_sweep_hook): Likewise.
152 * elf32-i386.c (elf_i386_gc_sweep_hook): Likewise.
153 * elf32-m32r.c (m32r_elf_gc_sweep_hook): Likewise.
154 * elf32-m68k.c (elf_m68k_gc_sweep_hook): Likewise.
155 * elf32-s390.c (elf_s390_gc_sweep_hook): Likewise.
156 * elf32-sh.c (sh_elf_gc_sweep_hook): Likewise.
157 * elf32-vax.c (elf_vax_gc_sweep_hook): Likewise.
158 * elf32-xtensa.c (elf_xtensa_gc_sweep_hook): Likewise.
159 * elf64-x86-64.c (elf64_x86_64_gc_sweep_hook): Likewise.
160 * elf64-s390.c (elf_s390_gc_sweep_hook): Likewise.
161 * elf64-ppc.c (ppc64_elf_gc_sweep_hook): Likewise.
162 * elfxx-mips.c (_bfd_mips_elf_gc_sweep_hook): Likewise.
163 * elfxx-sparc.c (_bfd_sparc_elf_gc_sweep_hook): Likewise.
164 * elflink.c (bfd_elf_gc_sections): Do not punt on relocatable output
165 or executable output with relocations.
166
d2e2e649
NC
1672008-01-09 Nick Clifton <nickc@redhat.com>
168
169 PR gas/5552
170 * elf32-fr30.c (fr30_elf_howto_table): Set partial_inplace field
171 to FALSE for all relocs.
172
184d07da
RS
1732008-01-09 Richard Sandiford <rsandifo@nildram.co.uk>
174
175 PR ld/5526
176 * elf-bfd.h (eh_cie_fde): Add u.cie.u.full_cie and u.cie.merged
177 fields. Rename u.cie.u.merged to u.cie.u.merged_with.
178 (eh_frame_sec_info): Add a cies field.
179 (eh_frame_hdr_info): Add a merge_cies field.
180 * elf-eh-frame.c (cie): Add a reloc_index member to the personality
181 union.
182 (_bfd_elf_begin_eh_frame_parsing): Set hdr_info->merge_cies instead
183 of hdr_info->cies.
184 (_bfd_elf_parse_eh_frame): Remove tmp_cie. Ccreate an array of
185 cie structures in all cases and use it instead of extended_cies.
186 If merging, store the cie array in sec_info->cies and point each
187 CIE's eh_fde_cie at the associated element. Do not try to
188 calculate the value of the personality routine here; record the
189 offset of the relocation instead. Do not merge CIEs here.
190 (_bfd_elf_end_eh_frame_parsing): Do not free hdr_info->cies here...
191 (_bfd_elf_discard_section_eh_frame_hdr): ...do it here instead.
192 (_bfd_elf_gc_mark_fdes): Mark the original (unmerged) CIE.
193 (find_merged_cie): New function.
194 (_bfd_elf_gc_mark_fdes): Use it. Free sec_info->cies.
195
780b2360
NC
1962008-01-07 Nick Clifton <nickc@redhat.com>
197
198 PR binutils/5535
199 * vms.c (vms_close_and_cleanup): Check for the presence of a
200 vms_private_data_struct before examining any of its fields.
201
ace79388
L
2022008-01-07 H.J. Lu <hongjiu.lu@intel.com>
203
204 PR ld/5522
205 * elflink.c (elf_link_input_bfd): Don't write out a section if
206 its output section is marked with SEC_NEVER_LOAD.
207
6c7ac64e 208For older changes see ChangeLog-2007
56882138
AM
209\f
210Local Variables:
211mode: change-log
212left-margin: 8
213fill-column: 74
214version-control: never
215End:
This page took 0.401 seconds and 4 git commands to generate.