[ARM] Change noread to purecode.
[deliverable/binutils-gdb.git] / binutils / ChangeLog
1 2016-07-05 Andre Vieria <andre.simoesdiasvieira@arm.com>
2
3 * objdump.c (dump_section_header): Rename SEC_ELF_NOREAD
4 to SEC_ELF_NOREAD.
5 * readelf.c (get_elf_section_flags): Rename ARM_NOREAD to
6 ARM_PURECODE and SHF_ARM_NOREAD to SHF_ARM_PURECODE.
7 (process_section_headers): Rename noread to purecode.
8
9 * section.c (SEC_ELF_NOREAD): Rename to ...
10 (SEC_ELF_PURECODE): ... this.
11
12 2016-07-01 Nick Clifton <nickc@redhat.com>
13
14 * prdbg.c (pr_enum_type): Use a buffer big enough to hold an
15 extremely large decimal value.
16 (pr_range_type): Likewise.
17 (pr_array_type): Likewise.
18 (pr_struct_field): Likewise.
19 (pr_class_baseclass): Likewise.
20 (pr_class_method_variant): Likewise.
21 (pr_tag_type): Likewise.
22 (pr_int_constant): Likewise.
23 (pr_typed_constant): Likewise.
24 (pr_variable): Likewise.
25 (pr_function_parameter): Likewise.
26 (pr_start_block): Likewise.
27 (pr_lineno): Likewise.
28 (pr_end_block): Likewise.
29 (tg_enum_type): Likewise.
30 (tg_int_constant): Likewise.
31 (tg_typed_constant): Likewise.
32 (tg_start_block): Likewise.
33
34 2016-07-01 Nick Clifton <nickc@redhat.com>
35
36 * testsuite/binutils-all/objcopy.exp
37 (objcopy_test_without_global_symbol): Expect this test to fail on
38 the AArch64 and ARM targets, since they preserve their mapping
39 symbols.
40
41 2016-07-01 Tristan Gingold <gingold@adacore.com>
42
43 * NEWS: Add marker for 2.27.
44
45 2016-07-30 Tristan Gingold <gingold@adacore.com>
46
47 * doc/binutils.texi (objdump): Fix mis-placement.
48
49 2016-06-28 Nick Clifton <nickc@redhat.com>
50
51 * testsuite/binutils-all/ar.exp: Relax previous restriction on
52 Alpha targets. Allow ELF based Alpha targets.
53
54 2016-06-28 Maciej W. Rozycki <macro@imgtec.com>
55
56 * testsuite/binutils-all/ar.exp: Use `supports_gnu_unique' with
57 the `unique_symbol' test.
58
59 2016-06-28 Alan Modra <amodra@gmail.com>
60
61 PR 20304
62 * objdump.c (objdump_print_symname): Don't attempt to retrieve
63 version info from synthetic symbols.
64
65 2016-06-24 Alan Modra <amodra@gmail.com>
66
67 * objcopy.c (find_section_rename): Forward declare. Remove
68 ibfd and sec_ptr param. Add old_name param. Allow for NULL
69 returned_flags. Move read of section name and flags to..
70 (setup_section): ..here. Update find_section_rename call.
71 (filter_symbols): Rename section symbols for renamed sections.
72 (copy_object): Call filter_symbols when renamed sections.
73 * testsuite/lib/binutils-common.exp (is_bad_symtab): New.
74 * testsuite/binutils-all/update-section.exp: Revert 96037eb0
75 mips xfail.
76 * testsuite/binutils-all/objcopy.exp (copy_executable): Use
77 is_bad_symtab.
78 (localize-hidden-1): xfail if is_bad_symtab.
79 * testsuite/binutils-all/readelf.exp: Use is_bad_symtab to select
80 between mips/tmips.
81
82 2016-06-24 Alan Modra <amodra@gmail.com>
83
84 * objdump.c (struct print_file_list): Add "max_printed".
85 (try_print_file_open): Init new field.
86 (show_line): Don't show 5 context lines when redisplaying source.
87
88 2016-06-22 Nick Clifton <nickc@redhat.com>
89
90 * testsuite/binutils-all/ar.exp: Skip tests for Alpha target.
91 Skip bfdtest1 tests for tic30 target.
92 * testsuite/binutils-all/arm/objdump.exp: Skip for aout arm
93 target.
94 * testsuite/binutils-all/compress.exp: Expect some tests to fail
95 on the nds32.
96 * testsuite/binutils-all/copy-3.d: Skip for go32 targets.
97 * testsuite/binutils-all/copy-4.d: Skip for AIX and linuxecoff
98 targets.
99 * testsuite/binutils-all/nm.exp: Treat beos based targets as ELF
100 targets.
101 * testsuite/binutils-all/objcopy.exp: Only run reverse bytes tests
102 if the bintest.o file was created. Use the
103 get_standard_section_names proc to get the name of the data
104 section.
105 * testsuite/binutils-all/objdump.exp: Update regexps to allow for
106 RX section names.
107 * testsuite/binutils-all/readelf.exp: Use
108 get_standard_section_names proc to get the name of the data
109 section.
110 * testsuite/binutils-all/readelf.r: Allow for non standard text
111 section names.
112 * testsuite/binutils-all/readelf.s: Update regexps for tilepro.
113 * testsuite/binutils-all/size.exp: Allow for non standard section
114 names.
115 * testsuite/binutils-all/update-section.exp: Expect comapre 1vs4
116 to fail on mips targets.
117 * testsuite/lib/utils-lib.exp (default_binutils_run): Use
118 get_standard_section_names proc.
119 (run_dump_test): Likewise.
120 (proc get_standard_section_names): New proc.
121
122 2016-06-22 Nick Clifton <nickc@redhat.com>
123
124 * readelf.c (dynamic_section_mips_val): Increase size of timebuf.
125 (process_mips_specific): Likewise.
126 (process_gnu_liblist): Likewise.
127
128 2016-06-21 Graham Markall <graham.markall@embecosm.com>
129
130 * readelf.c (decode_ARC_machine_flags): Remove E_ARC_MACH_NPS400
131 case.
132
133 2016-06-15 Nick Clifton <nickc@redhat.com>
134
135 * readelf.c (is_24bit_abs_reloc): Add support for R_FT32_20
136 reloc.
137
138 2016-06-14 John Baldwin <jhb@FreeBSD.org>
139
140 * objcopy.c (do_elf_stt_common): Use correct type.
141
142 2016-06-14 Alan Modra <amodra@gmail.com>
143
144 * ar.c: Expand uses of bfd_my_archive.
145 * size.c: Likewise.
146
147 2016-06-14 Alan Modra <amodra@gmail.com>
148
149 PR ld/20241
150 * bucomm.c (bfd_get_archive_filename): Return file name within thin
151 archive.
152
153 2016-06-02 Nick Clifton <nickc@redhat.com>
154
155 PR 20089
156 * objcopy.c (group_signature): Fail if the input symbol table has
157 not been loaded, or if the sh_info field of the group header is 0.
158
159 * dwarf.c (display_debug_frames): Do not display any
160 interpretation if the block consists solely of DW__CFA_NOPs.
161
162 2016-05-31 Alan Modra <amodra@gmail.com>
163
164 * objcopy.c: Formatting, whitespace throughout.
165 (copy_main): Init newsym->othersym.
166 (parse_symflags): Make len a size_t. Adjust uses.
167
168 2016-05-25 H.J. Lu <hongjiu.lu@intel.com>
169
170 PR binutils/14625
171 * NEWS: Mention --enable-64-bit-archive.
172
173 2016-05-18 Nick Clifton <nickc@redhat.com>
174
175 PR 20096
176 * objcopy.c (copy_relocations_in_section): Also check for the
177 symbol pointed to by sym_ptr_ptr being NULL.
178
179 2016-05-18 Maciej W. Rozycki <macro@imgtec.com>
180
181 * testsuite/binutils-all/mips/mixed-mips16-micromips.d: New test.
182 * testsuite/binutils-all/mips/mixed-mips16-micromips.s: New test
183 source.
184 * testsuite/binutils-all/mips/mips.exp: Run the new test.
185
186 2016-05-18 Nick Clifton <nickc@redhat.com>
187
188 * po/sv.po: Updated Swedish translation.
189
190 2016-05-18 Maciej W. Rozycki <macro@imgtec.com>
191
192 * readelf.c (dynamic_section_mips_val) <DT_MIPS_RLD_VERSION>
193 <DT_MIPS_LOCAL_GOTNO, DT_MIPS_CONFLICTNO, DT_MIPS_LIBLISTNO>
194 <DT_MIPS_SYMTABNO, DT_MIPS_UNREFEXTNO, DT_MIPS_HIPAGENO>
195 <DT_MIPS_DELTA_CLASS_NO, DT_MIPS_DELTA_INSTANCE_NO>
196 <DT_MIPS_DELTA_RELOC_NO, DT_MIPS_DELTA_SYM_NO>
197 <DT_MIPS_DELTA_CLASSSYM_NO, DT_MIPS_COMPACT_SIZE>: Use the
198 `d_val' rather than `d_ptr' member of the dynamic entry.
199
200 2016-05-17 Maciej W. Rozycki <macro@imgtec.com>
201
202 * testsuite/lib/binutils-common.exp (supports_gnu_unique): New
203 procedure.
204 * testsuite/binutils-all/objcopy.exp: Use `supports_gnu_unique'
205 with the `strip-10' test.
206
207 2016-05-16 Maciej W. Rozycki <macro@imgtec.com>
208
209 * testsuite/binutils-all/objcopy.exp: Don't skip the `strip-10'
210 test for the V850.
211
212 2016-05-11 Andrew Bennett <andrew.bennett@imgtec.com>
213
214 * readelf.c (print_mips_ases): Add DSPR3.
215
216 2016-05-10 Thomas Preud'homme <thomas.preudhomme@arm.com>
217
218 * readelf.c (display_arm_attribute): Add output for Tag_DSP_extension.
219 (arm_attr_public_tags): Define DSP_extension attribute.
220
221 2016-05-10 Andrew Burgess <andrew.burgess@embecosm.com>
222
223 * doc/binutils.texi (nm): Update description of --size-sort.
224
225 2016-05-09 Nick Clifton <nickc@redhat.com>
226
227 PR binutils/20063
228 * readelf.c (get_32bit_section_headers): Warn if an out of range
229 sh_link or sh_info field is encountered.
230 (get_64bit_section_headers): Likewise.
231
232 2016-05-04 Senthil Kumar Selvaraj <senthil_kumar.selvaraj@atmel.com>
233
234 * testsuite/lib/binutils-common.exp (is_elf_format): Add avr-*-*.
235
236 2016-05-03 Nick Clifton <nickc@redhat.com>
237
238 * po/sv.po: Updated Swedish translation.
239
240 2016-04-29 Pitchumani Sivanupandi <pitchumani.s@atmel.com>
241
242 * readelf.c (is_32bit_pcrel_reloc): Return true if reloc is 32-bit
243 PC relocation for AVR target.
244 (is_none_reloc): Return true if reloc is any of AVR diff
245 relocations.
246
247 2016-04-29 Nick Clifton <nickc@redhat.com>
248
249 PR 19938
250 * readelf.c (get_solaris_segment_type): New function.
251 (get_segment_type): Call it.
252
253 2016-04-28 Nick Clifton <nickc@redhat.com>
254
255 * po/zh_CN.po: Updated Chinese (simplified) translation.
256
257 2016-04-28 Nick Clifton <nickc@redhat.com>
258
259 PR target/19722
260 * testsuite/binutils-all/aarch64/illegal.s: New test.
261 * testsuite/binutils-all/aarch64/illegal.d: New test driver.
262
263 2016-04-20 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
264
265 * resres.c: Likewise.
266
267 2016-04-15 H.J. Lu <hongjiu.lu@intel.com>
268
269 * Makefile.in: Regenerated with automake 1.11.6.
270 * aclocal.m4: Likewise.
271 * doc/Makefile.in: Likewise.
272
273 2016-04-14 Nick Clifton <nickc@redhat.com>
274
275 PR target/19938
276 * testsuite/binutils-all/i386/compressed-1b.d: Allow for the
277 string sections possibly having the SHF_STRINGS flag bit set.
278 * testsuite/binutils-all/i386/compressed-1c.d: Likewise.
279 * testsuite/binutils-all/readelf.s: Likewise.
280 * testsuite/binutils-all/readelf.s-64: Likewise.
281 * testsuite/binutils-all/x86-64/compressed-1b.d: Likewise.
282 * testsuite/binutils-all/x86-64/compressed-1c.d: Likewise.
283
284 2016-04-13 Nick Clifton <nickc@redhat.com>
285
286 PR target/19938
287 * readelf.c (get_solaris_section_type): New function: Returns the
288 name of Solaris specific section types.
289 (get_solaris_dynamic_type): New function: Return the name of
290 Solaris specific dynamic types.
291 (get_dynamic_type): Use get_solaris_dynamic_type.
292 (get_section_type_name): Use get_solaris_section_type.
293 (get_solaris_symbol_visibility): New function: Returns Solaris
294 specific symbol visibilities.
295 (print_dynamic_symbol): Use get_solaris_symbol_visibility.
296 (process_symbol_table): Likewise.
297
298 2016-04-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
299
300 * dwarf.h (init_dwarf_regnames_s390): Declare.
301 * dwarf.c (dwarf_regnames_s390): New.
302 (init_dwarf_regnames_s390): New.
303 (init_dwarf_regnames): Call it.
304 * objdump.c (dump_dwarf): Likewise.
305
306 2016-04-11 Maciej W. Rozycki <macro@imgtec.com>
307
308 * testsuite/binutils-all/mips/mips16-undecoded.d: New test.
309 * testsuite/binutils-all/mips/mips16-undecoded.s: New test
310 source.
311 * testsuite/binutils-all/mips/mips.exp: Run the new test.
312
313 2016-04-04 Nick Clifton <nickc@redhat.com>
314
315 PR 19872
316 * dwarf.c (display_debug_aranges): Skip warning about unrecognised
317 version number if the version is zero.
318
319 2016-03-29 Alan Modra <amodra@gmail.com>
320
321 * readelf.c (get_data): Use BFD_VMA_FMT to print bfd_size_type vars.
322 (get_dynamic_data): Likewise.
323
324 2016-03-22 Nick Clifton <nickc@redhat.com>
325
326 PR 19851
327 * dwarf.c (SAFE_BYTE_GET): Replace local dynamic array allocation
328 with run time size check.
329
330 * configure: Regenerate.
331
332 2016-03-21 Andrew Burgess <andrew.burgess@embecosm.com>
333
334 * readelf.c (decode_ARC_machine_flags): Handle nps400.
335
336 2016-03-21 Andrew Burgess <andrew.burgess@embecosm.com>
337
338 * readelf.c (get_machine_flags): Move arc processing into...
339 (decode_ARC_machine_flags): ... new function. Remove use of
340 EF_ARC_CPU_GENERIC, change default case from "generic arc" to
341 "unknown arc". Merged ABI printing between two machine types.
342
343 2016-03-21 Andrew Burgess <andrew.burgess@embecosm.com>
344
345 * testsuite/binutils-all/objdump.exp (cpus_expected): Add ARC700
346 to the architecture list.
347
348 2016-03-21 Nick Clifton <nickc@redhat.com>
349
350 * dlltool.c: Replace use of alloca with call to xmalloc.
351 * dllwrap.c: Likewise.
352 * nlmconv.c: Likewise.
353 * objdump.c: Likewise.
354 * resrc.c: Likewise.
355 * winduni.c: Likewise.
356 * configure: Regenerate.
357
358 2016-03-07 Nick Clifton <nickc@redhat.com>
359
360 PR binutils/19775
361 * testsuite/binutils-all/ar.exp (proc empty_archive): New proc.
362 Run the new proc.
363 * testsuite/binutils-all/empty: New, empty, file.
364
365 2016-03-04 Matthew Wahab <matthew.wahab@arm.com>
366
367 * readelf.c (arm_attry_tag_FP_arch): Add "NEON for ARMv8.1".
368
369 2016-02-26 H.J. Lu <hongjiu.lu@intel.com>
370
371 PR ld/19645
372 * NEWS: Mention --elf-stt-common= for objcopy.
373 * doc/binutils.texi: Document --elf-stt-common= for objcopy.
374 * objcopy.c (do_elf_stt_common): New.
375 (command_line_switch): Add OPTION_ELF_STT_COMMON.
376 (copy_options): Add --elf-stt-common=.
377 (copy_usage): Add --elf-stt-common=.
378 (copy_object): Also check do_elf_stt_common for ELF targets.
379 (copy_file): Handle do_elf_stt_common.
380 (copy_main): Handle OPTION_ELF_STT_COMMON.
381 * readelf.c (apply_relocations): Support STT_COMMON.
382 * testsuite/binutils-all/common-1.s: New file.
383 * testsuite/binutils-all/common-1a.d: Likewise.
384 * testsuite/binutils-all/common-1b.d: Likewise.
385 * testsuite/binutils-all/common-1c.d: Likewise.
386 * testsuite/binutils-all/common-1d.d: Likewise.
387 * testsuite/binutils-all/common-1e.d: Likewise.
388 * testsuite/binutils-all/common-1f.d: Likewise.
389 * testsuite/binutils-all/common-2.s: Likewise.
390 * testsuite/binutils-all/common-2a.d: Likewise.
391 * testsuite/binutils-all/common-2b.d: Likewise.
392 * testsuite/binutils-all/common-2c.d: Likewise.
393 * testsuite/binutils-all/common-2d.d: Likewise.
394 * testsuite/binutils-all/common-2e.d: Likewise.
395 * testsuite/binutils-all/common-2f.d: Likewise.
396 * testsuite/binutils-all/objcopy.exp
397 (objcopy_test_elf_common_symbols): New proc.
398 Run objcopy_test_elf_common_symbols for ELF targets
399
400 2016-02-16 H.J. Lu <hongjiu.lu@intel.com>
401
402 PR binutils/19647
403 * readelf.c (get_section_type_name): Add a missing break.
404
405 2016-02-16 Claudiu Zissulescu <claziss@synopsys.com>
406
407 * readelf.c (is_32bit_pcrel_reloc): Add R_ARC_32_PCREL.
408
409 2016-02-15 Nick Clifton <nickc@redhat.com>
410
411 * readelf.c (get_section_type_name): Add hex prefix to offsets
412 printed for LOPROC and LOOS values. Ensure that a result is
413 always returned for the V850 target, even when an unrecognised
414 processor specific value is encountered.
415 (process_section_headers): Display key values in the order in
416 which they appear to the user. Add the "C (compressed)" value to
417 the list.
418
419 2016-02-12 H.J. Lu <hongjiu.lu@intel.com>
420
421 * doc/binutils.texi: Fix a typo.
422
423 2016-02-05 Cupertino Miranda <Cupertino.Miranda@synopsys.com>
424
425 * testsuite/binutils-all/objdump.exp: Update expected default
426 architecture value for ARC binaries.
427
428 2016-02-02 H.J. Lu <hongjiu.lu@intel.com>
429
430 PR binutils/19547
431 * testsuite/binutils-all/objcopy.exp
432 (objcopy_test_without_global_symbol): New proc.
433 Run objcopy_test_without_global_symbol.
434 * testsuite/binutils-all/pr19547.c: New file.
435
436 2016-01-28 H.J. Lu <hongjiu.lu@intel.com>
437
438 PR binutils/19523
439 * Makefile.am (check-DEJAGNU): Pass CC and CC_FOR_BUILD to
440 runtest.
441 * Makefile.in: Regenerated.
442 * testsuite/binutils-all/compress.exp (test_gnu_debuglink): New
443 proc.
444 Run test_gnu_debuglink for native ELF build.
445
446 2016-01-20 Nick Clifton <nickc@redhat.com>
447
448 PR 19495
449 * testsuite/binutils-all/dlltool.exp: Fix tests for targets which
450 do not support inserting leading underscores.
451
452 2016-01-20 Mickael Guene <mickael.guene@st.com>
453
454 * readelf.c (get_elf_section_flags): Display y letter for section
455 with SHF_ARM_NOREAD section flag in readelf section output.
456 (process_section_headers): Add y letter in readelf section output
457 key mapping for ARM architecture.
458 * objdump.c (dump_section_header): Display NOREAD attributes as
459 well.
460 * doc/binutils.texi (objdump): Note that it is correct for
461 sections to have both the READONLY and NOREAD attributes.
462
463 2016-01-19 John Baldwin <jhb@FreeBSD.org>
464
465 * readelf.c (get_freebsd_elfcore_note_type): Remove unused variable.
466
467 2016-01-19 John Baldwin <jhb@FreeBSD.org>
468
469 * readelf.c (get_freebsd_elfcore_note_type): New
470 (process_note): Add support for FreeBSD core notes.
471
472 2016-01-18 Miranda Cupertino <Cupertino.Miranda@synopsys.com>
473 Zissulescu Claudiu <Claudiu.Zissulescu@synopsys.com>
474
475 * readelf.c (get_machine_flags): Add support for newer ARC ELF
476 header flags.
477
478 2016-01-18 Alan Modra <amodra@gmail.com>
479
480 * configure: Regenerate.
481
482 2016-01-17 Alan Modra <amodra@gmail.com>
483
484 * configure: Regenerate.
485
486 2016-01-17 Alan Modra <amodra@gmail.com>
487
488 * testsuite/lib/binutils-common.exp (is_elf_format): Return true
489 for m68hc11/12 and xgate triples.
490
491 2016-01-17 Alan Modra <amodra@gmail.com>
492
493 * readelf.c (is_32bit_abs_reloc): Add R_M68HC11_32.
494
495 2016-01-01 Alan Modra <amodra@gmail.com>
496
497 Update year range in copyright notice of all files.
498
499 For older changes see ChangeLog-2015 and testsuite/ChangeLog-1215
500 \f
501 Copyright (C) 2016 Free Software Foundation, Inc.
502
503 Copying and distribution of this file, with or without modification,
504 are permitted in any medium without royalty provided the copyright
505 notice and this notice are preserved.
506
507 Local Variables:
508 mode: change-log
509 left-margin: 8
510 fill-column: 74
511 version-control: never
512 End:
This page took 0.038999 seconds and 4 git commands to generate.