* dep-in.sed: Don't modify .o to .lo here. Output one filename
[deliverable/binutils-gdb.git] / bfd / ChangeLog
CommitLineData
9e097a72
AM
12009-05-26 Alan Modra <amodra@bigpond.net.au>
2
3 * dep-in.sed: Don't modify .o to .lo here. Output one filename
4 per line with all lines having continuation backslash. Prefix
5 first line with "A", following lines with "B".
6 * Makefile.am (DEP): Don't use dep.sed here.
7 (DEP1): Run $MKDEP on single files, modify .o to .lo here. Use
8 dep.sed here on dependencies, sort and uniq.
9 * Makefile.in: Regenerate.
10
d5acff2f
TG
112009-05-25 Tristan Gingold <gingold@adacore.com>
12
13 * makefile.vms: Add verilog.obj to object list OBJS.
14
5c93f09b
AM
152009-05-24 Alan Modra <amodra@bigpond.net.au>
16
17 * bfdio.c (bfd_seek): Formatting. Ensure newly allocated memory
18 for BFD_IN_MEMORY is cleared.
19 (bfd_bwrite): Zero excess memory allocated.
20
48229727
JB
212009-05-22 Julian Brown <julian@codesourcery.com>
22
23 * elf32-arm.c (THUMB16_BCOND_INSN, THUMB32_INSN, THUMB32_B_INSN): New
24 macros.
25 (elf32_arm_stub_a8_veneer_b_cond, elf32_arm_stub_a8_veneer_b)
26 (elf32_arm_stub_a8_veneer_blx): New stub sequences.
27 (elf32_arm_stub_type): Add arm_stub_a8_veneer_b_cond,
28 arm_stub_a8_veneer_b and arm_stub_a8_veneer_blx.
29 (elf32_arm_stub_hash_entry): Add target_addend, orig_insn fields.
30 (a8_erratum_fix, a8_erratum_reloc): New structs.
31 (elf32_arm_link_hash_table): Add a8_erratum_fixes,
32 num_a8_erratum_fixes, fix_cortex_a8 fields.
33 (elf32_arm_link_hash_table_create): Zero fix_cortex_a8.
34 (elf32_arm_add_stub): Split into two parts, creating...
35 (elf32_arm_create_or_find_stub_sec): New function.
36 (elf32_arm_final_link_relocate): Add forward declaration.
37 (arm_build_one_stub): Add support for THUMB32_TYPE, Thumb-2
38 relocations, multiple relocations per stub.
39 (find_stub_size_and_template): New (using parts of arm_size_one_stub).
40 (arm_size_one_stub): Use find_stub_size_and_template.
41 (a8_reloc_compare): New.
42 (find_thumb_glue): Add forward declaration.
43 (cortex_a8_erratum_scan): New.
44 (elf32_arm_size_stubs): Add Cortex-A8 erratum workaround support.
45 (bfd_elf32_arm_set_cortex_a8_fix): New.
46 (bfd_elf32_arm_set_target_relocs): Add fix_cortex_a8 argument.
47 (arm_map_one_stub): Add THUMB32_TYPE support.
48 (a8_branch_to_stub_data): New.
49 (make_branch_to_a8_stub): New.
50 (elf32_arm_write_section): Add Cortex-A8 erratum workaround support.
51 * bfd-in.h (bfd_elf32_arm_set_cortex_a8_fix): New.
52 (bfd_elf32_arm_set_target_relocs): Add argument for controlling
53 Cortex-A8 erratum workaround.
54 * bfd-in2.h: Regenerate.
55
2b3decb5
AM
562009-05-22 Alan Modra <amodra@bigpond.net.au>
57
58 * Makefile.am: Run "make dep-am".
59 * Makefile.in: Regenerate.
60 * po/SRC-POTFILES.in: Regenerate.
61
930e005c
AM
622009-05-21 Alan Modra <amodra@bigpond.net.au>
63
64 * elflink.c (elf_link_input_bfd): Correct *pindex change in last
65 commit.
66
6e0b88f1
AM
672009-05-21 Alan Modra <amodra@bigpond.net.au>
68
69 * elf-bfd.h (struct elf_backend_data
70 <elf_backend_link_output_symbol_hook>): Return an int.
71 * elf64-ppc.c (ppc64_elf_output_symbol_hook): Return 2 to drop
72 symbols on deleted .opd entries.
73 * elflink.c (elf_link_output_sym): Return without outputting sym
74 if output_symbol_hook returns 2.
75 (elf_link_output_extsym): Don't assign h->indx when symbol discarded.
76 Abort if we must not discard sym.
77 (elf_link_input_bfd): Similarly, don't set finfo->indices for
78 local syms.
79 (bfd_elf_final_link): Adjust elf_link_output_sym calls.
80 * elf-vxworks.c (elf_vxworks_link_output_symbol_hook): Adjust for
81 elf_backend_link_output_symbol_hook return type change.
82 * elf32-arm.c (output_arch_syminfo): Likewise.
83 (elf32_arm_output_map_sym, elf32_arm_output_stub_sym): Likewise.
84 (elf32_arm_output_arch_local_syms): Likewise.
85 * elf32-cr16c.c (elf32_cr16c_link_output_symbol_hook): Likewise.
86 * elf32-score.c (s3_bfd_score_elf_link_output_symbol_hook): Likewise.
87 (bfd_score_elf_link_output_symbol_hook): Likewise.
88 * elf32-score.h (s7_bfd_score_elf_link_output_symbol_hook): Likewise.
89 * elf32-score7.c (s7_bfd_score_elf_link_output_symbol_hook): Likewise.
90 * elf32-sh64.c (sh64_elf_link_output_symbol_hook): Likewise.
91 * elf32-spu.c (spu_elf_output_symbol_hook): Likewise.
92 * elf32-v850.c (v850_elf_link_output_symbol_hook): Likewise.
93 * elf64-hppa.c (elf64_hppa_link_output_symbol_hook): Likewise.
94 * elf64-mmix.c (mmix_elf_link_output_symbol_hook): Likewise.
95 * elf64-sh64.c (sh64_elf64_link_output_symbol_hook): Likewise.
96 * elf64-sparc.c (elf64_sparc_output_arch_syms): Likewise.
97 * elfxx-mips.c (_bfd_mips_elf_link_output_symbol_hook): Likewise.
98 * elfxx-mips.h (_bfd_mips_elf_link_output_symbol_hook): Likewise.
99
5ef11c02
AM
1002009-05-21 Alan Modra <amodra@bigpond.net.au>
101
102 * elf64-ppc.c (ppc64_elf_get_synthetic_symtab): Don't segfault on
103 out of range .opd symbols.
104
ebf12fbe
DK
1052009-05-21 Dave Korn <dave.korn.cygwin@gmail.com>
106
107 * coffgen.c (coff_print_symbol): Use bfd_fprintf_vma, not
108 fprintf_vma directly.
109 * peXXigen.c (pe_print_edata): Likewise.
110 (pe_print_pdata): Likewise.
111 (_bfd_XX_print_ce_compressed_pdata): Likewise.
112 (_bfd_XX_print_private_bfd_data_common): Likewise.
113
c1711530
DK
1142009-05-19 Dave Korn <dave.korn.cygwin@gmail.com>
115
116 * cofflink.c (process_embedded_commands): Ignore "-aligncomm".
117
22a8f80e 1182009-05-15 Andrew Stubbs <ams@codesourcery.com>
164e7efc 119 Paul Brook <paul@codesourcery.com>
22a8f80e
PB
120
121 * elf32-arm.c (elf32_arm_fix_exidx_coverage): Don't attempt to
122 fix discarded sections.
123
335bd8f2
UW
1242009-05-14 Ulrich Weigand <uweigand@de.ibm.com>
125
126 * elf32-spu.c (mark_overlay_section): Move .init and .fini
127 sections into the software icache.
128
cdc83fba
UW
1292009-05-14 Ulrich Weigand <uweigand@de.ibm.com>
130
131 * elf32-spu.c (build_stub): Always build "compact" sofware
132 i-cache stubs.
133
97fc8d84
UW
1342009-05-14 Ulrich Weigand <uweigand@de.ibm.com>
135
136 * elf32-spu.c (struct spu_link_hash_table): Add fromelem_size_log2.
137 (spu_elf_setup): Initialize it.
138 (spu_elf_size_stubs): Move .ovtab into .bss for software i-cache.
139 Update to new-sytle cache manager data structures.
140 (spu_elf_build_stubs): Generate new-style cache manager data
141 structures and symbols.
142 (spu_elf_auto_overlay): Update size computation.
143
452de53c
UW
1442009-05-14 Ulrich Weigand <uweigand@de.ibm.com>
145
146 * elf32-spu.c (spu_elf_modify_segment_map): Move all PF_OVERLAY
147 segments first amongst the program headers.
148
d342a8b1
UW
1492009-05-14 Ulrich Weigand <uweigand@de.ibm.com>
150
151 * elf32-spu.c (spu_elf_relocate_section): Only encode overlay index
152 into addresses for relocation types that look at high bits. Remove
153 special handling of relocation overflow warnings.
154
cc210763
UW
1552009-05-14 Ulrich Weigand <uweigand@de.ibm.com>
156
157 * elf32-spu.c (mark_functions_via_relocs): Handle cycles in the
158 control flow graph between fragments of a function.
159
c1ea05bb
UW
1602009-05-14 Ulrich Weigand <uweigand@de.ibm.com>
161
162 * elf32-spu.c (spu_elf_size_stubs): Even in software i-cache mode,
163 generate only a 16-byte .toe section.
164 (spu_elf_build_stubs, spu_elf_auto_overlay): Likewise.
165
bbb0fc04
AM
1662009-05-14 Alan Modra <amodra@bigpond.net.au>
167
168 * elf32-spu.c (spu_elf_size_stubs): Split out section placement to..
169 (spu_elf_place_overlay_data): ..here. New function.
170 * elf32-spu.h (spu_elf_place_overlay_data): Declare.
171
6e6718a3
AJ
1722009-05-13 Andrew Jenner <andrew@codesourcery.com>
173
174 * elf32-arm.c: Move sysdep.h to start of file.
175
77ae44b0
AM
1762009-05-11 Ulrich Weigand <uweigand@de.ibm.com>
177
178 * elf32-spu.c (spu_elf_find_overlays): Don't use .ovl.init lma as
179 start of overlays.
180 (spu_elf_build_stubs): Don't define __icache_tagbase. Define
181 __icache_tag_array and __icache_tag_array_size.
182
51408ec2
AM
1832009-05-11 Masaki Muranaka <monaka@monami-software.com>
184
185 * elf32-bfin.c (bfin_bfd_reloc_type_lookup): Remove unnecessary
186 ATTRIBUTE_UNUSED.
187 (bfinfdpic_link_omit_section_dynsym): Likewise.
188 (elf32_bfinfdpic_finish_dynamic_sections): Likewise.
189
2468f9c9
PB
1902009-05-05 Paul Brook <paul@codesourcery.com>
191
192 * bfd-in.h (elf32_arm_fix_exidx_coverage): Add prototype.
193 * bfd-in2.h: Regenerate.
194 * elf32-arm.c (arm_unwind_edit_type, arm_unwind_table_edit): Define.
195 (_arm_elf_section_data): Add text and exidx fields.
196 (add_unwind_table_edit, get_arm_elf_section_data, adjust_exidx_size,
197 insert_cantunwind_after, elf32_arm_fix_exidx_coverage, offset_prel31,
198 copy_exidx_entry): New functions.
199 (elf32_arm_write_section): Fixup .ARM.exidx contents.
200
738a79f6
CL
2012009-05-05 Christophe lyon <christophe.lyon@st.com>
202
203 * elf32-arm.c (DEF_STUBS): New helper define.
204 (DEF_STUB): Likewise.
205 (stub_def): New type.
206 (stub_definitions): New array, containing stub template pointers
207 and sizes.
208 (arm_size_one_stub): Make use of stub_definitions.
209
09e2aba4
DK
2102009-05-04 Dave Korn <dave.korn.cygwin@gmail.com>
211
212 * elflink.c (find_version_for_sym): Remove from here, ...
213 * linker.c (bfd_find_version_for_sym): ... rename, replace
214 here, make public and update all callers.
215 * bfd-in2.h: Regenerate.
216
d8045f23
NC
2172009-04-30 Nick Clifton <nickc@redhat.com>
218
219 * elf-bfd.h (struct bfd_elf_section_data): Add indirect_relocs
220 section pointer.
221 (struct elf_obj_data): Add has_ifunc_symbols boolean.
222 * elf.c (swap_out_syms): Convert BSF_GNU_INDIRECT_FUNCTION flags
223 into a STT_GNU_IFUNC symbol type.
224 (_bfd_elf_is_function_type): Accept STT_GNU_IFUNC as a function
225 type.
226 (_bfd_elf_set_osabi): Set the osasbi field to ELFOSABI_LINUX if
227 the binary contains ifunc symbols.
228 * elfcode.h (elf_slurp_symbol_table): Translate the STT_GNU_IFUNC
229 symbol type into a BSF_GNU_INDIRECT_FUNCTION flag.
230 * elf32-i386.c (is_indirect_function): New function.
231 (elf_i386_check_relocs): Create an ifunc output section.
232 (allocate_dynrelocs): Create dynamic relocs in the ifunc output
233 section if necessary.
234 (elf_i386_relocate_section): Emit a reloc against an ifunc symbol
235 if necessary.
236 (elf_i386_add_symbol_hook): New function. Set the
237 has_ifunc_symbols field of the elf_obj_data structure if an ifunc
238 symbol is encountered.
239 (elf_backend_post_process_headers): Define.
240 (elf_backend_add_symbol_hook): Define.
241 (elf_i386_post_process_headers): Rename to
242 elf_i388_fbsd_post_process_headers.
243 * elf64-x86_64.c (IS_X86_64_PCREL_TYPE): New macro.
244 (is_indirect_function): New function.
245 (elf64_x86_64_check_relocs): Create an ifunc output section.
246 (allocate_dynrelocs): Create dynamic relocs in the ifunc output
247 section if necessary.
248 (elf64_x86_64_relocate_section): Emit a reloc against an ifunc
249 symbol if necessary.
250 (elf_i386_add_symbol_hook): Set the has_ifunc_symbols field of the
251 elf_obj_data structure if an ifunc symbol is encountered.
252 (elf_backend_post_process_headers): Define.
253 * elflink.c (_bfd_elf_adjust_dynamic_symbol): Always create a PLT
254 if we have ifunc symbols to handle.
255 (get_ifunc_reloc_section_name): New function. Computes the name
256 for an ifunc section.
257 (_bfd_elf_make_ifunc_reloc_section): New function. Creates a
258 section to hold ifunc relocs.
259 * syms.c (BSF_GNU_INDIRECT_FUNCTION): Define.
260 (bfd_print_symbol_vandf): Handle ifunc symbols.
261 (bfd_decode_symclass): Likewise.
262 * bfd-in2.h: Regenerate.
263
96c23d59
JM
2642009-04-30 Joseph Myers <joseph@codesourcery.com>
265
266 * elf32-arm.c (elf32_arm_check_relocs): Give errors for absolute
267 MOVW and MOVT relocations in a shared library link.
268
c067354b
NC
2692009-04-27 Anthony Green <green@moxielogic.com>
270
271 * verilog.c: New file.
272 * Makefile.am (BFD32_LIBS): Add verilog.c.
273 (BFD32_LIBS_CFILES): Add verilog.c.
274 (verilog.lo): New build rule.
275 * Makefile.in: Rebuilt.
276 * targets.c: Add verilog support.
277 * bfd.c (tdata union): Add Verilog private data field.
278 * bfd-in2.h: Regenerate.
279
325c681d
L
2802009-04-27 H.J. Lu <hongjiu.lu@intel.com>
281
282 * peXXigen.c (_bfd_XX_bfd_copy_private_bfd_data_common): Don't
283 copy pe_opthdr.
284
ba775898
DK
2852009-04-23 Matthias Klose <doko@ubuntu.com>
286
2e28a5fc 287 * peXXigen.c (_bfd_XXi_swap_sym_in): Initialize `name'.
ba775898 288
155d87d7
CL
2892009-04-22 Christophe Lyon <christophe.lyon@st.com>
290
291 PR9743
292 * elf32-arm.c (arm_type_of_stub): Handle R_ARM_THM_JUMP24,
293 R_ARM_JUMP24 and R_ARM_PLT32 relocations.
294 (elf32_arm_size_stubs): Likewise.
295 (record_thumb_to_arm_glue): Deleted unused function.
296 (bfd_elf32_arm_process_before_allocation): No longer handle
297 R_ARM_THM_JUMP24, R_ARM_JUMP24 and R_ARM_PLT32 relocations here.
298 (elf32_arm_final_link_relocate): Handle R_ARM_THM_JUMP24,
299 R_ARM_JUMP24 and R_ARM_PLT32 relocations.
300
3e6b1042
DJ
3012009-04-21 Daniel Jacobowitz <dan@codesourcery.com>
302
303 * elf32-arm.c (INTERWORK_FLAG): Check BFD_LINKER_CREATED.
304 (elf32_arm_write_section): Declare early.
305 (elf32_arm_size_stubs): Skip non-stub sections in the stub BFD.
306 (arm_allocate_glue_section_space): Exclude empty sections.
307 (ARM_GLUE_SECTION_FLAGS): Add SEC_LINKER_CREATED.
308 (bfd_elf32_arm_add_glue_sections_to_bfd): Do not skip the stub
309 BFD.
310 (elf32_arm_output_glue_section, elf32_arm_final_link): New.
311 (elf32_arm_merge_eabi_attributes): Skip the stub BFD.
312 (elf32_arm_size_dynamic_sections): Allocate interworking
313 sections here.
314 (bfd_elf32_bfd_final_link): Define.
315
4f360784
L
3162009-04-21 H.J. Lu <hongjiu.lu@intel.com>
317
318 * coff-ia64.c (COFF_PAGE_SIZE): Changed to 8K.
319
320 * coffcode.h (coff_compute_section_file_positions): Clear
321 D_PAGED if PE section alignment is smaller than COFF_PAGE_SIZE.
322
323 * libcoff-in.h (pe_tdata): Remove force_minimum_alignment and
324 force_minimum_alignment.
325
326 * libcoff.h: Regenerated.
327
328 * pei-ia64.c (PEI_TARGET_SUBSYSTEM): Removed.
329 (PEI_FORCE_MINIMUM_ALIGNMENT): Likewise.
330
331 * peicode.h (pe_mkobject): Don't set force_minimum_alignment
332 nor target_subsystem.
333
334 * peXXigen.c (_bfd_XXi_swap_aouthdr_out): Don't check
335 force_minimum_alignment nor target_subsystem.
336
e48570bb
DK
3372009-04-21 Kai Tietz <kai.tietz@onevision.com>
338
339 * coff-x86_64.c (PEI_HEADERS): Protect includes.
340 (bfd_pe_print_pdata): Remove #ifdef PE variation.
341 * pei-x86_64.c (PEI_HEADERS): Define to prevent double
342 include in coff-x86_64.c of headers.
343 (PDATA_ROW_SIZE): New define.
344 (pex_regs[]): New static array.
345 (pex64_get_runtime_function): New static function.
346 (pex64_get_unwind_info): Likewise.
347 (pex64_get_scope_entry): Likewise.
348 (pex64_xdata_print_uwd_codes): Likewise.
349 (pex64_get_section_by_rva): Likewise.
350 (pex64_dump_xdata): Likewise.
351 (pex64_bfd_print_pdata): Likewise.
352 (bfd_pe_print_pdata): Define as pex64_bfd_print_pdata.
353 * peXXigen.c (_bfd_pex64_print_pdata): Removed implementation.
354 * libpei.h (_bfd_pex64_print_pdata): Removed declaration.
355
383c383f 3562009-04-19 Peter O'Gorman <binutils@mlists.thewrittenword.com>
4f360784
L
357 Alan Modra <amodra@bigpond.net.au>
358 Dave Korn <dave.korn.cygwin@gmail.com>
383c383f
AM
359
360 * peXXigen.c (_bfd_XXi_swap_sym_in): Fix name handling w.r.t
361 long names and non-NUL-terminated strings.
362
b6b450f1
L
3632009-04-17 H.J. Lu <hongjiu.lu@intel.com>
364
365 * bfd-in2.h: Regenerated.
366
d9118602
L
3672009-04-17 H.J. Lu <hongjiu.lu@intel.com>
368
369 * peXXigen.c (_bfd_XX_print_private_bfd_data_common): Replace
370 IMAGE_SUBSYSTEM_EFI_ROM with IMAGE_SUBSYSTEM_SAL_RUNTIME_DRIVER.
371
92dd4511
L
3722009-04-17 H.J. Lu <hongjiu.lu@intel.com>
373
374 PR binutils/10074
375 * coffcode.h (bfd_pei_p): New.
376
377 * config.bfd: Remove bfd_efi_bsdrv_ia32_vec,
378 bfd_efi_rtdrv_ia32_vec, bfd_efi_bsdrv_x86_64_vec,
379 bfd_efi_rtdrv_x86_64_vec, bfd_efi_bsdrv_ia64_vec and
380 bfd_efi_rtdrv_ia64_vec. Replace bfd_efi_app_ia32_vec,
381 bfd_efi_app_x86_64_vec and bfd_efi_app_ia64_vec with
382 i386pei_vec, x86_64pei_vec and bfd_pei_ia64_vec, respectively.
383
384 * configure.in: Remove bfd_efi_bsdrv_ia32_vec,
385 bfd_efi_rtdrv_ia32_vec, bfd_efi_bsdrv_x86_64_vec,
386 bfd_efi_rtdrv_x86_64_vec,
387 bfd_efi_bsdrv_ia64_vec and bfd_efi_rtdrv_ia64_vec. Replace
388 bfd_efi_ia64_vec with bfd_pei_ia64_vec.
389 * targets.c: Likewise.
390
391 * configure: Regenerated.
392 * libcoff.h: Likewise.
393 * Makefile.in: Likewise.
394
395 * efi-app-ia32.c: Removed.
396 * efi-app-x86_64.c: Likewise.
397 * efi-bsdrv-ia32.c: Likewise.
398 * efi-bsdrv-ia64.c: Likewise.
399 * efi-bsdrv-x86_64.c: Likewise.
400 * efi-rtdrv-ia32.c: Likewise.
401 * efi-rtdrv-ia64.c: Likewise.
402 * efi-rtdrv-x86_64.c: Likewise.
403 * efi-rtdrv-ia32.c: Likewise.
404
405 * efi-app-ia64.c: Moved to ...
406 * pei-ia64.c: This.
407 (TARGET_SYM): Set to bfd_pei_ia64_vec.
408 (TARGET_NAME): Set to pei-ia64.
409
410 * libpei.h (bfd_target_pei_p): Removed.
411 (bfd_target_pei_arch): Likewise.
412 (bfd_target_efi_app_p): Likewise.
413 (bfd_target_efi_app_arch): Likewise.
414 (bfd_target_efi_bsdrv_p): Likewise.
415 (bfd_target_efi_bsdrv_arch): Likewise.
416 (bfd_target_efi_rtdrv_p): Likewise.
417 (bfd_target_efi_rtdrv_arch): Likewise.
418 (bfd_pe_executable_p): Likewise.
419
420 * Makefile.am (BFD32_BACKENDS): Remove efi-app-ia32.lo,
421 efi-bsdrv-ia32.lo and efi-rtdrv-ia32.lo.
422 (BFD32_BACKENDS_CFILES): Remove efi-app-ia32.c, efi-bsdrv-ia32.c
423 and efi-rtdrv-ia32.c.
424 (BFD64_BACKENDS): Remove efi-app-ia64.lo, efi-bsdrv-ia64.lo,
425 efi-rtdrv-ia64.lo, efi-app-x86_64.lo, efi-bsdrv-x86_64.lo and
426 efi-rtdrv-x86_64.lo. Add pei-ia64.lo.
427 (BFD64_BACKENDS_CFILES): Remove efi-app-ia64.c, efi-bsdrv-ia64.c,
428 efi-rtdrv-ia64.c, efi-app-x86_64.c, efi-bsdrv-x86_64.c and
429 efi-rtdrv-x86_64.c. Add pei-ia64.c.
430 (efi-app-ia64.lo): Removed.
431 (efi-bsdrv-ia32.lo): Likewise.
432 (efi-rtdrv-ia32.lo): Likewise.
433 (efi-app-ia64.lo): Likewise.
434 (efi-bsdrv-ia64.lo): Likewise.
435 (efi-rtdrv-ia64.lo): Likewise.
436 (efi-app-x86_64.lo): Likewise.
437 (efi-bsdrv-x86_64.lo): Likewise.
438 (efi-rtdrv-x86_64.lo): Likewise.
439 (pei-ia64.lo): New.
440
441 * peicode.h (coff_swap_scnhdr_in): Replace bfd_pe_executable_p
442 with bfd_pei_p.
443 (arch_type): Removed.
444 (pe_arch): Likewise.
445 (pe_bfd_object_p): Just return coff_object_p.
446
447 * peXXigen.c (_bfd_XXi_swap_scnhdr_out): Replace
448 bfd_pe_executable_p with bfd_pei_p.
449
69c5861e
CL
4502009-04-17 Christophe Lyon <christophe.lyon@st.com>
451
452 * elf32-arm.c (elf32_arm_size_stubs): Handle long branches through
453 PLT entries to an undefined symbol when generating a shared
454 library.
455
e9cd0660
NC
4562009-04-17 Nick Clifton <nickc@redhat.com>
457
458 PR 9909
459 * coffcode.h (handle_COMDAT): Allow for external COMDAT symbols.
460
3023e3f6
RS
4612009-04-16 Richard Sandiford <r.sandiford@uk.ibm.com>
462
463 * aout-adobe.c (aout_32_bfd_define_common_symbol): Define.
464 * aout-target.h (MY_bfd_define_common_symbol): Likewise.
465 * aout-tic30.c (MY_bfd_define_common_symbol): Likewise.
466 * binary.c (binary_bfd_define_common_symbol): Likewise.
467 * bout.c (b_out_bfd_define_common_symbol): Likewise.
468 * coff-alpha.c (_bfd_ecoff_bfd_define_common_symbol): Likewise.
469 * coff-mips.c (_bfd_ecoff_bfd_define_common_symbol): Likewise.
470 * coffcode.h (coff_bfd_define_common_symbol): Likewise.
471 * elfxx-target.h (bfd_elfNN_bfd_define_common_symbol): Likewise.
472 * i386msdos.c (msdos_bfd_define_common_symbol): Likewise.
473 * i386os9k.c (os9k_bfd_define_common_symbol): Likewise.
474 * ieee.c (ieee_bfd_define_common_symbol): Likewise.
475 * ihex.c (ihex_bfd_define_common_symbol): Likewise.
476 * libbfd-in.h (_bfd_nolink_bfd_define_common_symbol): Likewise.
477 * mach-o.c (bfd_mach_o_bfd_define_common_symbol): Likewise.
478 * mmo.c (mmo_bfd_define_common_symbol): Likewise.
479 * nlm-target.h (nlm_bfd_define_common_symbol): Likewise.
480 * oasys.c (oasys_bfd_define_common_symbol): Likewise.
481 * pef.c (bfd_pef_bfd_define_common_symbol): Likewise.
482 * ppcboot.c (ppcboot_bfd_define_common_symbol): Likewise.
483 * som.c (som_bfd_define_common_symbol): Likewise.
484 * srec.c (srec_bfd_define_common_symbol): Likewise.
485 * tekhex.c (tekhex_bfd_define_common_symbol): Likewise.
486 * versados.c (versados_bfd_define_common_symbol): Likewise.
487 * vms.c (vms_bfd_define_common_symbol): Likewise.
488 * xcoff-target.h (_bfd_xcoff_bfd_define_common_symbol): Likewise.
489 * xsym.c (bfd_sym_bfd_define_common_symbol): Likewise.
490 * coff-rs6000.c (rs6000coff_vec): Add _bfd_xcoff_define_common_symbol.
491 (pmac_xcoff_vec): Likewise.
492 * coff64-rs6000.c (rs6000coff64_vec): Likewise.
493 (aix5coff64_vec): Likewise.
494 * linker.c (bfd_generic_define_common_symbol): New function.
495 * targets.c (BFD_JUMP_TABLE_LINK): Add NAME##_bfd_define_common_symbol.
496 (_bfd_define_common_symbol): New field.
497 * libcoff-in.h (_bfd_xcoff_define_common_symbol): Declare.
498 * xcofflink.c (_bfd_xcoff_define_common_symbol): New function.
499 (xcoff_build_ldsyms): Don't set XCOFF_DEF_REGULAR for common
500 symbols here.
501 * bfd-in2.h: Regenerate.
502 * libbfd.h: Likewise.
503 * libcoff.h: Likewise.
504
20135e4c
NC
5052009-04-15 Anthony Green <green@moxielogic.com>
506
507 * targets.c: Add moxie support.
508 * Makefile.am: Ditto.
509 * Makefile.in: Rebuilt.
510 * cpu-moxie.c, elf32-moxie.c: New files.
511 * archures.c: Add moxie support.
512 * configure.in: Add moxie support.
513 * configure: Rebuilt.
514 * config.bfd, archures.c: Add moxie support.
515 * bfd-in2.h: Rebuilt.
516
82b5c97a
CL
5172009-04-15 Christophe Lyon <christophe.lyon@st.com>
518
519 * elf32-arm.c (elf32_arm_final_link_relocate): Don't convert ARM
520 branch to an undef weak symbol into a jump to next instruction if
521 a PLT entry will be created.
522
0408dee6
DK
5232009-04-14 Dave Korn <dave.korn.cygwin@gmail.com>
524
525 * coffgen.c (make_a_section_from_file): Set the backend long
526 section names enable if long section names found on input.
527 * coffcode.h: Extend long section names documentation to match.
528
a0c402a5
L
5292009-04-08 H.J. Lu <hongjiu.lu@intel.com>
530
531 * elflink.c (elf_link_add_object_symbols): Warn alternate ELF
532 machine code.
533
4d28413b
DD
5342009-04-07 DJ Delorie <dj@redhat.com>
535
536 * archures.c: Add bfd_mach_mep_c5.
537 * bfd-in2.h: Likewise.
538 * cpu-mep.c: Add bfd_c5_arch.
539 * elf32-mep.c: Support it.
540
bb6198d2
L
5412009-04-07 H.J. Lu <hongjiu.lu@intel.com>
542
543 * elflink.c (_bfd_elf_section_already_linked): Add `\n' for
544 info->callbacks->einfo.
545 * linker.c (_bfd_generic_section_already_linked): Likewise.
546
bcb012d3
DD
5472009-04-06 DJ Delorie <dj@redhat.com>
548
549 * elf32-h8300.c (elf32_h8_relax_section): Relax MOVA opcodes.
550
db1fe6e9
L
5512009-04-06 H.J. Lu <hongjiu.lu@intel.com>
552
553 * coff-x86_64.c (bfd_pe_print_pdata): Defined to
554 _bfd_pex64_print_pdata only if PE is defined.
555
556 * libpei.h (_bfd_pep_print_x64_pdata): Renamed to ...
557 (_bfd_pex64_print_pdata): This.
558
559 * peXXigen.c (_bfd_pep_print_x64_pdata): Renamed to ...
560 (_bfd_pex64_print_pdata): This. Defined only if COFF_WITH_pex64
561 is defined.
562
c7c7219d
KT
5632009-04-05 Kai Tietz <kai.tietz@onevision.com>
564
565 * coff-x86_64.c (bfd_pe_print_pdata): Define as
566 _bfd_pep_print_x64_pdata.
567 * libpei.h (_bfd_pep_print_x64_pdata): Add prototype.
568 * peXXigen.c (_bfd_pep_print_x64_pdata): New.
569
3df502ae
SA
5702009-04-02 Sterling Augustine <sterling@jaw.hq.tensilica.com>
571
572 * elf32-xtensa.c (relax_property_section): Always set r_offset
573 to zero.
574
d3626fb0
CL
5752009-04-02 Christophe Lyon <christophe.lyon@st.com>
576
577 * elf32-arm.c (elf32_arm_stub_long_branch_v4t_thumb_thumb,
578 elf32_arm_stub_long_branch_v4t_thumb_thumb_pic): Two new long
579 branch stubs.
580 (elf32_arm_stub_type): New enum values for the two new stubs.
581 (arm_type_of_stub): Make use of the two new stubs.
582 (arm_size_one_stub): Handle the two new stubs.
583
fe723c87
MT
5842009-04-01 Matt Thomas <matt@netbsd.org>
585
586 * elf32-vax.c (elf_vax_check_relocs): Do not put relocations against
587 hidden symbols into the GOT or PLT.GOT.
588 (elf_vax_relocate_section): Do not emit a PCREL reloc
589 into a shared object if it is against a hidden symbol.
590
ee698300
RS
5912009-04-01 Richard Sandiford <r.sandiford@uk.ibm.com>
592
593 * xcofflink.c (xcoff_archive_info): Add contains_shared_object_p
594 and know_contains_shared_object_p.
595 (xcoff_archive_contains_shared_object_p): Add an "info" parameter.
596 Cache the result in the archive_info table.
597 (xcoff_auto_export_p): Add an "info" parameter and update the
598 call to xcoff_archive_contains_shared_object_p.
599 (xcoff_mark_auto_exports): Update accordingly.
600 (xcoff_post_gc_symbol): Likewise.
601
54e2dbe0
RS
6022009-04-01 Richard Sandiford <r.sandiford@uk.ibm.com>
603
604 * xcofflink.c (bfd_link_input_bfd): Treat __rtinit as C_HIDEXT
605 rather than C_EXT.
606
2e470849
RS
6072009-04-01 Richard Sandiford <r.sandiford@uk.ibm.com>
608
609 * coff-rs6000.c (member_layout): New structure.
610 (archive_iterator): Likewise.
611 (member_layout_init): New function.
612 (archive_iterator_begin): Likewise.
613 (archive_iterator_next): Likewise.
614 (xcoff_write_armap_old): Use the new iterator functions.
615 (do_shared_object_padding): Delete.
616 (xcoff_write_armap_big): Use the new iterator functions. Simplify
617 handling of arch_info.
618 (xcoff_write_archive_contents_old): Allocate arelt_data in the
619 first loop rather than the second. Allocate a member header if
620 there isn't one, then work out the stat information and length
621 in the first loop too. Use the new iterators for the second loop.
622 (xcoff_write_archive_contents_big): Likewise.
623
24c611d1
RS
6242009-04-01 Richard Sandiford <r.sandiford@uk.ibm.com>
625
626 * bfd-in.h (bfd_xcoff_split_import_path): Declare.
627 (bfd_xcoff_set_archive_import_path): Likewise.
628 * bfd-in2.h: Regenerate.
629 * xcofflink.c: Include libiberty.h.
630 (xcoff_archive_info): New structure.
631 (xcoff_archive_info_hash): New function.
632 (xcoff_archive_info_eq): Likewise.
633 (xcoff_get_archive_info): Likewise.
634 (_bfd_xcoff_bfd_link_hash_table_create): Initialize archive_info.
635 (bfd_xcoff_split_import_path): New function.
636 (bfd_xcoff_set_archive_import_path): Likewise.
637 (xcoff_set_import_path): Move earlier in file.
638 (xcoff_link_add_dynamic_symbols): Set the import path of a non-archive
639 object to the the directory part of the bfd's filename. Get the
640 import path and filename of an archive object from the archive's
641 xcoff_tdata, initializing it if necessary. Update use of
642 import_file_id.
643 (bfd_link_input_bfd): Update use of import_file_id.
644 (xcoff_write_global_symbol): Likewise.
645
d286971a
RS
6462009-04-01 Richard Sandiford <r.sandiford@uk.ibm.com>
647
648 * xcofflink.c (xcoff_link_hash_table): Moved from include/coff/xcoff.h.
649
6502009-04-01 Richard Sandiford <r.sandiford@uk.ibm.com>
651
652 * xcofflink.c (xcoff_link_create_extra_sections): Don't create
653 a .loader section for relocatable links.
654 (xcoff_need_ldrel_p): New function.
655 (xcoff_mark): Use it.
656 (bfd_xcoff_link_count_reloc): Only count loader relocs if there's
657 a loader section.
658 (xcoff_build_ldsym): New function, split out from...
659 (xcoff_build_ldsyms): ...here. Rename to...
660 (xcoff_post_gc_symbol): ...this. Only export symbols, and only
661 call xcoff_build_ldsym, if there's a loader section.
662 (xcoff_build_loader_section): New function, extracted verbatim from...
663 (bfd_xcoff_size_dynamic_sections): ...here. Only call it if
664 there's a loader section. Only add an __rtinit loader symbol
665 if there's a loader section. Update after above name change.
666 (xcoff_symbol_section, xcoff_create_ldrel): New functions.
667 (bfd_link_input_bfd): Use xcoff_need_ldrel_p, xcoff_symbol_section
668 and xcoff_create_ldrel.
669 (xcoff_write_global_symbol): Use xcoff_create_ldrel.
670 (xcoff_reloc_link_order): Likewise, but only call it if there's
671 a loader section. Use xcoff_symbol_section.
672 (_bfd_xcoff_bfd_final_link): Only use fdinfo.ldrel and fdinfo.ldsym
673 if there's a loader section.
674
8707bb87
RS
6752009-04-01 Richard Sandiford <rdsandiford@googlemail.com>
676
677 * xcofflink.c (bfd_link_input_bfd): Fix buffer overrun.
678
e780aef2
CL
6792009-04-01 Christophe Lyon <christophe.lyon@st.com>
680
681 * elf32-arm.c (group_sections): Rewrite loops for better
682 readability.
683
c301e700
DD
6842009-03-30 DJ Delorie <dj@redhat.com>
685
686 * elflink.c (elf_link_input_bfd): Don't try to resolve complex
687 relocs when doing a relocatable link.
688
3895f852
MM
6892009-03-28 Mark Mitchell <mark@codesourcery.com>
690
691 * coff-arm.c (coff_arm_merge_private_bfd_data): Use "error:", not
692 "ERROR:", in error messages.
693 * cpu-arm.c (bfd_arm_merge_machines): Likewise.
694 * elf-attrs.c (_bfd_elf_merge_object_attributes): Likewise.
695 * elf32-arm.c (tag_cpu_arch_combine): Likewise.
696 (elf32_arm_merge_eabi_attributes): Likewise.
697 (elf32_arm_merge_private_bfd_data): Likewise.
698
ea882e87
NC
6992009-03-27 Nick Clifton <nickc@redhat.com>
700
701 * section.c (bfd_get_section_contents): Detect and handle the case
702 where a section has the SEC_IN_MEMORY flag set but no actual
703 contents allocated.
704
9433b9b1
AM
7052009-03-26 Alan Modra <amodra@bigpond.net.au>
706
707 PR 6494
708 * elf.c (copy_elf_program_header): Do not check that PT_GNU_RELRO
709 p_filesz and p_memsz are equal. Use p_memsz as the segment size.
710 (assign_file_positions_for_non_load_sections): Zap PT_GNU_RELRO
711 if we don't find matching PT_LOAD when copying.
712
dc1aa734
SR
7132009-03-25 M R Swami Reddy <MR.Swami.Reddy@nsc.com>
714
715 * elf32-crx.c (crx_elf_howto_table): Zero the src_mask field of
716 the reloc descriptions.
717
34d3d6b9
HPN
7182009-03-25 Hans-Peter Nilsson <hp@axis.com>
719
720 * elf32-cris.c (cris_elf_relocate_section) <case R_CRIS_32_GD>
721 <R_CRIS_16_GOT_GD, case R_CRIS_32_GOT_GD>: Handle COMMON symbols.
722 <case R_CRIS_16_TPREL, R_CRIS_32_TPREL>: Ditto.
723
34274ccc
L
7242009-03-24 H.J. Lu <hongjiu.lu@intel.com>
725
726 * cpu-i386.c (bfd_x86_64_arch_intel_syntax): Make it static.
727 (bfd_i386_arch_intel_syntax): Likewise.
728 (i8086_arch): Likewise.
729 (bfd_x86_64_arch): Likewise.
730
019c5a2e
HPN
7312009-03-24 Hans-Peter Nilsson <hp@axis.com>
732
6718f446
HPN
733 * elf32-cris.c (cris_elf_relocate_section): <case
734 R_CRIS_16_DTPREL, R_CRIS_32_DTPREL>: Allow use of non-local
735 symbols for non-allocated sections. Don't check whether to
736 generate R_CRIS_DTPMOD for non-allocated sections.
737 (cris_elf_gc_sweep_hook) <case R_CRIS_32_DTPREL>: Don't
738 handle relocation GC:ing if applied to non-allocated section.
739 (cris_elf_check_relocs): Similar.
740
019c5a2e
HPN
741 * elf32-cris.c (cris_elf_relocate_section) <case R_CRIS_32_GD>
742 <R_CRIS_16_GOT_GD, R_CRIS_32_GOT_GD>: Don't include the TLS size
743 when emitting a known TP offset in the GOT.
744
ffcfec52
AM
7452009-03-23 Alan Modra <amodra@bigpond.net.au>
746
747 * elf64-ppc.c (synthetic_opd): Delete.
748 (compare_symbols): Look for .opd name rather than section match.
749 (ppc64_elf_get_synthetic_symtab): Likewise.
750
c6dd29ce
AM
7512009-03-21 Alan Modra <amodra@bigpond.net.au>
752
753 * elf32-ppc.c (is_pic_glink_stub): Delete.
754 (is_nonpic_glink_stub): New function.
755 (ppc_elf_get_synthetic_symtab): Check for last non-pic stub rather
756 than first pic one.
757 (struct ppc_elf_link_hash_table <glink_pltresolve>): Comment fix.
758
8c21ca21
AK
7592009-03-20 Martin Schwidefsky <schwidefsky@de.ibm.com>
760 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
761
762 * elf32-s390.c (elf_s390_check_relocs): Use the SYMBOL_*
4f360784 763 macros for visibilty and locality checks.
8c21ca21
AK
764 (elf_s390_adjust_dynamic_symbol): Likewise.
765 (allocate_dynrelocs): Likewise.
766 (elf_s390_relocate_section): Likewise.
767 (elf_s390_finish_dynamic_symbol): Likewise.
768 * elf64-s390.c (elf_s390_check_relocs): Likewise.
769 (elf_s390_adjust_dynamic_symbol): Likewise.
770 (allocate_dynrelocs): Likewise.
771 (elf_s390_relocate_section): Likewise.
772 (elf_s390_finish_dynamic_symbol): Likewise.
773
156621f3
KT
7742009-03-19 Kai Tietz <kai.tietz@onevision.com>
775
776 * bfd-in2.h: Regenerated.
777 * coffcode.h (sec_to_styp_flags): For pe-coff add SEC_READONLY
778 for debugging sections and map memory read/write dependent on
779 SEC_COFF_NOREAD.
780 (styp_to_sec_flags): Set SEC_COFF_NOREAD for sections
781 without memory read flags set.
782 * section.c: Add SEC_COFF_NOREAD to section flags.
783
d1fa68d3
AS
7842009-03-19 Andreas Schwab <schwab@linux-m68k.org>
785
786 * elf32-hppa.c (final_link_relocate): Cast bfd_vma values to long
787 for format string.
788
ad2adbc8
AM
7892009-03-19 Alan Modra <amodra@bigpond.net.au>
790
791 * elf32-spu.c (spu_elf_find_overlays): Separate error return from
792 "no overlays" return. If there are overlays, create overlay
793 manager entry symbols here, so that..
794 (spu_elf_build_stubs): ..we don't need to set them up here.
795 Simplify entry symbol tests.
796 * elf32-spu.h (spu_elf_find_overlays): Update prototype.
797
67cc5033
MK
7982009-03-18 Mark Kettenis <kettenis@gnu.org>
799
d1fa68d3 800 * elf.c (elfcore_grok_openbsd_procinfo)
67cc5033
MK
801 (elfcore_grok_openbsd_note): New functions.
802 (elf_parse_notes): Handle notes from OpenBSD ELF core files.
803
8d25cc3d
AM
8042009-03-18 Alan Modra <amodra@bigpond.net.au>
805
3889c459 806 * vms-hdr.c: Don't include alloca.h.
8d25cc3d
AM
807 * elf32-m68hc1x.c: Include alloca-conf.h.
808 * xsym.c: Likewise.
809 * elf64-hppa.c: Likewise. Remove existing #if's handling alloca.
810 * som.c: Likewise.
811 * Makefile.am: Run "make dep-am".
812 * Makefile.in: Regenerate.
813
a89e6478
DJ
8142009-03-17 Daniel Jacobowitz <dan@codesourcery.com>
815
816 * elf32-arm.c (elf32_arm_check_relocs): Correct symbian_p test.
817
a7e11ee1
AM
8182009-03-17 Alan Modra <amodra@bigpond.net.au>
819
820 * elf32-spu.h (struct spu_elf_params): ovly_flavour now only 1 bit.
821 Add compact_stub.
822 (emum _ovly_flavour): Delete ovly_compact, ovly_none.
823 * elf32-spu.c (struct spu_link_hash_table): Replace ovly_load and
824 ovly_return fields with ovly_entry[2]. Adjust all users.
825 (spu_elf_find_overlays): Set ovly_entry[1] from __icache_call_handler
826 when soft-icache.
827 (spu_elf_build_stubs): Likewise.
828 (ovl_stub_size): Change arg to spu_elf_params pointer. Adjust for
829 ovly_flavour changes. Update all callers.
830 (ovl_stub_size_log2): New function.
831 (build_stub): Handle compact icache stubs. Use different manager
832 entry point for stubs in non-icache area.
833 (spu_elf_size_stubs): Don't allocate space for indirect branch
834 descriptors.
835 (spu_elf_build_stubs): And don't built them.
836
607a83c9
AS
8372009-03-16 Andrew Stubbs <ams@codesourcery.com>
838
839 * dwarf2.c (read_section): Always use rawsize, if available.
840
588f62fc
AM
8412009-03-16 Alan Modra <amodra@bigpond.net.au>
842
843 * simple.c (bfd_simple_get_relocated_section_contents): Use larger
844 of rawsize and size for buffer.
845
a14c90c1
UW
8462009-03-15 Ulrich Weigand <uweigand@de.ibm.com>
847
848 * elf32-spu.c (spu_elf_check_vma): Do not reset auto_overlay
849 parameter just because fixed sections fit into local store.
850 (spu_elf_auto_overlay): Do not declare as "noreturn". Skip
851 generating overlays if fixed sections plus reserved stack
852 and heap space fit into local store.
853
30c665df
AM
8542009-03-15 Alan Modra <amodra@bigpond.net.au>
855
856 * elf32-spu.c (build_stub): Correct icache set_id.
857 (spu_elf_relocate_section): Likewise.
858
f95942a3
RS
8592009-03-14 Richard Sandiford <r.sandiford@uk.ibm.com>
860
861 * xcofflink.c (xcoff_link_check_archive_element): Only free the
862 symbol table if it was created by the current call.
863
670562e9
RS
8642009-03-14 Richard Sandiford <r.sandiford@uk.ibm.com>
865
866 * xcofflink.c (xcoff_build_ldsyms): Give imported descriptors
867 class XMC_DS rather than XMC_UA.
868
b64232cc
RS
8692009-03-14 Richard Sandiford <r.sandiford@uk.ibm.com>
870
871 * bfd-in.h (bfd_xcoff_size_dynamic_sections): Replace the
872 bfd_boolean export_defineds parameter with an unsigned int
873 auto_export_flags parameter.
874 * bfd-in2.h: Regenerate.
875 * xcofflink.c (xcoff_archive_contains_shared_object_p): New function,
876 split out from xcoff_build_ldsyms.
877 (xcoff_covered_by_expall_p): New function.
878 (xcoff_auto_export_p): New function, split out from xcoff_build_ldsyms
879 but with extra code to handle -bexpfull and -bexpall.
880 (xcoff_mark_auto_exports): New function.
881 (xcoff_build_ldsyms): Use xcoff_auto_export_p to decide whether
882 a function should be automatically exported.
883 (bfd_xcoff_size_dynamic_sections): Replace the export_defineds
884 parameter with an auto_export_flags parameter. Update ldinfo
885 accordingly. Use xcoff_mark_auto_exports to mark all automatically-
886 exported symbols.
887
7d504122
RS
8882009-03-14 Richard Sandiford <r.sandiford@uk.ibm.com>
889
890 * xcofflink.c (xcoff_mark_symbol_by_name): New function.
891 (bfd_xcoff_size_dynamic_sections): Use it to mark the entry,
892 init and fini functions. Do garbage collection for objects
893 without an entry point too.
894
8602d4fe
RS
8952009-03-14 Richard Sandiford <r.sandiford@uk.ibm.com>
896
897 * coffcode.h (coff_pointerize_aux_hook): Update CSECT_SYM_P to
898 check whether a symbol has csect information.
899 (coff_print_aux): Likewise.
900 * coff-rs6000.c (_bfd_xcoff_swap_aux_in): Handle auxillary csect
901 information for C_AIX_WEAKEXT too.
902 (_bfd_xcoff_swap_aux_out): Likewise.
903 (xcoff_reloc_type_br): Handle defweak symbols too.
904 * coff64-rs6000.c (_bfd_xcoff64_swap_aux_in): Handle auxillary csect
905 information for C_AIX_WEAKEXT too.
906 (_bfd_xcoff64_swap_aux_out): Likewise.
907 (xcoff64_reloc_type_br): Handle defweak symbols too.
908 * coffgen.c (coff_print_symbol): Handle auxillary function
909 information for C_AIX_WEAKEXT too.
910 * xcofflink.c (_bfd_xcoff_canonicalize_dynamic_symtab): Set BSF_WEAK
911 instead of BSF_GLOBAL if the L_WEAK flag is set.
912 (xcoff_dynamic_definition_p): New function.
913 (xcoff_link_add_dynamic_symbols): Use it to decide whether ldsym
914 defines h. Don't change h if ldsym isn't the definition. Otherwise,
915 always take the symbol class from the ldsym. Use weak bfd symbol
916 types for weak ldsyms.
917 (xcoff_link_add_symbols): Use CSECT_SYM_P and EXTERN_SYM_P.
918 Fix the check for whether a definition is from a shared object.
919 Allow redefinitions of weak symbols.
920 (xcoff_link_check_ar_symbols): Use EXTERN_SYM_P.
921 (xcoff_keep_symbol_p): Likewise.
922 (bfd_xcoff_size_dynamic_sections): Use CSECT_SYM_P.
923 (xcoff_link_input_bfd): Use CSECT_SYM_P and EXTERN_SYM_P.
924 Add .loader entries for C_AIX_WEAKEXT as well as C_EXT symbols,
925 but mark them as L_WEAK.
926 (xcoff_write_global_symbol): Treat weak symbols as C_AIX_WEAKEXT
927 instead of C_EXT if C_AIX_WEAKEXT == C_WEAKEXT.
928
5b49f6dc
RS
9292009-03-14 Richard Sandiford <r.sandiford@uk.ibm.com>
930
931 * xcofflink.c (xcoff_mark): When walking the relocations,
932 only mark the target symbol or the target section, not both.
933 (xcoff_final_definition_p): New function.
934 (xcoff_keep_symbol_p): Use it to check whether an external XCOFF
935 symbol is a valid definition of the associated output symbol.
936 Use XCOFF_ALLOCATED to stop the same hash table entry having
937 two output symbols.
938 (bfd_xcoff_size_dynamic_sections): Set XCOFF_ALLOCATED when
939 keeping a symbol.
940 (xcoff_link_input_bfd): Use xcoff_final_definition_p.
941
c4037431
RS
9422009-03-14 Richard Sandiford <r.sandiford@uk.ibm.com>
943
944 * xcofflink.c (bfd_xcoff_import_symbol): Treat imported absolute
945 symbols as XMC_XO.
946
3df13c4a
RS
9472009-03-14 Richard Sandiford <r.sandiford@uk.ibm.com>
948
949 * libcoff-in.h (xcoff_tdata): Add a lineno_counts field.
950 * libcoff.h: Regenerate.
951 * xcofflink.c (xcoff_link_add_symbols): Record per-symbol
952 line-number counts in the bfd's lineno_counts field.
953 Don't keep per-csect line-number counts.
954 (xcoff_sweep): Don't update per-csect line-number counts.
955 (bfd_xcoff_size_dynamic_sections): Count the number of line-number
956 entries in each output section.
957 (xcoff_link_input_bfd): Get the number of line numbers from
958 the bfd's lineno_counts field, rather than recalculating it
959 from scratch. Fix the range check when updating C_BINCL and
960 C_EINCL symbols.
961 (_bfd_xcoff_bfd_final_link): Don't count the output line numbers
962 here. Don't expect csects to have line-number counts.
963
e450936a
RS
9642009-03-14 Richard Sandiford <r.sandiford@uk.ibm.com>
965
966 * libcoff-in.h (xcoff_tdata): Change debug_indices to a signed long.
967 * libcoff.h: Regenerate.
968 * xcofflink.c (xcoff_keep_symbol_p): New function, using the
969 "skip" logic from xcoff_link_input_bfd.
970 (bfd_xcoff_size_dynamic_sections): Explicitly skip dynamic
971 objects in a dynamic link, rather than checking whether csectpp
972 is null. Always allocate debug_index for other objects,
973 and always go through the loop. Update the type of debug_index
974 after the change above. Read the auxillary csect information
975 and use xcoff_keep_symbol_p to decide whether a symbol should
976 be kept. Set its debug_index to -2 if not.
977 (xcoff_link_input_bfd): Update the type of debug_index after
978 the change above and always expect it to be nonnull. Use it to
979 test whether a symbol should be stripped, rather than making the
980 decision here. Postpone all symbol creation to the second pass.
981
47dfb2ca
RS
9822009-03-14 Richard Sandiford <r.sandiford@uk.ibm.com>
983
984 * xcofflink.c: (xcoff_mark_symbol): Mark the TOC section when
985 creating a descriptor.
986 (xcoff_sweep): Don't mark toc_section unless it's needed.
987 (bfd_xcoff_size_dynamic_sections): Skip the toc_section
988 when marking every bfd.
989 (xcoff_link_input_bfd): Skip all TOC anchors.
990 (xcoff_toc_section_p, xcoff_find_tc0): New functions.
991 (_bfd_xcoff_bfd_final_link): Don't set the output bfd's TOC anchor
992 to -1; call xcoff_find_tc0 instead.
993
4cc02a02
RS
9942009-03-14 Richard Sandiford <r.sandiford@uk.ibm.com>
995
996 * libcoff-in.h (xcoff_section_tdata): Update commentary.
997 * libcoff.h: Regenerate.
998 * xcofflink.c (xcoff_link_add_symbols): Set the csect of XTY_ER
999 symbols to bfd_und_section_ptr or bfd_abs_section_ptr, rather than
1000 the previous symbol's csect. Treat last_symndx as an inclusive value
1001 and simplify its handling.
1002 (xcoff_mark): Treat last_symndx as an inclusive value. Only mark
1003 symbols with the right csect. Don't mark rsec when processing
d1fa68d3 1004 relocations against undefined or absolute sections.
4cc02a02
RS
1005 (bfd_xcoff_size_dynamic_sections): Don't check the SEC_MARK flag
1006 of bfd_und_section_ptr.
1007 (xcoff_link_input_bfd): Likewise.
1008
858ef0ce
RS
10092009-03-14 Richard Sandiford <r.sandiford@uk.ibm.com>
1010
1011 * coff-rs6000.c (xcoff_ppc_relocate_section): Report relocations
1012 against undefined symbols if the symbol's XCOFF_WAS_UNDEFINED
1013 flag is set. Assert that all undefined symbols are either
1014 imported or defined by a dynamic object.
1015 * coff64-rs6000.c (xcoff64_ppc_relocate_section): Likewise.
1016 * xcofflink.c (xcoff_link_add_symbols): Extend function-symbol
1017 handling to all relocations. Only set XCOFF_CALLED for function
1018 symbols.
1019 (xcoff_find_function): New function, split out from...
1020 (bfd_xcoff_export_symbol) ...here.
1021 (xcoff_set_import_path): New function, split out from...
1022 (bfd_xcoff_import_symbol): ...here. Remove assertion for old
1023 meaning of XCOFF_CALLED.
1024 (xcoff_mark_symbol): If we mark an undefined and unimported
1025 symbol, find some way of defining it. If the symbol is a function
1026 descriptor, fill in its definition automatically. If the symbol
1027 is a function, mark its descriptor and allocate room for global
1028 linkage code. Otherwise mark the symbol as implicitly imported.
1029 Move the code for creating function descriptors from...
d1fa68d3 1030 (xcoff_build_ldsyms): ...here. Use XCOFF_WAS_UNDEFINED to
858ef0ce
RS
1031 check for symbols that were implicitly defined.
1032 (xcoff_mark): Don't count any dynamic relocations against
1033 function symbols.
1034 (bfd_xcoff_size_dynamic_sections): Save the rtld parameter
1035 in the xcoff link info.
1036 (xcoff_link_input_bfd): Remove handling of undefined and
1037 unexported symbols.
1038
12b2cce9
RS
10392009-03-14 Richard Sandiford <r.sandiford@uk.ibm.com>
1040
1041 * coff-rs6000.c (xcoff_reloc_type_br): Make the branch absolute
1042 if the target is absolute. Fix comment typo.
1043 (xcoff_ppc_relocate_section): Remove FIXME.
1044 * coff64-rs6000.c (xcoff64_reloc_type_br): Make the branch absolute
1045 if the target is absolute.
1046
0e3212ad
RS
10472009-03-14 Richard Sandiford <r.sandiford@uk.ibm.com>
1048
1049 * xcofflink.c (xcoff_mark, xcoff_link_input_bfd): Don't copy
1050 R_POS and R_NEG relocations against absolute symbols to the
1051 .loader section.
1052
d19d97e9
RS
10532009-03-14 Richard Sandiford <r.sandiford@uk.ibm.com>
1054
1055 * coff64-rs6000.c (xcoff64_write_object_contents): Set the cputype
1056 to 2 for bfd_mach_ppc_620.
1057
e5231592
RS
10582009-03-14 Richard Sandiford <r.sandiford@uk.ibm.com>
1059
1060 * config.bfd: Treat AIX 6+ in the same way as AIX 5.
1061 * configure.in: Likewise.
1062 * configure: Regenerate.
1063
3516e984
L
10642009-03-13 H.J. Lu <hongjiu.lu@intel.com>
1065
1066 PR binutils/9945
1067 * elf.c (assign_section_numbers): Generate symbol table if there
1068 is any relocation in output.
1069 (_bfd_elf_compute_section_file_positions): Likewise.
1070
ce98a316
NC
10712009-03-13 Nick Clifton <nickc@redhat.com>
1072
1073 PR 9934
1074 * elf-bfd.h (NUM_SHDR_ENTRIES): Cope with an empty section.
1075 * elflink.c (elf_link_read_relocs_from_section): Use
1076 NUM_SHDR_ENTRIES. Gracefully handle the case where there are
1077 relocs but no symbol table.
1078 * elf32-arm.c (elf32_arm_check_relocs): Likewise.
1079
c4fb387b
L
10802009-03-12 H.J. Lu <hongjiu.lu@intel.com>
1081
1082 PR ld/9938
1083 * elf32-i386.c (elf_i386_check_tls_transition): Use strncmp
1084 to check ___tls_get_addr.
1085
1086 * elf64-x86-64.c (elf64_x86_64_check_tls_transition): Use
1087 strncmp to check __tls_get_addr.
1088
53638231
AS
10892009-03-12 Andrew Stubbs <ams@codesourcery.com>
1090
1091 * dwarf2.c (read_section): Always check the offset, even when the
1092 section has been read before.
1093
09e8c3bf
L
10942009-03-11 H.J. Lu <hongjiu.lu@intel.com>
1095
1096 * elf32-i386.c (elf_i386_check_tls_transition): Fix a typo in
1097 comments.
1098
36e4dce6
CD
10992009-03-11 Chris Demetriou <cgd@google.com>
1100
1101 * bfd.c (BFD_DETERMINISTIC_OUTPUT): New flag.
1102 * bfd-in2.h: Regenerate.
1103 * archive.c (bfd_ar_hdr_from_filesystem): If BFD_DETERMINISTIC_OUTPUT
1104 flag is set, use 0 for uid, gid, and timestamp, and use 0644 for file
1105 mode.
1106 (bsd_write_armap): Likewise.
1107 (_bfd_archive_bsd_update_armap_timestamp): If BFD_DETERMINISTIC_OUTPUT
1108 flag is set, do nothing.
1109 (coff_write_armap): If BFD_DETERMINISTIC_OUTPUT flag is set, use 0
1110 for timestamp.
1111
9b175a76
UW
11122009-03-11 Ulrich Weigand <uweigand@de.ibm.com>
1113
1114 * elf32-spu.c (find_function_stack_adjust): Handle sf instruction
1115 used to update stack pointer.
1116
f501de17
DA
11172009-03-07 John David Anglin <dave.anglin@nrc-cnrc.gc.ca>
1118
1119 PR binutils/9921
1120 * som.c (som_bfd_derive_misc_symbol_info): Set symbol type ST_ABSOLUTE
1121 for unknown symbols in absolute section.
1122
d11fd249
NC
11232009-03-06 Nick Clifton <nickc@redhat.com>
1124
1125 * po/es.po: Updated Spanish translation.
1126
8cd931b7
CL
11272009-03-05 Christophe Lyon <christophe.lyon@st.com>
1128
1129 * elf32-arm.c (group_sections): Take next section size into
1130 account before accepting to group it.
1131
5fa9e92f
CL
11322009-03-05 Christophe Lyon <christophe.lyon@st.com>
1133
1134 * elf32-arm.c (arm_type_of_stub): Handle long branches targetting
1135 PLT entries.
1136 (elf32_arm_final_link_relocate): Likewise.
1137
b92997d6
AM
11382009-03-05 Moritz Kroll <Moritz.Kroll@gmx.de>
1139
1140 PR 9923
1141 * peXXigen.c (_bfd_XXi_final_link_postscript): Check h->root.type.
1142
727fc41e
AM
11432009-03-04 Alan Modra <amodra@bigpond.net.au>
1144
1145 * reloc.c (BFD_RELOC_PPC_TLSGD, BFD_RELOC_PPC_TLSLD): New.
1146 * section.c (struct bfd_section): Add has_tls_get_addr_call.
1147 (BFD_FAKE_SECTION): Init new flag.
1148 * ecoff.c (bfd_debug_section): Likewise.
1149 * bfd-in2.h: Regenerate.
1150 * libbfd.h: Regenerate.
1151 * elf32-ppc.c (ppc_elf_howto_raw): Add R_PPC_TLSGD and R_PPC_TLSLD.
1152 (ppc_elf_reloc_type_lookup): Handle new relocs.
1153 (ppc_elf_check_relocs): Set has_tls_get_addr_call on finding such
1154 without marker relocs.
1155 (ppc_elf_tls_optimize): Allow out-of-order __tls_get_addr relocs
1156 if section has no old-style calls.
1157 (ppc_elf_relocate_section): Set tls_mask for non-tls relocs too.
1158 Don't try to optimize new-style __tls_get_addr call when handling
1159 arg setup relocs. Instead do so for R_PPC_TLSGD and R_PPC_TLSLD
1160 relocs.
1161 * elf64-ppc.c (ppc64_elf_howto_raw): Add R_PPC64_TLSGD, R_PPC64_TLSLD.
1162 (ppc64_elf_reloc_type_lookup): Handle new relocs.
1163 (ppc64_elf_check_relocs): Set has_tls_get_addr_call on finding such
1164 without marker relocs.
1165 (ppc64_elf_tls_optimize): Allow out-of-order __tls_get_addr relocs
1166 if section has no old-style calls. Set toc_ref for new relocs as
1167 appropriate.
1168 (ppc64_elf_relocate_section): Set tls_mask for non-tls relocs too.
1169 Don't try to optimize new-style __tls_get_addr call when handling
1170 arg setup relocs. Instead do so for R_PPC_TLSGD and R_PPC_TLSLD
1171 relocs.
1172
51dec227
AM
11732009-03-04 Alan Modra <amodra@bigpond.net.au>
1174
1175 PR 6768
1176 * configure.in: Test for ld --as-needed support. Link shared
1177 libbfd against libm.
1178 * configure: Regenerate.
1179
a1f7ca36
AM
11802009-03-03 Alan Modra <amodra@bigpond.net.au>
1181
1182 * Makefile.am: Run "make dep-am".
1183 * Makefile.in: Regenerate.
1184
c3b7224a
NC
11852009-03-02 Qinwei <qinwei@sunnorth.com.cn>
1186
1187 * elf32-score7.c: New file.
1188 * elf32-score.h: New file.
1189 * elf32-score.c: Add code to support score 7. Set score7 as the
1190 default.
1191 * cpu-score.c: Add score7 architecure.
1192 (compatibile): New function.
1193 * Makefile.am: Add rules for building elf32-score7 object.
1194 * Makefile.in: Regenerate.
1195 * configure.in: Add elf32-score7 object to score vectors.
1196 * configure: Regenerate.
1197 * reloc.c: Add score7 relocs.
1198 * archures.c: Add score3 and score7 machine numbers.
1199 * bfd-in2.h: Regenerate.
1200 * libbfd.h: Regenerate.
1201
58e24671
RW
12022009-03-01 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
1203
1204 * configure: Regenerate.
1205
5887528b
DA
12062009-03-01 John David Anglin <dave.anglin@nrc-cnrc.gc.ca>
1207
d45b7d74
DA
1208 * elf32-hppa.c (hppa32_elf_local_refcounts): New function.
1209 (elf32_hppa_check_relocs): Use it.
1210
5887528b
DA
1211 * elf_hppa_add_symbol_hook (elf_hppa_add_symbol_hook): Move to
1212 elf64-hppa.c.
1213 (elf_hppa_unmark_useless_dynamic_symbols): Likewise.
1214 (elf_hppa_remark_useless_dynamic_symbols): Likewise.
1215 (elf_hppa_is_dynamic_loader_symbol): Likewise.
1216 (elf_hppa_record_segment_addrs): Likewise.
1217 (elf_hppa_final_link): Likewise.
1218 (elf_hppa_relocate_insn): Likewise.
1219 (elf_hppa_final_link_relocate): Likewise.
1220 (elf64_hppa_relocate_section): Likewise.
1221 * elf64-hppa.c: Insert above.
1222
a03bd320
DA
12232009-02-28 John David Anglin <dave.anglin@nrc-cnrc.gc.ca>
1224
1225 * elf-hppa.h (elf_hppa_final_link): Use elf_hppa_final_link.
1226 (elf_hppa_final_link_relocate ): Rewrite eliminating dynamic hash table.
1227 (elf_hppa_relocate_section): Likewise.
1228 * elf64-hppa.c (struct elf64_hppa_link_hash_entry): Change to derive
1229 from struct elf_link_hash_entry. Add count field.
1230 (struct elf64_hppa_dyn_hash_table): Delete.
1231 (struct elf64_hppa_link_hash_table): Delete dyn_hash_table field.
1232 (elf64_hppa_hash_table): Rename to hppa_link_hash_table.
1233 (hppa_elf_hash_entry, eh_name): Define.
1234 (elf64_hppa_new_dyn_hash_entry): Delete.
1235 (elf64_hppa_dyn_hash_lookup): Delete.
1236 (elf64_hppa_dyn_hash_traverse): Delete.
1237 (get_dyn_name): Delete.
1238 (elf64_hppa_finalize_opd): Use struct elf_link_hash_entry * instead
1239 of struct elf64_hppa_dyn_hash_entry *.
1240 (elf64_hppa_finalize_dlt, llocate_global_data_dlt,
1241 allocate_global_data_plt, allocate_global_data_stub,
1242 allocate_global_data_opd, count_dyn_reloc, allocate_dynrel_entries):
1243 Likewise.
1244 (hppa64_link_hash_newfunc): New.
1245 (elf64_hppa_hash_table_create): Rework.
1246 (count_dyn_reloc): Likewise.
1247 (hppa64_elf_local_refcounts): New.
1248 (elf64_hppa_check_relocs): Rework using standard technique for recording
1249 local DLT, PLT and OPD reference counts.
1250 (elf64_hppa_dynamic_symbol_p): Revise using "eh" for struct
1251 elf_link_hash_entry *.
1252 (elf64_hppa_mark_exported_functions, allocate_global_data_dlt,
1253 allocate_global_data_plt, allocate_global_data_stub,
1254 allocate_global_data_opd, allocate_dynrel_entries,
1255 elf64_hppa_adjust_dynamic_symbol,
1256 elf64_hppa_mark_milli_and_exported_functions): Likewise.
1257 (elf64_hppa_create_dynamic_sections, elf64_hppa_size_dynamic_sections):
1258 Use hppa_link_hash_table. Rework.
1259 (elf64_hppa_link_output_symbol_hook): Rework.
1260 (elf64_hppa_finish_dynamic_symbol, elf64_hppa_finalize_opd,
1261 elf64_hppa_finalize_dlt, elf64_hppa_finalize_dynreloc,
1262 elf64_hppa_finish_dynamic_sections): Likewise.
1263
ebe24dd4
CL
12642009-02-26 Christophe Lyon <christophe.lyon@st.com>
1265
1266 * elf32-arm.c (stub_reloc_type): Removed.
1267 (insn_sequence): Renamed reloc_type field to r_type.
1268 (elf32_arm_stub_long_branch_v4t_arm_thumb_pic): New stub.
1269 (elf32_arm_stub_long_branch_v4t_thumb_arm_pic): Likewise.
1270 (elf32_arm_stub_long_branch_thumb_only_pic): Likewise.
1271 (elf32_arm_stub_type): Add new enum entries for the new stubs.
1272 (arm_stub_is_thumb): Catch new stubs.
1273 (arm_type_of_stub): Handle new stubs.
1274 (arm_size_one_stub): Use ARRAY_SIZE. Handle new stubs.
1275 (bfd_elf32_arm_process_before_allocation): Remove useless
1276 condition.
1277
b9d678e0
L
12782009-02-25 H.J. Lu <hongjiu.lu@intel.com>
1279
1280 * elf.c (elf_find_function): Use is_function_type to check
1281 function symbol.
1282
56fb3749
SA
12832009-02-24 Sterling Augustine <sterling@jaw.hq.tensilica.com>
1284
1285 * xtensa-modules.c: Revert to previous version 1.11 due
1286 to inadvertant commit.
1287
658ff993
SA
12882009-02-24 Sterling Augustine <sterling@tensilica.com>
1289
1290 * elf32-xtensa.c (text_action_add): Separate test for action
1291 type. Break if saved action is ta_widen_insn at same offset.
1292
cf3eccff
DJ
12932009-02-24 Daniel Jacobowitz <dan@codesourcery.com>
1294
1295 * elf32-arm.c (elf32_arm_stub_long_branch_any_any_pic): Rename
1296 to elf32_arm_stub_long_branch_any_arm_pic.
1297 (elf32_arm_stub_long_branch_any_thumb_pic): New.
1298 (enum elf32_arm_stub_type, arm_type_of_stub)
1299 (arm_size_one_stub): Handle any to ARM PIC and any to Thumb PIC
1300 separately.
1301
07d72278
DJ
13022009-02-24 Joseph Myers <joseph@codesourcery.com>
1303
1304 * elf32-arm.c (PREV_SEC): Update comment.
1305 (group_sections): Rename argument to stubs_always_after_branch.
1306 Reverse the list and place stubs at the end of input sections.
1307 Undefine NEXT_SEC.
1308 (elf32_arm_size_stubs): Update to use stubs_always_after_branch.
1309
4e31c731
DJ
13102009-02-23 Daniel Jacobowitz <dan@codesourcery.com>
1311
1312 * elf32-arm.c (arm_build_one_stub): Initialize stub_reloc_offset.
1313 Fix formatting.
1314 (arm_size_one_stub): Remove unnecessary break.
1315 (arm_map_one_stub): Fix formatting. Return after BFD_FAIL.
1316
13172009-02-23 Christophe Lyon <christophe.lyon@st.com>
461a49ca
DJ
1318
1319 * elf32-arm.c (stub_insn_type): New type.
1320 (stub_reloc_type): Likewise.
1321 (insn_sequence): Likewise.
1322 (elf32_arm_stub_long_branch_any_any): Encode using insn_sequence.
1323 (elf32_arm_stub_long_branch_v4t_arm_thumb): Likewise.
1324 (elf32_arm_stub_long_branch_thumb_only): Likewise.
1325 (elf32_arm_stub_long_branch_v4t_thumb_arm): Likewise.
1326 (elf32_arm_stub_short_branch_v4t_thumb_arm): Likewise.
1327 (elf32_arm_stub_long_branch_any_any_pic): Likewise.
1328 (elf32_arm_stub_hash_entry): Add new helper fields.
1329 (stub_hash_newfunc): Initialize these new fields.
1330 (arm_build_one_stub): Encode Arm and Thumb instructions separately
1331 to take endianness into account.
1332 (arm_size_one_stub): Compute size of stubs using insn_sequence.
1333 (arm_map_one_stub): Code is now more generic, thanks to
1334 insn_sequence.
1335
c2b4a39d
CL
13362009-02-23 Christophe Lyon <christophe.lyon@st.com>
1337
1338 * elf32-arm.c (elf32_arm_stub_long_branch_thumb_only): Fix stub
1339 code.
1340 (elf32_arm_stub_long_branch_v4t_thumb_arm): Likewise.
1341 (arm_type_of_stub): Use Thumb-only long branch stub (non-PIC) when
1342 BLX is not available. Fix typo in warning message. Add comments
1343 and improve formatting.
1344 (arm_build_one_stub): Adjust to new
1345 elf32_arm_stub_long_branch_v4t_thumb_arm stub.
1346 (arm_map_one_stub): Likewise.
1347
0c376465 13482009-02-23 Tristan Gingold <gingold@adacore.com>
a60a89d6
TG
1349 Eric Botcazou <ebotcazou@adacore.com>
1350 Douglas B Rupp <rupp@gnat.com>
0c376465
TG
1351
1352 * vms.h: Update copyright year, fix comments, reorder declarations.
1353 (_bfd_save_vms_section): Remove the prototype.
1354 (EGPS_S_V_NO_SHIFT): New constant.
1355 (bfd_vms_set_section_flags): New prototype.
1356 (EGPS_S_B_ALIGN, EGPS_S_W_FLAGS, EGPS_S_L_ALLOC, EGPS_S_B_NAMLNG): New
1357 constants.
1358 (EGSY_S_W_FLAGS): Ditto.
1359 (EGSY_S_V_QUAD_VAL): Ditto.
1360 (ESDF_S_L_VALUE, ESDF_S_L_PSINDX, ESDF_S_B_NAMLNG): Ditto.
1361 (EGST_S_W_FLAGS, EGST_S_Q_LP_1, EGST_S_Q_LP_2, EGST_S_L_PSINDX,
1362 EGST_S_B_NAMLNG): Ditto.
1363 (ESRF_S_B_NAMLNG): Ditto.
1364 (ETIR_S_C_HEADER_SIZE): Ditto.
1365 (EGPS_S_V_ALLOC_64BIT): Ditto.
1366 (DST_S_C_EPILOG): Ditto.
1367 (DST_S_C_SRC_SETLNUM_L, DST_S_C_SRC_SETLNUM_W) : Ditto.
1368 (DST_S_C_SRC_INCRLNUM_B): Ditto.
1369 (DST_S_B_PCLINE_UNSBYTE, DST_S_W_PCLINE_UNSWORD): Ditto.
1370 (DST_S_L_PCLINE_UNSLONG): Ditto.
1371 (DST_S_B_MODBEG_NAME, DST_S_L_RTNBEG_ADDRESS) : Ditto
1372 (DST_S_B_RTNBEG_NAME, DST_S_L_RTNEND_SIZE): Ditto
1373 (DST_S_C_SOURCE_HEADER_SIZE): Ditto.
1374 (DST_S_B_SRC_DF_LENGTH, DST_S_W_SRC_DF_FILEID): Ditto.
1375 (DST_S_B_SRC_DF_FILENAME, DST_S_B_SRC_UNSBYTE): Ditto.
1376 (DST_S_B_SRC_UNSBYTE): Ditto.
1377 (DST_S_W_SRC_UNSWORD, DST_S_L_SRC_UNSLONG): Ditto.
1378 Add prototypes.
1379 (vms_section, vms_reloc): Remove types.
1380 (hdr_struc): Replaced by ...
1381 (hdr_struct): ... new type.
1382 (EMH_S_W_HDRTYP, EMH_S_B_STRLVL, EMH_S_L_ARCH1): New constants.
1383 (EMH_S_L_ARCH2, EMH_S_L_RECSIZ, EMH_S_B_NAMLNG): Ditto.
1384 (EMH_DATE_LENGTH): Ditto.
1385 (eom_struc): Replaced by ...
1386 (eom_struct): ... new type.
1387 (EEOM_S_L_TOTAL_LPS, EEOM_S_W_COMCOD, EEOM_S_B_TFRFLG): New constants.
1388 (EEOM_S_L_PSINDX, EEOM_S_L_TFRADR): Ditto.
1389 (EIHD_S_K_MAJORID, EIHD_S_K_MINORID, EIHD_S_K_EXE): Ditto.
1390 (EIHD_S_L_SIZE, EIHD_S_L_ISDOFF, EIHD_S_L_SYMDBGOFF): Ditto.
1391 (EIHD_S_Q_SYMVVA, EIHD_S_L_IMGTYPE): Ditto.
1392 (EISD_S_L_EISDSIZE, EISD_S_L_SECSIZE, EISD_S_Q_VIR_ADDR): Ditto.
1393 (EISD_S_L_FLAGS, EISD_S_L_VBN, EISD_S_R_CONTROL): Ditto.
1394 (EISD_S_L_IDENT, EISD_S_T_GBLNAM): Ditto.
1395 (EISD_S_M_GBL, EISD_S_M_CRF, EISD_S_M_DZRO, EISD_S_M_WRT): Ditto.
1396 (EISD_S_M_INITALCODE, EISD_S_M_BASED, EISD_S_M_FIXUPVEC): Ditto.
1397 (EISD_S_M_RESIDENT, EISD_S_M_VECTOR, EISD_S_M_PROTECT): Ditto.
1398 (EISD_S_M_LASTCLU, EISD_S_M_EXE, EISD_S_M_NONSHRADR): Ditto.
1399 (EISD_S_M_QUAD_LENGTH, EISD_S_M_ALLOC_64BIT): Ditto.
1400 (EIHS_S_L_DSTVBN, EIHS_S_L_DSTSIZE, EIHS_S_L_GSTVBN): Ditto.
1401 (EIHS_S_L_GSTSIZE, EIHS_S_L_DMTVBN, EIHS_S_L_DMTBYTES): Ditto.
1402 (DBG_S_L_DMT_MODBEG, DBG_S_L_DST_SIZE): Ditto.
1403 (DBG_S_W_DMT_PSECT_COUNT, DBG_S_C_DMT_HEADER_SIZE): Ditto.
1404 (DBG_S_L_DMT_PSECT_START, DBG_S_L_DMT_PSECT_LENGTH)
1405 (DBG_S_C_DMT_PSECT_SIZE): Ditto.
1406 (enum file_type_enum): New type.
1407 (struct location_struct): Removed.
1408 (struct fileinfo, struct srecinfo, struct lineinfo): New types.
1409 (struct funcinfo, struct module): Ditto.
1410 (struct vms_private_data_struct): Update fields.
1411 (struct vms_section_data_struct): New type.
1412
1413 * vms.c: Update copyright year, fix comments,
1414 Fix includes for DECC, add prototypes.
1415 (vms_initialize): Use bfd_alloc instead of bfd_zalloc and remove
1416 some initializers.
1417 Use flavour to set is_vax, location_stack is removed.
1418 (struct pair): Declare.
1419 (fill_section_ptr): Initialize variables at declaration.
1420 Add guard to set SECTION_SYM flag, handlde und section.
1421 (vms_fixup_sections): Use struct pair for fill_section_ptr argument.
1422 (_bfd_vms_slurp_object_records): New function, replaces previous
1423 vms_object_p.
1424 (vms_slurp_module): New function.
1425 (vms_slurp_image): Ditto.
1426 (vms_object_p): Complete rewrite.
1427 (vms_mkobject): Use is_vax field to slect architecture.
1428 (free_reloc_stream): New function.
1429 (vms_convert_to_var): Ditto.
1430 (vms_convert_to_var_1): Ditto.
1431 (vms_convert_to_var_unix_filename): Ditto.
1432 (vms_close_and_cleanup): Call free_reloc_stream, convert file to
1433 VAR format on VMS.
1434 (vms_new_section_hook): Set alignment to 0, allocate private data.
1435 (vms_get_section_contents): Load content.
1436 (vms_get_symbol_info): Handle undefined section.
1437 (vms_find_nearest_line): Handle.
1438 (alloc_reloc_stream): New function.
1439 (vms_slurp_reloc_table): Ditto.
1440 (vms_get_reloc_upper_bound): Make it real.
1441 (vms_canonicalize_reloc): Do the real work.
1442 (alpha_howto_table): Add ALPHA_R_NOP, ALPHA_R_BSR, ALPHA_R_LDA,
1443 ALPHA_R_BOH.
1444 (vms_bfd_reloc_type_lookup): Handle NOP, BSR, LDA and BOH.
1445 (vms_set_arch_mach): Check arch.
1446 (vms_set_section_contents): Copy the content after allocation.
1447 (vms_alpha_vec): Update object flags.
1448
1449 * vms-tir.c: Update copyright year, fix comments,
1450 add prototypes for new functions.
1451 (dst_define_location): New function.
1452 (dst_restore_location): New function.
1453 (dst_retrieve_location): New function.
1454 (dst_check_allocation): New function.
1455 (image_dump): Call dst_check_allocation.
1456 (image_write_b): Ditto.
1457 (image_write_w): Ditto.
1458 (image_write_l): Ditto.
1459 (image_write_q): Ditto.
1460 (cmd_name): Handle STA_LW, STA_QW, STO_OFF, STO_IMM, STO_IMMR, STO_LW,
1461 STO_QW, OPR_ADD, CTL_SETRB, STC_LP_PSB, CTL_DFLOC, CTL_STLOC,
1462 CTL_STKDL.
1463 Call error handler instead of abort if name is not known.
1464 (etir_sta): Add quarter_relocs argument and set it.
1465 Fix cast.
1466 (etir_sto): Ditto.
1467 (etir_opr): Ditto, return FALSE in case of error.
1468 (etir_ctl): Add quarter_relocs argument and set it, fix cast.
1469 Fix CTL_DFLOC, CTL_STLOC, CTL_STKDL.
1470 (etir_stc): Add quarter_relocs argument and set it, fix cast.
1471 Fix STC_LP, STC_LP_PSB, STC_GBL and STC_CGA.
1472 Handle STC_LP_PSB, STC_BSR_GBL, STC_LDA_GBL, STC_BOH_GBL.
1473 Move STC_NOP_PS, STC_BSR_PS, STC_LDA_PS, STC_BOH_PS, STC_NBH_PS.
1474 Return FALSE in case of error.
1475 (tir_sta): Change sign of psect.
1476 (tir_ctl): Ditto.
1477 (tir_cmd): Fix cast. Makes tir_table static const.
1478 (etir_cmd): Add quarter_relocs argument, makes etir_table const,
1479 add argument to explain.
1480 (analyze_etir): Initialize maxptr, add quarter_relocs
1481 declaration, move some declarations into inner scopes.
1482 Handle quarter_relocs and STO_IMM.
1483 (_bfd_vms_slurp_tir): Use constant instead of hard-coded values.
1484 (_bfd_vms_slurp_relocs): New function.
1485 (_bfd_vms_decode_relocs): New function.
1486 (sto_imm): Rewritten.
1487 (start_first_etbt_record): New function.
1488 (start_another_etbt_record): Ditto.
1489 (etir_output_check): Ditto.
1490 (defer_reloc_p): Ditto.
1491 (_bfd_vms_write_tir): Remove nextoffset, convert a while-loop to
1492 a for-loop. Correctly deals with contents, deals with .vmsdebug,
1493 rewritte relocations handling.
1494 (_bfd_vms_write_tbt): Removed.
1495 (_bfd_vms_write_dbg): Ditto.
1496
1497 * vms-misc.c: Update copyright year, Fix comments.
1498 (_bfd_vms_get_header_values): Use 'size' instead of 'length'.
1499 (maybe_adjust_record_pointer_for_object): New function.
1500 (_bfd_vms_get_first_record): New function, replaces ...
1501 (_bfd_vms_get_record): .. removed.
1502 (_bfd_vms_get_object_record): New function.
1503 (_bfd_vms_get_object_record): New function.
1504 (vms_get_remaining_object_record): New function, replaces ...
1505 (_bfd_vms_get_next_record): ... removed.
1506 (add_new_contents): Removed.
1507 (_bfd_save_vms_section): Removed.
1508 (_bfd_get_vms_section): Removed.
1509 (_bfd_vms_output_flush): Write in VAR format.
1510 (new_symbol): Don't make UND section.
1511
1512 * vms-hdr.c: Update copyright year, update list of record handled.
1513 (_bfd_vms_slurp_hdr): rec_length renamed to rec_size.
1514 (_bfd_vms_write_hdr): Strip vms and unix patches,
1515 add comments, truncate module name at 31 characters,
1516 use constants instead of hard-coded value,
1517 write BFD version instead of a fixed string.
1518 (_bfd_vms_slurp_ihd): New function.
1519 (_bfd_vms_slurp_isd): Ditto.
1520 (_bfd_vms_slurp_ihs): Ditto.
1521 (new_module): Ditto.
1522 (parse_module): Ditto
1523 (build_module_list): Ditto.
1524 (module_find_nearest_line): Ditto.
1525 (_bfd_vms_find_nearest_dst_line): Ditto.
1526 (vms_slurp_debug): Ditto.
1527 (_bfd_vms_slurp_dbg): Ditto.
1528 (_bfd_vms_slurp_tbt): Ditto.
1529 (_bfd_vms_write_dbg): Ditto.
1530 (_bfd_vms_write_tbt): Ditto.
1531
1532 * vms-gsd.c: Update copyright year, update list of records handled.
1533 (EVAX_LITERALS_NAME): New macro.
1534 (evax_section_flags): Add an entry for EVAX_LITERALS_NAME.
1535 (gpsflagdesc, gsyflagdesc): Moved out of _bfd_vms_slurp_gsd.
1536 (register_universal_symbol): New function and prototype.
1537 (_bfd_vms_slurp_gsd): Fix indentations and casts,
1538 improve debug messages,
1539 use constants instead of hard-coded value,
1540 fix missing endianness conversion,
1541 handle global symbol (SYMG).
1542 (bfd_vms_set_section_flags): New function.
1543 (_bfd_vms_write_gsd): Don't write .vmsdebug section,
1544 handle section literals,
1545 fix indentation,
1546 handle section bfd and vms flags,
1547 don't output LIB$INITIALIZE symbol,
1548 fix handling of weak symbols,
1549 fix evax vs vax procedure descriptor,
1550 handle absolute symbols.
1551
1552 * reloc.c (BFD_RELOC_ALPHA_NOP, BFD_RELOC_ALPHA_BSR,
1553 BFD_RELOC_ALPHA_LDA, BFD_RELOC_ALPHA_BOH): New relocations.
1554
1555 * makefile.vms (DEFS): Fix flags for VMS.
1556
1557 * bfdio.c (real_fopen): Handle multiple VMS fopen attributes.
1558
1559 * bfd-in2.h: Regenerated.
1560 * libbfd.h: Regenerated.
1561
47149254
CC
15622009-02-20 Cary Coutant <ccoutant@google.com>
1563
1564 * vmsutil.c (vms_file_stats_name): Fix incorrect use of st_mtime
1565 in struct stat.
1566
6b1cecf3
DK
15672009-18-02 Dave Korn <dave.korn.cygwin@gmail.com>
1568
1569 PR gas/7059
1570 * coffcode.h (coff_write_object_contents): Don't let the string
1571 table offset overflow the s_name field when using long section names.
1572
88183869
DK
15732009-18-02 Dave Korn <dave.korn.cygwin@gmail.com>
1574
1575 * coff-alpha.c (alpha_ecoff_backend_data): Initialise fields which
1576 control long section name handling with ECOFF_NO_LONG_SECTION_NAMES.
1577 * coff-mips.c (mips_ecoff_backend_data): Likewise.
1578 * coff-rs6000.c (bfd_xcoff_backend_data): Initialise fields which
1579 control long section name handling with XCOFF_NO_LONG_SECTION_NAMES.
1580 (bfd_pmac_xcoff_backend_data): Likewise.
1581 * coff64-rs6000.c (bfd_xcoff_backend_data): Likewise.
1582 (bfd_xcoff_aix5_backend_data): Likewise.
1583 (xcoff64_write_object_contents): Delete unused long_section_names
1584 local variable.
1585 * coff-sh.c (bfd_coff_small_swap_table): Initialise long section
1586 name members using COFF_DEFAULT_LONG_SECTION_NAMES and make entire
1587 struct non-const.
1588 * coffcode.h (documentation): Update to describe long section names.
1589 (COFFLONGSECTIONCATHELPER): New helper macro.
1590 (BLANKOR1TOODD): Likewise.
1591 (COFF_ENABLE_LONG_SECTION_NAMES): Likewise.
1592 (COFF_LONG_SECTION_NAMES_SETTER): Likewise.
1593 (COFF_DEFAULT_LONG_SECTION_NAMES): Likewise.
1594 (bfd_coff_set_long_section_names_allowed): New function.
1595 (bfd_coff_set_long_section_names_disallowed): Likewise.
1596 (struct bfd_coff_backend_data): Add new backend hook function
1597 pointer _bfd_coff_set_long_section_names.
1598 (bfd_coff_set_long_section_names): New backend hook.
1599 (coff_write_object_contents): Only generate long section names if
1600 bfd_coff_long_section_names() indicates they are currently enabled.
1601 (bfd_coff_std_swap_table): Make non-const, and initialise long
1602 section name fields using COFF_DEFAULT_LONG_SECTION_NAMES.
1603 (ticoff0_swap_table): Likewise to both.
1604 (ticoff1_swap_table): Again, likewise to both.
1605 * coffgen.c (make_a_section_from_file): Allow long section names
1606 as inputs even if not currently allowed for outputs.
1607 * ecoff.c (_bfd_ecoff_no_long_sections): New function.
1608 * efi-app-ia32.c (COFF_LONG_SECTION_NAMES): Define to 0, not blank.
1609 * efi-app-ia64.c (COFF_LONG_SECTION_NAMES): Likewise.
1610 * efi-app-x86_64.c (COFF_LONG_SECTION_NAMES): Likewise.
1611 * efi-bsdrv-ia32.c (COFF_LONG_SECTION_NAMES): Likewise.
1612 * efi-bsdrv-ia64.c (COFF_LONG_SECTION_NAMES): Likewise.
1613 * efi-bsdrv-x86_64.c (COFF_LONG_SECTION_NAMES): Likewise.
1614 * efi-rtdrv-ia32.c (COFF_LONG_SECTION_NAMES): Likewise.
1615 * efi-rtdrv-ia64.c (COFF_LONG_SECTION_NAMES): Likewise.
1616 * efi-rtdrv-x86_64.c (COFF_LONG_SECTION_NAMES): Likewise.
1617 * pei-arm.c (COFF_LONG_SECTION_NAMES): Likewise.
1618 * pei-i386.c (COFF_LONG_SECTION_NAMES): Likewise.
1619 * pei-mcore.c (COFF_LONG_SECTION_NAMES): Likewise.
1620 * pei-mips.c (COFF_LONG_SECTION_NAMES): Likewise.
1621 * pei-ppc.c (COFF_LONG_SECTION_NAMES): Likewise.
1622 * pei-sh.c (COFF_LONG_SECTION_NAMES): Likewise.
1623 * pei-x86_64.c (COFF_LONG_SECTION_NAMES): Likewise.
1624 * libcoff-in.h: Update copyright year to cause updated copyright
1625 year in generated libcoff.h, and fix typo.
1626 * libcoff.h: Regenerated.
1627 * libecoff.h (ECOFF_NO_LONG_SECTION_NAMES): New macro.
1628 (_bfd_ecoff_no_long_sections): Add prototype.
1629 * libxcoff.h (XCOFF_NO_LONG_SECTION_NAMES): New macro.
1630 * pe-mips.c (COFF_LONG_SECTION_NAMES): Define empty if not already
1631 defined by an including .c file.
1632 * ticoff.h (ticoff0_swap_table): Make non-const, and initialise
1633 long section name fields using COFF_DEFAULT_LONG_SECTION_NAMES.
1634 (ticoff1_swap_table): Likewise to both.
1635
90d8a22c
CL
16362009-02-18 Christophe Lyon <christophe.lyon@st.com>
1637
1638 * elf32-arm.c (arm_build_one_stub): Fix relocation target for pic
1639 stub. Catch default case error.
1640 (arm_map_one_stub): Add missing Thumb mapping symbol.
1641
12123067
NC
16422009-02-18 Bjoern Haase <bjoern.m.haase@web.de>
1643
1644 PR 9841
1645 * elf32-avr.c: Handle case where no local symbos exist correctly.
1646
fea2b4d6
CL
16472009-02-16 Christophe Lyon <christophe.lyon@st.com>
1648
1649 bfd/
1650 * elf32-arm.c (arm_long_branch_stub,
1651 arm_thumb_v4t_long_branch_stub,
1652 arm_thumb_thumb_long_branch_stub,
1653 arm_thumb_arm_v4t_long_branch_stub,
1654 arm_thumb_arm_v4t_short_branch_stub,
1655 arm_pic_long_branch_stub):
1656 Renamed to elf32_arm_stub_long_branch_any_any,
1657 elf32_arm_stub_long_branch_v4t_arm_thumb,
1658 elf32_arm_stub_long_branch_thumb_only,
1659 elf32_arm_stub_long_branch_v4t_thumb_arm,
1660 elf32_arm_stub_short_branch_v4t_thumb_arm,
1661 elf32_arm_stub_long_branch_any_any_pic.
1662 (arm_stub_long_branch, arm_thumb_v4t_stub_long_branch,
1663 arm_thumb_thumb_stub_long_branch,
1664 arm_thumb_arm_v4t_stub_long_branch,
1665 arm_thumb_arm_v4t_stub_short_branch, arm_stub_pic_long_branch):
1666 Renamed to arm_stub_long_branch_any_any,
1667 arm_stub_long_branch_v4t_arm_thumb,
1668 arm_stub_long_branch_thumb_only,
1669 arm_stub_long_branch_v4t_thumb_arm,
1670 arm_stub_short_branch_v4t_thumb_arm,
1671 arm_stub_long_branch_any_any_pic.
1672
13e0a874
DA
16732009-02-15 John David Anglin <dave.anglin@nrc-cnrc.gc.ca>
1674
1675 * elf-hppa.h (elf_hppa_final_link_relocate): Correct addend value used
1676 in branch offset check.
1677
3a71aa26
AM
16782009-02-15 Alan Modra <amodra@bigpond.net.au>
1679
1680 * elf64-ppc.c (struct _ppc64_elf_section_data): Delete t_symndx,
1681 add toc.symndx and toc.add.
1682 (ppc64_elf_check_relocs): Don't set htab->tls_get_addr here.
1683 Set up toc.add.
1684 (get_tls_mask): Add toc_addend param, set from toc.add. Adjust all
1685 callers.
1686 (ppc64_elf_tls_setup): Set htab->tls_get_addr and tls_get_addr_fd.
1687 (branch_reloc_hash_match): New function, extracted from..
1688 (ppc64_elf_tls_optimize): ..here.
1689 (ppc64_elf_relocate_section): Properly set addends when optimizing
1690 tls sequences. Avoid unnecessary reading and writing of insns.
1691 Only redo reloc when symbol changed. Bypass symbol checks when
1692 using tlsld_got.
1693 * elf32-ppc.c (ppc_elf_tls_setup): Correct comment.
1694 (branch_reloc_hash_match): New function, extracted from..
1695 (ppc_elf_tls_optimize): ..here.
1696 (ppc_elf_relocate_section): Avoid unnecessary reading of insns.
1697 Don't clear addend on zapped __tls_get_addr reloc.
1698
2c2b4ed4
NC
16992009-02-12 Nick Clifton <nickc@redhat.com>
1700
1701 PR 9827
1702 * elflink.c (bfd_elf_final_link): When counting the relocations,
1703 if the header size has not been set yet then assume that it will
1704 match the output section's reloc type.
1705
453f5985
NS
17062009-02-12 Nathan Sidwell <nathan@codesourcery.com>
1707
1708 * elf32-mips.c (mips_elf_final_gp): Don't add 0x4000 offset for
1709 relocatable link.
1710
3209bffa
AM
17112009-02-09 Alan Modra <amodra@bigpond.net.au>
1712
1713 * elf32-spu.c (spu_elf_find_overlays): Call bfd_set_error on errors.
1714 (find_function): Likewise.
1715 (pasted_function): Don't error if no prior function found.
1716 (discover_functions): Revert 2008-12-10 change. Extend first
1717 function range to start of section.
1718
813c8a3c
DA
17192009-02-08 John David Anglin <dave.anglin@nrc-cnrc.gc.ca>
1720
1721 * elf64-hppa.c: Remove PARAMS macro. Replace PTR with void *. Convert
1722 functions to C90.
1723 * elf64-hppa.h: Likewise.
1724
2d0f9ad9
JM
17252009-02-06 Joseph Myers <joseph@codesourcery.com>
1726
1727 * elfxx-mips.c (_bfd_mips_elf_section_processing): Remove special
1728 .sbss handling.
1729
50e00962
AM
17302009-02-04 Alan Modra <amodra@bigpond.net.au>
1731
1732 * elf32-spu.c (spu_elf_build_stubs): Define __icache_neg_log2_linesize.
1733 Define __icache_ptr_handler*, not __icache_ptr___icache_bi_handler*.
1734
52b6b6b9
JM
17352009-02-03 Sandip Matte <sandip@rmicorp.com>
1736
1737 * aoutx.h (NAME (aout, machine_type)): Handle bfd_mach_mips_xlr.
1738 * archures.c (bfd_mach_mips_xlr): Define.
1739 * bfd-in2.h: Regenerate.
1740 * cpu-mips.c (I_xlr): Define.
1741 (arch_info_struct): Add XLR entry.
1742 * elfxx-mips.c (_bfd_elf_mips_mach): Handle E_MIPS_MACH_XLR.
1743 (mips_set_isa_flags): Handle bfd_mach_mips_xlr
1744 (mips_mach_extensions): Add XLR entry.
1745
654c3c9f
EW
17462009-02-03 Eric B. Weddington <eric.weddington@atmel.com>
1747
1748 * elf32-avr.c (avr_final_link_relocate): Allow avr25 to wraparound.
1749
31dd3154
JM
17502009-02-03 Carlos O'Donell <carlos@codesourcery.com>
1751
1752 * configure.in: AC_SUBST pdfdir.
d1fa68d3 1753 * Makefile.am: Add install-pdf, install-pdf-am
31dd3154
JM
1754 and install-pdf-recursive targets. Define pdfdir.
1755 * doc/Makefile.am: Define pdf__strip_dir. Add
1756 install-pdf and install-pdf-am targets.
d1fa68d3 1757 * po/Make-in: Add install-pdf target.
31dd3154
JM
1758 * configure: Regenerate.
1759 * Makefile.in: Regenerate
1760 * doc/Makefile.in: Regenerate.
1761
cf869cce
NC
17622009-02-03 Maxim Kuvyrkov <maxim@codesourcery.com>
1763
1764 * bfd-in2.h: Regenerate.
1765 * elf32-m68k.c: Handle 2-slot GOT entries. Rename variables and
1766 fields from n_entries to n_slots where appropriate, update comments.
1767 (HOWTO): Add TLS relocations.
1768 (reloc_map): Map BFD_RELOC_68K_TLS_* to R_68K_TLS_*.
1769 (enum elf_m68k_got_offset_size): New enum.
1770 (struct elf_m68k_got_entry.type): Move field to ...
1771 (struct elf_m68k_got_entry_key): ... here. Update all uses.
1772 (elf_m68k_reloc_got_type, elf_m68k_reloc_got_offset_size): New static
1773 functions.
1774 (elf_m68k_reloc_got_n_entries, elf_m68k_reloc_tls_p): New static
1775 functions.
1776 (struct elf_m68k_got): merge rel_8o_n_entries and rel_8o_16o_n_entries
1777 fields into n_entries array. Update comments.
1778 (elf_m68k_init_got): Simplify, update all uses.
1779 (elf_m68k_init_got_entry_key): Handle R_68K_TLS_LDM32 reloc, update.
1780 (ELF_M68K_REL_8O_MAX_N_ENTRIES_IN_GOT): Adjust to handle 2-slot
1781 GOT entries; update name, update all uses.
1782 (ELF_M68K_REL_8O_16O_MAX_N_ENTRIES_IN_GOT): Ditto.
1783 (elf_m68k_get_got_entry): Update.
1784 (elf_m68k_update_got_entry_type): Rewrite to handle TLS GOT entries,
1785 simplify.
1786 (elf_m68k_remove_got_entry_type): Simplify.
1787 (elf_m68k_add_entry_to_got, elf_m68k_can_merge_gots_1): Update.
1788 (elf_m68k_can_merge_gots): Update.
1789 (elf_m68k_merge_gots_1, elf_m68k_merge_gots): Update.
1790 (struct elf_m68k_finalize_got_offsets_arg): Rewrite to handle 2-slot
1791 GOT entries, simplify.
1792 (elf_m68k_finalize_got_offsets_1, elf_m68k_finalize_got_offsets): Same.
1793 (struct elf_m68k_partition_multi_got_arg): Add slots_relas_diff
1794 field, remove obsoleted local_n_entries field.
1795 (elf_m68k_partition_multi_got_2): New static function.
1796 (elf_m68k_partition_multi_got_1, elf_m68k_partition_multi_got): Use it;
1797 update.
1798 (elf_m68k_remove_got_entry_type): Update.
1799 (elf_m68k_install_rela, dtpoff_base, tpoff): New static functions.
d1fa68d3 1800 (elf_m68k_check_relocs): Handle TLS relocations. Remove unnecessary
cf869cce
NC
1801 update of sgot->size and srelgot->size.
1802 (elf_m68k_gc_sweep_hook): Update.
1803 (elf_m68k_install_rela, dtpoff_base, tpoff): New static functions.
1804 (elf_m68k_relocate_section, elf_m68k_finish_dynamic_symbol): Handle
1805 TLS relocations.
1806 * reloc.c (BFD_RELOC_68K_TLS_*): Declare TLS relocations.
1807 * libbfd.h (bfd_reloc_code_real_names): Add BFD_RELOC_68K_TLS_*.
1808
c1a0a41f
DD
18092009-02-02 DJ Delorie <dj@redhat.com>
1810
1811 * elf32-mep.c (config_names): Regenerate configuration.
1812
72a80a16
AM
18132009-02-02 Alan Modra <amodra@bigpond.net.au>
1814
1815 * elf-bfd.h (bfd_elf_get_str_section): Don't declare.
1816 (bfd_elf_find_section, _sh_elf_set_mach_from_flags): Likewise.
1817 * elf.c (bfd_elf_get_str_section): Make static.
1818 (bfd_elf_find_section): Delete.
1819 * libbfd.h: Regenerate.
1820
273f4430
JK
18212009-02-01 Jan Kratochvil <jan.kratochvil@redhat.com>
1822
1823 * elf-eh-frame.c (REQUIRE_CLEARED_RELOCS) Remove.
1824 (_bfd_elf_parse_eh_frame): Do not check relocations for removed FDEs.
1825
010e5ae2
AM
18262009-01-31 Alan Modra <amodra@bigpond.net.au>
1827
1828 * elflink.c (on_needed_list): New function.
1829 (elf_link_add_object_symbols): Link in --as-needed libs if they
1830 satisfy undefined symbols in other libs.
1831
33a7ffc2
JM
18322009-01-30 Julian Brown <julian@codesourcery.com>
1833
1834 * elf32-arm.c (bfd_elf32_arm_vfp11_erratum_scan): Skip BFDs with
1835 EXEC_P or DYNAMIC flags, and skip sections which are being linked
1836 with --just-symbols (-R).
1837
13d72a14
AN
18382009-01-29 Adam Nemet <anemet@caviumnetworks.com>
1839
1840 * dwarf2.c (read_rangelist): Use read_address to read low_pc and
1841 high_pc in order to properly sign-extend VMAs.
1842
d334575b 18432009-01-29 Daniel Jacobowitz <dan@codesourcery.com>
d1fa68d3
AS
1844 Mark Shinwell <shinwell@codesourcery.com>
1845 Catherine Moore <clm@codesourcery.com>
d334575b
JM
1846
1847 * elf-attrs.c, elflink.c, elfxx-mips.c: Correct typos in comments.
1848
528aeb62
CM
18492009-01-28 Catherine Moore <clm@codesourcery.com>
1850
1851 * elf32-arm.c (elf32_arm_check_relocs): Set SEC_ALLOC and
1852 SEC_LOAD for dynamic relocation sections.
1853
f6f05983
HPN
18542009-01-27 Hans-Peter Nilsson <hp@axis.com>
1855
1856 * elf32-cris.c (cris_elf_relocate_section): Use elf_hash_table
1857 (info)->tls_size, not elf_hash_table (info)->tls_sec->size for
1858 the size of local TLS data.
1859
27cc28f9
AS
18602009-01-27 Andreas Schwab <schwab@suse.de>
1861
1862 * mach-o.c (bfd_mach_o_archive_p): Restrict the number of
1863 architectures in the archive.
1864
b3bf42d8
HPN
18652009-01-27 Hans-Peter Nilsson <hp@axis.com>
1866
f551b6f0
HPN
1867 * elf32-cris.c (cris_elf_relocate_section) <case R_CRIS_16_DTPREL>
1868 <R_CRIS_32_DTPREL>: Correct relocation value.
1869
b3bf42d8
HPN
1870 * elf32-cris.c (cris_elf_relocate_section) <case R_CRIS_8>
1871 <R_CRIS_16, R_CRIS_32>: Don't call BFD_ASSERT for weak undefined
1872 symbols with non-default visibility.
1873
9bc4e62b
NS
18742009-01-26 Nathan Sidwell <nathan@codesourcery.com>
1875
1876 * elf32-ppc.c (ppc_elf_relax_section): Add space for relocs
1877 describing the trampolines.
1878 (ppc_elf_relocate_section): Update relocs to describe the
1879 trampolines.
1880
aeaf6540
DA
18812009-01-25 John David Anglin <dave.anglin@nrc-cnrc.gc.ca>
1882
1883 * elf-hppa.h (elf_hppa_final_link_relocate): Add check to ensure that
1884 branch targets can be reached for R_PARISC_PCREL22F, R_PARISC_PCREL17F
1885 and R_PARISC_PCREL12F relocations.
1886
1e8fa21e
AM
18872009-01-24 Alan Modra <amodra@bigpond.net.au>
1888
1889 PR 6022
1890 * elflink.c (find_version_for_sym): New function split out from,
1891 but without export_dynamic test, ..
1892 (_bfd_elf_link_assign_sym_version): ..here.
1893 (_bfd_elf_export_symbol): Use it.
1894
28caa186
AM
18952009-01-23 Alan Modra <amodra@bigpond.net.au>
1896
1897 * elf-bfd.h (struct elf_assign_sym_version_info): Delete.
1898 (struct elf_info_failed, struct elf_find_verdep_info): Move to..
1899 * elflink.c: ..here, somewhat modified.
1900 * elf-bfd.h (_bfd_elf_add_default_symbol, _bfd_elf_export_symbol,
1901 _bfd_elf_link_find_version_dependencies,
1902 _bfd_elf_link_assign_sym_version, _bfd_elf_link_size_reloc_section,
1903 _bfd_elf_fix_symbol_flags, _bfd_elf_adjust_dynamic_symbol,
1904 _bfd_elf_link_sec_merge_syms, bfd_elf_link_mark_dynamic_symbol): Don't
1905 declare..
1906 * elflink.c: ..and make static here.
1907 (_bfd_elf_link_find_version_dependencies): Adjust for removal
1908 of output_bfd from struct elf_find_verdep_info.
1909 (_bfd_elf_link_assign_sym_version): Similarly adjust to use
1910 struct elf_info_failed.
1911 (bfd_elf_size_dynamic_sections): Adjust.
1912
be04437d
AM
19132009-01-22 Alan Modra <amodra@bigpond.net.au>
1914
1915 PR 6832
1916 * dwarf2.c (find_line): Don't update stash->sec_info_ptr until
1917 after comp_unit_find_line call.
1918
58f9615c
NC
19192009-01-21 Nick Clifton <nickc@redhat.com>
1920
1921 PR 9769
1922 * vmsutil.c (vms_file_stats_name): Remove use of unsupported
1923 tm_gmtoff field in struct tm.
1924
fb266b8b
AM
19252009-01-21 Alan Modra <amodra@bigpond.net.au>
1926
1927 * elf32-spu.h (struct spu_elf_params): Add non_ia_text.
1928 * elf32-spu.c (mark_overlay_section): Only include .text.ia.*
1929 sections in soft-icache lines unless non_ia_text. Don't add
1930 rodata if doing so would exceed line size.
1931
451ffe63
HPN
19322009-01-19 Hans-Peter Nilsson <hp@axis.com>
1933
1934 * elf32-cris.c (elf_cris_copy_indirect_symbol): For other symbol
1935 types than bfd_link_hash_indirect, before early return, call
1936 _bfd_elf_link_hash_copy_indirect.
1937
5aa6ff7c
AS
19382009-01-19 Andrew Stubbs <ams@codesourcery.com>
1939
1940 * elf-attrs.c (vendor_set_obj_attr_contents): Support tag ordering.
1941 * elf-bfd.h (elf_backend_data): Add obj_attrs_order.
1942 * elf32-arm.c (elf32_arm_obj_attrs_order): New function.
1943 (elf_backend_obj_attrs_order): New define.
1944 * elfxx-target.h (elf_backend_obj_attrs_order): New define.
1945 (elfNN_bed): Add elf_backend_obj_attrs_order.
1946
3483fe2e
AS
19472009-01-19 Andrew Stubbs <ams@codesourcery.com>
1948
1949 * elf-attrs.c (is_default_attr): Substitute magic numbers with macros.
1950 (obj_attr_size): Likewise.
1951 (write_obj_attribute): Likewise.
1952 (_bfd_elf_copy_obj_attributes): Likewise.
1953 (_bfd_elf_parse_attributes): Likewise.
1954 * elf-bfd.h (ATTR_TYPE_FLAG_INT_VAL): New define.
1955 (ATTR_TYPE_FLAG_STR_VAL, ATTR_TYPE_FLAG_NO_DEFAULT): New defines.
1956 (ATTR_TYPE_HAS_INT_VAL, ATTR_TYPE_HAS_STR_VAL): New defines.
1957 (ATTR_TYPE_HAS_NO_DEFAULT): New define.
1958 * elf32-arm.c (elf32_arm_obj_attrs_arg_type): Replace magic numbers
1959 with macros.
1960
2d0bb761
AS
19612009-01-19 Andrew Stubbs <ams@codesourcery.com>
1962
1963 * elf-attrs.c (is_default_attr): Support defaultless attributes.
1964 (bfd_elf_add_obj_attr_int): Get type from _bfd_elf_obj_attrs_arg_type.
1965 (bfd_elf_add_obj_attr_string): Likewise.
1966 (bfd_elf_add_obj_attr_int_string): Likewise.
1967 (_bfd_elf_parse_attributes): Allow for unknown flag bits in type.
1968 * elf-bfd.h (struct obj_attribute): Document new flag bit.
1969 * elf32-arm.c (elf32_arm_obj_attrs_arg_type): Specify that
1970 Tag_nodefaults has no default value.
1971 (elf32_arm_merge_eabi_attributes): Modify the Tag_nodefaults
1972 comment to reflect the new state.
1973
a77e83b7
AM
19742009-01-19 Alan Modra <amodra@bigpond.net.au>
1975
1976 PR 9695
1977 * pdp11.c (N_BADMAG): True for anything but OMAGIC, NMAGIC, ZMAGIC.
1978 (some_aout_object_p): Delete dead code handling QMAGIC and BMAGIC.
1979 (adjust_z_magix): Delete dead code handling QMAGIC.
1980
f6d29e26
KT
19812009-01-16 Kai Tietz <kai.tietz@onevision.com>
1982
1983 * coffcode.h (styp_to_sec_flags): Correct interpretation of
1984 IMAGE_SCN_MEM_DISCARDABLE.
1985
29670fb9
AM
19862009-01-16 Alan Modra <amodra@bigpond.net.au>
1987
1988 * Makefile.am (libbfd_la_LIBADD, libbfd_la_LDFLAGS): Substitute
1989 SHARED_LIBADD and SHARED_LDFLAGS rather than WIN32LIBADD, WIN32LDFLAGS.
1990 * configure.in (commonbfdlib): Delete.
1991 (SHARED_LDFLAGS): Rename from WIN32LDFLAGS/
1992 (SHARED_LIBADD): Rename from WIN32LIBADD. Add pic libiberty if such
1993 is available, not just for linux.
1994 * po/SRC-POTFILES.in: Regenerate.
1995 * Makefile.in: Regenerate.
1996 * configure: Regenerate.
1997
91e22acd
AS
19982009-01-15 Andrew Stubbs <ams@codesourcery.com>
1999 Julian Brown <julian@codesourcery.com>
2000
2001 * elf-bfd.h (NUM_KNOWN_OBJ_ATTRIBUTES): Set to 71 to include all known
2002 ARM attributes in ABI 2.07.
2003 * elf32-arm.c (get_secondary_compatible_arch): New function.
2004 (set_secondary_compatible_arch): New function.
2005 (tag_cpu_arch_combine): New function.
2006 (elf32_arm_copy_one_eabi_other_attribute): Delete function.
2007 (elf32_arm_copy_eabi_other_attribute_list): Delete function.
2008 (elf32_arm_merge_eabi_attributes): Rename order_312 to order_021 to
2009 make it fit with order_01243.
2010 Add support for Tag_also_compatible_with,
2011 Tag_CPU_unaligned_access, Tag_T2EE_use, Tag_Virtualization_use,
2012 Tag_MPextension_use, Tag_nodefaults and Tag_conformance.
2013 Improve/tidy up support for Tag_CPU_raw_name, Tag_CPU_name,
2014 Tag_CPU_arch, Tag_ABI_HardFP_use, Tag_VFP_HP_extension,
2015 Tag_ABI_FP_denormal, Tag_ABI_PCS_GOT_use, Tag_ABI_align8_needed,
2016 Tag_VFP_arch and Tag_ABI_FP_16bit_format.
2017 Rework the way unknown attributes are handled.
2018 Defer errors until all attributes have been processed.
2019
7b86a9fa
AS
20202009-01-15 Andrew Stubbs <ams@codesourcery.com>
2021
2022 * elf-attrs.c (bfd_elf_add_obj_attr_compat): Rename to
2023 bfd_elf_add_obj_attr_int_string.
2024 Read Tag_compatibility from its new location in the attribute array,
2025 rather than the attribute list.
2026 (_bfd_elf_copy_obj_attributes): bfd_elf_add_obj_attr_compat ->
2027 bfd_elf_add_obj_attr_int_string.
2028 (_bfd_elf_parse_attributes): Likewise.
2029 (_bfd_elf_merge_object_attributes): There's now only one
2030 Tag_compatibility, and it's in the array, not the list.
2031 * elf-bfd.h (NUM_KNOWN_OBJ_ATTRIBUTES): Set to 33 to include
2032 Tag_compatibility.
2033 (bfd_elf_add_obj_attr_compat): Rename to
2034 bfd_elf_add_obj_attr_int_string.
2035 (bfd_elf_add_proc_attr_compat): Rename to
2036 bfd_elf_add_proc_attr_int_string.
2037 * elf32-arm.c (elf32_arm_merge_eabi_attributes): Explicitly don't handle
2038 Tag_compatibility.
2039
01e1a5bc
NC
20402009-01-15 Douglas B Rupp <rupp@gnat.com>
2041
2042 * Makefile.am (BFD32_BACKENDS): Add new object vmsutil.lo
2043 (BFD32_BACKENDS_CFILES): Add new file vmsutil.c
2044 (vmsutil.lo): Add dependency rule.
2045 * Makefile.in: Regenerate.
2046 * config.bfd (ia64*-*-*vms*): Add case.
2047 * configure.in (bfd_elf64_ia64_vms_vec): Add case.
2048 * configure: Regenerate.
2049 * vmsutil.c: New file.
2050 * vmsutil.h: New file.
2051 * elf-bfd.h (struct bfd_elf_special_section): Change type of
2052 attr to bfd_vma.
2053 * elfxx-ia64.c (elfNN_vms_post_process_headers,
2054 elfNN_vms_section_processing, elfNN_vms_final_write_processing,
2055 elfNN_vms_close_and_cleanup, elfNN_vms_section_from_shdr,
2056 elfNN_vms_object_p): New functions
2057 * targets.c (bfd_elf64_ia64_vms_vec): New target.
2058
a33dafc3
L
20592009-01-14 H.J. Lu <hongjiu.lu@intel.com>
2060
2061 PR ld/9727
2062 * elflink.c (elf_gc_sweep): Exclude the group section if the
2063 first member of the section group is excluded.
2064
13c0e967
AM
20652009-01-14 Alan Modra <amodra@bigpond.net.au>
2066
2067 PR 9735
2068 * syms.c (_bfd_stab_section_find_nearest_line): Don't free
2069 saved filename, use bfd_alloc rather than bfd_malloc for it.
2070
460e679b
AM
20712009-01-13 Alan Modra <amodra@bigpond.net.au>
2072
2073 * elf32-spu.c (spu_elf_build_stubs): Make __icache_base absolute.
2074
25076afa
AM
20752009-01-13 Alan Modra <amodra@bigpond.net.au>
2076
2077 * elf32-spu.c (remove_cycles): Always set call->max_depth.
2078
37107878
AM
20792009-01-12 Alan Modra <amodra@bigpond.net.au>
2080
2081 * elf32-spu.c (spu_elf_auto_overlay): Correct vma mask.
2082
cd4a7468
AM
20832009-01-12 Alan Modra <amodra@bigpond.net.au>
2084
2085 * elf32-spu.c (struct spu_link_hash_table): Add init, line_size_log2,
2086 num_lines_log2.
2087 (struct got_entry): Add br_addr.
2088 (struct call_info): Add priority.
2089 (struct function_info): Add lr_store and sp_adjust.
2090 (spu_elf_setup): Init line_size_log2 and num_lines_log2.
2091 (spu_elf_find_overlays): For soft-icache, mark any section within cache
2092 area as an overlay, and check that no other overlays exist. Look up
2093 icache overlay manager entry sym.
2094 (BRA_STUBS, BRA, BRASL): Define.
2095 (enum _stub_type): Replace ovl_stub with call_ovl_stub and br*_ovl_stub.
2096 (needs_ovl_stub): Adjust for soft-icache. Return priority encoded
2097 in branch insn.
2098 (count_stub, build_stub): Support soft-icache.
2099 (build_spuear_stubs, process_stubs): Adjust build_stub call.
2100 (spu_elf_size_stubs): Size soft-icache stubs.
2101 (overlay_index): New function.
2102 (spu_elf_build_stubs): Make static. Support soft-icache.
2103 (spu_elf_check_vma): Don't turn off auto_overlay if soft-icache.
2104 (find_function_stack_adjust): Save lr store and stack adjust insn
2105 offsets.
2106 (maybe_insert_function): Adjust find_function_stack_adjust call.
2107 (mark_functions_via_relocs): Retrieve priority.
2108 (remove_cycles): Only warn about pruned arcs when stack_analysis.
2109 (sort_calls): Sort by priority first.
2110 (mark_overlay_section): Ignore .ovl.init.
2111 (sum_stack): Only print when stack_analysis.
2112 (print_one_overlay_section): New function, extracted from..
2113 (spu_elf_auto_overlay): ..here. Support soft-icache overlays.
2114 (spu_elf_stack_analysis): Only print when htab->stack_analysis.
2115 (spu_elf_final_link): Call spu_elf_stack_analysis for lrlive
2116 analysis. Call spu_elf_build_stubs.
2117 (spu_elf_relocate_section): For soft-icache encode overlay index
2118 into addresses.
2119 (spu_elf_output_symbol_hook): Support soft-icache.
2120 (spu_elf_modify_program_headers: Likewise.
37107878 2121
cd4a7468
AM
2122 * elf32-spu.h (struct spu_elf_params): Add lrlive_analysis. Rename
2123 num_regions to num_lines. Add line_size and max_branch.
2124 (enum _ovly_flavour): Add ovly_soft_icache.
2125 (spu_elf_build_stubs): Delete.
2126
80c29487
JK
21272009-01-11 Jan Kratochvil <jan.kratochvil@redhat.com>
2128
2129 * elflink.c (_bfd_elf_section_already_linked): Handle g++-3.4
2130 relocations in `.gnu.linkonce.r.*' referencing its `.gnu.linkonce.t.*'.
2131
1bc86aea
HPN
21322009-01-07 Hans-Peter Nilsson <hp@axis.com>
2133
2134 * elf32-cris.c (cris_elf_relocate_section) <case R_CRIS_32_GD>
2135 <case R_CRIS_16_GOT_GD, R_CRIS_32_GOT_GD>: For a symbol defined in
2136 the program, the known offset starts at the negative size of the
2137 TLS section.
2138 <case R_CRIS_32_IE, R_CRIS_32_GOT_TPREL, R_CRIS_16_GOT_TPREL>:
2139 Similar.
2140
3baa454d 21412009-01-05 Joel Sherrill <joel.sherrill@oarcorp.com>
75606e85 2142
3baa454d 2143 * config.bfd: Add lm32-*-rtems*.
75606e85 2144
9dbe8890
L
21452009-01-03 H.J. Lu <hongjiu.lu@intel.com>
2146
2147 * coff-ppc.c: Add 2009 to Copyright.
2148 * elf32-cris.c: Likewise.
2149 * elflink.c: Likewise.
2150
0bdf8d40
HPN
21512009-01-03 Hans-Peter Nilsson <hp@axis.com>
2152
2153 * elf32-cris.c (elf_cris_finish_dynamic_symbol): Rename
2154 gotplt_index to rela_plt_index. Adjust for R_CRIS_DTPMOD entry.
2155
54ac0771
L
21562009-01-02 H.J. Lu <hongjiu.lu@intel.com>
2157
2158 PR ld/9679
2159 * elflink.c (elf_merge_st_other): New.
2160 (_bfd_elf_merge_symbol): Use it on skipped weak definitions and
2161 hide them if needed.
2162 (elf_link_add_object_symbols): Updated.
2163
d8880531
L
21642009-01-02 H.J. Lu <hongjiu.lu@intel.com>
2165
2166 PR ld/9676
2167 * elflink.c (elf_link_add_object_symbols): Update def_dynamic,
2168 ref_dynamic and dynamic_def fields when setting def_regular
2169 to 1.
2170
b70b5c14
NC
21712009-01-02 Curtis Mackie <curtmackevo@gmail.com>
2172
2173 PR 9682
2174 * coff-ppc.c (dump_toc): Fix up calls to fprintf without a string
2175 literal.
2176
d8880531 2177For older changes see ChangeLog-2008
56882138
AM
2178\f
2179Local Variables:
2180mode: change-log
2181left-margin: 8
2182fill-column: 74
2183version-control: never
2184End:
This page took 0.559359 seconds and 4 git commands to generate.