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