Commit | Line | Data |
---|---|---|
8a37735f AM |
1 | 2016-08-31 Alan Modra <amodra@gmail.com> |
2 | ||
3 | * powerpc.cc (class Stub_control): Delete stub14_group_size_ | |
4 | and has14_. Add group_size_. | |
5 | (Stub_control::can_add_to_stub_group): Adjust to suit. Print | |
6 | debug info when switching to adding sections before stubs. | |
7 | ||
afe002dd AM |
8 | 2016-08-31 Alan Modra <amodra@gmail.com> |
9 | ||
10 | * debug.h (DEBUG_TARGET): New. | |
11 | (DEBUG_ALL): Add DEBUG_TARGET. | |
12 | (gold_debug): Delete FORMAT param. | |
13 | * powerpc.cc (Stub_control::can_add_to_stub_group): Print debug ourput. | |
14 | ||
57f6d32d AM |
15 | 2016-08-30 Alan Modra <amodra@gmail.com> |
16 | ||
17 | PR 20523 | |
18 | * powerpc.cc (class Stub_control): Add has14_. Comment owner_. | |
19 | (Stub_control::can_add_to_stub_group): Correct grouping of | |
20 | sections containing 14-bit external branches. When returning | |
21 | false, set state_ to reflect the fact that we have one section | |
22 | for the next group. Rewrite most of function for clarity. | |
23 | Add and expand comments. | |
24 | (Target_powerpc::do_relax): Print stub group size retry in hex. | |
25 | ||
6395d38b HS |
26 | 2016-08-26 Han Shen <shenhan@google.com> |
27 | ||
28 | PR gold/20529 - relaxing loop never ends. | |
29 | ||
30 | * powerpc.cc (Stub_table::min_size_threshold_): New member to | |
31 | limit size. | |
32 | (Stub_table::set_min_size_threshold): New member function. | |
33 | (Stub_table::set_address_and_size): Add code to only allow size | |
34 | increase. | |
35 | (Target_powerpc::do_relax): Add code to record last size. | |
36 | ||
1130c90e RM |
37 | 2016-08-23 Roland McGrath <roland@hack.frob.com> |
38 | ||
39 | * options.h (General_options): Grok -z stack-size. | |
40 | * output.h (Output_segment::set_size): New method. | |
41 | * layout.cc (Layout::create_executable_stack_info): Renamed to ... | |
42 | (Layout::create_stack_segment): ... this. Always create the | |
43 | segment if -z stack-size was used. | |
44 | (Layout::set_segment_offsets): Don't call ->set_offset on the | |
45 | PT_GNU_STACK segment. | |
46 | ||
9f84726c BS |
47 | 2016-08-15 Bharathi Seshadri <bseshadr@cisco.com> |
48 | ||
49 | * options.h (General_options): Add --be8 option. | |
50 | * arm.cc (Arm_relobj::do_relocate_sections): Add code to swap for be8. | |
51 | (Output_data_plt_arm_standard::do_fill_first_plt_entry): Likewise. | |
52 | (Output_data_plt_arm_short::do_fill_plt_entry): Likewise. | |
53 | (Output_data_plt_arm_long::do_fill_plt_entry): Likewise. | |
54 | (Target_arm::do_adjust_elf_header): Do EF_ARM_BE8 adjustment. | |
55 | ||
a4aa1f5f CC |
56 | 2016-08-17 Cary Coutant <ccoutant@gmail.com> |
57 | ||
58 | * i386.cc (Target_i386): Reset skip_call_tls_get_addr_ after printing | |
59 | error message. | |
60 | * testsuite/Makefile.am (pr20216a): Add missing dependencies. | |
61 | (pr20308a): Add -Bgcctestdir/ to compile rules. | |
62 | * testsuite/Makefile.in: Regenerate. | |
63 | ||
3785f51a RM |
64 | 2016-08-12 Roland McGrath <roland@hack.frob.com> |
65 | ||
66 | PR gold/20462 | |
67 | * script-sections.cc (Script_sections::release_segments): | |
68 | Reset this->segments_created_. | |
69 | ||
f300578f RM |
70 | 2016-08-12 Roland McGrath <roland@hack.frob.com> |
71 | ||
72 | * yyscript.y (HIDDEN): New %token. | |
73 | (assignment): Handle HIDDEN(string = expr) syntax. | |
74 | * script.cc (script_keyword_parsecodes): Add HIDDEN. | |
75 | ||
f5713901 CC |
76 | 2016-08-10 Cary Coutant <ccoutant@gmail.com> |
77 | ||
78 | PR gold/20216 | |
79 | * x86_64.cc (Target_x86_64::Relocate::relocate): Add check for | |
80 | R_X86_64_GOTPCREL. Reset skip_call_tls_get_addr_ after printing | |
81 | error message. | |
82 | * testsuite/Makefile.am (pr20216_gd.o): Add -Bgcctestdir/. | |
83 | (pr20216_ld.o): Likewise. | |
84 | * testsuite/Makefile.in: Regenerate. | |
85 | ||
2c00092d JC |
86 | 2016-08-10 James Clarke <jrtc27@jrtc27.com> |
87 | ||
88 | PR gold/20443 | |
89 | * symtab.cc (Symbol_table::add_from_relobj): Handle NULL symbols, | |
90 | which will be present for STT_SPARC_REGISTER. | |
91 | (Symbol_table::add_from_pluginobj): Likewise. | |
92 | (Symbol_table::add_from_dynobj): Likewise. | |
93 | (Symbol_table::add_from_incrobj): Removed dead code. | |
94 | ||
007801ee JC |
95 | 2016-08-10 James Clarke <jrtc27@jrtc27.com> |
96 | ||
97 | PR gold/20442 | |
98 | * sparc.cc (Target_sparc::Relocate::relocate): R_SPARC_GOTDATA_OP_LOX10 | |
99 | should fall back on R_SPARC_GOT10, not R_SPARC_GOT13. | |
100 | ||
55872e49 JC |
101 | 2016-08-10 James Clarke <jrtc27@jrtc27.com> |
102 | ||
103 | PR gold/20441 | |
104 | * sparc.cc (Target_sparc::Scan::check_non_pic): Allow R_SPARC_32 on | |
105 | sparc64. | |
106 | ||
6e256507 CC |
107 | 2016-06-29 Cary Coutant <ccoutant@gmail.com> |
108 | ||
6e256507 CC |
109 | PR gold/20310 |
110 | * testsuite/dynamic_list.sh: Remove check for _ZdlPv. | |
111 | ||
8db8e694 CC |
112 | 2016-06-29 Cary Coutant <ccoutant@gmail.com> |
113 | ||
114 | * testsuite/Makefile.am (MOSTLYCLEANFILES): Add eh_test_2. | |
115 | * testsuite/Makefile.in: Regenerate. | |
116 | ||
068e05ba AM |
117 | 2016-06-30 Alan Modra <amodra@gmail.com> |
118 | ||
119 | * testsuite/Makefile.am (memory_test, memory_test_2): Pass | |
120 | -Wl,-z to gcc, not plain -z. | |
121 | * testsuite/Makefile.in: Regenerate. | |
122 | ||
b287eca3 L |
123 | 2016-06-29 H.J. Lu <hongjiu.lu@intel.com> |
124 | ||
125 | PR gold/20308 | |
126 | * i386.cc (Target_i386::Relocate::relocate): Allow | |
127 | R_386_GOT32X relocation against ___tls_get_addr. | |
128 | (Target_i386::Relocate::tls_gd_to_ie): Support indirect | |
129 | call to __tls_get_addr. | |
130 | (Target_i386::Relocate::tls_gd_to_le): Likewise. | |
131 | (Target_i386::Relocate::tls_ld_to_le): Likewise. | |
132 | * testsuite/Makefile.am (check_PROGRAMS): Add pr20308a_test, | |
133 | pr20308b_test, pr20308c_test, pr20308d_test, pr20308e_test. | |
134 | (pr20308a_test_SOURCES): New. | |
135 | (pr20308a_test_DEPENDENCIES): Likewise. | |
136 | (pr20308a_test_CFLAGS): Likewise. | |
137 | (pr20308a_test_LDFLAGS): Likewise. | |
138 | (pr20308a_test_LDADD): Likewise. | |
139 | (pr20308b_test_SOURCES): Likewise. | |
140 | (pr20308b_test_DEPENDENCIES): Likewise. | |
141 | (pr20308b_test_CFLAGS): Likewise. | |
142 | (pr20308b_test_LDFLAGS): Likewise. | |
143 | (pr20308b_test_LDADD): Likewise. | |
144 | (pr20308c_test_SOURCES): Likewise. | |
145 | (pr20308c_test_DEPENDENCIES): Likewise. | |
146 | (pr20308c_test_CFLAGS): Likewise. | |
147 | (pr20308c_test_LDFLAGS): Likewise. | |
148 | (pr20308c_test_LDADD): Likewise. | |
149 | (pr20308d_test_SOURCES): Likewise. | |
150 | (pr20308d_test_DEPENDENCIES): Likewise. | |
151 | (pr20308d_test_CFLAGS): Likewise. | |
152 | (pr20308d_test_LDFLAGS): Likewise. | |
153 | (pr20308d_test_LDADD): Likewise. | |
154 | (pr20308e_test_SOURCES): Likewise. | |
155 | (pr20308e_test_DEPENDENCIES): Likewise. | |
156 | (pr20308e_test_CFLAGS): Likewise. | |
157 | (pr20308e_test_LDFLAGS): Likewise. | |
158 | (pr20308e_test_LDADD): Likewise. | |
159 | (pr20308a.so): Likewise. | |
160 | (pr20308b.so): Likewise. | |
161 | (pr20308_gd.o): Likewise. | |
162 | (pr20308_ld.o): Likewise. | |
163 | (MOSTLYCLEANFILES): Add pr20308a.so pr20308b.so. | |
164 | * testsuite/Makefile.in: Regenerated. | |
165 | * testsuite/pr20308_def.c: New file. | |
166 | * testsuite/pr20308_gd.S: Likewise. | |
167 | * testsuite/pr20308_ld.S: Likewise. | |
168 | * testsuite/pr20308_main.c: Likewise. | |
169 | ||
ad961eab L |
170 | 2016-06-29 H.J. Lu <hongjiu.lu@intel.com> |
171 | ||
172 | PR gold/20216 | |
173 | * configure.ac (DEFAULT_TARGET_X86_64_OR_X32): New | |
174 | AM_CONDITIONAL. | |
175 | * configure: Regenerated. | |
176 | * x86_64.cc (Target_x86_64<size>::Relocate::relocate): Allow | |
177 | R_X86_64_GOTPCRELX relocation against __tls_get_addr. | |
178 | (Target_x86_64<size>::Relocate::tls_gd_to_ie): Support indirect | |
179 | call to __tls_get_addr. | |
180 | (Target_x86_64<size>::Relocate::tls_gd_to_le): Likewise. | |
181 | (Target_x86_64<size>::Relocate::tls_ld_to_le): Likewise. | |
182 | * testsuite/Makefile.am (check_PROGRAMS): Add pr20216a_test, | |
183 | pr20216b_test, pr20216c_test, pr20216d_test, pr20216e_test. | |
184 | (pr20216a_test_SOURCES): New. | |
185 | (pr20216a_test_DEPENDENCIES): Likewise. | |
186 | (pr20216a_test_CFLAGS): Likewise. | |
187 | (pr20216a_test_LDFLAGS): Likewise. | |
188 | (pr20216a_test_LDADD): Likewise. | |
189 | (pr20216b_test_SOURCES): Likewise. | |
190 | (pr20216b_test_DEPENDENCIES): Likewise. | |
191 | (pr20216b_test_CFLAGS): Likewise. | |
192 | (pr20216b_test_LDFLAGS): Likewise. | |
193 | (pr20216b_test_LDADD): Likewise. | |
194 | (pr20216c_test_SOURCES): Likewise. | |
195 | (pr20216c_test_DEPENDENCIES): Likewise. | |
196 | (pr20216c_test_CFLAGS): Likewise. | |
197 | (pr20216c_test_LDFLAGS): Likewise. | |
198 | (pr20216c_test_LDADD): Likewise. | |
199 | (pr20216d_test_SOURCES): Likewise. | |
200 | (pr20216d_test_DEPENDENCIES): Likewise. | |
201 | (pr20216d_test_CFLAGS): Likewise. | |
202 | (pr20216d_test_LDFLAGS): Likewise. | |
203 | (pr20216d_test_LDADD): Likewise. | |
204 | (pr20216e_test_SOURCES): Likewise. | |
205 | (pr20216e_test_DEPENDENCIES): Likewise. | |
206 | (pr20216e_test_CFLAGS): Likewise. | |
207 | (pr20216e_test_LDFLAGS): Likewise. | |
208 | (pr20216e_test_LDADD): Likewise. | |
209 | (pr20216a.so): Likewise. | |
210 | (pr20216b.so): Likewise. | |
211 | (pr20216_gd.o): Likewise. | |
212 | (pr20216_ld.o): Likewise. | |
213 | (MOSTLYCLEANFILES): Add pr20216a.so pr20216b.so. | |
214 | * testsuite/Makefile.in: Regenerated. | |
215 | * testsuite/pr20216_def.c: New file. | |
216 | * testsuite/pr20216_gd.S: Likewise. | |
217 | * testsuite/pr20216_ld.S: Likewise. | |
218 | * testsuite/pr20216_main.c: Likewise. | |
219 | ||
bebf0132 AM |
220 | 2016-06-29 Alan Modra <amodra@gmail.com> |
221 | ||
222 | * script_test_12.t: Delete .plt, specify 64k page size. | |
223 | * script_test_12i.t: Likewise. | |
224 | ||
1275dd72 AM |
225 | 2016-06-29 Alan Modra <amodra@gmail.com> |
226 | ||
227 | * testsuite/plugin_layout_with_alignment.c: Explicitly align all | |
228 | variables. | |
229 | ||
38ac44ac AM |
230 | 2016-06-29 Alan Modra <amodra@gmail.com> |
231 | ||
232 | * testsuite/Makefile.am (copy_test_protected): Disable for powerpc. | |
233 | * testsuite/Makefile.in: Regenerate. | |
234 | ||
5627d875 IK |
235 | 2016-06-28 Igor Kudrin <ikudrin@accesssoftek.com> |
236 | ||
237 | * aarch64-reloc.def (NONE): New relocation. | |
238 | * aarch64.cc (Target_aarch64::Scan::local): Handle R_AARCH64_NONE. | |
239 | (Target_aarch64::Scan::global): Likewise. | |
240 | * testsuite/Makefile.am (aarch64_reloc_none): New test. | |
241 | * testsuite/Makefile.in: Regenerate. | |
242 | * testsuite/aarch64_reloc_none.s: New test source file. | |
243 | * testsuite/aarch64_reloc_none.sh: New test script. | |
244 | ||
3a4f096e ST |
245 | 2016-06-28 Sriraman Tallam <tmsriram@google.com> |
246 | ||
247 | * x86_64.cc (Lazy_view): New class. | |
248 | (can_convert_mov_to_lea): Templatize function. Make the function | |
249 | check for appropriate relocation types and use the view parameter | |
250 | to get section contents. | |
251 | (can_convert_callq_to_direct): New function. | |
252 | (Target_x86_64<size>::Scan::global): Refactor. | |
253 | (Target_x86_64<size>::Relocate::relocate): Refactor. Change any indirect | |
254 | call via GOT that can be converted. | |
255 | * testsuite/Makefile.am (x86_64_indirect_call_to_direct.sh): New test. | |
256 | * testsuite/Makefile.in: Regenerate. | |
257 | * testsuite/x86_64_indirect_call_to_direct1.s: New file. | |
258 | * testsuite/x86_64_indirect_jump_to_direct1.s: New file. | |
259 | ||
8032ac03 IK |
260 | 2016-06-28 Igor Kudrin <ikudrin@accesssoftek.com> |
261 | ||
262 | * aarch64.cc (Target_aarch64::Scan::local): Move the call to got_section | |
263 | from the top level to the places of its use. | |
264 | ||
f224a3c5 IK |
265 | 2016-06-28 Igor Kudrin <ikudrin@accesssoftek.com> |
266 | ||
267 | PR gold/18098 | |
268 | * script-c.h (Sort_wildcard): Add SORT_WILDCARD_BY_INIT_PRIORITY. | |
269 | * script-sections.cc (Input_section_sorter::get_init_priority): New method. | |
270 | (Input_section_sorter::operator()): Handle SORT_WILDCARD_BY_INIT_PRIORITY. | |
271 | (Output_section_element_input::print): Likewise. | |
272 | * script.cc (script_keyword_parsecodes): Add entry SORT_BY_INIT_PRIORITY. | |
273 | * yyscript.y (SORT_BY_INIT_PRIORITY): New token. | |
274 | (wildcard_section): Handle SORT_BY_INIT_PRIORITY. | |
275 | ||
276 | * testsuite/Makefile.am (script_test_14): New test. | |
277 | * testsuite/Makefile.in: Regenerate. | |
278 | * testsuite/script_test_14.s: New test source file. | |
279 | * testsuite/script_test_14.sh: New test script. | |
280 | * testsuite/script_test_14.t: New test linker script. | |
281 | ||
7160c10d JC |
282 | 2016-06-28 James Clarke <jrtc27@jrtc27.com> |
283 | ||
284 | * sparc.cc (Target_sparc::Scan::local): Don't convert R_SPARC_32 | |
285 | to R_SPARC_RELATIVE if class is ELFCLASS64. | |
286 | (Target_sparc::Scan::global): Likewise. | |
287 | ||
3ca25b56 CC |
288 | 2016-06-23 Cary Coutant <ccoutant@gmail.com> |
289 | Igor Kudrin <ikudrin@accesssoftek.com> | |
290 | ||
291 | PR gold/15370 | |
292 | * script-sections.cc | |
293 | (Output_section_element_input::set_section_addresses): Keep bin_count | |
294 | separate from input_pattern_count. | |
295 | * testsuite/script_test_12.t: Add another section .x4. | |
296 | * testsuite/script_test_12i.t: Likewise. | |
297 | * testsuite/script_test_12a.c: Likewise. | |
298 | * testsuite/script_test_12b.c: Likewise. | |
299 | ||
2ec060b7 IK |
300 | 2016-06-23 Igor Kudrin <ikudrin@accesssoftek.com> |
301 | ||
302 | * gold-threads.cc (impl_threads::Lock_impl_threads): Fix typos. | |
303 | ||
6b1edb94 L |
304 | 2016-06-22 H.J. Lu <hongjiu.lu@intel.com> |
305 | ||
306 | PR ld/20283 | |
307 | * NEWS: Mention --enable-relro. | |
308 | * configure.ac: Add --enable-relro. | |
309 | (DEFAULT_LD_Z_RELRO): New. Set by --enable-relro and default | |
310 | to 1. | |
311 | * config.in: Regenerated. | |
312 | * configure: Likewise. | |
313 | * options.h (General_options::relro): Default to | |
314 | DEFAULT_LD_Z_RELRO. | |
315 | ||
f70be8a4 CC |
316 | 2016-06-20 Cary Coutant <ccoutant@gmail.com> |
317 | ||
318 | * NEWS: Add new features in 1.12. | |
319 | * version.cc (version_string): Bump to 1.12. | |
320 | ||
8474a88f L |
321 | 2016-06-20 H.J. Lu <hongjiu.lu@intel.com> |
322 | ||
323 | PR gold/20245 | |
324 | * i386.cc (Target_i386::first_plt_entry_offset): Return 0 if | |
325 | plt_ is NULL. | |
326 | (Target_i386::plt_entry_size): Likewise. | |
327 | (Target_x86_64<size>::first_plt_entry_offset): Likewise. | |
328 | (Target_x86_64<size>::plt_entry_size): Likewise. | |
329 | ||
a8ecc9fe VR |
330 | 2016-06-20 Vladimir Radosavljevic <Vladimir.Radosavljevic@imgtec.com> |
331 | ||
332 | * mips.cc (Target_mips::Target_mips): Initialize rld_map_. | |
333 | (Target_mips::rld_map_): New data member. | |
334 | (Target_mips::do_finalize_sections): Add support for | |
335 | DT_MIPS_RLD_MAP and DT_MIPS_RLD_MAP_REL dynamic tags, | |
336 | .rld_map section, and __RLD_MAP symbol. | |
337 | (Target_mips::do_dynamic_tag_custom_value): Add support for | |
338 | DT_MIPS_RLD_MAP_REL dynamic tag. | |
339 | * output.cc (Output_data_dynamic::get_entry_offset): New method | |
340 | definition. | |
341 | * output.h (Output_data_dynamic::get_entry_offset): New method | |
342 | declaration. | |
343 | ||
beceef50 VR |
344 | 2016-06-20 Vladimir Radosavljevic <Vladimir.Radosavljevic@imgtec.com> |
345 | ||
346 | * mips.cc (Mips_relocate_functions::relpc16): Add unaligned check. | |
347 | ||
f5b11759 VR |
348 | 2016-06-20 Vladimir Radosavljevic <Vladimir.Radosavljevic@imgtec.com> |
349 | ||
350 | * mips.cc (relocation_needs_la25_stub): Add support for relocs: | |
351 | R_MIPS_PC21_S2 and R_MIPS_PC26_S2. | |
352 | (hi16_reloc): Add support for R_MIPS_PCHI16 relocation. | |
353 | (is_matching_lo16_reloc): Likewise. | |
354 | (lo16_reloc): Add support for R_MIPS_PCLO16 relocation. | |
355 | (Mips_output_data_plt::plt_entry_r6): New static data member for | |
356 | R6 PLT entry. | |
357 | (Target_mips::is_output_r6): New method. | |
358 | (Target_mips::Mips_mach): Add new enum constants. | |
359 | (Mips_relocate_functions::Status): Likewise. | |
360 | (Mips_relocate_functions::pchi16_relocs): New static data member. | |
361 | (Mips_relocate_functions::relpc21): New method. | |
362 | (Mips_relocate_functions::relpc26): Likewise. | |
363 | (Mips_relocate_functions::relpc18): Likewise. | |
364 | (Mips_relocate_functions::relpc19): Likewise. | |
365 | (Mips_relocate_functions::relpchi16): Likewise. | |
366 | (Mips_relocate_functions::do_relpchi16): Likewise. | |
367 | (Mips_relocate_functions::relpclo16): Likewise. | |
368 | (Mips_output_data_plt::do_write): Add support for Mips r6 plt | |
369 | entry. | |
370 | (Target_mips::mips_32bit_flags): Add E_MIPS_ARCH_32R6 support. | |
371 | (Target_mips::elf_mips_mach): Add E_MIPS_ARCH_32R6 and | |
372 | E_MIPS_ARCH_64R6 support. | |
373 | (Target_mips::update_abiflags_isa): Likewise. | |
374 | (mips_get_size_for_reloc): Add support for relocs: R_MIPS_PCHI16, | |
375 | R_MIPS_PCLO16, R_MIPS_PC21_S2, R_MIPS_PC26_S2, R_MIPS_PC18_S3 and | |
376 | R_MIPS_PC19_S2. | |
377 | (Target_mips::Scan::local): Add support for relocs: R_MIPS_PCHI16 | |
378 | and R_MIPS_PCLO16. | |
379 | (Target_mips::Scan::global): Add support for relocs: | |
380 | R_MIPS_PC21_S2 and R_MIPS_PC26_S2. | |
381 | (Target_mips::Relocate::relocate): Call functions for resolving | |
382 | Mips32r6 and Mips64r6 relocations, and print error message for | |
383 | STATUS_PCREL_UNALIGNED. | |
384 | (Target_mips::Scan::get_reference_flags): Add support for relocs: | |
385 | R_MIPS_PCHI16, R_MIPS_PCLO16, R_MIPS_PC21_S2, R_MIPS_PC26_S2, | |
386 | R_MIPS_PC18_S3 and R_MIPS_PC19_S2. | |
387 | (Target_mips::elf_mips_mach_name): Add E_MIPS_ARCH_32R6 and | |
388 | E_MIPS_ARCH_64R6 support. | |
389 | ||
3328c04b L |
390 | 2016-06-13 H.J. Lu <hongjiu.lu@intel.com> |
391 | ||
392 | PR gold/20246 | |
393 | * testsuite/script_test_2.t: Add .got.plt after .got. | |
394 | ||
b52717c0 VR |
395 | 2016-06-10 Vladimir Radosavljevic <Vladimir.Radosavljevic@imgtec.com> |
396 | ||
397 | * mips.cc (struct Mips_abiflags): New struct. | |
398 | (Mips_relobj::Mips_relobj): Initialize attributes_section_data_ | |
399 | and abiflags_. | |
400 | (Mips_relobj::~Mips_relobj): Delete object pointed by | |
401 | attributes_section_data_. | |
402 | (Mips_relobj::abiflags): New method. | |
403 | (Mips_relobj::attributes_section_data): Likewise. | |
404 | (Mips_relobj::attributes_section_data_): New data member. | |
405 | (Mips_relobj::abiflags_): Likewise. | |
406 | (class Mips_output_section_abiflags): New class. | |
407 | (Target_mips::Target_mips): Initialize attributes_section_data_, | |
408 | abiflags_ and has_abiflags_section_. | |
409 | (Target_mips::do_should_include_section): Don't emit input | |
410 | .MIPS.abiflags sections to output .MIPS.abiflags. | |
411 | (Target_mips::Mips_mach): Add new enum constants. | |
412 | (Target_mips::mips_isa_ext_mach): New method. | |
413 | (Target_mips::mips_isa_ext): Likewise. | |
414 | (Target_mips::update_abiflags_isa): Likewise. | |
415 | (Target_mips::infer_abiflags): Likewise. | |
416 | (Target_mips::create_abiflags): Likewise. | |
417 | (Target_mips::fp_abi_string): Likewise. | |
418 | (Target_mips::select_fp_abi): Likewise. | |
419 | (Target_mips::merge_obj_attributes): Likewise. | |
420 | (Target_mips::merge_obj_abiflags): Likewise. | |
421 | (Target_mips::level_rev): Likewise. | |
422 | (Target_mips::merge_obj_e_flags): Rename from | |
423 | merge_processor_specific_flags. Remove dyn_obj argument, | |
424 | call update_abiflags_isa when needed, compare NaN encodings and | |
425 | compare FP64 state. | |
426 | (Target_mips::add_machine_extensions): Add two machine extensions | |
427 | and fix one. | |
428 | (Target_mips::attributes_section_data_): New data member. | |
429 | (Target_mips::abiflags_): Likewise. | |
430 | (Target_mips::has_abiflags_section_): Likewise. | |
431 | (Mips_relobj::do_read_symbols): Read .gnu.attributes and | |
432 | .MIPS.abiflags sections if they exists. | |
433 | (Target_mips::elf_mips_mach): Add E_MIPS_MACH_5900 and | |
434 | E_MIPS_MACH_OCTEON3 support. | |
435 | (Target_mips::do_adjust_elf_header): Setup EI_ABIVERSION flag. | |
436 | (Target_mips::do_finalize_sections): Merge .gnu.attributes and | |
437 | .MIPS.abiflags sections from input. Create these sections if | |
438 | needed. | |
439 | (Target_mips::elf_mips_mach_name): Add E_MIPS_MACH_5900 and | |
440 | E_MIPS_MACH_OCTEON3 support, and change strings for | |
441 | E_MIPS_MACH_LS2E, E_MIPS_MACH_LS2F and E_MIPS_MACH_LS3A just | |
442 | to match bfd. | |
443 | ||
82e49872 VR |
444 | 2016-06-10 Vladimir Radosavljevic <Vladimir.Radosavljevic@imgtec.com> |
445 | ||
446 | * mips.cc (Mips_relobj::Mips_relobj): Initialize | |
447 | has_reginfo_section_. | |
448 | (Mips_relobj::has_reginfo_section_): New data member. | |
449 | (Mips_relobj::has_reginfo_section): New method. | |
450 | (class Mips_output_section_reginfo): Change base class to | |
451 | Output_section_data, and set masks of the output .reginfo section | |
452 | in constructor. | |
453 | (Mips_output_section_reginfo::as_mips_output_section_reginfo): | |
454 | Remove. | |
455 | (Mips_output_section_reginfo::set_masks): Likewise. | |
456 | (Mips_output_section_reginfo::set_final_data_size): Likewise. | |
457 | (Mips_output_section_reginfo::do_print_to_mapfile): New method. | |
458 | (Target_mips::do_make_output_section): Remove. | |
459 | (Mips_relobj::do_read_symbols): Set has_reginfo_section_ to true | |
460 | if the object contains a .reginfo section. | |
461 | (Target_mips::do_finalize_sections): Create a .reginfo output | |
462 | section if needed. | |
463 | ||
a080d84d AV |
464 | 2016-06-09 Artemiy Volkov <artemiyv@acm.org> |
465 | ||
466 | * mips.cc (Mips_output_data_got::do_write): Add missing template | |
467 | args via typedef. | |
468 | ||
40d85a7f MK |
469 | 2016-05-30 Marcin Kościelnicki <koriakin@0x04.net> |
470 | ||
471 | PR/19960 | |
472 | * s390.cc (Target_s390::ss_code_st_r14): Removed. | |
473 | (Target_s390::ss_code_l_r14): Removed. | |
474 | (Target_s390::ss_code_ear): Removed. | |
475 | (Target_s390::ss_code_c): Removed. | |
476 | (Target_s390::ss_match_st_r14): New function. | |
477 | (Target_s390::ss_match_l_r14): New function. | |
478 | (Target_s390::ss_match_mcount): Call ss_match_{l,st}_r14 instead | |
479 | of matching code directly. | |
480 | (Target_s390::ss_match_ear): New function. | |
481 | (Target_s390::ss_match_c): New function. | |
482 | (Target_s390::do_calls_non_split): Call ss_match_{ear,c} instead | |
483 | of matching code directly. | |
484 | ||
6eeb0170 CC |
485 | 2016-05-19 Cary Coutant <ccoutant@gmail.com> |
486 | ||
487 | PR gold/19823 | |
488 | * copy-relocs.cc (Copy_relocs::make_copy_reloc): Add object | |
489 | parameter; check for protected symbol. | |
490 | * copy-relocs.h (Copy_relocs::make_copy_reloc): Add object parameter. | |
491 | * mips.cc (Mips_copy_relocs): Adjust call to make_copy_reloc. | |
492 | * symtab.cc (Symbol::init_fields): Initialize is_protected_. | |
493 | (Symbol_table::add_from_dynobj): Mark protected symbols. | |
494 | * symtab.h (Symbol::is_protected): New method. | |
495 | (Symbol::set_is_protected): New method. | |
496 | (Symbol::is_protected_): New data member. | |
497 | ||
498 | * testsuite/Makefile.am (copy_test_protected): New test. | |
499 | * testsuite/Makefile.in: Regenerate. | |
500 | * testsuite/copy_test.cc (main): Add legal reference to protected | |
501 | symbol. | |
502 | * testsuite/copy_test_v1.cc (main): Likewise. | |
503 | * testsuite/copy_test_2.cc (ip): Add protected symbol. | |
504 | * testsuite/copy_test_protected.cc: New test source file. | |
505 | * testsuite/copy_test_protected.sh: New test script. | |
506 | ||
15eb1beb VR |
507 | 2016-05-19 Vladimir Radosavljevic <vladimir.radosavljevic@imgtec.com> |
508 | ||
509 | * mips.cc (Mips_got_entry::Mips_got_entry): Remove object argument | |
510 | for global got symbols, and set addend to 0. | |
511 | (Mips_got_entry::hash): Change hash algorithm. | |
512 | (Mips_got_entry::equals): Refactor. | |
513 | (Mips_got_entry::object): Return input object for local got symbols | |
514 | from union d. | |
515 | (Mips_got_entry::addend): Change return of the relocation addend. | |
516 | (Mips_got_entry::addend_): Move from union d. | |
517 | (Mips_got_entry::object_): Move into union d. | |
518 | (class Mips_symbol_hash): New class. | |
519 | (Mips_got_info::Global_got_entry_set): New type. | |
520 | (Mips_got_info::global_got_symbols): Change return type to | |
521 | Global_got_entry_set. | |
522 | (Mips_got_info::global_got_symbols_): Change type to | |
523 | Global_got_entry_set. | |
524 | (Mips_symbol::hash): New method. | |
525 | (Mips_output_data_la25_stub::symbols_): Change type to std::vector. | |
526 | (Mips_output_data_mips_stubs::Mips_stubs_entry_set): New type. | |
527 | (Mips_output_data_mips_stubs::symbols_): Change type to | |
528 | Mips_stubs_entry_set. | |
529 | (Mips_got_info::record_global_got_symbol): Don't pass object | |
530 | argument when creating global got symbol. | |
531 | (Mips_got_info::record_got_entry): Remove find before inserting | |
532 | got entries. | |
533 | (Mips_got_info::add_reloc_only_entries): Change type of iterator | |
534 | to Global_got_entry_set. | |
535 | (Mips_got_info::count_got_symbols): Likewise. | |
536 | (Mips_output_data_la25_stub::create_la25_stub): Use push_back | |
537 | for adding entries to symbols_. | |
538 | (Mips_output_data_la25_stub::do_write): Change type of iterator | |
539 | to std::vector. | |
540 | (Mips_output_data_mips_stubs::set_lazy_stub_offsets): Change type | |
541 | of iterator to Mips_stubs_entry_set. | |
542 | (Mips_output_data_mips_stubs::set_needs_dynsym_value): Likewise. | |
543 | (Mips_output_data_mips_stubs::do_write): Likewise. | |
544 | ||
5c28a503 HS |
545 | 2016-05-06 Han Shen <shenhan@google.com> |
546 | ||
547 | PR gold/19987. | |
548 | ||
549 | * aarch64-reloc.def: New relocation type. | |
550 | * aarch64.cc (AArch64_relocate_functions::Page): Changed to public. | |
551 | (Target_aarch64::Scan::local): Add R_AARCH64_LD64_GOTPAGE_LO15. | |
552 | (Target_aarch64::Scan::global): Add R_AARCH64_LD64_GOTPAGE_LO15. | |
553 | (Target_aarch64::Relocate::relocate): Implement R_AARCH64_LD64_GOTPAGE_LO15. | |
554 | ||
786a118c NC |
555 | 2016-04-28 Nick Clifton <nickc@redhat.com> |
556 | ||
557 | * po/zh_CN.po: Updated Chinese (simplified) translation. | |
558 | ||
6fd8e7c2 L |
559 | 2016-04-15 H.J. Lu <hongjiu.lu@intel.com> |
560 | ||
561 | * Makefile.in: Regenerated with automake 1.11.6. | |
562 | * aclocal.m4: Likewise. | |
563 | * testsuite/Makefile.in: Likewise. | |
564 | ||
b60ecbc6 CC |
565 | 2016-03-30 Cary Coutant <ccoutant@gmail.com> |
566 | ||
567 | PR gold/16979 | |
568 | * symtab.cc (Symbol_table::define_default_version): Check for case | |
569 | where symbols are both in different shared objects. | |
570 | ||
ed700649 CC |
571 | 2016-03-27 Cary Coutant <ccoutant@gmail.com> |
572 | ||
573 | PR gold/16111 | |
574 | * i386.cc (Target_i386): Add check for fully-resolved symbol for | |
575 | R_386_GOTOFF. | |
576 | ||
9780e045 NC |
577 | 2016-03-22 Nick Clifton <nickc@redhat.com> |
578 | ||
579 | * configure: Regenerate. | |
580 | ||
648c5cbb CC |
581 | 2016-03-21 Cary Coutant <ccoutant@gmail.com> |
582 | ||
583 | PR gold/19842 | |
584 | * errors.cc (Errors::undefined_symbol): Add info message when | |
585 | symbol should have been provided by a plugin. | |
586 | * target-reloc.h (issue_undefined_symbol_error): Check for | |
587 | placeholder symbols defined in discarded sections. | |
588 | * testsuite/Makefile.am (plugin_test_9b): New test case. | |
589 | * testsuite/Makefile.in: Regenerate. | |
590 | * testsuite/plugin_test_9b_elf.cc: New test source file. | |
591 | * testsuite/plugin_test_9b_ir.cc: New test source file. | |
592 | ||
698400bf CC |
593 | 2016-03-20 Cary Coutant <ccoutant@gmail.com> |
594 | ||
595 | PR gold/19002 | |
596 | * ehframe.cc (Eh_frame::read_fde): Check for dropped functions. | |
597 | * testsuite/Makefile.am (eh_test_2): New test. | |
598 | * testsuite/Makefile.in: Regenerate. | |
599 | * testsuite/eh_test_2.sh: New test script. | |
600 | * testsuite/eh_test_a.cc (bar): Make it comdat. | |
601 | * testsuite/eh_test_b.cc (bar): Add a duplicate copy. | |
602 | ||
01b84e25 VR |
603 | 2016-03-18 Vladimir Radosavljevic <vladimir.radosavljevic@imgtec.com> |
604 | ||
605 | * mips.cc (Mips_relobj::is_n64_): Remove. | |
606 | (Target_mips::ei_class_): Likewise. | |
607 | (Mips_relobj::is_newabi): Call methods. | |
608 | (Mips_relobj::is_n64): Change checking for N64 ABI. | |
609 | (Target_mips::is_output_n64): Likewise. | |
610 | (Target_mips::merge_processor_specific_flags): Remove ei_class | |
611 | argument, and remove comparing ei_class. | |
612 | (Target_mips::do_adjust_elf_header): Remove setting EI_CLASS field | |
613 | of the ELF header. | |
614 | (Target_mips::do_finalize_sections): Don't pass ei_class argument | |
615 | to merge_processor_specific_flags. | |
616 | (Target_mips::elf_mips_abi_name): Remove ei_class argument, and | |
617 | change checking for N64 ABI. | |
618 | ||
47a9f4fc VR |
619 | 2016-03-17 Vladimir Radosavljevic <vladimir.radosavljevic@imgtec.com> |
620 | ||
621 | * mips.cc (enum Special_relocation_symbol): New enum type. | |
622 | (is_readonly_section): New function. | |
623 | (eh_reloc): Likewise. | |
624 | (Mips_got_entry::is_section_symbol_): New member. | |
625 | (Mips_got_entry::is_section_symbol): New method. | |
626 | (Mips_got_info::record_local_got_symbol): Add is_section_symbol | |
627 | argument. | |
628 | (Mips_relobj::mips_elf_options_section_name): New method. | |
629 | (Mips_output_data_got::record_local_got_symbol): Add | |
630 | is_section_symbol argument, and pass it to | |
631 | Mips_got_info::record_local_got_symbol. | |
632 | (Mips_output_data_got::got_offset): Add addend argument, and pass | |
633 | it to Relobj::local_got_offset. | |
634 | (struct Mips_output_reloc_writer): New type. | |
635 | (class Mips_output_data_reloc): New class. | |
636 | (Mips_output_data_plt::Reloc_section): Change type to | |
637 | Mips_output_data_reloc. | |
638 | (Target_mips::Reloc_section): Likewise. | |
639 | (Mips_reloc_types::get_r_addend): Remove unsigned from return type. | |
640 | (Mips_classify_reloc::get_r_type2): New method. | |
641 | (Mips_classify_reloc::get_r_type3): Likewise. | |
642 | (Mips_classify_reloc::get_r_ssym): Likewise. | |
643 | (Target_mips::Reloca_section): Remove. | |
644 | (Relocate::should_apply_static_reloc): Rename from | |
645 | should_apply_r_mips_32_reloc. | |
646 | (Target_mips::copy_reloc): Replace Reltype parameter with r_type | |
647 | and r_offset. | |
648 | (Mips_relocate_functions::Valtype): New type. | |
649 | (Mips_relocate_functions::Valtype64): New type. | |
650 | (Mips_relocate_functions::check_overflow): New method. | |
651 | (Mips_relocate_functions::mips_reloc_unshuffle): Move to public | |
652 | interface. | |
653 | (Mips_relocate_functions::mips_reloc_shuffle): Likewise. | |
654 | (Mips_relocate_functions::rel16): Add support for resolving | |
655 | relocations for Mips64. | |
656 | (Mips_relocate_functions::rel32): Likewise. | |
657 | (Mips_relocate_functions::reljalr): Likewise. | |
658 | (Mips_relocate_functions::relpc32): Likewise. | |
659 | (Mips_relocate_functions::rel26): Likewise. | |
660 | (Mips_relocate_functions::relpc16): Likewise. | |
661 | (Mips_relocate_functions::relmicromips_pc7_s1): Likewise. | |
662 | (Mips_relocate_functions::relmicromips_pc10_s1): Likewise. | |
663 | (Mips_relocate_functions::relmicromips_pc16_s1): Likewise. | |
664 | (Mips_relocate_functions::do_relhi16): Likewise. | |
665 | (Mips_relocate_functions::do_relgot16_local): Likewise. | |
666 | (Mips_relocate_functions::rello16): Likewise. | |
667 | (Mips_relocate_functions::relgot): Likewise. | |
668 | (Mips_relocate_functions::relgotpage): Likewise. | |
669 | (Mips_relocate_functions::relgotofst): Likewise. | |
670 | (Mips_relocate_functions::relgot_hi16): Likewise. | |
671 | (Mips_relocate_functions::relgot_lo16): Likewise. | |
672 | (Mips_relocate_functions::relgprel): Likewise. | |
673 | (Mips_relocate_functions::relgprel32): Likewise. | |
674 | (Mips_relocate_functions::tlsrelhi16): Likewise. | |
675 | (Mips_relocate_functions::tlsrello16): Likewise. | |
676 | (Mips_relocate_functions::tlsrel32): Likewise. | |
677 | (Mips_relocate_functions::relsub): Likewise. | |
678 | (Mips_relocate_functions::releh): New method. | |
679 | (Mips_relocate_functions::rel64): Likewise. | |
680 | (Mips_got_info::record_local_got_symbol): Add is_section_symbol and | |
681 | pass it to Mips_got_entry. | |
682 | (Mips_got_info::add_local_entries): Pass addend argument | |
683 | to code functions, and for STT_SECTION symbols call | |
684 | add_symbolless_local_addend. | |
685 | (Mips_got_info::add_tls_entries): Pass addend argument to code | |
686 | functions. | |
687 | (Mips_relobj::do_read_symbols): Read gp value that was used to | |
688 | create object. | |
689 | (Mips_output_data_plt::plt_entry): Remove opcode from l[wd] | |
690 | instruction. Opcode for instruction will be selected later. | |
691 | (Target_mips::gc_process_relocs): Add case for SHT_RELA. | |
692 | (Target_mips::scan_relocatable_relocs): Likewise. | |
693 | (Target_mips::emit_relocs_scan): Likewise. | |
694 | (Target_mips::relocate_relocs): Likewise. | |
695 | (Target_mips::do_finalize_sections): Skip objects for merging | |
696 | processor specific flags in which all input sections will be | |
697 | discarded. | |
698 | (mips_get_size_for_reloc): Add case for R_MIPS_EH. | |
699 | (Target_mips::Scan::get_reference_flags): Likewise. | |
700 | (Target_mips::relocate_special_relocatable): Call rel26 method with | |
701 | calculate_only and calculated_value arguments. | |
702 | (Target_mips::Scan::local): Add case for R_MIPS_EH. Don't create a | |
703 | dynamic relocation against a readonly sections, and pass | |
704 | is_section_symbol to Mips_got_info::record_local_got_symbol. | |
705 | (Target_mips::Scan::global): Add case for R_MIPS_EH. Don't create a | |
706 | dynamic relocation against a readonly sections, and pass r_type | |
707 | and r_offset to Target_mips::copy_reloc. | |
708 | (Target_mips::Relocate::relocate): Add support for resolving | |
709 | relocations for Mips64. | |
710 | (Target_mips::mips_info): Add case for Mips64 default dynamic | |
711 | linker name. | |
712 | (Target_selector_mips): Correct emulation names. | |
713 | ||
1a08ae21 VR |
714 | 2016-03-17 Vladimir Radosavljevic <vladimir.radosavljevic@imgtec.com> |
715 | ||
716 | * mips.cc (class Mips_output_data_la25_stub): Add | |
717 | do_print_to_mapfile function. | |
718 | ||
c2fa9ced VR |
719 | 2016-03-17 Vladimir Radosavljevic <vladimir.radosavljevic@imgtec.com> |
720 | ||
721 | * mips.cc (Mips_classify_reloc::put_r_info): Call 32bit version of | |
722 | elf_r_info. | |
723 | ||
fd91f002 L |
724 | 2016-03-09 H.J. Lu <hongjiu.lu@intel.com> |
725 | ||
726 | * testsuite/plugin_layout_with_alignment.cc: Renamed to .. | |
727 | * testsuite/plugin_layout_with_alignment.c: This. | |
728 | * testsuite/Makefile.am (plugin_layout_with_alignment.o): Updated. | |
729 | (plugin_layout_with_alignment): Likewise. | |
730 | * testsuite/Makefile.in: Regenerated. | |
731 | ||
7ff6eb49 CC |
732 | 2016-03-08 Cary Coutant <ccoutant@gmail.com> |
733 | ||
734 | PR 19751 | |
735 | * testsuite/Makefile.am (retain_symbols_file_test): Remove check | |
736 | for constructor. | |
737 | * testsuite/Makefile.in: Regenerate. | |
738 | * testsuite/dynamic_list.sh: Likewise. | |
739 | * testsuite/retain_symbols_file_test.sh: Likewise. | |
740 | ||
202736be CC |
741 | 2016-03-08 Cary Coutant <ccoutant@gmail.com> |
742 | ||
743 | PR 19751 | |
744 | * arm.cc (Reloc_stub::Key::name): Add unused attribute. | |
745 | * dirsearch.cc (Dir_caches::~Dir_caches): Likewise. | |
746 | ||
c32482d6 CC |
747 | 2016-03-08 Cary Coutant <ccoutant@gmail.com> |
748 | Vladimir Radosavljevic <vladimir.radosavljevic@imgtec.com> | |
749 | ||
750 | * output.cc (Output_reloc_writer): New type. | |
751 | (Output_data_reloc_base::do_write): Move implementation to template | |
752 | in output.h and replace with invocation of template. | |
753 | * output.h (Output_file): Move to top of file. | |
754 | (Output_reloc::get_symbol_index): Move to public interface. | |
755 | (Output_reloc::get_address): Likewise. | |
756 | (Output_data_reloc_base::do_write_generic): New function template. | |
757 | ||
8d04e81d CC |
758 | 2016-03-04 Cary Coutant <ccoutant@gmail.com> |
759 | ||
760 | PR gold/19019 | |
761 | PR gold/19763 | |
762 | * symtab.cc: Instantiate Sized_symbol::init_constant and | |
763 | Sized_symbol::init_undefined. | |
764 | ||
dc1c8a16 CC |
765 | 2016-03-03 Cary Coutant <ccoutant@gmail.com> |
766 | ||
767 | PR gold/19019 | |
768 | * layout.h (Layout::add_target_specific_dynamic_tag): New function. | |
769 | * layout.cc (Layout::add_target_specific_dynamic_tag): New function. | |
770 | * mips.cc (Target_mips::make_symbol): Adjust function signature. | |
771 | * sparc.cc (Target_sparc::Target_sparc): Initialize register_syms_. | |
772 | (Target_sparc::do_is_defined_by_abi): Remove test for | |
773 | STT_SPARC_REGISTER. | |
774 | (Target_sparc::Register_symbol): New struct type. | |
775 | (Target_sparc::register_syms_): New data member. | |
776 | (Target_sparc<64, true>::sparc_info): Set has_make_symbol to true. | |
777 | (Target_sparc::make_symbol): New function. | |
778 | (Target_sparc::do_finalize_sections): Add register symbols and new | |
779 | dynamic table entries. | |
780 | * symtab.h (Sized_symbol::init_undefined): Add value parameter. | |
781 | (Symbol_table::add_target_global_symbol): New function. | |
782 | (Symbol_table::target_symbols_): New data member. | |
783 | * symtab.cc (Sized_symbol::init_undefined): Add value parameter. | |
784 | (Symbol_table::Symbol_table): Initialize target_symbols_. | |
785 | (Symbol_table::add_from_object): Pass additional parameters to | |
786 | Target::make_symbol. | |
787 | (Symbol_table::define_special_symbol): Likewise. | |
788 | (Symbol_table::add_undefined_symbol_from_command_line): Pass 0 for | |
789 | undefined symbol value. | |
790 | (Symbol_table::set_dynsym_indexes): Process target-specific symbols. | |
791 | (Symbol_table::sized_finalize): Likewise. | |
792 | (Symbol_table::sized_write_globals): Likewise. | |
793 | * target.h (Sized_target::make_symbol): Add name, st_type, object, | |
794 | st_shndx, and value parameters. | |
795 | ||
9b738e36 | 796 | 2016-03-03 Rafael Ávila de Espíndola <rafael.espindola@gmail.com> |
a06ed37d RÁE |
797 | |
798 | * plugin.cc (do_should_include_member): Ignore LDPK_UNDEF and | |
799 | LDPK_WEAKUNDEF symbols. | |
800 | ||
3f1f41f5 L |
801 | 2016-03-03 Than McIntosh <thanm@google.com> |
802 | ||
803 | * plugin.cc (Plugin::load): Include hooks for get_input_section_size | |
804 | and get_input_section_alignment in transfer vector. | |
805 | (get_input_section_alignment): New function. | |
806 | (get_input_section_size): New function. | |
807 | * testsuite/Makefile.am: Add plugin_layout_with_alignment.sh test. | |
808 | * testsuite/Makefile.in: [Regenerate.] | |
809 | * testsuite/plugin_section_alignment.cc: New test file. | |
810 | * testsuite/plugin_layout_with_alignment.cc: New test file. | |
811 | * testsuite/plugin_layout_with_alignment.sh: New test file. | |
812 | ||
9b738e36 | 813 | 2016-03-03 Evgenii Stepanov <eugenis@google.com> |
95ecdfbf ES |
814 | |
815 | * plugin.h (Pluginobj::get_symbol_resolution_info): Add version | |
816 | parameter. | |
817 | * plugin.cc (get_symbols_v3): New function. | |
818 | (Plugin::load): Add LDPT_GET_SYMBOLS_V3. | |
819 | (Pluginobj::get_symbol_resolution_info): Return LDPS_NO_SYMS when using | |
820 | new version. | |
821 | ||
fc5a9bd5 CC |
822 | 2016-02-26 Egor Kochetov <egor.kochetov@intel.com> |
823 | Cary Coutant <ccoutant@gmail.com> | |
824 | ||
825 | PR gold/19735 | |
826 | * ehframe.h (Cie::fde_encoding): New method. | |
827 | * ehframe.cc (Eh_frame::read_fde): Discard FDEs for zero-length | |
828 | address ranges. | |
829 | ||
1cd17042 L |
830 | 2016-02-15 H.J. Lu <hongjiu.lu@intel.com> |
831 | ||
832 | * testsuite/Makefile.am (x86_64_mov_to_lea5.o): Pass | |
833 | -mrelax-relocations=yes to $(TEST_AS). | |
834 | (x86_64_mov_to_lea6.o): Likewise. | |
835 | (x86_64_overflow_pc32.o): Remove duplicated target. | |
836 | * testsuite/Makefile.in: Regenerated. | |
837 | ||
2b63aca3 MK |
838 | 2016-02-15 Marcin Kościelnicki <koriakin@0x04.net> |
839 | ||
840 | * s390.cc (Target_s390::match_view_u): New helper method. | |
841 | (Target_s390::do_is_call_to_non_split): New method. | |
842 | (Target_s390::ss_code_st_r14): New const. | |
843 | (Target_s390::ss_code_l_r14): New const. | |
844 | (Target_s390::ss_code_bras_8): New const. | |
845 | (Target_s390::ss_code_l_basr): New const. | |
846 | (Target_s390::ss_code_a_basr): New const. | |
847 | (Target_s390::ss_code_ear): New const. | |
848 | (Target_s390::ss_code_c): New const. | |
849 | (Target_s390::ss_code_larl): New const. | |
850 | (Target_s390::ss_code_brasl): New const. | |
851 | (Target_s390::ss_code_jg): New const. | |
852 | (Target_s390::ss_code_jgl): New const. | |
853 | (Target_s390::ss_match_mcount): New helper method. | |
854 | (Target_s390::ss_match_l): New helper method. | |
855 | (Target_s390::ss_match_ahi): New helper method. | |
856 | (Target_s390::ss_match_alfi): New helper method. | |
857 | (Target_s390::ss_match_cr): New helper method. | |
858 | (Target_s390::do_calls_non_split): New method. | |
859 | * testsuite/Makefile.am: Added new tests. | |
860 | * testsuite/Makefile.in: Regenerate. | |
861 | * testsuite/split_s390.sh: New test. | |
862 | * testsuite/split_s390_1_a1.s: New test. | |
863 | * testsuite/split_s390_1_a2.s: New test. | |
864 | * testsuite/split_s390_1_n1.s: New test. | |
865 | * testsuite/split_s390_1_n2.s: New test. | |
866 | * testsuite/split_s390_1_z1.s: New test. | |
867 | * testsuite/split_s390_1_z2.s: New test. | |
868 | * testsuite/split_s390_1_z3.s: New test. | |
869 | * testsuite/split_s390_1_z4.s: New test. | |
870 | * testsuite/split_s390_2_ns.s: New test. | |
871 | * testsuite/split_s390_2_s.s: New test. | |
872 | * testsuite/split_s390x_1_a1.s: New test. | |
873 | * testsuite/split_s390x_1_a2.s: New test. | |
874 | * testsuite/split_s390x_1_n1.s: New test. | |
875 | * testsuite/split_s390x_1_n2.s: New test. | |
876 | * testsuite/split_s390x_1_z1.s: New test. | |
877 | * testsuite/split_s390x_1_z2.s: New test. | |
878 | * testsuite/split_s390x_1_z3.s: New test. | |
879 | * testsuite/split_s390x_1_z4.s: New test. | |
880 | * testsuite/split_s390x_2_ns.s: New test. | |
881 | * testsuite/split_s390x_2_s.s: New test. | |
882 | ||
e3dbf582 HS |
883 | 2016-02-11 Rahul Chaudhry <rahulchaudhry@google.com> |
884 | ||
885 | * aarch64.cc (Target_aarch64::scan_erratum_843419_span): Remove | |
886 | info message for every erratum 843419 found and fixed. | |
887 | ||
17ecd016 CC |
888 | 2016-02-07 Cary Coutant <ccoutant@gmail.com> |
889 | ||
890 | PR gold/18695 | |
891 | * x86_64.cc (Target_x86_64::Relocate::relocate): Add additional | |
892 | information to relocation overflow errors. | |
893 | ||
7c8b700c CC |
894 | 2016-02-06 Cary Coutant <ccoutant@gmail.com> |
895 | ||
17ecd016 | 896 | PR gold/18695 |
7c8b700c CC |
897 | * x86_64.cc (X86_64_relocate_functions::pcrela32_check): Fix x32 |
898 | overflow checking when symbol value + addend < 0. | |
899 | ||
b7a4e9d8 CC |
900 | 2016-02-06 Cary Coutant <ccoutant@gmail.com> |
901 | ||
902 | PR gold/19577 | |
903 | * reloc.h (Limits): New class. | |
904 | (Bits::has_overflow32): Use min/max values from Limits. | |
905 | (Bits::has_unsigned_overflow32): Likewise. | |
906 | (Bits::has_signed_unsigned_overflow32): Likewise. | |
907 | (Bits::has_overflow): Likewise. | |
908 | (Bits::has_unsigned_overflow): Likewise. | |
909 | (Bits::has_signed_unsigned_overflow64): Likewise. | |
910 | ||
19ef3f4d CC |
911 | 2016-02-06 Cary Coutant <ccoutant@gmail.com> |
912 | ||
913 | PR gold/19567 | |
914 | * reloc.h (Relocate_functions::Overflow_check): Add comments. | |
915 | * x86_64.cc (X86_64_relocate_functions): New class. | |
916 | (Target_x86_64::Relocate::relocate): Use the new class. | |
917 | * testsuite/Makefile.am (x86_64_overflow_pc32): Add -Tdata option. | |
918 | (x32_overflow_pc32): New test case. | |
919 | * testsuite/Makefile.in: Regenerate. | |
920 | * testsuite/x32_overflow_pc32.sh: New script. | |
921 | * testsuite/x86_64_overflow_pc32.s: Remove .space directive. | |
922 | ||
72c55146 CC |
923 | 2016-02-06 Cary Coutant <ccoutant@gmail.com> |
924 | ||
925 | PR gold/19577 | |
926 | * reloc.h (Bits::has_unsigned_overflow32): Fix static_cast. | |
927 | (Bits::has_unsigned_overflow): Remove unnecessary static_cast. | |
928 | ||
2bf48941 CC |
929 | 2016-02-06 Cary Coutant <ccoutant@gmail.com> |
930 | ||
3b8bcce8 | 931 | PR gold/19577 |
2bf48941 CC |
932 | * reloc.h (Bits::has_unsigned_overflow32): Fix unsigned/signed |
933 | comparison. | |
934 | (Bits::has_unsigned_overflow): Likewise. | |
935 | ||
bd8d853f MK |
936 | 2016-02-06 Marcin Kościelnicki <koriakin@0x04.net> |
937 | ||
938 | * i386.cc (Target_i386::is_call_to_non_split): Add view and view_size | |
939 | parameters. | |
940 | * reloc.cc (Sized_relobj_file::split_stack_adjust_reltype): Pass view | |
941 | and view_size to is_call_to_non_split. | |
942 | * target.cc (Target::is_call_to_non_split): Add view and view_size | |
943 | parameters. | |
944 | * target.h (class Target): Likewise. | |
945 | ||
84d543b7 ST |
946 | 2016-02-05 Sriraman Tallam <tmsriram@google.com> |
947 | ||
948 | * icf.cc (get_rel_addend): New function. | |
949 | (get_section_contents): Move merge section addend computation to a | |
950 | new function. Ignore negative values for SHT_REL and SHT_RELA addends. | |
951 | Fix bug to not read past the length of the section. | |
952 | ||
c34c98ed CC |
953 | 2016-02-05 Cary Coutant <ccoutant@gmail.com> |
954 | Andrew Senkevich <andrew.senkevich@intel.com> | |
955 | ||
956 | PR gold/18695 | |
957 | * x86_64.cc (Target_x86_64::Relocate::relocate): Add overflow | |
958 | checking for R_X86_64_32, R_X86_64_32S, R_X86_64_PC32, and | |
959 | R_X86_64_PLT32. | |
960 | * testsuite/Makefile.am (x86_64_overflow_pc32): New test. | |
961 | * testsuite/x86_64_overflow_pc32.sh: New test script. | |
962 | * testsuite/x86_64_overflow_pc32.s: New source file. | |
963 | ||
964 | 2016-02-05 Cary Coutant <ccoutant@gmail.com> | |
44803b5d CC |
965 | |
966 | PR gold/18695 | |
967 | * reloc.h (Relocate_functions::Address): New typedef. | |
968 | (Relocate_functions::Addendtype): New typedef. | |
969 | (Relocate_functions::Overflow_check): New enum type. | |
970 | (Relocate_functions::Reloc_status): New enum type. | |
971 | (Relocate_functions::check_overflow): New function template. | |
972 | (Relocate_functions::rel): Add check parameter; check for overflow. | |
973 | (Relocate_functions::rel_unaligned): Likewise. | |
974 | (Relocate_functions::rela): Likewise. | |
975 | (Relocate_functions::pcrel): Likewise. | |
976 | (Relocate_functions::pcrel_unaligned): Likewise. | |
977 | (Relocate_functions::pcrela): Likewise. | |
978 | (Relocate_functions::rel8): Adjust parameter types. | |
979 | (Relocate_functions::rela8): Likewise. | |
980 | (Relocate_functions::pcrel8): Likewise. | |
981 | (Relocate_functions::pcrela8): Likewise. | |
982 | (Relocate_functions::rel16): Likewise. | |
983 | (Relocate_functions::rela168): Likewise. | |
984 | (Relocate_functions::pcrel16): Likewise. | |
985 | (Relocate_functions::pcrela16): Likewise. | |
986 | (Relocate_functions::rel32): Likewise. | |
987 | (Relocate_functions::rel32_unaligned): Likewise. | |
988 | (Relocate_functions::rela32): Likewise. | |
989 | (Relocate_functions::pcrel32): Likewise. | |
990 | (Relocate_functions::pcrel32_unaligned): Likewise. | |
991 | (Relocate_functions::pcrela32): Likewise. | |
992 | (Relocate_functions::rel8_check): New function. | |
993 | (Relocate_functions::rela8_check): New function. | |
994 | (Relocate_functions::pcrel8_check): New function. | |
995 | (Relocate_functions::pcrela8_check): New function. | |
996 | (Relocate_functions::rel16_check): New function. | |
997 | (Relocate_functions::rela168_check): New function. | |
998 | (Relocate_functions::pcrel16_check): New function. | |
999 | (Relocate_functions::pcrela16_check): New function. | |
1000 | (Relocate_functions::rel32_check): New function. | |
1001 | (Relocate_functions::rel32_unaligned_check): New function. | |
1002 | (Relocate_functions::rela32_check): New function. | |
1003 | (Relocate_functions::pcrel32_check): New function. | |
1004 | (Relocate_functions::pcrel32_unaligned_check): New function. | |
1005 | (Relocate_functions::pcrela32_check): New function. | |
1006 | (Bits::has_unsigned_overflow32): New function. | |
1007 | (Bits::has_unsigned_overflow): New function. | |
1008 | * testsuite/Makefile.am (overflow_unittest): New test. | |
1009 | * testsuite/Makefile.in: Regenerate. | |
1010 | * testsuite/overflow_unittest.cc: New source file. | |
1011 | ||
4f038ee5 AM |
1012 | 2016-02-04 Alan Modra <amodra@gmail.com> |
1013 | ||
1014 | * powerpc.cc (relocate): Adjust last patch for big-endian. | |
1015 | ||
85fabe71 AM |
1016 | 2016-02-02 Alan Modra <amodra@gmail.com> |
1017 | ||
1018 | * powerpc.cc (relocate): Further restrict ELFv2 entry optimization. | |
1019 | ||
9a472eda HS |
1020 | 2016-01-15 Han Shen <shenhan@google.com> |
1021 | ||
1022 | PR gold/19472 - need pc-relative stubs. | |
1023 | ||
1024 | * aarch64.cc (Reloc_stub::stub_type_for_reloc): Return PC-relative | |
1025 | stub type for DSOs and pie executables. | |
1026 | ||
41549dfb L |
1027 | 2016-01-12 H.J. Lu <hongjiu.lu@intel.com> |
1028 | ||
1029 | * i386.cc (Target_i386::Classify_reloc::get_r_addend): Remove | |
1030 | 'typename'. | |
1031 | ||
8a8880cb CC |
1032 | 2016-01-12 Cary Coutant <ccoutant@gmail.com> |
1033 | ||
1034 | * arm.cc (Target_arm::Classify_reloc::get_r_addend): New method. | |
1035 | * i386.cc (Target_i386::Classify_reloc::get_r_addend): New method. | |
1036 | * mips.cc (Target_arm::Mips_classify_reloc::get_r_addend): (Both | |
1037 | specializations) New method. | |
1038 | ||
d21f123b CC |
1039 | 2016-01-11 Cary Coutant <ccoutant@gmail.com> |
1040 | ||
1041 | PR gold/19353 | |
1042 | * aarch64.cc (Target_aarch64::relocate_tls): Don't insist that | |
1043 | we have a TLS segment for GD-to-IE optimization. | |
1044 | * i386.cc (Target_i386::tls_gd_to_ie): Remove tls_segment parameter. | |
1045 | Adjust all calls. | |
1046 | (Target_i386::tls_desc_gd_to_ie): Likewise. | |
1047 | (Target_i386::relocate_tls): Don't insist that we have a TLS segment | |
1048 | for TLSDESC GD-to-IE optimizations. | |
1049 | * x86_64.cc (Target_x86_64::tls_gd_to_ie): Remove tls_segment parameter. | |
1050 | Adjust all calls. | |
1051 | (Target_x86_64::tls_desc_gd_to_ie): Likewise. | |
1052 | (Target_x86_64::relocate_tls): Don't insist that we have a TLS segment | |
1053 | for TLSDESC GD-to-IE optimizations. | |
1054 | ||
4d625b70 CC |
1055 | 2016-01-11 Cary Coutant <ccoutant@gmail.com> |
1056 | ||
1057 | Refactor gold to enable support for MIPS-64 relocation format. | |
1058 | ||
1059 | * gc.h (get_embedded_addend_size): Remove sh_type parameter. | |
1060 | (gc_process_relocs): Remove sh_type template parameter. | |
1061 | Use Classify_reloc to access r_sym, r_type, and r_addend fields. | |
1062 | * object.h (Sized_relobj_file::split_stack_adjust): Add target | |
1063 | parameter. | |
1064 | (Sized_relobj_file::split_stack_adjust_reltype): Likewise. | |
1065 | * reloc-types.h (Reloc_types::copy_reloc_addend): (SHT_REL and SHT_RELA | |
1066 | specializations) Remove. | |
1067 | * reloc.cc (Emit_relocs_strategy): Rename and move to target-reloc.h. | |
1068 | (Sized_relobj_file::emit_relocs_scan): Call Target::emit_relocs_scan(). | |
1069 | (Sized_relobj_file::emit_relocs_scan_reltype): Remove. | |
1070 | (Sized_relobj_file::split_stack_adjust): Add target parameter. | |
1071 | Adjust all callers. | |
1072 | (Sized_relobj_file::split_stack_adjust_reltype): Likewise. Call | |
1073 | Target::get_r_sym() to get r_sym field from relocations. | |
1074 | (Track_relocs::next_symndx): Call Target::get_r_sym(). | |
1075 | * target-reloc.h (scan_relocs): Remove sh_type template parameter; | |
1076 | add Classify_reloc template parameter. Use for accessing r_sym and | |
1077 | r_type. | |
1078 | (relocate_section): Likewise. | |
1079 | (Default_classify_reloc): New class (renamed and moved from reloc.cc). | |
1080 | (Default_scan_relocatable_relocs): Remove sh_type template parameter. | |
1081 | (Default_scan_relocatable_relocs::Reltype): New typedef. | |
1082 | (Default_scan_relocatable_relocs::reloc_size): New const. | |
1083 | (Default_scan_relocatable_relocs::sh_type): New const. | |
1084 | (Default_scan_relocatable_relocs::get_r_sym): New method. | |
1085 | (Default_scan_relocatable_relocs::get_r_type): New method. | |
1086 | (Default_emit_relocs_strategy): New class. | |
1087 | (scan_relocatable_relocs): Replace sh_type template parameter with | |
1088 | Scan_relocatable_relocs class. Use it to access r_sym and r_type | |
1089 | fields. | |
1090 | (relocate_relocs): Replace sh_type template parameter with | |
1091 | Classify_reloc class. Use it to access r_sym and r_type fields. | |
1092 | * target.h (Target::is_call_to_non_split): Replace r_type parameter | |
1093 | with pointer to relocation. Adjust all callers. | |
1094 | (Target::do_is_call_to_non_split): Likewise. | |
1095 | (Target::emit_relocs_scan): New virtual method. | |
1096 | (Sized_target::get_r_sym): New virtual method. | |
1097 | * target.cc (Target::do_is_call_to_non_split): Replace r_type parameter | |
1098 | with pointer to relocation. | |
1099 | ||
1100 | * aarch64.cc (Target_aarch64::emit_relocs_scan): New method. | |
1101 | (Target_aarch64::Relocatable_size_for_reloc): Remove. | |
1102 | (Target_aarch64::gc_process_relocs): Use Default_classify_reloc. | |
1103 | (Target_aarch64::scan_relocs): Likewise. | |
1104 | (Target_aarch64::relocate_section): Likewise. | |
1105 | (Target_aarch64::Relocatable_size_for_reloc::get_size_for_reloc): | |
1106 | Remove. | |
1107 | (Target_aarch64::scan_relocatable_relocs): Use Default_classify_reloc. | |
1108 | (Target_aarch64::relocate_relocs): Use Default_classify_reloc. | |
1109 | * arm.cc (Target_arm::Arm_scan_relocatable_relocs): Remove sh_type | |
1110 | template parameter. | |
1111 | (Target_arm::emit_relocs_scan): New method. | |
1112 | (Target_arm::Relocatable_size_for_reloc): Replace with... | |
1113 | (Target_arm::Classify_reloc): ...this. | |
1114 | (Target_arm::gc_process_relocs): Use Classify_reloc. | |
1115 | (Target_arm::scan_relocs): Likewise. | |
1116 | (Target_arm::relocate_section): Likewise. | |
1117 | (Target_arm::scan_relocatable_relocs): Likewise. | |
1118 | (Target_arm::relocate_relocs): Likewise. | |
1119 | * i386.cc (Target_i386::emit_relocs_scan): New method. | |
1120 | (Target_i386::Relocatable_size_for_reloc): Replace with... | |
1121 | (Target_i386::Classify_reloc): ...this. | |
1122 | (Target_i386::gc_process_relocs): Use Classify_reloc. | |
1123 | (Target_i386::scan_relocs): Likewise. | |
1124 | (Target_i386::relocate_section): Likewise. | |
1125 | (Target_i386::scan_relocatable_relocs): Likewise. | |
1126 | (Target_i386::relocate_relocs): Likewise. | |
1127 | * mips.cc (Mips_scan_relocatable_relocs): Remove sh_type template | |
1128 | parameter. | |
1129 | (Mips_reloc_types): New class template. | |
1130 | (Mips_classify_reloc): New class template. | |
1131 | (Target_mips::Reltype): New typedef. | |
1132 | (Target_mips::Relatype): New typedef. | |
1133 | (Target_mips::emit_relocs_scan): New method. | |
1134 | (Target_mips::get_r_sym): New method. | |
1135 | (Target_mips::Relocatable_size_for_reloc): Replace with | |
1136 | Mips_classify_reloc. | |
1137 | (Target_mips::copy_reloc): Use Mips_classify_reloc. | |
1138 | (Target_mips::gc_process_relocs): Likewise. | |
1139 | (Target_mips::scan_relocs): Likewise. | |
1140 | (Target_mips::relocate_section): Likewise. | |
1141 | (Target_mips::scan_relocatable_relocs): Likewise. | |
1142 | (Target_mips::relocate_relocs): Likewise. | |
1143 | (mips_get_size_for_reloc): New function, factored out from | |
1144 | Relocatable_size_for_reloc::get_size_for_reloc. | |
1145 | (Target_mips::Scan::local): Use Mips_classify_reloc. | |
1146 | (Target_mips::Scan::global): Likewise. | |
1147 | (Target_mips::Relocate::relocate): Likewise. | |
1148 | * powerpc.cc (Target_powerpc::emit_relocs_scan): New method. | |
1149 | (Target_powerpc::Relocatable_size_for_reloc): Remove. | |
1150 | (Target_powerpc::gc_process_relocs): Use Default_classify_reloc. | |
1151 | (Target_powerpc::scan_relocs): Likewise. | |
1152 | (Target_powerpc::relocate_section): Likewise. | |
1153 | (Powerpc_scan_relocatable_reloc): Convert to class template. | |
1154 | (Powerpc_scan_relocatable_reloc::Reltype): New typedef. | |
1155 | (Powerpc_scan_relocatable_reloc::reloc_size): New const. | |
1156 | (Powerpc_scan_relocatable_reloc::sh_type): New const. | |
1157 | (Powerpc_scan_relocatable_reloc::get_r_sym): New method. | |
1158 | (Powerpc_scan_relocatable_reloc::get_r_type): New method. | |
1159 | (Target_powerpc::scan_relocatable_relocs): Use | |
1160 | Powerpc_scan_relocatable_reloc. | |
1161 | (Target_powerpc::relocate_relocs): Use Default_classify_reloc. | |
1162 | * s390.cc (Target_s390::emit_relocs_scan): New method. | |
1163 | (Target_s390::Relocatable_size_for_reloc): Remove. | |
1164 | (Target_s390::gc_process_relocs): Use Default_classify_reloc. | |
1165 | (Target_s390::scan_relocs): Likewise. | |
1166 | (Target_s390::relocate_section): Likewise. | |
1167 | (Target_s390::Relocatable_size_for_reloc::get_size_for_reloc): | |
1168 | Remove. | |
1169 | (Target_s390::scan_relocatable_relocs): Use Default_classify_reloc. | |
1170 | (Target_s390::relocate_relocs): Use Default_classify_reloc. | |
1171 | * sparc.cc (Target_sparc::emit_relocs_scan): New method. | |
1172 | (Target_sparc::Relocatable_size_for_reloc): Remove. | |
1173 | (Target_sparc::gc_process_relocs): Use Default_classify_reloc. | |
1174 | (Target_sparc::scan_relocs): Likewise. | |
1175 | (Target_sparc::relocate_section): Likewise. | |
1176 | (Target_sparc::Relocatable_size_for_reloc::get_size_for_reloc): | |
1177 | Remove. | |
1178 | (Target_sparc::scan_relocatable_relocs): Use Default_classify_reloc. | |
1179 | (Target_sparc::relocate_relocs): Use Default_classify_reloc. | |
1180 | * tilegx.cc (Target_tilegx::emit_relocs_scan): New method. | |
1181 | (Target_tilegx::Relocatable_size_for_reloc): Remove. | |
1182 | (Target_tilegx::gc_process_relocs): Use Default_classify_reloc. | |
1183 | (Target_tilegx::scan_relocs): Likewise. | |
1184 | (Target_tilegx::relocate_section): Likewise. | |
1185 | (Target_tilegx::Relocatable_size_for_reloc::get_size_for_reloc): | |
1186 | Remove. | |
1187 | (Target_tilegx::scan_relocatable_relocs): Use Default_classify_reloc. | |
1188 | (Target_tilegx::relocate_relocs): Use Default_classify_reloc. | |
1189 | * x86_64.cc (Target_x86_64::emit_relocs_scan): New method. | |
1190 | (Target_x86_64::Relocatable_size_for_reloc): Remove. | |
1191 | (Target_x86_64::gc_process_relocs): Use Default_classify_reloc. | |
1192 | (Target_x86_64::scan_relocs): Likewise. | |
1193 | (Target_x86_64::relocate_section): Likewise. | |
1194 | (Target_x86_64::Relocatable_size_for_reloc::get_size_for_reloc): | |
1195 | Remove. | |
1196 | (Target_x86_64::scan_relocatable_relocs): Use Default_classify_reloc. | |
1197 | (Target_x86_64::relocate_relocs): Use Default_classify_reloc. | |
1198 | ||
1199 | * testsuite/testfile.cc (Target_test::emit_relocs_scan): New method. | |
1200 | ||
6f2750fe AM |
1201 | 2016-01-01 Alan Modra <amodra@gmail.com> |
1202 | ||
1203 | Update year range in copyright notice of all files. | |
1204 | ||
3499769a AM |
1205 | For older changes see ChangeLog-0815 |
1206 | \f | |
1207 | Copyright (C) 2016 Free Software Foundation, Inc. | |
1208 | ||
1209 | Copying and distribution of this file, with or without modification, | |
1210 | are permitted in any medium without royalty provided the copyright | |
1211 | notice and this notice are preserved. | |
1212 | ||
1213 | Local Variables: | |
1214 | mode: change-log | |
1215 | left-margin: 8 | |
1216 | fill-column: 74 | |
1217 | version-control: never | |
1218 | End: |