]> git.ipfire.org Git - thirdparty/binutils-gdb.git/blame - bfd/ChangeLog
daily update
[thirdparty/binutils-gdb.git] / bfd / ChangeLog
CommitLineData
ecd12bc1
AM
12010-01-19 Daisuke Hatayama <d.hatayama@jp.fujitsu.com>
2 Alan Modra <amodra@gmail.com>
3
4 * elfcode.h (elf_swap_ehdr_out): Handle e_phnum > 0xffff.
5 (elf_object_p): Read e_phnum extension.
6 (elf_write_shdrs_and_ehdr): Write e_phnum extension.
7 * elfcore.h (elf_core_file_p): Read e_phnum extension. Sanity check
8 that we can read last program header.
9
f6ebfac0
AM
102010-01-19 Matthew Gretton-Dann <matthew.gretton-dann@arm.com>
11
12 * elf32-arm.c (elf32_arm_howto_table_1): Correct bitsize of
13 R_ARM_THM_CALL entry.
14 (elf32_arm_final_link_relocate): Correct calculation of
15 reloc_signed_max when doing a R_ARM_THM_CALL, R_ARM_THM_XPC22,
16 or R_ARM_THM_JUMP24 relocation.
17
22eb4b1d
AM
182010-01-18 Alan Modra <amodra@gmail.com>
19
20 PR 11168
21 * coffcode.h (coff_compute_section_file_positions): Move Rs6000COFF_C
22 block past vars in COFF_IMAGE_WITH_PE block. Report error on more
23 than 32k sections.
24
6ec12636
JK
252010-01-15 Jan Kratochvil <jan.kratochvil@redhat.com>
26
27 Fix compilation warning on gcc-3.4.
28 * vms-tir.c (start_etir_record, sto_imm): Rename the prototype
29 parameter index to sec_index according to the function definition.
30
38a7df63
CF
312010-01-13 Chao-ying Fu <fu@mips.com>
32
33 * elfxx-mips.c (JR_TO_B_P): New define to transform JR to B.
34 It is true for all CPUs.
35 (jal_reloc_p): New function.
36 (mips_elf_calculate_relocation): Rename require_jalxp to
37 cross_mode_jump_p.
38 Update comment for CROSS_MODE_JUMP_P.
39 Set up cross_mode_jump_p based on the mode change.
40 (mips_elf_perform_relocation): Rename require_jalx to cross_mode_jump_p.
41 Update comment for CROSS_MODE_JUMP_P.
42 Test cross_mode_jump_p and jal_reloc_p to turn jal to jalx.
43 Use !cross_mode_jump_p to guard conversion.
44 Convert "jr t9" to "b", if possible.
45 (_bfd_mips_elf_relocate_section): Rename require_jalx to
46 cross_mode_jump_p.
47 Pass &cross_mode_jump_p to call mips_elf_calculate_relocation.
48 Pass cross_mode_jump_p to call mips_elf_perform_relocation.
49
91b9a4a4
NC
502010-01-13 Nick Clifton <nickc@redhat.com>
51
52 * cpu-m32c.c (m32c_scan): New function. Ensures that a scan for
53 "m32c" returns the m32c arch_info_struct and not the m16c
54 arch_info_struct.
55 (arch_info_struct): Use the new scan function.
56 (bfd_m32c_arch): Likewise.
57
618b7301
TG
582010-01-13 Tristan Gingold <gingold@adacore.com>
59
60 * config.bfd: Remove duplicated target vector for i386-*-darwin.
61 Appends new arch instead of overriding.
62 Use mach_o_x86_64_vec for x86_64-*-darwin.
63 * configure.in: Add mach_o_x86_64_vec.
64 * configure: Regenerate.
65 * targets.c: Declare mach_o_x86_64_vec, add it to _bfd_target_vector.
66 * Makefile.am (BFD64_BACKENDS): Add mach-o-x86-64.lo
67 (BFD64_BACKENDS_CFILES): Add mach-o-x86-64.c
68 * Makefile.in: Regenerate.
69 * mach-o-x86-64.c: New file.
70
f88af2f1
TG
712010-01-13 Tristan Gingold <gingold@adacore.com>
72
73 * reloc.c: Add MACH_O_X86_64 relocations.
74 * bfd-in2.h: Regenerate.
75 * libbfd.h: Regenerate.
76
19172f39
TG
772010-01-13 Tristan Gingold <gingold@adacore.com>
78
79 * archive.c (normalize): Use lbasename.
80 (bfd_bsd_truncate_arname): Ditto.
81 (bfd_gnu_truncate_arname): Ditto.
82
6cdb8d82
TG
832010-01-12 Tristan Gingold <gingold@adacore.com>
84
85 * makefile.vms (CFLAGS): Turns warnings into informational messages.
86
9a753de0
TG
872010-01-11 Tristan Gingold <gingold@adacore.com>
88
89 * mach-o.h: Add x86-64 relocation types.
90
42fa0891
TG
912010-01-11 Tristan Gingold <gingold@adacore.com>
92
93 * mach-o.h (bfd_mach_o_backend_data): Add arch field.
94 (bfd_mach_o_set_arch_mach): New prototype.
95 * mach-o.c (bfd_mach_o_mkobject): Define with bfd_mach_o_gen_mkobject.
96 (bfd_mach_o_set_arch_mach): New function.
97 (bfd_mach_o_gen_mkobject): New function.
98 Set TARGET_ARCHITECTURE for the generic back-ends.
99 * mach-o-target.c (bfd_mach_o_set_arch_mach): Remove define.
100 Check that TARGET_ARCHITECTURE is defined.
101 Add TARGET_ARCHITECTURE in TARGET_NAME_BACKEND structure.
102 * mach-o-i386.c (TARGET_ARCHITECTURE): Define.
103
cba0723b
TG
1042010-01-11 Tristan Gingold <gingold@adacore.com>
105
19172f39 106 * archive.c (bfd_slurp_armap): Also check for Mach-O sorted armap.
cba0723b 107
4d421096
NC
1082010-01-11 Nick Clifton <nickc@redhat.com>
109
110 * elf32-v850.c (v850_elf_perform_relocation): Fix overflow
111 handling of R_V850_HI16_S relocation.
112
20b1d3e3
AM
1132010-01-11 Alan Modra <amodra@gmail.com>
114
115 PR 11103
116 * dwarf1.c (parse_die): Correct FORM_STRING data pointer increment.
117
a358ecb8
AM
1182010-01-11 Alan Modra <amodra@gmail.com>
119
120 PR 6832
121 * dwarf2.c (struct comp_unit): Add sec_info_ptr.
122 (find_abstract_instance_name): Use it.
123 (parse_comp_unit): Set it.
124
3725885a
RW
1252010-01-09 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
126
127 * Makefile.in: Regenerate.
128 * configure: Regenerate.
129
3ee87829
TG
1302010-01-08 Tristan Gingold <gingold@adacore.com>
131
132 * archive.c: Remove bfd_special_undocumented_glue.
133
fb34365b
AM
1342010-01-08 Alan Modra <amodra@gmail.com>
135
136 PR ld/11133
137 * elf32-cr16.c (elf32_cr16_gc_mark_hook): Call _bfd_elf_gc_mark_hook.
138 * elf32-microblaze.c (microblaze_elf_gc_mark_hook): Likewise.
139 * elf64-ppc.c (ppc64_elf_gc_mark_hook): Likewise.
140
d023c380
L
1412010-01-07 H.J. Lu <hongjiu.lu@intel.com>
142
143 PR ld/11138
144 * elflink.c (elf_link_check_versioned_symbol): Don't abort if
145 a symbol referenced by DSO is is defined in a non-shared object
146 and forced local.
147
bde6f3eb
L
1482010-01-07 H.J. Lu <hongjiu.lu@intel.com>
149
150 PR ld/11133
151 * elflink.c (_bfd_elf_gc_mark_hook): Check section XXX for
152 undefined __start_XXX/__stop_XXX in all input files and set
153 SEC_KEEP.
154
16583161
L
1552010-01-07 H.J. Lu <hongjiu.lu@intel.com>
156
157 PR ld/11143
158 * elflink.c (elf_gc_sweep): Keep SHT_NOTE section.
159
16231b7b
DG
1602010-01-04 Daniel Gutson <dgutson@codesourcery.com>
161
162 * bfd.m4 (BFD_HAVE_SYS_PROCFS_TYPE): Define _STRUCTURE_PROC
163 before including procfs.h.
164 (BFD_HAVE_SYS_PROCFS_TYPE_MEMBER): Likewise.
165 * configure.in: Added autoconf probe for the pr_fpreg member.
166 * configure: Regenerated.
167 * config.in: Regenerated.
168 * elf.c: Define _STRUCTURE_PROC before including procfs.h.
169
608fa8d3
JB
1702010-01-04 Joel Brobecker <brobecker@adacore.com>
171
172 Fix -Wshadow warnings in dwarf2.c (seen on alpha-tru64).
173 * dwarf2.c (concat_filename): Rename dirname with dir_name
174 to void shadowing the dirname function.
175 Rename subdirname with subdir_name to stay consistent with
176 the new dir_name variable name.
177
0dc93057
AM
1782010-01-04 Edmar Wienskoski <edmar@freescale.com>
179
180 * archures.c: Add bfd_mach_ppc_e500mc64.
181 * bfd-in2.h: Regenerate.
182 * cpu-powerpc.c (bfd_powerpc_archs): Add entry for
183 bfd_mach_ppc_e500mc64.
184
baf9bed3
JB
1852010-01-01 Joel Brobecker <brobecker@adacore.com>
186
187 Fix -Wshadow warnings (seen on ppc-aix)
188 * xcofflink.c: Replace finfo by flinfo throughout.
189
43ecc30f 190For older changes see ChangeLog-2009
56882138
AM
191\f
192Local Variables:
193mode: change-log
194left-margin: 8
195fill-column: 74
196version-control: never
197End: