* hppa-tdep.c (read_unwind_info): Use SECT_OFF_TEXT, not "0".
[deliverable/binutils-gdb.git] / bfd / ChangeLog
CommitLineData
bc30df16
AM
12013-01-28 Alan Modra <amodra@gmail.com>
2
3 * elf64-ppc.c: Use %T to print symbols names and remove redundant
4 "relocation" in error messages throughout file.
5 (ppc64_elf_relocate_section): Remove sibling call error message,
6 replace with "call lacks nop". Specially report errors for
7 branches to function entry points via OPD lookup and branches
8 to stubs. Remove NULL symbol handling now done by %T.
9
89d7b8aa
AM
102013-01-28 Alan Modra <amodra@gmail.com>
11
12 * archive.c (bfd_generic_archive_p): Return target and keep
13 ardata on partial matches.
14 * format.c (bfd_check_format_matches): Adjust for above
15 change. Remove bfd_error_file_ambiguously_recognized dead
16 code.
17
c9ba0c87
AM
182013-01-26 Alan Modra <amodra@gmail.com>
19
20 * bfd.c (struct bfd_preserve, bfd_preserve_save, bfd_preserve_restore,
21 bfd_preserve_finish): Move to..
22 * format.c: ..here, splitting out..
23 (bfd_reinit): ..this. New function.
24 (bfd_check_format_matches): Use bfd_preserve_save/restore to
25 keep bfd state for a match.
26 * elfcode.h (elf_object_p): Don't use bfd_preserve_save/restore.
27 * elfcore.h (elf_core_file_p): Likewise.
28 * mach-o.c (bfd_mach_o_header_p): Likewise.
29 * pef.c (bfd_pef_object_p, bfd_pef_xlib_object_p): Likewise.
30 * xsym.c (bfd_sym_object_p): Likewise.
31 * mmo.c (mmo_scan): Clear abfd->symcount.
32 * opncls.c (_bfd_new_bfd): Use a smaller section hash table.
33 * section.c (bfd_section_list_clear): Clear section_htab.count.
34 * bfd-in2.h: Regenerate.
35
d79dcc73
NC
362013-01-25 Michael Schewe <michael.schewe@gmx.net>
37
38 * elf32-h8300.c (elf32_h8_relax_section): When checking for a
39 second reloc, make sure that the reloc potentially exists first.
40
78c8d46c
NC
412013-01-24 Nick Clifton <nickc@redhat.com>
42
43 * archures.c: Add bfd_mach_v850e3v5.
44 * bfd-in2.h: Regenerate.
45 * cpu-v850.c: Add entries for v850e2v5 and v850e3v5.
46 * cpu-v850_rh850.c: Likewise.
47 * elf32-v850.c: Add support for v850e3v5 architecture.
48
1a18f0ae
NC
492013-01-23 Markos Chandras <markos.chandras@imgtec.com>
50
51 * elf32-metag.c: Error on HIADDR16/LOADDR16 in shared link.
52
f65a9e53
AM
532013-01-23 Leif Ekblad <leif@rdos.net>
54
55 * config.bfd (x86_64-*-rdos*): Remove targ_selvecs.
56
3bea1fcb
L
572013-01-18 H.J. Lu <hongjiu.lu@intel.com>
58
59 * elf32-i386.c (elf_i386_allocate_dynrelocs): Clear pc_count for
60 non-zero TLS symbol.
61 (elf_i386_relocate_section): Resolve size relocation against
62 non-zero TLS symbol.
63 * elf64-x86-64.c (elf_x86_64_allocate_dynrelocs): Clear pc_count
64 for non-zero TLS symbol.
65 (elf_x86_64_relocate_section): Resolve size relocation against
66 non-zero TLS symbol.
67
b1b00fcc
MF
682013-01-18 Mike Frysinger <vapier@gentoo.org>
69
70 * elflink.c (bfd_elf_size_dynamic_sections): Only add DT_RPATH
71 when new_dtags is false. Only add DT_RUNPATH when new_dtags is
72 true.
73
06a6a421
L
742013-01-17 H.J. Lu <hongjiu.lu@intel.com>
75
76 * elf32-i386.c (elf_i386_check_relocs): Count size relocation as
77 PC-relative relocation.
78 * elf64-x86-64.c (elf_x86_64_check_relocs): Count size relocation
79 as PC-relative relocation.
80
6a3e1bae
L
812013-01-16 H.J. Lu <hongjiu.lu@intel.com>
82
83 * elf32-i386.c (elf_i386_check_relocs): Update R_386_SIZE32
84 check.
85 (elf_i386_relocate_section): Don't check TLS for R_386_SIZE32.
86
87 * elf64-x86-64.c (elf_x86_64_check_relocs): Update R_X86_64_SIZE32
88 and R_X86_64_SIZE64 check.
89 (elf_x86_64_relocate_section): Don't check TLS for R_X86_64_SIZE32
90 nor R_X86_64_SIZE64.
91
1788fc08
L
922013-01-16 H.J. Lu <hongjiu.lu@intel.com>
93
94 * bfd-in2.h: Regenerated.
95 * libbfd.h: Likewise.
96
97 * elf32-i386.c (elf_howto_table): Fill R_386_SIZE32 entry.
98 (elf_i386_reloc_type_lookup): Support BFD_RELOC_SIZE32.
99 (elf_i386_check_relocs): Handle R_386_SIZE32.
100 (elf_i386_gc_sweep_hook): Likewise.
101 (elf_i386_relocate_section): Likewise.
102
103 * elf64-x86-64.c (x86_64_elf_howto_table): Fill R_X86_64_SIZE32
104 and R_X86_64_SIZE64 entries.
105 (x86_64_reloc_map): Add BFD_RELOC_SIZE32 and BFD_RELOC_SIZE64,
106 (elf_x86_64_rtype_to_howto): Handle R_X86_64_SIZE32 for x32.
107 (elf_x86_64_reloc_name_lookup): Likewise.
108 (elf_x86_64_check_relocs): Handle R_X86_64_SIZE32 and
109 R_X86_64_SIZE64.
110 (elf_x86_64_gc_sweep_hook): Likewise.
111 (elf_x86_64_relocate_section): Likewise.
112
113 * reloc.c (bfd_reloc_code_type): Add BFD_RELOC_SIZE32 and
114 BFD_RELOC_SIZE64.
115
1e536451
L
1162013-01-15 H.J. Lu <hongjiu.lu@intel.com>
117
118 * elf64-x86-64.c (R_X86_64_standard): Replace R_X86_64_IRELATIVE
119 with R_X86_64_RELATIVE64.
120
77bf820f
NC
1212013-01-15 Nick Clifton <nickc@redhat.com>
122
123 * elf32-msp430.c: Fix spelling typo.
124
e2458743
AM
1252013-01-15 Alan Modra <amodra@gmail.com>
126
127 * elf64-ppc.c (ppc64_elf_size_stubs): Default shared libs to
128 plt-thread-safe.
129
405bf443
AM
1302013-01-14 Alan Modra <amodra@gmail.com>
131
132 PR binutils/14813
133 * bfdio.c (struct bfd_iovec <bclose>): Revert 2012-11-06.
134 (memory_bclose): Likewise. Return 0 on success.
135 * cache.c (cache_bclose): Likewise.
136 * opncls.c (opncls_bclose, bfd_close): Likewise.
137 * vms-lib.c (vms_lib_bclose): Likewise.
138 * libbfd.h: Regenerate.
139
ee659f1f
AM
1402013-01-13 Alan Modra <amodra@gmail.com>
141
142 * elf-bfd.h (struct elf_link_hash_entry): Delete dynamic_weak.
143 Add ref_dynamic_nonweak.
144 * elflink.c (_bfd_elf_mark_dynamic_def_weak): Delete.
145 (_bfd_elf_merge_symbol): Don't call above function. Move
146 setting of ref_dynamic_nonweak and dynamic_def earlier. Don't
147 clear dynamic_def.
148 (elf_link_add_object_symbols): Delete redundant "override" test.
149 Don't set dynamic_def here.
150 (elf_link_output_extsym): Update.
151
68c4a57e
L
1522013-01-12 H.J. Lu <hongjiu.lu@intel.com>
153
154 * elf32-i386.c (elf_i386_check_relocs): Set bfd errror for
155 normal and TLS symbol access.
156 * elf64-x86-64.c (elf_x86_64_check_relocs): Likewise.
157
02be4619
AM
1582013-01-12 Alan Modra <amodra@gmail.com>
159
160 * elf-bfd.h (_bfd_elf_strtab_refcount): Declare.
161 * elf-strtab.c (_bfd_elf_strtab_refcount): New function.
162 * elflink.c (elf_add_dt_needed_tag): Use _bfd_elf_strtab_refcount.
163
a4542f1b
AM
1642013-01-12 Alan Modra <amodra@gmail.com>
165
166 PR ld/12549
167 * elf-bfd.h (_bfd_elf_strtab_clear_refs): Declare.
168 (_bfd_elf_strtab_clear_all_refs): Define.
169 * elf-strtab.c (_bfd_elf_strtab_clear_refs): New function.
170 (_bfd_elf_strtab_clear_all_refs): Delete.
171 * elflink.c (elf_link_add_object_symbols): Clear out added
172 strtab refs. Correct handling of warning common symbols.
173
68ffbac6
L
1742013-01-10 H.J. Lu <hongjiu.lu@intel.com>
175
176 * aout0.c: Remove trailing white spaces.
177 * archive.c: Likewise.
178 * archures.c: Likewise.
179 * bfd-in.h: Likewise.
180 * bfd-in2.h: Likewise.
181 * coff-alpha.c: Likewise.
182 * coff-i860.c: Likewise.
183 * coff-mips.c: Likewise.
184 * coff-ppc.c: Likewise.
185 * coff-tic80.c: Likewise.
186 * coff-x86_64.c: Likewise.
187 * coff-z80.c: Likewise.
188 * coffcode.h: Likewise.
189 * coffgen.c: Likewise.
190 * cofflink.c: Likewise.
191 * compress.c: Likewise.
192 * corefile.c: Likewise.
193 * cpu-arm.c: Likewise.
194 * cpu-avr.c: Likewise.
195 * cpu-bfin.c: Likewise.
196 * cpu-cr16.c: Likewise.
197 * cpu-cr16c.c: Likewise.
198 * cpu-crx.c: Likewise.
199 * cpu-h8300.c: Likewise.
200 * cpu-i386.c: Likewise.
201 * cpu-lm32.c: Likewise.
202 * cpu-m68k.c: Likewise.
203 * cpu-moxie.c: Likewise.
204 * cpu-msp430.c: Likewise.
205 * cpu-sh.c: Likewise.
206 * cpu-xc16x.c: Likewise.
207 * dwarf2.c: Likewise.
208 * ecofflink.c: Likewise.
209 * ecoffswap.h: Likewise.
210 * elf-ifunc.c: Likewise.
211 * elf-m10300.c: Likewise.
212 * elf-vxworks.c: Likewise.
213 * elf32-avr.c: Likewise.
214 * elf32-avr.h: Likewise.
215 * elf32-cr16.c: Likewise.
216 * elf32-cr16c.c: Likewise.
217 * elf32-cris.c: Likewise.
218 * elf32-crx.c: Likewise.
219 * elf32-frv.c: Likewise.
220 * elf32-hppa.c: Likewise.
221 * elf32-i860.c: Likewise.
222 * elf32-ip2k.c: Likewise.
223 * elf32-iq2000.c: Likewise.
224 * elf32-m32c.c: Likewise.
225 * elf32-m68hc1x.c: Likewise.
226 * elf32-msp430.c: Likewise.
227 * elf32-mt.c: Likewise.
228 * elf32-ppc.c: Likewise.
229 * elf32-rl78.c: Likewise.
230 * elf32-s390.c: Likewise.
231 * elf32-score.h: Likewise.
232 * elf32-sh-symbian.c: Likewise.
233 * elf32-sh.c: Likewise.
234 * elf32-spu.c: Likewise.
235 * elf32-tic6x.c: Likewise.
236 * elf32-v850.c: Likewise.
237 * elf32-xc16x.c: Likewise.
238 * elf32-xtensa.c: Likewise.
239 * elf64-alpha.c: Likewise.
240 * elf64-hppa.c: Likewise.
241 * elf64-ppc.c: Likewise.
242 * elf64-s390.c: Likewise.
243 * elfcore.h: Likewise.
244 * elflink.c: Likewise.
245 * elfxx-mips.c: Likewise.
246 * elfxx-sparc.c: Likewise.
247 * elfxx-tilegx.c: Likewise.
248 * ieee.c: Likewise.
249 * libcoff.h: Likewise.
250 * libpei.h: Likewise.
251 * libxcoff.h: Likewise.
252 * linker.c: Likewise.
253 * mach-o-i386.c: Likewise.
254 * mach-o-target.c: Likewise.
255 * mach-o.c: Likewise.
256 * mach-o.h: Likewise.
257 * mmo.c: Likewise.
258 * opncls.c: Likewise.
259 * pdp11.c: Likewise.
260 * pe-x86_64.c: Likewise.
261 * peXXigen.c: Likewise.
262 * pef-traceback.h: Likewise.
263 * pei-x86_64.c: Likewise.
264 * peicode.h: Likewise.
265 * plugin.c: Likewise.
266 * reloc.c: Likewise.
267 * riscix.c: Likewise.
268 * section.c: Likewise.
269 * som.c: Likewise.
270 * syms.c: Likewise.
271 * tekhex.c: Likewise.
272 * ticoff.h: Likewise.
273 * vaxbsd.c: Likewise.
274 * xcofflink.c: Likewise.
275 * xtensa-isa.c: Likewise.
276
a3c62988
NC
2772013-01-10 Will Newton <will.newton@imgtec.com>
278
279 * Makefile.am: Add Meta.
280 * Makefile.in: Regenerate.
281 * archures.c (bfd_mach_metag): New.
282 * bfd-in2.h: Regenerate.
283 * config.bfd: Add Meta.
284 * configure: Regenerate.
285 * configure.in: Add Meta.
286 * cpu-metag.c: New file.
287 * elf-bfd.h: Add Meta.
288 * elf32-metag.c: New file.
289 * elf32-metag.h: New file.
290 * libbfd.h: Regenerate.
291 * reloc.c: Add Meta relocations.
292 * targets.c: Add Meta.
293
652451f8
YZ
2942013-01-08 Yufeng Zhang <yufeng.zhang@arm.com>
295
296 * elf-bfd.h (elfcore_write_aarch_tls): Add prototype.
297 (elfcore_write_aarch_hw_break): Likewise.
298 (elfcore_write_aarch_hw_watch): Likewise.
299 * elf.c (elfcore_grok_aarch_tls): New function.
300 (elfcore_grok_aarch_hw_break): Likewise.
301 (elfcore_grok_aarch_hw_watch): Likewise.
302 (elfcore_grok_note): Call the new functions to handle the
303 corresponding notes.
304 (elfcore_write_aarch_tls): New function.
305 (elfcore_write_aarch_hw_break): Likewise.
306 (elfcore_write_aarch_hw_watch): Likewise.
307 (elfcore_write_register_note): Call the new functions to handle the
308 corresponding pseudo sections.
309
45a466b5
TT
3102013-01-07 Tom Tromey <tromey@redhat.com>
311
312 * section.c (_bfd_std_section): Rename from std_section.
313 (bfd_com_section_ptr, bfd_und_section_ptr, bfd_abs_section_ptr)
314 (STD_SECTION): Update.
315 * bfd-in2.h: Rebuild.
316
e407c74b
NC
3172013-01-04 Juergen Urban <JuergenUrban@gmx.de>
318
319 * archures.c (bfd_mach_mips5900): Define.
320 * bfd-in2.h: Regenerate.
321 * config.bfd: Add mips64-ps2-elf and mips-ps2-elf targets.
322 * cpu-mips.c: Add support for MIPS r5900.
323 * elfxx-mips.c: Add support for MIPS r5900 (extension of r4000).
324
9b239e0e
NC
3252013-01-03 Nickolai Zeldovich <nickolai@csail.mit.edu>
326 Nick Clifton <nickc@redhat.com>
327
328 * elflink.c (get_value): Prevent the use of an undefined shift
329 operation. Add sanity checks.
330
bab4becb 3312013-01-02 Kaushik Phatak <kaushik.phatak@kpitcummins.com>
884f2a8d 332
bab4becb 333 * config.bfd (cr16*-*-uclinux*): New target support.
884f2a8d 334
9911c0fc 335
bab4becb 336For older changes see ChangeLog-2012
56882138 337\f
bab4becb 338Copyright (C) 2013 Free Software Foundation, Inc.
752937aa
NC
339
340Copying and distribution of this file, with or without modification,
341are permitted in any medium without royalty provided the copyright
342notice and this notice are preserved.
343
56882138
AM
344Local Variables:
345mode: change-log
346left-margin: 8
347fill-column: 74
348version-control: never
349End:
This page took 0.885848 seconds and 4 git commands to generate.