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