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