1 2010-01-15 Jan Kratochvil <jan.kratochvil@redhat.com>
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.
7 2010-01-13 Chao-ying Fu <fu@mips.com>
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
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
23 Pass &cross_mode_jump_p to call mips_elf_calculate_relocation.
24 Pass cross_mode_jump_p to call mips_elf_perform_relocation.
26 2010-01-13 Nick Clifton <nickc@redhat.com>
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
31 (arch_info_struct): Use the new scan function.
32 (bfd_m32c_arch): Likewise.
34 2010-01-13 Tristan Gingold <gingold@adacore.com>
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.
47 2010-01-13 Tristan Gingold <gingold@adacore.com>
49 * reloc.c: Add MACH_O_X86_64 relocations.
50 * bfd-in2.h: Regenerate.
51 * libbfd.h: Regenerate.
53 2010-01-13 Tristan Gingold <gingold@adacore.com>
55 * archive.c (normalize): Use lbasename.
56 (bfd_bsd_truncate_arname): Ditto.
57 (bfd_gnu_truncate_arname): Ditto.
59 2010-01-12 Tristan Gingold <gingold@adacore.com>
61 * makefile.vms (CFLAGS): Turns warnings into informational messages.
63 2010-01-11 Tristan Gingold <gingold@adacore.com>
65 * mach-o.h: Add x86-64 relocation types.
67 2010-01-11 Tristan Gingold <gingold@adacore.com>
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.
80 2010-01-11 Tristan Gingold <gingold@adacore.com>
82 * archive.c (bfd_slurp_armap): Also check for Mach-O sorted armap.
84 2010-01-11 Nick Clifton <nickc@redhat.com>
86 * elf32-v850.c (v850_elf_perform_relocation): Fix overflow
87 handling of R_V850_HI16_S relocation.
89 2010-01-11 Alan Modra <amodra@gmail.com>
92 * dwarf1.c (parse_die): Correct FORM_STRING data pointer increment.
94 2010-01-11 Alan Modra <amodra@gmail.com>
97 * dwarf2.c (struct comp_unit): Add sec_info_ptr.
98 (find_abstract_instance_name): Use it.
99 (parse_comp_unit): Set it.
101 2010-01-09 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
103 * Makefile.in: Regenerate.
104 * configure: Regenerate.
106 2010-01-08 Tristan Gingold <gingold@adacore.com>
108 * archive.c: Remove bfd_special_undocumented_glue.
110 2010-01-08 Alan Modra <amodra@gmail.com>
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.
117 2010-01-07 H.J. Lu <hongjiu.lu@intel.com>
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
124 2010-01-07 H.J. Lu <hongjiu.lu@intel.com>
127 * elflink.c (_bfd_elf_gc_mark_hook): Check section XXX for
128 undefined __start_XXX/__stop_XXX in all input files and set
131 2010-01-07 H.J. Lu <hongjiu.lu@intel.com>
134 * elflink.c (elf_gc_sweep): Keep SHT_NOTE section.
136 2010-01-04 Daniel Gutson <dgutson@codesourcery.com>
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.
146 2010-01-04 Joel Brobecker <brobecker@adacore.com>
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.
154 2010-01-04 Edmar Wienskoski <edmar@freescale.com>
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.
161 2010-01-01 Joel Brobecker <brobecker@adacore.com>
163 Fix -Wshadow warnings (seen on ppc-aix)
164 * xcofflink.c: Replace finfo by flinfo throughout.
166 For older changes see ChangeLog-2009
172 version-control: never