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