bfd/
[external/binutils.git] / bfd / ChangeLog
1 2010-01-15  Jan Kratochvil  <jan.kratochvil@redhat.com>
2
3         Fix compilation warning on gcc-3.4.
4         * vms-tir.c (start_etir_record, sto_imm): Rename the prototype
5         parameter index to sec_index according to the function definition.
6
7 2010-01-13  Chao-ying Fu  <fu@mips.com>
8
9         * elfxx-mips.c (JR_TO_B_P): New define to transform JR to B.
10         It is true for all CPUs.
11         (jal_reloc_p): New function.
12         (mips_elf_calculate_relocation): Rename require_jalxp to
13         cross_mode_jump_p.
14         Update comment for CROSS_MODE_JUMP_P.
15         Set up cross_mode_jump_p based on the mode change.
16         (mips_elf_perform_relocation): Rename require_jalx to cross_mode_jump_p.
17         Update comment for CROSS_MODE_JUMP_P.
18         Test cross_mode_jump_p and jal_reloc_p to turn jal to jalx.
19         Use !cross_mode_jump_p to guard conversion.
20         Convert "jr t9" to "b", if possible.
21         (_bfd_mips_elf_relocate_section): Rename require_jalx to
22         cross_mode_jump_p.
23         Pass &cross_mode_jump_p to call mips_elf_calculate_relocation.
24         Pass cross_mode_jump_p to call mips_elf_perform_relocation.
25
26 2010-01-13  Nick Clifton  <nickc@redhat.com>
27
28         * cpu-m32c.c (m32c_scan): New function.  Ensures that a scan for
29         "m32c" returns the m32c arch_info_struct and not the m16c
30         arch_info_struct.
31         (arch_info_struct): Use the new scan function.
32         (bfd_m32c_arch): Likewise.
33
34 2010-01-13  Tristan Gingold  <gingold@adacore.com>
35
36         * config.bfd: Remove duplicated target vector for i386-*-darwin.
37         Appends new arch instead of overriding.
38         Use mach_o_x86_64_vec for x86_64-*-darwin.
39         * configure.in: Add mach_o_x86_64_vec.
40         * configure: Regenerate.
41         * targets.c: Declare mach_o_x86_64_vec, add it to _bfd_target_vector.
42         * Makefile.am (BFD64_BACKENDS): Add mach-o-x86-64.lo
43         (BFD64_BACKENDS_CFILES): Add mach-o-x86-64.c
44         * Makefile.in: Regenerate.
45         * mach-o-x86-64.c: New file.
46
47 2010-01-13  Tristan Gingold  <gingold@adacore.com>
48
49         * reloc.c: Add MACH_O_X86_64 relocations.
50         * bfd-in2.h: Regenerate.
51         * libbfd.h: Regenerate.
52
53 2010-01-13  Tristan Gingold  <gingold@adacore.com>
54
55         * archive.c (normalize): Use lbasename.
56         (bfd_bsd_truncate_arname): Ditto.
57         (bfd_gnu_truncate_arname): Ditto.
58
59 2010-01-12  Tristan Gingold  <gingold@adacore.com>
60
61         * makefile.vms (CFLAGS): Turns warnings into informational messages.
62
63 2010-01-11  Tristan Gingold  <gingold@adacore.com>
64
65         * mach-o.h: Add x86-64 relocation types.
66
67 2010-01-11  Tristan Gingold  <gingold@adacore.com>
68
69         * mach-o.h (bfd_mach_o_backend_data): Add arch field.
70         (bfd_mach_o_set_arch_mach): New prototype.
71         * mach-o.c (bfd_mach_o_mkobject): Define with bfd_mach_o_gen_mkobject.
72         (bfd_mach_o_set_arch_mach): New function.
73         (bfd_mach_o_gen_mkobject): New function.
74         Set TARGET_ARCHITECTURE for the generic back-ends.
75         * mach-o-target.c (bfd_mach_o_set_arch_mach): Remove define.
76         Check that TARGET_ARCHITECTURE is defined.
77         Add TARGET_ARCHITECTURE in TARGET_NAME_BACKEND structure.
78         * mach-o-i386.c (TARGET_ARCHITECTURE): Define.
79
80 2010-01-11  Tristan Gingold  <gingold@adacore.com>
81
82         * archive.c (bfd_slurp_armap): Also check for Mach-O sorted armap.
83
84 2010-01-11  Nick Clifton  <nickc@redhat.com>
85
86         * elf32-v850.c (v850_elf_perform_relocation): Fix overflow
87         handling of R_V850_HI16_S relocation.
88
89 2010-01-11  Alan Modra  <amodra@gmail.com>
90
91         PR 11103
92         * dwarf1.c (parse_die): Correct FORM_STRING data pointer increment.
93
94 2010-01-11  Alan Modra  <amodra@gmail.com>
95
96         PR 6832
97         * dwarf2.c (struct comp_unit): Add sec_info_ptr.
98         (find_abstract_instance_name): Use it.
99         (parse_comp_unit): Set it.
100
101 2010-01-09  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
102
103         * Makefile.in: Regenerate.
104         * configure: Regenerate.
105
106 2010-01-08  Tristan Gingold  <gingold@adacore.com>
107
108         * archive.c: Remove bfd_special_undocumented_glue.
109
110 2010-01-08  Alan Modra  <amodra@gmail.com>
111
112         PR ld/11133
113         * elf32-cr16.c (elf32_cr16_gc_mark_hook): Call _bfd_elf_gc_mark_hook.
114         * elf32-microblaze.c (microblaze_elf_gc_mark_hook): Likewise.
115         * elf64-ppc.c (ppc64_elf_gc_mark_hook): Likewise.
116
117 2010-01-07  H.J. Lu  <hongjiu.lu@intel.com>
118
119         PR ld/11138
120         * elflink.c (elf_link_check_versioned_symbol): Don't abort if
121         a symbol referenced by DSO is is defined in a non-shared object
122         and forced local.
123
124 2010-01-07  H.J. Lu  <hongjiu.lu@intel.com>
125
126         PR ld/11133
127         * elflink.c (_bfd_elf_gc_mark_hook): Check section XXX for
128         undefined __start_XXX/__stop_XXX in all input files and set
129         SEC_KEEP.
130
131 2010-01-07  H.J. Lu  <hongjiu.lu@intel.com>
132
133         PR ld/11143
134         * elflink.c (elf_gc_sweep): Keep SHT_NOTE section.
135
136 2010-01-04  Daniel Gutson  <dgutson@codesourcery.com>
137
138         * bfd.m4 (BFD_HAVE_SYS_PROCFS_TYPE): Define _STRUCTURE_PROC
139         before including procfs.h.
140         (BFD_HAVE_SYS_PROCFS_TYPE_MEMBER): Likewise.
141         * configure.in: Added autoconf probe for the pr_fpreg member.
142         * configure: Regenerated.
143         * config.in: Regenerated.
144         * elf.c: Define _STRUCTURE_PROC before including procfs.h.
145
146 2010-01-04  Joel Brobecker  <brobecker@adacore.com>
147
148         Fix -Wshadow warnings in dwarf2.c (seen on alpha-tru64).
149         * dwarf2.c (concat_filename): Rename dirname with dir_name
150         to void shadowing the dirname function.
151         Rename subdirname with subdir_name to stay consistent with
152         the new dir_name variable name.
153
154 2010-01-04  Edmar Wienskoski  <edmar@freescale.com>
155
156         * archures.c: Add bfd_mach_ppc_e500mc64.
157         * bfd-in2.h: Regenerate.
158         * cpu-powerpc.c (bfd_powerpc_archs): Add entry for
159         bfd_mach_ppc_e500mc64.
160
161 2010-01-01  Joel Brobecker  <brobecker@adacore.com>
162
163         Fix -Wshadow warnings (seen on ppc-aix)
164         * xcofflink.c: Replace finfo by flinfo throughout.
165
166 For older changes see ChangeLog-2009
167 \f
168 Local Variables:
169 mode: change-log
170 left-margin: 8
171 fill-column: 74
172 version-control: never
173 End: