Commit | Line | Data |
---|---|---|
858ef0ce RS |
1 | 2009-03-14 Richard Sandiford <r.sandiford@uk.ibm.com> |
2 | ||
3 | * coff-rs6000.c (xcoff_ppc_relocate_section): Report relocations | |
4 | against undefined symbols if the symbol's XCOFF_WAS_UNDEFINED | |
5 | flag is set. Assert that all undefined symbols are either | |
6 | imported or defined by a dynamic object. | |
7 | * coff64-rs6000.c (xcoff64_ppc_relocate_section): Likewise. | |
8 | * xcofflink.c (xcoff_link_add_symbols): Extend function-symbol | |
9 | handling to all relocations. Only set XCOFF_CALLED for function | |
10 | symbols. | |
11 | (xcoff_find_function): New function, split out from... | |
12 | (bfd_xcoff_export_symbol) ...here. | |
13 | (xcoff_set_import_path): New function, split out from... | |
14 | (bfd_xcoff_import_symbol): ...here. Remove assertion for old | |
15 | meaning of XCOFF_CALLED. | |
16 | (xcoff_mark_symbol): If we mark an undefined and unimported | |
17 | symbol, find some way of defining it. If the symbol is a function | |
18 | descriptor, fill in its definition automatically. If the symbol | |
19 | is a function, mark its descriptor and allocate room for global | |
20 | linkage code. Otherwise mark the symbol as implicitly imported. | |
21 | Move the code for creating function descriptors from... | |
22 | (xcoff_build_ldsyms): ...here. Use XCOFF_WAS_UNDEFINED to | |
23 | check for symbols that were implicitly defined. | |
24 | (xcoff_mark): Don't count any dynamic relocations against | |
25 | function symbols. | |
26 | (bfd_xcoff_size_dynamic_sections): Save the rtld parameter | |
27 | in the xcoff link info. | |
28 | (xcoff_link_input_bfd): Remove handling of undefined and | |
29 | unexported symbols. | |
30 | ||
12b2cce9 RS |
31 | 2009-03-14 Richard Sandiford <r.sandiford@uk.ibm.com> |
32 | ||
33 | * coff-rs6000.c (xcoff_reloc_type_br): Make the branch absolute | |
34 | if the target is absolute. Fix comment typo. | |
35 | (xcoff_ppc_relocate_section): Remove FIXME. | |
36 | * coff64-rs6000.c (xcoff64_reloc_type_br): Make the branch absolute | |
37 | if the target is absolute. | |
38 | ||
0e3212ad RS |
39 | 2009-03-14 Richard Sandiford <r.sandiford@uk.ibm.com> |
40 | ||
41 | * xcofflink.c (xcoff_mark, xcoff_link_input_bfd): Don't copy | |
42 | R_POS and R_NEG relocations against absolute symbols to the | |
43 | .loader section. | |
44 | ||
d19d97e9 RS |
45 | 2009-03-14 Richard Sandiford <r.sandiford@uk.ibm.com> |
46 | ||
47 | * coff64-rs6000.c (xcoff64_write_object_contents): Set the cputype | |
48 | to 2 for bfd_mach_ppc_620. | |
49 | ||
e5231592 RS |
50 | 2009-03-14 Richard Sandiford <r.sandiford@uk.ibm.com> |
51 | ||
52 | * config.bfd: Treat AIX 6+ in the same way as AIX 5. | |
53 | * configure.in: Likewise. | |
54 | * configure: Regenerate. | |
55 | ||
3516e984 L |
56 | 2009-03-13 H.J. Lu <hongjiu.lu@intel.com> |
57 | ||
58 | PR binutils/9945 | |
59 | * elf.c (assign_section_numbers): Generate symbol table if there | |
60 | is any relocation in output. | |
61 | (_bfd_elf_compute_section_file_positions): Likewise. | |
62 | ||
ce98a316 NC |
63 | 2009-03-13 Nick Clifton <nickc@redhat.com> |
64 | ||
65 | PR 9934 | |
66 | * elf-bfd.h (NUM_SHDR_ENTRIES): Cope with an empty section. | |
67 | * elflink.c (elf_link_read_relocs_from_section): Use | |
68 | NUM_SHDR_ENTRIES. Gracefully handle the case where there are | |
69 | relocs but no symbol table. | |
70 | * elf32-arm.c (elf32_arm_check_relocs): Likewise. | |
71 | ||
c4fb387b L |
72 | 2009-03-12 H.J. Lu <hongjiu.lu@intel.com> |
73 | ||
74 | PR ld/9938 | |
75 | * elf32-i386.c (elf_i386_check_tls_transition): Use strncmp | |
76 | to check ___tls_get_addr. | |
77 | ||
78 | * elf64-x86-64.c (elf64_x86_64_check_tls_transition): Use | |
79 | strncmp to check __tls_get_addr. | |
80 | ||
53638231 AS |
81 | 2009-03-12 Andrew Stubbs <ams@codesourcery.com> |
82 | ||
83 | * dwarf2.c (read_section): Always check the offset, even when the | |
84 | section has been read before. | |
85 | ||
09e8c3bf L |
86 | 2009-03-11 H.J. Lu <hongjiu.lu@intel.com> |
87 | ||
88 | * elf32-i386.c (elf_i386_check_tls_transition): Fix a typo in | |
89 | comments. | |
90 | ||
36e4dce6 CD |
91 | 2009-03-11 Chris Demetriou <cgd@google.com> |
92 | ||
93 | * bfd.c (BFD_DETERMINISTIC_OUTPUT): New flag. | |
94 | * bfd-in2.h: Regenerate. | |
95 | * archive.c (bfd_ar_hdr_from_filesystem): If BFD_DETERMINISTIC_OUTPUT | |
96 | flag is set, use 0 for uid, gid, and timestamp, and use 0644 for file | |
97 | mode. | |
98 | (bsd_write_armap): Likewise. | |
99 | (_bfd_archive_bsd_update_armap_timestamp): If BFD_DETERMINISTIC_OUTPUT | |
100 | flag is set, do nothing. | |
101 | (coff_write_armap): If BFD_DETERMINISTIC_OUTPUT flag is set, use 0 | |
102 | for timestamp. | |
103 | ||
9b175a76 UW |
104 | 2009-03-11 Ulrich Weigand <uweigand@de.ibm.com> |
105 | ||
106 | * elf32-spu.c (find_function_stack_adjust): Handle sf instruction | |
107 | used to update stack pointer. | |
108 | ||
f501de17 DA |
109 | 2009-03-07 John David Anglin <dave.anglin@nrc-cnrc.gc.ca> |
110 | ||
111 | PR binutils/9921 | |
112 | * som.c (som_bfd_derive_misc_symbol_info): Set symbol type ST_ABSOLUTE | |
113 | for unknown symbols in absolute section. | |
114 | ||
d11fd249 NC |
115 | 2009-03-06 Nick Clifton <nickc@redhat.com> |
116 | ||
117 | * po/es.po: Updated Spanish translation. | |
118 | ||
8cd931b7 CL |
119 | 2009-03-05 Christophe Lyon <christophe.lyon@st.com> |
120 | ||
121 | * elf32-arm.c (group_sections): Take next section size into | |
122 | account before accepting to group it. | |
123 | ||
5fa9e92f CL |
124 | 2009-03-05 Christophe Lyon <christophe.lyon@st.com> |
125 | ||
126 | * elf32-arm.c (arm_type_of_stub): Handle long branches targetting | |
127 | PLT entries. | |
128 | (elf32_arm_final_link_relocate): Likewise. | |
129 | ||
b92997d6 AM |
130 | 2009-03-05 Moritz Kroll <Moritz.Kroll@gmx.de> |
131 | ||
132 | PR 9923 | |
133 | * peXXigen.c (_bfd_XXi_final_link_postscript): Check h->root.type. | |
134 | ||
727fc41e AM |
135 | 2009-03-04 Alan Modra <amodra@bigpond.net.au> |
136 | ||
137 | * reloc.c (BFD_RELOC_PPC_TLSGD, BFD_RELOC_PPC_TLSLD): New. | |
138 | * section.c (struct bfd_section): Add has_tls_get_addr_call. | |
139 | (BFD_FAKE_SECTION): Init new flag. | |
140 | * ecoff.c (bfd_debug_section): Likewise. | |
141 | * bfd-in2.h: Regenerate. | |
142 | * libbfd.h: Regenerate. | |
143 | * elf32-ppc.c (ppc_elf_howto_raw): Add R_PPC_TLSGD and R_PPC_TLSLD. | |
144 | (ppc_elf_reloc_type_lookup): Handle new relocs. | |
145 | (ppc_elf_check_relocs): Set has_tls_get_addr_call on finding such | |
146 | without marker relocs. | |
147 | (ppc_elf_tls_optimize): Allow out-of-order __tls_get_addr relocs | |
148 | if section has no old-style calls. | |
149 | (ppc_elf_relocate_section): Set tls_mask for non-tls relocs too. | |
150 | Don't try to optimize new-style __tls_get_addr call when handling | |
151 | arg setup relocs. Instead do so for R_PPC_TLSGD and R_PPC_TLSLD | |
152 | relocs. | |
153 | * elf64-ppc.c (ppc64_elf_howto_raw): Add R_PPC64_TLSGD, R_PPC64_TLSLD. | |
154 | (ppc64_elf_reloc_type_lookup): Handle new relocs. | |
155 | (ppc64_elf_check_relocs): Set has_tls_get_addr_call on finding such | |
156 | without marker relocs. | |
157 | (ppc64_elf_tls_optimize): Allow out-of-order __tls_get_addr relocs | |
158 | if section has no old-style calls. Set toc_ref for new relocs as | |
159 | appropriate. | |
160 | (ppc64_elf_relocate_section): Set tls_mask for non-tls relocs too. | |
161 | Don't try to optimize new-style __tls_get_addr call when handling | |
162 | arg setup relocs. Instead do so for R_PPC_TLSGD and R_PPC_TLSLD | |
163 | relocs. | |
164 | ||
51dec227 AM |
165 | 2009-03-04 Alan Modra <amodra@bigpond.net.au> |
166 | ||
167 | PR 6768 | |
168 | * configure.in: Test for ld --as-needed support. Link shared | |
169 | libbfd against libm. | |
170 | * configure: Regenerate. | |
171 | ||
a1f7ca36 AM |
172 | 2009-03-03 Alan Modra <amodra@bigpond.net.au> |
173 | ||
174 | * Makefile.am: Run "make dep-am". | |
175 | * Makefile.in: Regenerate. | |
176 | ||
c3b7224a NC |
177 | 2009-03-02 Qinwei <qinwei@sunnorth.com.cn> |
178 | ||
179 | * elf32-score7.c: New file. | |
180 | * elf32-score.h: New file. | |
181 | * elf32-score.c: Add code to support score 7. Set score7 as the | |
182 | default. | |
183 | * cpu-score.c: Add score7 architecure. | |
184 | (compatibile): New function. | |
185 | * Makefile.am: Add rules for building elf32-score7 object. | |
186 | * Makefile.in: Regenerate. | |
187 | * configure.in: Add elf32-score7 object to score vectors. | |
188 | * configure: Regenerate. | |
189 | * reloc.c: Add score7 relocs. | |
190 | * archures.c: Add score3 and score7 machine numbers. | |
191 | * bfd-in2.h: Regenerate. | |
192 | * libbfd.h: Regenerate. | |
193 | ||
58e24671 RW |
194 | 2009-03-01 Ralf Wildenhues <Ralf.Wildenhues@gmx.de> |
195 | ||
196 | * configure: Regenerate. | |
197 | ||
5887528b DA |
198 | 2009-03-01 John David Anglin <dave.anglin@nrc-cnrc.gc.ca> |
199 | ||
d45b7d74 DA |
200 | * elf32-hppa.c (hppa32_elf_local_refcounts): New function. |
201 | (elf32_hppa_check_relocs): Use it. | |
202 | ||
5887528b DA |
203 | * elf_hppa_add_symbol_hook (elf_hppa_add_symbol_hook): Move to |
204 | elf64-hppa.c. | |
205 | (elf_hppa_unmark_useless_dynamic_symbols): Likewise. | |
206 | (elf_hppa_remark_useless_dynamic_symbols): Likewise. | |
207 | (elf_hppa_is_dynamic_loader_symbol): Likewise. | |
208 | (elf_hppa_record_segment_addrs): Likewise. | |
209 | (elf_hppa_final_link): Likewise. | |
210 | (elf_hppa_relocate_insn): Likewise. | |
211 | (elf_hppa_final_link_relocate): Likewise. | |
212 | (elf64_hppa_relocate_section): Likewise. | |
213 | * elf64-hppa.c: Insert above. | |
214 | ||
a03bd320 DA |
215 | 2009-02-28 John David Anglin <dave.anglin@nrc-cnrc.gc.ca> |
216 | ||
217 | * elf-hppa.h (elf_hppa_final_link): Use elf_hppa_final_link. | |
218 | (elf_hppa_final_link_relocate ): Rewrite eliminating dynamic hash table. | |
219 | (elf_hppa_relocate_section): Likewise. | |
220 | * elf64-hppa.c (struct elf64_hppa_link_hash_entry): Change to derive | |
221 | from struct elf_link_hash_entry. Add count field. | |
222 | (struct elf64_hppa_dyn_hash_table): Delete. | |
223 | (struct elf64_hppa_link_hash_table): Delete dyn_hash_table field. | |
224 | (elf64_hppa_hash_table): Rename to hppa_link_hash_table. | |
225 | (hppa_elf_hash_entry, eh_name): Define. | |
226 | (elf64_hppa_new_dyn_hash_entry): Delete. | |
227 | (elf64_hppa_dyn_hash_lookup): Delete. | |
228 | (elf64_hppa_dyn_hash_traverse): Delete. | |
229 | (get_dyn_name): Delete. | |
230 | (elf64_hppa_finalize_opd): Use struct elf_link_hash_entry * instead | |
231 | of struct elf64_hppa_dyn_hash_entry *. | |
232 | (elf64_hppa_finalize_dlt, llocate_global_data_dlt, | |
233 | allocate_global_data_plt, allocate_global_data_stub, | |
234 | allocate_global_data_opd, count_dyn_reloc, allocate_dynrel_entries): | |
235 | Likewise. | |
236 | (hppa64_link_hash_newfunc): New. | |
237 | (elf64_hppa_hash_table_create): Rework. | |
238 | (count_dyn_reloc): Likewise. | |
239 | (hppa64_elf_local_refcounts): New. | |
240 | (elf64_hppa_check_relocs): Rework using standard technique for recording | |
241 | local DLT, PLT and OPD reference counts. | |
242 | (elf64_hppa_dynamic_symbol_p): Revise using "eh" for struct | |
243 | elf_link_hash_entry *. | |
244 | (elf64_hppa_mark_exported_functions, allocate_global_data_dlt, | |
245 | allocate_global_data_plt, allocate_global_data_stub, | |
246 | allocate_global_data_opd, allocate_dynrel_entries, | |
247 | elf64_hppa_adjust_dynamic_symbol, | |
248 | elf64_hppa_mark_milli_and_exported_functions): Likewise. | |
249 | (elf64_hppa_create_dynamic_sections, elf64_hppa_size_dynamic_sections): | |
250 | Use hppa_link_hash_table. Rework. | |
251 | (elf64_hppa_link_output_symbol_hook): Rework. | |
252 | (elf64_hppa_finish_dynamic_symbol, elf64_hppa_finalize_opd, | |
253 | elf64_hppa_finalize_dlt, elf64_hppa_finalize_dynreloc, | |
254 | elf64_hppa_finish_dynamic_sections): Likewise. | |
255 | ||
ebe24dd4 CL |
256 | 2009-02-26 Christophe Lyon <christophe.lyon@st.com> |
257 | ||
258 | * elf32-arm.c (stub_reloc_type): Removed. | |
259 | (insn_sequence): Renamed reloc_type field to r_type. | |
260 | (elf32_arm_stub_long_branch_v4t_arm_thumb_pic): New stub. | |
261 | (elf32_arm_stub_long_branch_v4t_thumb_arm_pic): Likewise. | |
262 | (elf32_arm_stub_long_branch_thumb_only_pic): Likewise. | |
263 | (elf32_arm_stub_type): Add new enum entries for the new stubs. | |
264 | (arm_stub_is_thumb): Catch new stubs. | |
265 | (arm_type_of_stub): Handle new stubs. | |
266 | (arm_size_one_stub): Use ARRAY_SIZE. Handle new stubs. | |
267 | (bfd_elf32_arm_process_before_allocation): Remove useless | |
268 | condition. | |
269 | ||
b9d678e0 L |
270 | 2009-02-25 H.J. Lu <hongjiu.lu@intel.com> |
271 | ||
272 | * elf.c (elf_find_function): Use is_function_type to check | |
273 | function symbol. | |
274 | ||
56fb3749 SA |
275 | 2009-02-24 Sterling Augustine <sterling@jaw.hq.tensilica.com> |
276 | ||
277 | * xtensa-modules.c: Revert to previous version 1.11 due | |
278 | to inadvertant commit. | |
279 | ||
658ff993 SA |
280 | 2009-02-24 Sterling Augustine <sterling@tensilica.com> |
281 | ||
282 | * elf32-xtensa.c (text_action_add): Separate test for action | |
283 | type. Break if saved action is ta_widen_insn at same offset. | |
284 | ||
cf3eccff DJ |
285 | 2009-02-24 Daniel Jacobowitz <dan@codesourcery.com> |
286 | ||
287 | * elf32-arm.c (elf32_arm_stub_long_branch_any_any_pic): Rename | |
288 | to elf32_arm_stub_long_branch_any_arm_pic. | |
289 | (elf32_arm_stub_long_branch_any_thumb_pic): New. | |
290 | (enum elf32_arm_stub_type, arm_type_of_stub) | |
291 | (arm_size_one_stub): Handle any to ARM PIC and any to Thumb PIC | |
292 | separately. | |
293 | ||
07d72278 DJ |
294 | 2009-02-24 Joseph Myers <joseph@codesourcery.com> |
295 | ||
296 | * elf32-arm.c (PREV_SEC): Update comment. | |
297 | (group_sections): Rename argument to stubs_always_after_branch. | |
298 | Reverse the list and place stubs at the end of input sections. | |
299 | Undefine NEXT_SEC. | |
300 | (elf32_arm_size_stubs): Update to use stubs_always_after_branch. | |
301 | ||
4e31c731 DJ |
302 | 2009-02-23 Daniel Jacobowitz <dan@codesourcery.com> |
303 | ||
304 | * elf32-arm.c (arm_build_one_stub): Initialize stub_reloc_offset. | |
305 | Fix formatting. | |
306 | (arm_size_one_stub): Remove unnecessary break. | |
307 | (arm_map_one_stub): Fix formatting. Return after BFD_FAIL. | |
308 | ||
309 | 2009-02-23 Christophe Lyon <christophe.lyon@st.com> | |
461a49ca DJ |
310 | |
311 | * elf32-arm.c (stub_insn_type): New type. | |
312 | (stub_reloc_type): Likewise. | |
313 | (insn_sequence): Likewise. | |
314 | (elf32_arm_stub_long_branch_any_any): Encode using insn_sequence. | |
315 | (elf32_arm_stub_long_branch_v4t_arm_thumb): Likewise. | |
316 | (elf32_arm_stub_long_branch_thumb_only): Likewise. | |
317 | (elf32_arm_stub_long_branch_v4t_thumb_arm): Likewise. | |
318 | (elf32_arm_stub_short_branch_v4t_thumb_arm): Likewise. | |
319 | (elf32_arm_stub_long_branch_any_any_pic): Likewise. | |
320 | (elf32_arm_stub_hash_entry): Add new helper fields. | |
321 | (stub_hash_newfunc): Initialize these new fields. | |
322 | (arm_build_one_stub): Encode Arm and Thumb instructions separately | |
323 | to take endianness into account. | |
324 | (arm_size_one_stub): Compute size of stubs using insn_sequence. | |
325 | (arm_map_one_stub): Code is now more generic, thanks to | |
326 | insn_sequence. | |
327 | ||
c2b4a39d CL |
328 | 2009-02-23 Christophe Lyon <christophe.lyon@st.com> |
329 | ||
330 | * elf32-arm.c (elf32_arm_stub_long_branch_thumb_only): Fix stub | |
331 | code. | |
332 | (elf32_arm_stub_long_branch_v4t_thumb_arm): Likewise. | |
333 | (arm_type_of_stub): Use Thumb-only long branch stub (non-PIC) when | |
334 | BLX is not available. Fix typo in warning message. Add comments | |
335 | and improve formatting. | |
336 | (arm_build_one_stub): Adjust to new | |
337 | elf32_arm_stub_long_branch_v4t_thumb_arm stub. | |
338 | (arm_map_one_stub): Likewise. | |
339 | ||
0c376465 | 340 | 2009-02-23 Tristan Gingold <gingold@adacore.com> |
a60a89d6 TG |
341 | Eric Botcazou <ebotcazou@adacore.com> |
342 | Douglas B Rupp <rupp@gnat.com> | |
0c376465 TG |
343 | |
344 | * vms.h: Update copyright year, fix comments, reorder declarations. | |
345 | (_bfd_save_vms_section): Remove the prototype. | |
346 | (EGPS_S_V_NO_SHIFT): New constant. | |
347 | (bfd_vms_set_section_flags): New prototype. | |
348 | (EGPS_S_B_ALIGN, EGPS_S_W_FLAGS, EGPS_S_L_ALLOC, EGPS_S_B_NAMLNG): New | |
349 | constants. | |
350 | (EGSY_S_W_FLAGS): Ditto. | |
351 | (EGSY_S_V_QUAD_VAL): Ditto. | |
352 | (ESDF_S_L_VALUE, ESDF_S_L_PSINDX, ESDF_S_B_NAMLNG): Ditto. | |
353 | (EGST_S_W_FLAGS, EGST_S_Q_LP_1, EGST_S_Q_LP_2, EGST_S_L_PSINDX, | |
354 | EGST_S_B_NAMLNG): Ditto. | |
355 | (ESRF_S_B_NAMLNG): Ditto. | |
356 | (ETIR_S_C_HEADER_SIZE): Ditto. | |
357 | (EGPS_S_V_ALLOC_64BIT): Ditto. | |
358 | (DST_S_C_EPILOG): Ditto. | |
359 | (DST_S_C_SRC_SETLNUM_L, DST_S_C_SRC_SETLNUM_W) : Ditto. | |
360 | (DST_S_C_SRC_INCRLNUM_B): Ditto. | |
361 | (DST_S_B_PCLINE_UNSBYTE, DST_S_W_PCLINE_UNSWORD): Ditto. | |
362 | (DST_S_L_PCLINE_UNSLONG): Ditto. | |
363 | (DST_S_B_MODBEG_NAME, DST_S_L_RTNBEG_ADDRESS) : Ditto | |
364 | (DST_S_B_RTNBEG_NAME, DST_S_L_RTNEND_SIZE): Ditto | |
365 | (DST_S_C_SOURCE_HEADER_SIZE): Ditto. | |
366 | (DST_S_B_SRC_DF_LENGTH, DST_S_W_SRC_DF_FILEID): Ditto. | |
367 | (DST_S_B_SRC_DF_FILENAME, DST_S_B_SRC_UNSBYTE): Ditto. | |
368 | (DST_S_B_SRC_UNSBYTE): Ditto. | |
369 | (DST_S_W_SRC_UNSWORD, DST_S_L_SRC_UNSLONG): Ditto. | |
370 | Add prototypes. | |
371 | (vms_section, vms_reloc): Remove types. | |
372 | (hdr_struc): Replaced by ... | |
373 | (hdr_struct): ... new type. | |
374 | (EMH_S_W_HDRTYP, EMH_S_B_STRLVL, EMH_S_L_ARCH1): New constants. | |
375 | (EMH_S_L_ARCH2, EMH_S_L_RECSIZ, EMH_S_B_NAMLNG): Ditto. | |
376 | (EMH_DATE_LENGTH): Ditto. | |
377 | (eom_struc): Replaced by ... | |
378 | (eom_struct): ... new type. | |
379 | (EEOM_S_L_TOTAL_LPS, EEOM_S_W_COMCOD, EEOM_S_B_TFRFLG): New constants. | |
380 | (EEOM_S_L_PSINDX, EEOM_S_L_TFRADR): Ditto. | |
381 | (EIHD_S_K_MAJORID, EIHD_S_K_MINORID, EIHD_S_K_EXE): Ditto. | |
382 | (EIHD_S_L_SIZE, EIHD_S_L_ISDOFF, EIHD_S_L_SYMDBGOFF): Ditto. | |
383 | (EIHD_S_Q_SYMVVA, EIHD_S_L_IMGTYPE): Ditto. | |
384 | (EISD_S_L_EISDSIZE, EISD_S_L_SECSIZE, EISD_S_Q_VIR_ADDR): Ditto. | |
385 | (EISD_S_L_FLAGS, EISD_S_L_VBN, EISD_S_R_CONTROL): Ditto. | |
386 | (EISD_S_L_IDENT, EISD_S_T_GBLNAM): Ditto. | |
387 | (EISD_S_M_GBL, EISD_S_M_CRF, EISD_S_M_DZRO, EISD_S_M_WRT): Ditto. | |
388 | (EISD_S_M_INITALCODE, EISD_S_M_BASED, EISD_S_M_FIXUPVEC): Ditto. | |
389 | (EISD_S_M_RESIDENT, EISD_S_M_VECTOR, EISD_S_M_PROTECT): Ditto. | |
390 | (EISD_S_M_LASTCLU, EISD_S_M_EXE, EISD_S_M_NONSHRADR): Ditto. | |
391 | (EISD_S_M_QUAD_LENGTH, EISD_S_M_ALLOC_64BIT): Ditto. | |
392 | (EIHS_S_L_DSTVBN, EIHS_S_L_DSTSIZE, EIHS_S_L_GSTVBN): Ditto. | |
393 | (EIHS_S_L_GSTSIZE, EIHS_S_L_DMTVBN, EIHS_S_L_DMTBYTES): Ditto. | |
394 | (DBG_S_L_DMT_MODBEG, DBG_S_L_DST_SIZE): Ditto. | |
395 | (DBG_S_W_DMT_PSECT_COUNT, DBG_S_C_DMT_HEADER_SIZE): Ditto. | |
396 | (DBG_S_L_DMT_PSECT_START, DBG_S_L_DMT_PSECT_LENGTH) | |
397 | (DBG_S_C_DMT_PSECT_SIZE): Ditto. | |
398 | (enum file_type_enum): New type. | |
399 | (struct location_struct): Removed. | |
400 | (struct fileinfo, struct srecinfo, struct lineinfo): New types. | |
401 | (struct funcinfo, struct module): Ditto. | |
402 | (struct vms_private_data_struct): Update fields. | |
403 | (struct vms_section_data_struct): New type. | |
404 | ||
405 | * vms.c: Update copyright year, fix comments, | |
406 | Fix includes for DECC, add prototypes. | |
407 | (vms_initialize): Use bfd_alloc instead of bfd_zalloc and remove | |
408 | some initializers. | |
409 | Use flavour to set is_vax, location_stack is removed. | |
410 | (struct pair): Declare. | |
411 | (fill_section_ptr): Initialize variables at declaration. | |
412 | Add guard to set SECTION_SYM flag, handlde und section. | |
413 | (vms_fixup_sections): Use struct pair for fill_section_ptr argument. | |
414 | (_bfd_vms_slurp_object_records): New function, replaces previous | |
415 | vms_object_p. | |
416 | (vms_slurp_module): New function. | |
417 | (vms_slurp_image): Ditto. | |
418 | (vms_object_p): Complete rewrite. | |
419 | (vms_mkobject): Use is_vax field to slect architecture. | |
420 | (free_reloc_stream): New function. | |
421 | (vms_convert_to_var): Ditto. | |
422 | (vms_convert_to_var_1): Ditto. | |
423 | (vms_convert_to_var_unix_filename): Ditto. | |
424 | (vms_close_and_cleanup): Call free_reloc_stream, convert file to | |
425 | VAR format on VMS. | |
426 | (vms_new_section_hook): Set alignment to 0, allocate private data. | |
427 | (vms_get_section_contents): Load content. | |
428 | (vms_get_symbol_info): Handle undefined section. | |
429 | (vms_find_nearest_line): Handle. | |
430 | (alloc_reloc_stream): New function. | |
431 | (vms_slurp_reloc_table): Ditto. | |
432 | (vms_get_reloc_upper_bound): Make it real. | |
433 | (vms_canonicalize_reloc): Do the real work. | |
434 | (alpha_howto_table): Add ALPHA_R_NOP, ALPHA_R_BSR, ALPHA_R_LDA, | |
435 | ALPHA_R_BOH. | |
436 | (vms_bfd_reloc_type_lookup): Handle NOP, BSR, LDA and BOH. | |
437 | (vms_set_arch_mach): Check arch. | |
438 | (vms_set_section_contents): Copy the content after allocation. | |
439 | (vms_alpha_vec): Update object flags. | |
440 | ||
441 | * vms-tir.c: Update copyright year, fix comments, | |
442 | add prototypes for new functions. | |
443 | (dst_define_location): New function. | |
444 | (dst_restore_location): New function. | |
445 | (dst_retrieve_location): New function. | |
446 | (dst_check_allocation): New function. | |
447 | (image_dump): Call dst_check_allocation. | |
448 | (image_write_b): Ditto. | |
449 | (image_write_w): Ditto. | |
450 | (image_write_l): Ditto. | |
451 | (image_write_q): Ditto. | |
452 | (cmd_name): Handle STA_LW, STA_QW, STO_OFF, STO_IMM, STO_IMMR, STO_LW, | |
453 | STO_QW, OPR_ADD, CTL_SETRB, STC_LP_PSB, CTL_DFLOC, CTL_STLOC, | |
454 | CTL_STKDL. | |
455 | Call error handler instead of abort if name is not known. | |
456 | (etir_sta): Add quarter_relocs argument and set it. | |
457 | Fix cast. | |
458 | (etir_sto): Ditto. | |
459 | (etir_opr): Ditto, return FALSE in case of error. | |
460 | (etir_ctl): Add quarter_relocs argument and set it, fix cast. | |
461 | Fix CTL_DFLOC, CTL_STLOC, CTL_STKDL. | |
462 | (etir_stc): Add quarter_relocs argument and set it, fix cast. | |
463 | Fix STC_LP, STC_LP_PSB, STC_GBL and STC_CGA. | |
464 | Handle STC_LP_PSB, STC_BSR_GBL, STC_LDA_GBL, STC_BOH_GBL. | |
465 | Move STC_NOP_PS, STC_BSR_PS, STC_LDA_PS, STC_BOH_PS, STC_NBH_PS. | |
466 | Return FALSE in case of error. | |
467 | (tir_sta): Change sign of psect. | |
468 | (tir_ctl): Ditto. | |
469 | (tir_cmd): Fix cast. Makes tir_table static const. | |
470 | (etir_cmd): Add quarter_relocs argument, makes etir_table const, | |
471 | add argument to explain. | |
472 | (analyze_etir): Initialize maxptr, add quarter_relocs | |
473 | declaration, move some declarations into inner scopes. | |
474 | Handle quarter_relocs and STO_IMM. | |
475 | (_bfd_vms_slurp_tir): Use constant instead of hard-coded values. | |
476 | (_bfd_vms_slurp_relocs): New function. | |
477 | (_bfd_vms_decode_relocs): New function. | |
478 | (sto_imm): Rewritten. | |
479 | (start_first_etbt_record): New function. | |
480 | (start_another_etbt_record): Ditto. | |
481 | (etir_output_check): Ditto. | |
482 | (defer_reloc_p): Ditto. | |
483 | (_bfd_vms_write_tir): Remove nextoffset, convert a while-loop to | |
484 | a for-loop. Correctly deals with contents, deals with .vmsdebug, | |
485 | rewritte relocations handling. | |
486 | (_bfd_vms_write_tbt): Removed. | |
487 | (_bfd_vms_write_dbg): Ditto. | |
488 | ||
489 | * vms-misc.c: Update copyright year, Fix comments. | |
490 | (_bfd_vms_get_header_values): Use 'size' instead of 'length'. | |
491 | (maybe_adjust_record_pointer_for_object): New function. | |
492 | (_bfd_vms_get_first_record): New function, replaces ... | |
493 | (_bfd_vms_get_record): .. removed. | |
494 | (_bfd_vms_get_object_record): New function. | |
495 | (_bfd_vms_get_object_record): New function. | |
496 | (vms_get_remaining_object_record): New function, replaces ... | |
497 | (_bfd_vms_get_next_record): ... removed. | |
498 | (add_new_contents): Removed. | |
499 | (_bfd_save_vms_section): Removed. | |
500 | (_bfd_get_vms_section): Removed. | |
501 | (_bfd_vms_output_flush): Write in VAR format. | |
502 | (new_symbol): Don't make UND section. | |
503 | ||
504 | * vms-hdr.c: Update copyright year, update list of record handled. | |
505 | (_bfd_vms_slurp_hdr): rec_length renamed to rec_size. | |
506 | (_bfd_vms_write_hdr): Strip vms and unix patches, | |
507 | add comments, truncate module name at 31 characters, | |
508 | use constants instead of hard-coded value, | |
509 | write BFD version instead of a fixed string. | |
510 | (_bfd_vms_slurp_ihd): New function. | |
511 | (_bfd_vms_slurp_isd): Ditto. | |
512 | (_bfd_vms_slurp_ihs): Ditto. | |
513 | (new_module): Ditto. | |
514 | (parse_module): Ditto | |
515 | (build_module_list): Ditto. | |
516 | (module_find_nearest_line): Ditto. | |
517 | (_bfd_vms_find_nearest_dst_line): Ditto. | |
518 | (vms_slurp_debug): Ditto. | |
519 | (_bfd_vms_slurp_dbg): Ditto. | |
520 | (_bfd_vms_slurp_tbt): Ditto. | |
521 | (_bfd_vms_write_dbg): Ditto. | |
522 | (_bfd_vms_write_tbt): Ditto. | |
523 | ||
524 | * vms-gsd.c: Update copyright year, update list of records handled. | |
525 | (EVAX_LITERALS_NAME): New macro. | |
526 | (evax_section_flags): Add an entry for EVAX_LITERALS_NAME. | |
527 | (gpsflagdesc, gsyflagdesc): Moved out of _bfd_vms_slurp_gsd. | |
528 | (register_universal_symbol): New function and prototype. | |
529 | (_bfd_vms_slurp_gsd): Fix indentations and casts, | |
530 | improve debug messages, | |
531 | use constants instead of hard-coded value, | |
532 | fix missing endianness conversion, | |
533 | handle global symbol (SYMG). | |
534 | (bfd_vms_set_section_flags): New function. | |
535 | (_bfd_vms_write_gsd): Don't write .vmsdebug section, | |
536 | handle section literals, | |
537 | fix indentation, | |
538 | handle section bfd and vms flags, | |
539 | don't output LIB$INITIALIZE symbol, | |
540 | fix handling of weak symbols, | |
541 | fix evax vs vax procedure descriptor, | |
542 | handle absolute symbols. | |
543 | ||
544 | * reloc.c (BFD_RELOC_ALPHA_NOP, BFD_RELOC_ALPHA_BSR, | |
545 | BFD_RELOC_ALPHA_LDA, BFD_RELOC_ALPHA_BOH): New relocations. | |
546 | ||
547 | * makefile.vms (DEFS): Fix flags for VMS. | |
548 | ||
549 | * bfdio.c (real_fopen): Handle multiple VMS fopen attributes. | |
550 | ||
551 | * bfd-in2.h: Regenerated. | |
552 | * libbfd.h: Regenerated. | |
553 | ||
47149254 CC |
554 | 2009-02-20 Cary Coutant <ccoutant@google.com> |
555 | ||
556 | * vmsutil.c (vms_file_stats_name): Fix incorrect use of st_mtime | |
557 | in struct stat. | |
558 | ||
6b1cecf3 DK |
559 | 2009-18-02 Dave Korn <dave.korn.cygwin@gmail.com> |
560 | ||
561 | PR gas/7059 | |
562 | * coffcode.h (coff_write_object_contents): Don't let the string | |
563 | table offset overflow the s_name field when using long section names. | |
564 | ||
88183869 DK |
565 | 2009-18-02 Dave Korn <dave.korn.cygwin@gmail.com> |
566 | ||
567 | * coff-alpha.c (alpha_ecoff_backend_data): Initialise fields which | |
568 | control long section name handling with ECOFF_NO_LONG_SECTION_NAMES. | |
569 | * coff-mips.c (mips_ecoff_backend_data): Likewise. | |
570 | * coff-rs6000.c (bfd_xcoff_backend_data): Initialise fields which | |
571 | control long section name handling with XCOFF_NO_LONG_SECTION_NAMES. | |
572 | (bfd_pmac_xcoff_backend_data): Likewise. | |
573 | * coff64-rs6000.c (bfd_xcoff_backend_data): Likewise. | |
574 | (bfd_xcoff_aix5_backend_data): Likewise. | |
575 | (xcoff64_write_object_contents): Delete unused long_section_names | |
576 | local variable. | |
577 | * coff-sh.c (bfd_coff_small_swap_table): Initialise long section | |
578 | name members using COFF_DEFAULT_LONG_SECTION_NAMES and make entire | |
579 | struct non-const. | |
580 | * coffcode.h (documentation): Update to describe long section names. | |
581 | (COFFLONGSECTIONCATHELPER): New helper macro. | |
582 | (BLANKOR1TOODD): Likewise. | |
583 | (COFF_ENABLE_LONG_SECTION_NAMES): Likewise. | |
584 | (COFF_LONG_SECTION_NAMES_SETTER): Likewise. | |
585 | (COFF_DEFAULT_LONG_SECTION_NAMES): Likewise. | |
586 | (bfd_coff_set_long_section_names_allowed): New function. | |
587 | (bfd_coff_set_long_section_names_disallowed): Likewise. | |
588 | (struct bfd_coff_backend_data): Add new backend hook function | |
589 | pointer _bfd_coff_set_long_section_names. | |
590 | (bfd_coff_set_long_section_names): New backend hook. | |
591 | (coff_write_object_contents): Only generate long section names if | |
592 | bfd_coff_long_section_names() indicates they are currently enabled. | |
593 | (bfd_coff_std_swap_table): Make non-const, and initialise long | |
594 | section name fields using COFF_DEFAULT_LONG_SECTION_NAMES. | |
595 | (ticoff0_swap_table): Likewise to both. | |
596 | (ticoff1_swap_table): Again, likewise to both. | |
597 | * coffgen.c (make_a_section_from_file): Allow long section names | |
598 | as inputs even if not currently allowed for outputs. | |
599 | * ecoff.c (_bfd_ecoff_no_long_sections): New function. | |
600 | * efi-app-ia32.c (COFF_LONG_SECTION_NAMES): Define to 0, not blank. | |
601 | * efi-app-ia64.c (COFF_LONG_SECTION_NAMES): Likewise. | |
602 | * efi-app-x86_64.c (COFF_LONG_SECTION_NAMES): Likewise. | |
603 | * efi-bsdrv-ia32.c (COFF_LONG_SECTION_NAMES): Likewise. | |
604 | * efi-bsdrv-ia64.c (COFF_LONG_SECTION_NAMES): Likewise. | |
605 | * efi-bsdrv-x86_64.c (COFF_LONG_SECTION_NAMES): Likewise. | |
606 | * efi-rtdrv-ia32.c (COFF_LONG_SECTION_NAMES): Likewise. | |
607 | * efi-rtdrv-ia64.c (COFF_LONG_SECTION_NAMES): Likewise. | |
608 | * efi-rtdrv-x86_64.c (COFF_LONG_SECTION_NAMES): Likewise. | |
609 | * pei-arm.c (COFF_LONG_SECTION_NAMES): Likewise. | |
610 | * pei-i386.c (COFF_LONG_SECTION_NAMES): Likewise. | |
611 | * pei-mcore.c (COFF_LONG_SECTION_NAMES): Likewise. | |
612 | * pei-mips.c (COFF_LONG_SECTION_NAMES): Likewise. | |
613 | * pei-ppc.c (COFF_LONG_SECTION_NAMES): Likewise. | |
614 | * pei-sh.c (COFF_LONG_SECTION_NAMES): Likewise. | |
615 | * pei-x86_64.c (COFF_LONG_SECTION_NAMES): Likewise. | |
616 | * libcoff-in.h: Update copyright year to cause updated copyright | |
617 | year in generated libcoff.h, and fix typo. | |
618 | * libcoff.h: Regenerated. | |
619 | * libecoff.h (ECOFF_NO_LONG_SECTION_NAMES): New macro. | |
620 | (_bfd_ecoff_no_long_sections): Add prototype. | |
621 | * libxcoff.h (XCOFF_NO_LONG_SECTION_NAMES): New macro. | |
622 | * pe-mips.c (COFF_LONG_SECTION_NAMES): Define empty if not already | |
623 | defined by an including .c file. | |
624 | * ticoff.h (ticoff0_swap_table): Make non-const, and initialise | |
625 | long section name fields using COFF_DEFAULT_LONG_SECTION_NAMES. | |
626 | (ticoff1_swap_table): Likewise to both. | |
627 | ||
90d8a22c CL |
628 | 2009-02-18 Christophe Lyon <christophe.lyon@st.com> |
629 | ||
630 | * elf32-arm.c (arm_build_one_stub): Fix relocation target for pic | |
631 | stub. Catch default case error. | |
632 | (arm_map_one_stub): Add missing Thumb mapping symbol. | |
633 | ||
12123067 NC |
634 | 2009-02-18 Bjoern Haase <bjoern.m.haase@web.de> |
635 | ||
636 | PR 9841 | |
637 | * elf32-avr.c: Handle case where no local symbos exist correctly. | |
638 | ||
fea2b4d6 CL |
639 | 2009-02-16 Christophe Lyon <christophe.lyon@st.com> |
640 | ||
641 | bfd/ | |
642 | * elf32-arm.c (arm_long_branch_stub, | |
643 | arm_thumb_v4t_long_branch_stub, | |
644 | arm_thumb_thumb_long_branch_stub, | |
645 | arm_thumb_arm_v4t_long_branch_stub, | |
646 | arm_thumb_arm_v4t_short_branch_stub, | |
647 | arm_pic_long_branch_stub): | |
648 | Renamed to elf32_arm_stub_long_branch_any_any, | |
649 | elf32_arm_stub_long_branch_v4t_arm_thumb, | |
650 | elf32_arm_stub_long_branch_thumb_only, | |
651 | elf32_arm_stub_long_branch_v4t_thumb_arm, | |
652 | elf32_arm_stub_short_branch_v4t_thumb_arm, | |
653 | elf32_arm_stub_long_branch_any_any_pic. | |
654 | (arm_stub_long_branch, arm_thumb_v4t_stub_long_branch, | |
655 | arm_thumb_thumb_stub_long_branch, | |
656 | arm_thumb_arm_v4t_stub_long_branch, | |
657 | arm_thumb_arm_v4t_stub_short_branch, arm_stub_pic_long_branch): | |
658 | Renamed to arm_stub_long_branch_any_any, | |
659 | arm_stub_long_branch_v4t_arm_thumb, | |
660 | arm_stub_long_branch_thumb_only, | |
661 | arm_stub_long_branch_v4t_thumb_arm, | |
662 | arm_stub_short_branch_v4t_thumb_arm, | |
663 | arm_stub_long_branch_any_any_pic. | |
664 | ||
13e0a874 DA |
665 | 2009-02-15 John David Anglin <dave.anglin@nrc-cnrc.gc.ca> |
666 | ||
667 | * elf-hppa.h (elf_hppa_final_link_relocate): Correct addend value used | |
668 | in branch offset check. | |
669 | ||
3a71aa26 AM |
670 | 2009-02-15 Alan Modra <amodra@bigpond.net.au> |
671 | ||
672 | * elf64-ppc.c (struct _ppc64_elf_section_data): Delete t_symndx, | |
673 | add toc.symndx and toc.add. | |
674 | (ppc64_elf_check_relocs): Don't set htab->tls_get_addr here. | |
675 | Set up toc.add. | |
676 | (get_tls_mask): Add toc_addend param, set from toc.add. Adjust all | |
677 | callers. | |
678 | (ppc64_elf_tls_setup): Set htab->tls_get_addr and tls_get_addr_fd. | |
679 | (branch_reloc_hash_match): New function, extracted from.. | |
680 | (ppc64_elf_tls_optimize): ..here. | |
681 | (ppc64_elf_relocate_section): Properly set addends when optimizing | |
682 | tls sequences. Avoid unnecessary reading and writing of insns. | |
683 | Only redo reloc when symbol changed. Bypass symbol checks when | |
684 | using tlsld_got. | |
685 | * elf32-ppc.c (ppc_elf_tls_setup): Correct comment. | |
686 | (branch_reloc_hash_match): New function, extracted from.. | |
687 | (ppc_elf_tls_optimize): ..here. | |
688 | (ppc_elf_relocate_section): Avoid unnecessary reading of insns. | |
689 | Don't clear addend on zapped __tls_get_addr reloc. | |
690 | ||
2c2b4ed4 NC |
691 | 2009-02-12 Nick Clifton <nickc@redhat.com> |
692 | ||
693 | PR 9827 | |
694 | * elflink.c (bfd_elf_final_link): When counting the relocations, | |
695 | if the header size has not been set yet then assume that it will | |
696 | match the output section's reloc type. | |
697 | ||
453f5985 NS |
698 | 2009-02-12 Nathan Sidwell <nathan@codesourcery.com> |
699 | ||
700 | * elf32-mips.c (mips_elf_final_gp): Don't add 0x4000 offset for | |
701 | relocatable link. | |
702 | ||
3209bffa AM |
703 | 2009-02-09 Alan Modra <amodra@bigpond.net.au> |
704 | ||
705 | * elf32-spu.c (spu_elf_find_overlays): Call bfd_set_error on errors. | |
706 | (find_function): Likewise. | |
707 | (pasted_function): Don't error if no prior function found. | |
708 | (discover_functions): Revert 2008-12-10 change. Extend first | |
709 | function range to start of section. | |
710 | ||
813c8a3c DA |
711 | 2009-02-08 John David Anglin <dave.anglin@nrc-cnrc.gc.ca> |
712 | ||
713 | * elf64-hppa.c: Remove PARAMS macro. Replace PTR with void *. Convert | |
714 | functions to C90. | |
715 | * elf64-hppa.h: Likewise. | |
716 | ||
2d0f9ad9 JM |
717 | 2009-02-06 Joseph Myers <joseph@codesourcery.com> |
718 | ||
719 | * elfxx-mips.c (_bfd_mips_elf_section_processing): Remove special | |
720 | .sbss handling. | |
721 | ||
50e00962 AM |
722 | 2009-02-04 Alan Modra <amodra@bigpond.net.au> |
723 | ||
724 | * elf32-spu.c (spu_elf_build_stubs): Define __icache_neg_log2_linesize. | |
725 | Define __icache_ptr_handler*, not __icache_ptr___icache_bi_handler*. | |
726 | ||
52b6b6b9 JM |
727 | 2009-02-03 Sandip Matte <sandip@rmicorp.com> |
728 | ||
729 | * aoutx.h (NAME (aout, machine_type)): Handle bfd_mach_mips_xlr. | |
730 | * archures.c (bfd_mach_mips_xlr): Define. | |
731 | * bfd-in2.h: Regenerate. | |
732 | * cpu-mips.c (I_xlr): Define. | |
733 | (arch_info_struct): Add XLR entry. | |
734 | * elfxx-mips.c (_bfd_elf_mips_mach): Handle E_MIPS_MACH_XLR. | |
735 | (mips_set_isa_flags): Handle bfd_mach_mips_xlr | |
736 | (mips_mach_extensions): Add XLR entry. | |
737 | ||
654c3c9f EW |
738 | 2009-02-03 Eric B. Weddington <eric.weddington@atmel.com> |
739 | ||
740 | * elf32-avr.c (avr_final_link_relocate): Allow avr25 to wraparound. | |
741 | ||
31dd3154 JM |
742 | 2009-02-03 Carlos O'Donell <carlos@codesourcery.com> |
743 | ||
744 | * configure.in: AC_SUBST pdfdir. | |
745 | * Makefile.am: Add install-pdf, install-pdf-am | |
746 | and install-pdf-recursive targets. Define pdfdir. | |
747 | * doc/Makefile.am: Define pdf__strip_dir. Add | |
748 | install-pdf and install-pdf-am targets. | |
749 | * po/Make-in: Add install-pdf target. | |
750 | * configure: Regenerate. | |
751 | * Makefile.in: Regenerate | |
752 | * doc/Makefile.in: Regenerate. | |
753 | ||
cf869cce NC |
754 | 2009-02-03 Maxim Kuvyrkov <maxim@codesourcery.com> |
755 | ||
756 | * bfd-in2.h: Regenerate. | |
757 | * elf32-m68k.c: Handle 2-slot GOT entries. Rename variables and | |
758 | fields from n_entries to n_slots where appropriate, update comments. | |
759 | (HOWTO): Add TLS relocations. | |
760 | (reloc_map): Map BFD_RELOC_68K_TLS_* to R_68K_TLS_*. | |
761 | (enum elf_m68k_got_offset_size): New enum. | |
762 | (struct elf_m68k_got_entry.type): Move field to ... | |
763 | (struct elf_m68k_got_entry_key): ... here. Update all uses. | |
764 | (elf_m68k_reloc_got_type, elf_m68k_reloc_got_offset_size): New static | |
765 | functions. | |
766 | (elf_m68k_reloc_got_n_entries, elf_m68k_reloc_tls_p): New static | |
767 | functions. | |
768 | (struct elf_m68k_got): merge rel_8o_n_entries and rel_8o_16o_n_entries | |
769 | fields into n_entries array. Update comments. | |
770 | (elf_m68k_init_got): Simplify, update all uses. | |
771 | (elf_m68k_init_got_entry_key): Handle R_68K_TLS_LDM32 reloc, update. | |
772 | (ELF_M68K_REL_8O_MAX_N_ENTRIES_IN_GOT): Adjust to handle 2-slot | |
773 | GOT entries; update name, update all uses. | |
774 | (ELF_M68K_REL_8O_16O_MAX_N_ENTRIES_IN_GOT): Ditto. | |
775 | (elf_m68k_get_got_entry): Update. | |
776 | (elf_m68k_update_got_entry_type): Rewrite to handle TLS GOT entries, | |
777 | simplify. | |
778 | (elf_m68k_remove_got_entry_type): Simplify. | |
779 | (elf_m68k_add_entry_to_got, elf_m68k_can_merge_gots_1): Update. | |
780 | (elf_m68k_can_merge_gots): Update. | |
781 | (elf_m68k_merge_gots_1, elf_m68k_merge_gots): Update. | |
782 | (struct elf_m68k_finalize_got_offsets_arg): Rewrite to handle 2-slot | |
783 | GOT entries, simplify. | |
784 | (elf_m68k_finalize_got_offsets_1, elf_m68k_finalize_got_offsets): Same. | |
785 | (struct elf_m68k_partition_multi_got_arg): Add slots_relas_diff | |
786 | field, remove obsoleted local_n_entries field. | |
787 | (elf_m68k_partition_multi_got_2): New static function. | |
788 | (elf_m68k_partition_multi_got_1, elf_m68k_partition_multi_got): Use it; | |
789 | update. | |
790 | (elf_m68k_remove_got_entry_type): Update. | |
791 | (elf_m68k_install_rela, dtpoff_base, tpoff): New static functions. | |
792 | (elf_m68k_check_relocs): Handle TLS relocations. Remove unnecessary | |
793 | update of sgot->size and srelgot->size. | |
794 | (elf_m68k_gc_sweep_hook): Update. | |
795 | (elf_m68k_install_rela, dtpoff_base, tpoff): New static functions. | |
796 | (elf_m68k_relocate_section, elf_m68k_finish_dynamic_symbol): Handle | |
797 | TLS relocations. | |
798 | * reloc.c (BFD_RELOC_68K_TLS_*): Declare TLS relocations. | |
799 | * libbfd.h (bfd_reloc_code_real_names): Add BFD_RELOC_68K_TLS_*. | |
800 | ||
c1a0a41f DD |
801 | 2009-02-02 DJ Delorie <dj@redhat.com> |
802 | ||
803 | * elf32-mep.c (config_names): Regenerate configuration. | |
804 | ||
72a80a16 AM |
805 | 2009-02-02 Alan Modra <amodra@bigpond.net.au> |
806 | ||
807 | * elf-bfd.h (bfd_elf_get_str_section): Don't declare. | |
808 | (bfd_elf_find_section, _sh_elf_set_mach_from_flags): Likewise. | |
809 | * elf.c (bfd_elf_get_str_section): Make static. | |
810 | (bfd_elf_find_section): Delete. | |
811 | * libbfd.h: Regenerate. | |
812 | ||
273f4430 JK |
813 | 2009-02-01 Jan Kratochvil <jan.kratochvil@redhat.com> |
814 | ||
815 | * elf-eh-frame.c (REQUIRE_CLEARED_RELOCS) Remove. | |
816 | (_bfd_elf_parse_eh_frame): Do not check relocations for removed FDEs. | |
817 | ||
010e5ae2 AM |
818 | 2009-01-31 Alan Modra <amodra@bigpond.net.au> |
819 | ||
820 | * elflink.c (on_needed_list): New function. | |
821 | (elf_link_add_object_symbols): Link in --as-needed libs if they | |
822 | satisfy undefined symbols in other libs. | |
823 | ||
33a7ffc2 JM |
824 | 2009-01-30 Julian Brown <julian@codesourcery.com> |
825 | ||
826 | * elf32-arm.c (bfd_elf32_arm_vfp11_erratum_scan): Skip BFDs with | |
827 | EXEC_P or DYNAMIC flags, and skip sections which are being linked | |
828 | with --just-symbols (-R). | |
829 | ||
13d72a14 AN |
830 | 2009-01-29 Adam Nemet <anemet@caviumnetworks.com> |
831 | ||
832 | * dwarf2.c (read_rangelist): Use read_address to read low_pc and | |
833 | high_pc in order to properly sign-extend VMAs. | |
834 | ||
d334575b JM |
835 | 2009-01-29 Daniel Jacobowitz <dan@codesourcery.com> |
836 | Mark Shinwell <shinwell@codesourcery.com> | |
837 | Catherine Moore <clm@codesourcery.com> | |
838 | ||
839 | * elf-attrs.c, elflink.c, elfxx-mips.c: Correct typos in comments. | |
840 | ||
528aeb62 CM |
841 | 2009-01-28 Catherine Moore <clm@codesourcery.com> |
842 | ||
843 | * elf32-arm.c (elf32_arm_check_relocs): Set SEC_ALLOC and | |
844 | SEC_LOAD for dynamic relocation sections. | |
845 | ||
f6f05983 HPN |
846 | 2009-01-27 Hans-Peter Nilsson <hp@axis.com> |
847 | ||
848 | * elf32-cris.c (cris_elf_relocate_section): Use elf_hash_table | |
849 | (info)->tls_size, not elf_hash_table (info)->tls_sec->size for | |
850 | the size of local TLS data. | |
851 | ||
27cc28f9 AS |
852 | 2009-01-27 Andreas Schwab <schwab@suse.de> |
853 | ||
854 | * mach-o.c (bfd_mach_o_archive_p): Restrict the number of | |
855 | architectures in the archive. | |
856 | ||
b3bf42d8 HPN |
857 | 2009-01-27 Hans-Peter Nilsson <hp@axis.com> |
858 | ||
f551b6f0 HPN |
859 | * elf32-cris.c (cris_elf_relocate_section) <case R_CRIS_16_DTPREL> |
860 | <R_CRIS_32_DTPREL>: Correct relocation value. | |
861 | ||
b3bf42d8 HPN |
862 | * elf32-cris.c (cris_elf_relocate_section) <case R_CRIS_8> |
863 | <R_CRIS_16, R_CRIS_32>: Don't call BFD_ASSERT for weak undefined | |
864 | symbols with non-default visibility. | |
865 | ||
9bc4e62b NS |
866 | 2009-01-26 Nathan Sidwell <nathan@codesourcery.com> |
867 | ||
868 | * elf32-ppc.c (ppc_elf_relax_section): Add space for relocs | |
869 | describing the trampolines. | |
870 | (ppc_elf_relocate_section): Update relocs to describe the | |
871 | trampolines. | |
872 | ||
aeaf6540 DA |
873 | 2009-01-25 John David Anglin <dave.anglin@nrc-cnrc.gc.ca> |
874 | ||
875 | * elf-hppa.h (elf_hppa_final_link_relocate): Add check to ensure that | |
876 | branch targets can be reached for R_PARISC_PCREL22F, R_PARISC_PCREL17F | |
877 | and R_PARISC_PCREL12F relocations. | |
878 | ||
1e8fa21e AM |
879 | 2009-01-24 Alan Modra <amodra@bigpond.net.au> |
880 | ||
881 | PR 6022 | |
882 | * elflink.c (find_version_for_sym): New function split out from, | |
883 | but without export_dynamic test, .. | |
884 | (_bfd_elf_link_assign_sym_version): ..here. | |
885 | (_bfd_elf_export_symbol): Use it. | |
886 | ||
28caa186 AM |
887 | 2009-01-23 Alan Modra <amodra@bigpond.net.au> |
888 | ||
889 | * elf-bfd.h (struct elf_assign_sym_version_info): Delete. | |
890 | (struct elf_info_failed, struct elf_find_verdep_info): Move to.. | |
891 | * elflink.c: ..here, somewhat modified. | |
892 | * elf-bfd.h (_bfd_elf_add_default_symbol, _bfd_elf_export_symbol, | |
893 | _bfd_elf_link_find_version_dependencies, | |
894 | _bfd_elf_link_assign_sym_version, _bfd_elf_link_size_reloc_section, | |
895 | _bfd_elf_fix_symbol_flags, _bfd_elf_adjust_dynamic_symbol, | |
896 | _bfd_elf_link_sec_merge_syms, bfd_elf_link_mark_dynamic_symbol): Don't | |
897 | declare.. | |
898 | * elflink.c: ..and make static here. | |
899 | (_bfd_elf_link_find_version_dependencies): Adjust for removal | |
900 | of output_bfd from struct elf_find_verdep_info. | |
901 | (_bfd_elf_link_assign_sym_version): Similarly adjust to use | |
902 | struct elf_info_failed. | |
903 | (bfd_elf_size_dynamic_sections): Adjust. | |
904 | ||
be04437d AM |
905 | 2009-01-22 Alan Modra <amodra@bigpond.net.au> |
906 | ||
907 | PR 6832 | |
908 | * dwarf2.c (find_line): Don't update stash->sec_info_ptr until | |
909 | after comp_unit_find_line call. | |
910 | ||
58f9615c NC |
911 | 2009-01-21 Nick Clifton <nickc@redhat.com> |
912 | ||
913 | PR 9769 | |
914 | * vmsutil.c (vms_file_stats_name): Remove use of unsupported | |
915 | tm_gmtoff field in struct tm. | |
916 | ||
fb266b8b AM |
917 | 2009-01-21 Alan Modra <amodra@bigpond.net.au> |
918 | ||
919 | * elf32-spu.h (struct spu_elf_params): Add non_ia_text. | |
920 | * elf32-spu.c (mark_overlay_section): Only include .text.ia.* | |
921 | sections in soft-icache lines unless non_ia_text. Don't add | |
922 | rodata if doing so would exceed line size. | |
923 | ||
451ffe63 HPN |
924 | 2009-01-19 Hans-Peter Nilsson <hp@axis.com> |
925 | ||
926 | * elf32-cris.c (elf_cris_copy_indirect_symbol): For other symbol | |
927 | types than bfd_link_hash_indirect, before early return, call | |
928 | _bfd_elf_link_hash_copy_indirect. | |
929 | ||
5aa6ff7c AS |
930 | 2009-01-19 Andrew Stubbs <ams@codesourcery.com> |
931 | ||
932 | * elf-attrs.c (vendor_set_obj_attr_contents): Support tag ordering. | |
933 | * elf-bfd.h (elf_backend_data): Add obj_attrs_order. | |
934 | * elf32-arm.c (elf32_arm_obj_attrs_order): New function. | |
935 | (elf_backend_obj_attrs_order): New define. | |
936 | * elfxx-target.h (elf_backend_obj_attrs_order): New define. | |
937 | (elfNN_bed): Add elf_backend_obj_attrs_order. | |
938 | ||
3483fe2e AS |
939 | 2009-01-19 Andrew Stubbs <ams@codesourcery.com> |
940 | ||
941 | * elf-attrs.c (is_default_attr): Substitute magic numbers with macros. | |
942 | (obj_attr_size): Likewise. | |
943 | (write_obj_attribute): Likewise. | |
944 | (_bfd_elf_copy_obj_attributes): Likewise. | |
945 | (_bfd_elf_parse_attributes): Likewise. | |
946 | * elf-bfd.h (ATTR_TYPE_FLAG_INT_VAL): New define. | |
947 | (ATTR_TYPE_FLAG_STR_VAL, ATTR_TYPE_FLAG_NO_DEFAULT): New defines. | |
948 | (ATTR_TYPE_HAS_INT_VAL, ATTR_TYPE_HAS_STR_VAL): New defines. | |
949 | (ATTR_TYPE_HAS_NO_DEFAULT): New define. | |
950 | * elf32-arm.c (elf32_arm_obj_attrs_arg_type): Replace magic numbers | |
951 | with macros. | |
952 | ||
2d0bb761 AS |
953 | 2009-01-19 Andrew Stubbs <ams@codesourcery.com> |
954 | ||
955 | * elf-attrs.c (is_default_attr): Support defaultless attributes. | |
956 | (bfd_elf_add_obj_attr_int): Get type from _bfd_elf_obj_attrs_arg_type. | |
957 | (bfd_elf_add_obj_attr_string): Likewise. | |
958 | (bfd_elf_add_obj_attr_int_string): Likewise. | |
959 | (_bfd_elf_parse_attributes): Allow for unknown flag bits in type. | |
960 | * elf-bfd.h (struct obj_attribute): Document new flag bit. | |
961 | * elf32-arm.c (elf32_arm_obj_attrs_arg_type): Specify that | |
962 | Tag_nodefaults has no default value. | |
963 | (elf32_arm_merge_eabi_attributes): Modify the Tag_nodefaults | |
964 | comment to reflect the new state. | |
965 | ||
a77e83b7 AM |
966 | 2009-01-19 Alan Modra <amodra@bigpond.net.au> |
967 | ||
968 | PR 9695 | |
969 | * pdp11.c (N_BADMAG): True for anything but OMAGIC, NMAGIC, ZMAGIC. | |
970 | (some_aout_object_p): Delete dead code handling QMAGIC and BMAGIC. | |
971 | (adjust_z_magix): Delete dead code handling QMAGIC. | |
972 | ||
f6d29e26 KT |
973 | 2009-01-16 Kai Tietz <kai.tietz@onevision.com> |
974 | ||
975 | * coffcode.h (styp_to_sec_flags): Correct interpretation of | |
976 | IMAGE_SCN_MEM_DISCARDABLE. | |
977 | ||
29670fb9 AM |
978 | 2009-01-16 Alan Modra <amodra@bigpond.net.au> |
979 | ||
980 | * Makefile.am (libbfd_la_LIBADD, libbfd_la_LDFLAGS): Substitute | |
981 | SHARED_LIBADD and SHARED_LDFLAGS rather than WIN32LIBADD, WIN32LDFLAGS. | |
982 | * configure.in (commonbfdlib): Delete. | |
983 | (SHARED_LDFLAGS): Rename from WIN32LDFLAGS/ | |
984 | (SHARED_LIBADD): Rename from WIN32LIBADD. Add pic libiberty if such | |
985 | is available, not just for linux. | |
986 | * po/SRC-POTFILES.in: Regenerate. | |
987 | * Makefile.in: Regenerate. | |
988 | * configure: Regenerate. | |
989 | ||
91e22acd AS |
990 | 2009-01-15 Andrew Stubbs <ams@codesourcery.com> |
991 | Julian Brown <julian@codesourcery.com> | |
992 | ||
993 | * elf-bfd.h (NUM_KNOWN_OBJ_ATTRIBUTES): Set to 71 to include all known | |
994 | ARM attributes in ABI 2.07. | |
995 | * elf32-arm.c (get_secondary_compatible_arch): New function. | |
996 | (set_secondary_compatible_arch): New function. | |
997 | (tag_cpu_arch_combine): New function. | |
998 | (elf32_arm_copy_one_eabi_other_attribute): Delete function. | |
999 | (elf32_arm_copy_eabi_other_attribute_list): Delete function. | |
1000 | (elf32_arm_merge_eabi_attributes): Rename order_312 to order_021 to | |
1001 | make it fit with order_01243. | |
1002 | Add support for Tag_also_compatible_with, | |
1003 | Tag_CPU_unaligned_access, Tag_T2EE_use, Tag_Virtualization_use, | |
1004 | Tag_MPextension_use, Tag_nodefaults and Tag_conformance. | |
1005 | Improve/tidy up support for Tag_CPU_raw_name, Tag_CPU_name, | |
1006 | Tag_CPU_arch, Tag_ABI_HardFP_use, Tag_VFP_HP_extension, | |
1007 | Tag_ABI_FP_denormal, Tag_ABI_PCS_GOT_use, Tag_ABI_align8_needed, | |
1008 | Tag_VFP_arch and Tag_ABI_FP_16bit_format. | |
1009 | Rework the way unknown attributes are handled. | |
1010 | Defer errors until all attributes have been processed. | |
1011 | ||
7b86a9fa AS |
1012 | 2009-01-15 Andrew Stubbs <ams@codesourcery.com> |
1013 | ||
1014 | * elf-attrs.c (bfd_elf_add_obj_attr_compat): Rename to | |
1015 | bfd_elf_add_obj_attr_int_string. | |
1016 | Read Tag_compatibility from its new location in the attribute array, | |
1017 | rather than the attribute list. | |
1018 | (_bfd_elf_copy_obj_attributes): bfd_elf_add_obj_attr_compat -> | |
1019 | bfd_elf_add_obj_attr_int_string. | |
1020 | (_bfd_elf_parse_attributes): Likewise. | |
1021 | (_bfd_elf_merge_object_attributes): There's now only one | |
1022 | Tag_compatibility, and it's in the array, not the list. | |
1023 | * elf-bfd.h (NUM_KNOWN_OBJ_ATTRIBUTES): Set to 33 to include | |
1024 | Tag_compatibility. | |
1025 | (bfd_elf_add_obj_attr_compat): Rename to | |
1026 | bfd_elf_add_obj_attr_int_string. | |
1027 | (bfd_elf_add_proc_attr_compat): Rename to | |
1028 | bfd_elf_add_proc_attr_int_string. | |
1029 | * elf32-arm.c (elf32_arm_merge_eabi_attributes): Explicitly don't handle | |
1030 | Tag_compatibility. | |
1031 | ||
01e1a5bc NC |
1032 | 2009-01-15 Douglas B Rupp <rupp@gnat.com> |
1033 | ||
1034 | * Makefile.am (BFD32_BACKENDS): Add new object vmsutil.lo | |
1035 | (BFD32_BACKENDS_CFILES): Add new file vmsutil.c | |
1036 | (vmsutil.lo): Add dependency rule. | |
1037 | * Makefile.in: Regenerate. | |
1038 | * config.bfd (ia64*-*-*vms*): Add case. | |
1039 | * configure.in (bfd_elf64_ia64_vms_vec): Add case. | |
1040 | * configure: Regenerate. | |
1041 | * vmsutil.c: New file. | |
1042 | * vmsutil.h: New file. | |
1043 | * elf-bfd.h (struct bfd_elf_special_section): Change type of | |
1044 | attr to bfd_vma. | |
1045 | * elfxx-ia64.c (elfNN_vms_post_process_headers, | |
1046 | elfNN_vms_section_processing, elfNN_vms_final_write_processing, | |
1047 | elfNN_vms_close_and_cleanup, elfNN_vms_section_from_shdr, | |
1048 | elfNN_vms_object_p): New functions | |
1049 | * targets.c (bfd_elf64_ia64_vms_vec): New target. | |
1050 | ||
a33dafc3 L |
1051 | 2009-01-14 H.J. Lu <hongjiu.lu@intel.com> |
1052 | ||
1053 | PR ld/9727 | |
1054 | * elflink.c (elf_gc_sweep): Exclude the group section if the | |
1055 | first member of the section group is excluded. | |
1056 | ||
13c0e967 AM |
1057 | 2009-01-14 Alan Modra <amodra@bigpond.net.au> |
1058 | ||
1059 | PR 9735 | |
1060 | * syms.c (_bfd_stab_section_find_nearest_line): Don't free | |
1061 | saved filename, use bfd_alloc rather than bfd_malloc for it. | |
1062 | ||
460e679b AM |
1063 | 2009-01-13 Alan Modra <amodra@bigpond.net.au> |
1064 | ||
1065 | * elf32-spu.c (spu_elf_build_stubs): Make __icache_base absolute. | |
1066 | ||
25076afa AM |
1067 | 2009-01-13 Alan Modra <amodra@bigpond.net.au> |
1068 | ||
1069 | * elf32-spu.c (remove_cycles): Always set call->max_depth. | |
1070 | ||
37107878 AM |
1071 | 2009-01-12 Alan Modra <amodra@bigpond.net.au> |
1072 | ||
1073 | * elf32-spu.c (spu_elf_auto_overlay): Correct vma mask. | |
1074 | ||
cd4a7468 AM |
1075 | 2009-01-12 Alan Modra <amodra@bigpond.net.au> |
1076 | ||
1077 | * elf32-spu.c (struct spu_link_hash_table): Add init, line_size_log2, | |
1078 | num_lines_log2. | |
1079 | (struct got_entry): Add br_addr. | |
1080 | (struct call_info): Add priority. | |
1081 | (struct function_info): Add lr_store and sp_adjust. | |
1082 | (spu_elf_setup): Init line_size_log2 and num_lines_log2. | |
1083 | (spu_elf_find_overlays): For soft-icache, mark any section within cache | |
1084 | area as an overlay, and check that no other overlays exist. Look up | |
1085 | icache overlay manager entry sym. | |
1086 | (BRA_STUBS, BRA, BRASL): Define. | |
1087 | (enum _stub_type): Replace ovl_stub with call_ovl_stub and br*_ovl_stub. | |
1088 | (needs_ovl_stub): Adjust for soft-icache. Return priority encoded | |
1089 | in branch insn. | |
1090 | (count_stub, build_stub): Support soft-icache. | |
1091 | (build_spuear_stubs, process_stubs): Adjust build_stub call. | |
1092 | (spu_elf_size_stubs): Size soft-icache stubs. | |
1093 | (overlay_index): New function. | |
1094 | (spu_elf_build_stubs): Make static. Support soft-icache. | |
1095 | (spu_elf_check_vma): Don't turn off auto_overlay if soft-icache. | |
1096 | (find_function_stack_adjust): Save lr store and stack adjust insn | |
1097 | offsets. | |
1098 | (maybe_insert_function): Adjust find_function_stack_adjust call. | |
1099 | (mark_functions_via_relocs): Retrieve priority. | |
1100 | (remove_cycles): Only warn about pruned arcs when stack_analysis. | |
1101 | (sort_calls): Sort by priority first. | |
1102 | (mark_overlay_section): Ignore .ovl.init. | |
1103 | (sum_stack): Only print when stack_analysis. | |
1104 | (print_one_overlay_section): New function, extracted from.. | |
1105 | (spu_elf_auto_overlay): ..here. Support soft-icache overlays. | |
1106 | (spu_elf_stack_analysis): Only print when htab->stack_analysis. | |
1107 | (spu_elf_final_link): Call spu_elf_stack_analysis for lrlive | |
1108 | analysis. Call spu_elf_build_stubs. | |
1109 | (spu_elf_relocate_section): For soft-icache encode overlay index | |
1110 | into addresses. | |
1111 | (spu_elf_output_symbol_hook): Support soft-icache. | |
1112 | (spu_elf_modify_program_headers: Likewise. | |
37107878 | 1113 | |
cd4a7468 AM |
1114 | * elf32-spu.h (struct spu_elf_params): Add lrlive_analysis. Rename |
1115 | num_regions to num_lines. Add line_size and max_branch. | |
1116 | (enum _ovly_flavour): Add ovly_soft_icache. | |
1117 | (spu_elf_build_stubs): Delete. | |
1118 | ||
80c29487 JK |
1119 | 2009-01-11 Jan Kratochvil <jan.kratochvil@redhat.com> |
1120 | ||
1121 | * elflink.c (_bfd_elf_section_already_linked): Handle g++-3.4 | |
1122 | relocations in `.gnu.linkonce.r.*' referencing its `.gnu.linkonce.t.*'. | |
1123 | ||
1bc86aea HPN |
1124 | 2009-01-07 Hans-Peter Nilsson <hp@axis.com> |
1125 | ||
1126 | * elf32-cris.c (cris_elf_relocate_section) <case R_CRIS_32_GD> | |
1127 | <case R_CRIS_16_GOT_GD, R_CRIS_32_GOT_GD>: For a symbol defined in | |
1128 | the program, the known offset starts at the negative size of the | |
1129 | TLS section. | |
1130 | <case R_CRIS_32_IE, R_CRIS_32_GOT_TPREL, R_CRIS_16_GOT_TPREL>: | |
1131 | Similar. | |
1132 | ||
3baa454d | 1133 | 2009-01-05 Joel Sherrill <joel.sherrill@oarcorp.com> |
75606e85 | 1134 | |
3baa454d | 1135 | * config.bfd: Add lm32-*-rtems*. |
75606e85 | 1136 | |
9dbe8890 L |
1137 | 2009-01-03 H.J. Lu <hongjiu.lu@intel.com> |
1138 | ||
1139 | * coff-ppc.c: Add 2009 to Copyright. | |
1140 | * elf32-cris.c: Likewise. | |
1141 | * elflink.c: Likewise. | |
1142 | ||
0bdf8d40 HPN |
1143 | 2009-01-03 Hans-Peter Nilsson <hp@axis.com> |
1144 | ||
1145 | * elf32-cris.c (elf_cris_finish_dynamic_symbol): Rename | |
1146 | gotplt_index to rela_plt_index. Adjust for R_CRIS_DTPMOD entry. | |
1147 | ||
54ac0771 L |
1148 | 2009-01-02 H.J. Lu <hongjiu.lu@intel.com> |
1149 | ||
1150 | PR ld/9679 | |
1151 | * elflink.c (elf_merge_st_other): New. | |
1152 | (_bfd_elf_merge_symbol): Use it on skipped weak definitions and | |
1153 | hide them if needed. | |
1154 | (elf_link_add_object_symbols): Updated. | |
1155 | ||
d8880531 L |
1156 | 2009-01-02 H.J. Lu <hongjiu.lu@intel.com> |
1157 | ||
1158 | PR ld/9676 | |
1159 | * elflink.c (elf_link_add_object_symbols): Update def_dynamic, | |
1160 | ref_dynamic and dynamic_def fields when setting def_regular | |
1161 | to 1. | |
1162 | ||
b70b5c14 NC |
1163 | 2009-01-02 Curtis Mackie <curtmackevo@gmail.com> |
1164 | ||
1165 | PR 9682 | |
1166 | * coff-ppc.c (dump_toc): Fix up calls to fprintf without a string | |
1167 | literal. | |
1168 | ||
d8880531 | 1169 | For older changes see ChangeLog-2008 |
56882138 AM |
1170 | \f |
1171 | Local Variables: | |
1172 | mode: change-log | |
1173 | left-margin: 8 | |
1174 | fill-column: 74 | |
1175 | version-control: never | |
1176 | End: |