b292f45662f7c6b794bb06da18ecc2e87a77aaf7
[deliverable/binutils-gdb.git] / bfd / ChangeLog
1 2010-01-21 Nick Clifton <nickc@redhat.com>
2
3 * elflink.c (elf_link_add_object_symbols): Look up name of
4 undefined symbol both before and after versioning has been
5 applied. Do not bother with symbols that are weakly undefined.
6
7 2010-01-21 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
8
9 * elf32-s390.c (elf32_s390_merge_private_bfd_data): New function.
10 (bfd_elf32_bfd_merge_private_bfd_data): New macro definition.
11
12 2010-01-19 Cary Coutant <ccoutant@google.com>
13
14 * dwarf2.c (read_attribute_value): Add DW_FORM_ref_sig8.
15
16 2010-01-19 Daisuke Hatayama <d.hatayama@jp.fujitsu.com>
17 Alan Modra <amodra@gmail.com>
18
19 * elfcode.h (elf_swap_ehdr_out): Handle e_phnum > 0xffff.
20 (elf_object_p): Read e_phnum extension.
21 (elf_write_shdrs_and_ehdr): Write e_phnum extension.
22 * elfcore.h (elf_core_file_p): Read e_phnum extension. Sanity check
23 that we can read last program header.
24
25 2010-01-19 Matthew Gretton-Dann <matthew.gretton-dann@arm.com>
26
27 * elf32-arm.c (elf32_arm_howto_table_1): Correct bitsize of
28 R_ARM_THM_CALL entry.
29 (elf32_arm_final_link_relocate): Correct calculation of
30 reloc_signed_max when doing a R_ARM_THM_CALL, R_ARM_THM_XPC22,
31 or R_ARM_THM_JUMP24 relocation.
32
33 2010-01-18 Alan Modra <amodra@gmail.com>
34
35 PR 11168
36 * coffcode.h (coff_compute_section_file_positions): Move Rs6000COFF_C
37 block past vars in COFF_IMAGE_WITH_PE block. Report error on more
38 than 32k sections.
39
40 2010-01-15 Jan Kratochvil <jan.kratochvil@redhat.com>
41
42 Fix compilation warning on gcc-3.4.
43 * vms-tir.c (start_etir_record, sto_imm): Rename the prototype
44 parameter index to sec_index according to the function definition.
45
46 2010-01-13 Chao-ying Fu <fu@mips.com>
47
48 * elfxx-mips.c (JR_TO_B_P): New define to transform JR to B.
49 It is true for all CPUs.
50 (jal_reloc_p): New function.
51 (mips_elf_calculate_relocation): Rename require_jalxp to
52 cross_mode_jump_p.
53 Update comment for CROSS_MODE_JUMP_P.
54 Set up cross_mode_jump_p based on the mode change.
55 (mips_elf_perform_relocation): Rename require_jalx to cross_mode_jump_p.
56 Update comment for CROSS_MODE_JUMP_P.
57 Test cross_mode_jump_p and jal_reloc_p to turn jal to jalx.
58 Use !cross_mode_jump_p to guard conversion.
59 Convert "jr t9" to "b", if possible.
60 (_bfd_mips_elf_relocate_section): Rename require_jalx to
61 cross_mode_jump_p.
62 Pass &cross_mode_jump_p to call mips_elf_calculate_relocation.
63 Pass cross_mode_jump_p to call mips_elf_perform_relocation.
64
65 2010-01-13 Nick Clifton <nickc@redhat.com>
66
67 * cpu-m32c.c (m32c_scan): New function. Ensures that a scan for
68 "m32c" returns the m32c arch_info_struct and not the m16c
69 arch_info_struct.
70 (arch_info_struct): Use the new scan function.
71 (bfd_m32c_arch): Likewise.
72
73 2010-01-13 Tristan Gingold <gingold@adacore.com>
74
75 * config.bfd: Remove duplicated target vector for i386-*-darwin.
76 Appends new arch instead of overriding.
77 Use mach_o_x86_64_vec for x86_64-*-darwin.
78 * configure.in: Add mach_o_x86_64_vec.
79 * configure: Regenerate.
80 * targets.c: Declare mach_o_x86_64_vec, add it to _bfd_target_vector.
81 * Makefile.am (BFD64_BACKENDS): Add mach-o-x86-64.lo
82 (BFD64_BACKENDS_CFILES): Add mach-o-x86-64.c
83 * Makefile.in: Regenerate.
84 * mach-o-x86-64.c: New file.
85
86 2010-01-13 Tristan Gingold <gingold@adacore.com>
87
88 * reloc.c: Add MACH_O_X86_64 relocations.
89 * bfd-in2.h: Regenerate.
90 * libbfd.h: Regenerate.
91
92 2010-01-13 Tristan Gingold <gingold@adacore.com>
93
94 * archive.c (normalize): Use lbasename.
95 (bfd_bsd_truncate_arname): Ditto.
96 (bfd_gnu_truncate_arname): Ditto.
97
98 2010-01-12 Tristan Gingold <gingold@adacore.com>
99
100 * makefile.vms (CFLAGS): Turns warnings into informational messages.
101
102 2010-01-11 Tristan Gingold <gingold@adacore.com>
103
104 * mach-o.h: Add x86-64 relocation types.
105
106 2010-01-11 Tristan Gingold <gingold@adacore.com>
107
108 * mach-o.h (bfd_mach_o_backend_data): Add arch field.
109 (bfd_mach_o_set_arch_mach): New prototype.
110 * mach-o.c (bfd_mach_o_mkobject): Define with bfd_mach_o_gen_mkobject.
111 (bfd_mach_o_set_arch_mach): New function.
112 (bfd_mach_o_gen_mkobject): New function.
113 Set TARGET_ARCHITECTURE for the generic back-ends.
114 * mach-o-target.c (bfd_mach_o_set_arch_mach): Remove define.
115 Check that TARGET_ARCHITECTURE is defined.
116 Add TARGET_ARCHITECTURE in TARGET_NAME_BACKEND structure.
117 * mach-o-i386.c (TARGET_ARCHITECTURE): Define.
118
119 2010-01-11 Tristan Gingold <gingold@adacore.com>
120
121 * archive.c (bfd_slurp_armap): Also check for Mach-O sorted armap.
122
123 2010-01-11 Nick Clifton <nickc@redhat.com>
124
125 * elf32-v850.c (v850_elf_perform_relocation): Fix overflow
126 handling of R_V850_HI16_S relocation.
127
128 2010-01-11 Alan Modra <amodra@gmail.com>
129
130 PR 11103
131 * dwarf1.c (parse_die): Correct FORM_STRING data pointer increment.
132
133 2010-01-11 Alan Modra <amodra@gmail.com>
134
135 PR 6832
136 * dwarf2.c (struct comp_unit): Add sec_info_ptr.
137 (find_abstract_instance_name): Use it.
138 (parse_comp_unit): Set it.
139
140 2010-01-09 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
141
142 * Makefile.in: Regenerate.
143 * configure: Regenerate.
144
145 2010-01-08 Tristan Gingold <gingold@adacore.com>
146
147 * archive.c: Remove bfd_special_undocumented_glue.
148
149 2010-01-08 Alan Modra <amodra@gmail.com>
150
151 PR ld/11133
152 * elf32-cr16.c (elf32_cr16_gc_mark_hook): Call _bfd_elf_gc_mark_hook.
153 * elf32-microblaze.c (microblaze_elf_gc_mark_hook): Likewise.
154 * elf64-ppc.c (ppc64_elf_gc_mark_hook): Likewise.
155
156 2010-01-07 H.J. Lu <hongjiu.lu@intel.com>
157
158 PR ld/11138
159 * elflink.c (elf_link_check_versioned_symbol): Don't abort if
160 a symbol referenced by DSO is is defined in a non-shared object
161 and forced local.
162
163 2010-01-07 H.J. Lu <hongjiu.lu@intel.com>
164
165 PR ld/11133
166 * elflink.c (_bfd_elf_gc_mark_hook): Check section XXX for
167 undefined __start_XXX/__stop_XXX in all input files and set
168 SEC_KEEP.
169
170 2010-01-07 H.J. Lu <hongjiu.lu@intel.com>
171
172 PR ld/11143
173 * elflink.c (elf_gc_sweep): Keep SHT_NOTE section.
174
175 2010-01-04 Daniel Gutson <dgutson@codesourcery.com>
176
177 * bfd.m4 (BFD_HAVE_SYS_PROCFS_TYPE): Define _STRUCTURE_PROC
178 before including procfs.h.
179 (BFD_HAVE_SYS_PROCFS_TYPE_MEMBER): Likewise.
180 * configure.in: Added autoconf probe for the pr_fpreg member.
181 * configure: Regenerated.
182 * config.in: Regenerated.
183 * elf.c: Define _STRUCTURE_PROC before including procfs.h.
184
185 2010-01-04 Joel Brobecker <brobecker@adacore.com>
186
187 Fix -Wshadow warnings in dwarf2.c (seen on alpha-tru64).
188 * dwarf2.c (concat_filename): Rename dirname with dir_name
189 to void shadowing the dirname function.
190 Rename subdirname with subdir_name to stay consistent with
191 the new dir_name variable name.
192
193 2010-01-04 Edmar Wienskoski <edmar@freescale.com>
194
195 * archures.c: Add bfd_mach_ppc_e500mc64.
196 * bfd-in2.h: Regenerate.
197 * cpu-powerpc.c (bfd_powerpc_archs): Add entry for
198 bfd_mach_ppc_e500mc64.
199
200 2010-01-01 Joel Brobecker <brobecker@adacore.com>
201
202 Fix -Wshadow warnings (seen on ppc-aix)
203 * xcofflink.c: Replace finfo by flinfo throughout.
204
205 For older changes see ChangeLog-2009
206 \f
207 Local Variables:
208 mode: change-log
209 left-margin: 8
210 fill-column: 74
211 version-control: never
212 End:
This page took 0.034263 seconds and 4 git commands to generate.