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