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