1 2013-01-18 H.J. Lu <hongjiu.lu@intel.com>
3 * elf32-i386.c (elf_i386_allocate_dynrelocs): Clear pc_count for
5 (elf_i386_relocate_section): Resolve size relocation against
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
12 2013-01-18 Mike Frysinger <vapier@gentoo.org>
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
18 2013-01-17 H.J. Lu <hongjiu.lu@intel.com>
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.
25 2013-01-16 H.J. Lu <hongjiu.lu@intel.com>
27 * elf32-i386.c (elf_i386_check_relocs): Update R_386_SIZE32
29 (elf_i386_relocate_section): Don't check TLS for R_386_SIZE32.
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
36 2013-01-16 H.J. Lu <hongjiu.lu@intel.com>
38 * bfd-in2.h: Regenerated.
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.
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
54 (elf_x86_64_gc_sweep_hook): Likewise.
55 (elf_x86_64_relocate_section): Likewise.
57 * reloc.c (bfd_reloc_code_type): Add BFD_RELOC_SIZE32 and
60 2013-01-15 H.J. Lu <hongjiu.lu@intel.com>
62 * elf64-x86-64.c (R_X86_64_standard): Replace R_X86_64_IRELATIVE
63 with R_X86_64_RELATIVE64.
65 2013-01-15 Nick Clifton <nickc@redhat.com>
67 * elf32-msp430.c: Fix spelling typo.
69 2013-01-15 Alan Modra <amodra@gmail.com>
71 * elf64-ppc.c (ppc64_elf_size_stubs): Default shared libs to
74 2013-01-14 Alan Modra <amodra@gmail.com>
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.
84 2013-01-13 Alan Modra <amodra@gmail.com>
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
92 (elf_link_add_object_symbols): Delete redundant "override" test.
93 Don't set dynamic_def here.
94 (elf_link_output_extsym): Update.
96 2013-01-12 H.J. Lu <hongjiu.lu@intel.com>
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.
102 2013-01-12 Alan Modra <amodra@gmail.com>
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.
108 2013-01-12 Alan Modra <amodra@gmail.com>
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.
118 2013-01-10 H.J. Lu <hongjiu.lu@intel.com>
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.
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.
202 * opncls.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.
211 * riscix.c: Likewise.
212 * section.c: Likewise.
215 * tekhex.c: Likewise.
216 * ticoff.h: Likewise.
217 * vaxbsd.c: Likewise.
218 * xcofflink.c: Likewise.
219 * xtensa-isa.c: Likewise.
221 2013-01-10 Will Newton <will.newton@imgtec.com>
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.
238 2013-01-08 Yufeng Zhang <yufeng.zhang@arm.com>
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
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.
254 2013-01-07 Tom Tromey <tromey@redhat.com>
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.
261 2013-01-04 Juergen Urban <JuergenUrban@gmx.de>
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).
269 2013-01-03 Nickolai Zeldovich <nickolai@csail.mit.edu>
270 Nick Clifton <nickc@redhat.com>
272 * elflink.c (get_value): Prevent the use of an undefined shift
273 operation. Add sanity checks.
275 2013-01-02 Kaushik Phatak <kaushik.phatak@kpitcummins.com>
277 * config.bfd (cr16*-*-uclinux*): New target support.
280 For older changes see ChangeLog-2012
282 Copyright (C) 2013 Free Software Foundation, Inc.
284 Copying and distribution of this file, with or without modification,
285 are permitted in any medium without royalty provided the copyright
286 notice and this notice are preserved.
292 version-control: never