30fead2c1f9b7d8025769707eeeeebb57bf7c820
[deliverable/binutils-gdb.git] / bfd / ChangeLog
1 2013-01-17 H.J. Lu <hongjiu.lu@intel.com>
2
3 * elf32-i386.c (elf_i386_check_relocs): Count size relocation as
4 PC-relative relocation.
5 * elf64-x86-64.c (elf_x86_64_check_relocs): Count size relocation
6 as PC-relative relocation.
7
8 2013-01-16 H.J. Lu <hongjiu.lu@intel.com>
9
10 * elf32-i386.c (elf_i386_check_relocs): Update R_386_SIZE32
11 check.
12 (elf_i386_relocate_section): Don't check TLS for R_386_SIZE32.
13
14 * elf64-x86-64.c (elf_x86_64_check_relocs): Update R_X86_64_SIZE32
15 and R_X86_64_SIZE64 check.
16 (elf_x86_64_relocate_section): Don't check TLS for R_X86_64_SIZE32
17 nor R_X86_64_SIZE64.
18
19 2013-01-16 H.J. Lu <hongjiu.lu@intel.com>
20
21 * bfd-in2.h: Regenerated.
22 * libbfd.h: Likewise.
23
24 * elf32-i386.c (elf_howto_table): Fill R_386_SIZE32 entry.
25 (elf_i386_reloc_type_lookup): Support BFD_RELOC_SIZE32.
26 (elf_i386_check_relocs): Handle R_386_SIZE32.
27 (elf_i386_gc_sweep_hook): Likewise.
28 (elf_i386_relocate_section): Likewise.
29
30 * elf64-x86-64.c (x86_64_elf_howto_table): Fill R_X86_64_SIZE32
31 and R_X86_64_SIZE64 entries.
32 (x86_64_reloc_map): Add BFD_RELOC_SIZE32 and BFD_RELOC_SIZE64,
33 (elf_x86_64_rtype_to_howto): Handle R_X86_64_SIZE32 for x32.
34 (elf_x86_64_reloc_name_lookup): Likewise.
35 (elf_x86_64_check_relocs): Handle R_X86_64_SIZE32 and
36 R_X86_64_SIZE64.
37 (elf_x86_64_gc_sweep_hook): Likewise.
38 (elf_x86_64_relocate_section): Likewise.
39
40 * reloc.c (bfd_reloc_code_type): Add BFD_RELOC_SIZE32 and
41 BFD_RELOC_SIZE64.
42
43 2013-01-15 H.J. Lu <hongjiu.lu@intel.com>
44
45 * elf64-x86-64.c (R_X86_64_standard): Replace R_X86_64_IRELATIVE
46 with R_X86_64_RELATIVE64.
47
48 2013-01-15 Nick Clifton <nickc@redhat.com>
49
50 * elf32-msp430.c: Fix spelling typo.
51
52 2013-01-15 Alan Modra <amodra@gmail.com>
53
54 * elf64-ppc.c (ppc64_elf_size_stubs): Default shared libs to
55 plt-thread-safe.
56
57 2013-01-14 Alan Modra <amodra@gmail.com>
58
59 PR binutils/14813
60 * bfdio.c (struct bfd_iovec <bclose>): Revert 2012-11-06.
61 (memory_bclose): Likewise. Return 0 on success.
62 * cache.c (cache_bclose): Likewise.
63 * opncls.c (opncls_bclose, bfd_close): Likewise.
64 * vms-lib.c (vms_lib_bclose): Likewise.
65 * libbfd.h: Regenerate.
66
67 2013-01-13 Alan Modra <amodra@gmail.com>
68
69 * elf-bfd.h (struct elf_link_hash_entry): Delete dynamic_weak.
70 Add ref_dynamic_nonweak.
71 * elflink.c (_bfd_elf_mark_dynamic_def_weak): Delete.
72 (_bfd_elf_merge_symbol): Don't call above function. Move
73 setting of ref_dynamic_nonweak and dynamic_def earlier. Don't
74 clear dynamic_def.
75 (elf_link_add_object_symbols): Delete redundant "override" test.
76 Don't set dynamic_def here.
77 (elf_link_output_extsym): Update.
78
79 2013-01-12 H.J. Lu <hongjiu.lu@intel.com>
80
81 * elf32-i386.c (elf_i386_check_relocs): Set bfd errror for
82 normal and TLS symbol access.
83 * elf64-x86-64.c (elf_x86_64_check_relocs): Likewise.
84
85 2013-01-12 Alan Modra <amodra@gmail.com>
86
87 * elf-bfd.h (_bfd_elf_strtab_refcount): Declare.
88 * elf-strtab.c (_bfd_elf_strtab_refcount): New function.
89 * elflink.c (elf_add_dt_needed_tag): Use _bfd_elf_strtab_refcount.
90
91 2013-01-12 Alan Modra <amodra@gmail.com>
92
93 PR ld/12549
94 * elf-bfd.h (_bfd_elf_strtab_clear_refs): Declare.
95 (_bfd_elf_strtab_clear_all_refs): Define.
96 * elf-strtab.c (_bfd_elf_strtab_clear_refs): New function.
97 (_bfd_elf_strtab_clear_all_refs): Delete.
98 * elflink.c (elf_link_add_object_symbols): Clear out added
99 strtab refs. Correct handling of warning common symbols.
100
101 2013-01-10 H.J. Lu <hongjiu.lu@intel.com>
102
103 * aout0.c: Remove trailing white spaces.
104 * archive.c: Likewise.
105 * archures.c: Likewise.
106 * bfd-in.h: Likewise.
107 * bfd-in2.h: Likewise.
108 * coff-alpha.c: Likewise.
109 * coff-i860.c: Likewise.
110 * coff-mips.c: Likewise.
111 * coff-ppc.c: Likewise.
112 * coff-tic80.c: Likewise.
113 * coff-x86_64.c: Likewise.
114 * coff-z80.c: Likewise.
115 * coffcode.h: Likewise.
116 * coffgen.c: Likewise.
117 * cofflink.c: Likewise.
118 * compress.c: Likewise.
119 * corefile.c: Likewise.
120 * cpu-arm.c: Likewise.
121 * cpu-avr.c: Likewise.
122 * cpu-bfin.c: Likewise.
123 * cpu-cr16.c: Likewise.
124 * cpu-cr16c.c: Likewise.
125 * cpu-crx.c: Likewise.
126 * cpu-h8300.c: Likewise.
127 * cpu-i386.c: Likewise.
128 * cpu-lm32.c: Likewise.
129 * cpu-m68k.c: Likewise.
130 * cpu-moxie.c: Likewise.
131 * cpu-msp430.c: Likewise.
132 * cpu-sh.c: Likewise.
133 * cpu-xc16x.c: Likewise.
134 * dwarf2.c: Likewise.
135 * ecofflink.c: Likewise.
136 * ecoffswap.h: Likewise.
137 * elf-ifunc.c: Likewise.
138 * elf-m10300.c: Likewise.
139 * elf-vxworks.c: Likewise.
140 * elf32-avr.c: Likewise.
141 * elf32-avr.h: Likewise.
142 * elf32-cr16.c: Likewise.
143 * elf32-cr16c.c: Likewise.
144 * elf32-cris.c: Likewise.
145 * elf32-crx.c: Likewise.
146 * elf32-frv.c: Likewise.
147 * elf32-hppa.c: Likewise.
148 * elf32-i860.c: Likewise.
149 * elf32-ip2k.c: Likewise.
150 * elf32-iq2000.c: Likewise.
151 * elf32-m32c.c: Likewise.
152 * elf32-m68hc1x.c: Likewise.
153 * elf32-msp430.c: Likewise.
154 * elf32-mt.c: Likewise.
155 * elf32-ppc.c: Likewise.
156 * elf32-rl78.c: Likewise.
157 * elf32-s390.c: Likewise.
158 * elf32-score.h: Likewise.
159 * elf32-sh-symbian.c: Likewise.
160 * elf32-sh.c: Likewise.
161 * elf32-spu.c: Likewise.
162 * elf32-tic6x.c: Likewise.
163 * elf32-v850.c: Likewise.
164 * elf32-xc16x.c: Likewise.
165 * elf32-xtensa.c: Likewise.
166 * elf64-alpha.c: Likewise.
167 * elf64-hppa.c: Likewise.
168 * elf64-ppc.c: Likewise.
169 * elf64-s390.c: Likewise.
170 * elfcore.h: Likewise.
171 * elflink.c: Likewise.
172 * elfxx-mips.c: Likewise.
173 * elfxx-sparc.c: Likewise.
174 * elfxx-tilegx.c: Likewise.
175 * ieee.c: Likewise.
176 * libcoff.h: Likewise.
177 * libpei.h: Likewise.
178 * libxcoff.h: Likewise.
179 * linker.c: Likewise.
180 * mach-o-i386.c: Likewise.
181 * mach-o-target.c: Likewise.
182 * mach-o.c: Likewise.
183 * mach-o.h: Likewise.
184 * mmo.c: Likewise.
185 * opncls.c: Likewise.
186 * pdp11.c: Likewise.
187 * pe-x86_64.c: Likewise.
188 * peXXigen.c: Likewise.
189 * pef-traceback.h: Likewise.
190 * pei-x86_64.c: Likewise.
191 * peicode.h: Likewise.
192 * plugin.c: Likewise.
193 * reloc.c: Likewise.
194 * riscix.c: Likewise.
195 * section.c: Likewise.
196 * som.c: Likewise.
197 * syms.c: Likewise.
198 * tekhex.c: Likewise.
199 * ticoff.h: Likewise.
200 * vaxbsd.c: Likewise.
201 * xcofflink.c: Likewise.
202 * xtensa-isa.c: Likewise.
203
204 2013-01-10 Will Newton <will.newton@imgtec.com>
205
206 * Makefile.am: Add Meta.
207 * Makefile.in: Regenerate.
208 * archures.c (bfd_mach_metag): New.
209 * bfd-in2.h: Regenerate.
210 * config.bfd: Add Meta.
211 * configure: Regenerate.
212 * configure.in: Add Meta.
213 * cpu-metag.c: New file.
214 * elf-bfd.h: Add Meta.
215 * elf32-metag.c: New file.
216 * elf32-metag.h: New file.
217 * libbfd.h: Regenerate.
218 * reloc.c: Add Meta relocations.
219 * targets.c: Add Meta.
220
221 2013-01-08 Yufeng Zhang <yufeng.zhang@arm.com>
222
223 * elf-bfd.h (elfcore_write_aarch_tls): Add prototype.
224 (elfcore_write_aarch_hw_break): Likewise.
225 (elfcore_write_aarch_hw_watch): Likewise.
226 * elf.c (elfcore_grok_aarch_tls): New function.
227 (elfcore_grok_aarch_hw_break): Likewise.
228 (elfcore_grok_aarch_hw_watch): Likewise.
229 (elfcore_grok_note): Call the new functions to handle the
230 corresponding notes.
231 (elfcore_write_aarch_tls): New function.
232 (elfcore_write_aarch_hw_break): Likewise.
233 (elfcore_write_aarch_hw_watch): Likewise.
234 (elfcore_write_register_note): Call the new functions to handle the
235 corresponding pseudo sections.
236
237 2013-01-07 Tom Tromey <tromey@redhat.com>
238
239 * section.c (_bfd_std_section): Rename from std_section.
240 (bfd_com_section_ptr, bfd_und_section_ptr, bfd_abs_section_ptr)
241 (STD_SECTION): Update.
242 * bfd-in2.h: Rebuild.
243
244 2013-01-04 Juergen Urban <JuergenUrban@gmx.de>
245
246 * archures.c (bfd_mach_mips5900): Define.
247 * bfd-in2.h: Regenerate.
248 * config.bfd: Add mips64-ps2-elf and mips-ps2-elf targets.
249 * cpu-mips.c: Add support for MIPS r5900.
250 * elfxx-mips.c: Add support for MIPS r5900 (extension of r4000).
251
252 2013-01-03 Nickolai Zeldovich <nickolai@csail.mit.edu>
253 Nick Clifton <nickc@redhat.com>
254
255 * elflink.c (get_value): Prevent the use of an undefined shift
256 operation. Add sanity checks.
257
258 2013-01-02 Kaushik Phatak <kaushik.phatak@kpitcummins.com>
259
260 * config.bfd (cr16*-*-uclinux*): New target support.
261
262
263 For older changes see ChangeLog-2012
264 \f
265 Copyright (C) 2013 Free Software Foundation, Inc.
266
267 Copying and distribution of this file, with or without modification,
268 are permitted in any medium without royalty provided the copyright
269 notice and this notice are preserved.
270
271 Local Variables:
272 mode: change-log
273 left-margin: 8
274 fill-column: 74
275 version-control: never
276 End:
This page took 0.037159 seconds and 4 git commands to generate.