nm handling of synthetic symbols
[deliverable/binutils-gdb.git] / binutils / ChangeLog
CommitLineData
2387dd90
AM
12016-09-19 Alan Modra <amodra@gmail.com>
2
3 * nm.c (print_symbol): Remove is_synthetic param. Test sym->flags
4 instead.
5 (print_size_symbols, print_symbols): Adjust to suit, deleting
6 now unused synth_count param and fromsynth var.
7 (display_rel_file): Adjust, localizing synth_count.
8
fb324ee9
EM
92016-09-14 Ed Maste <emaste@freebsd.org>
10
11 * readelf.c (process_mips_specific): Fix typo in error message.
12
21b65bac
NC
132016-09-06 Nick Clifton <nickc@redhat.com>
14
15 * readelf.c (request_dump_bynumber): Only call memcpy if
16 dump_sects is not NULL.
17
f53be977
L
182016-08-29 H.J. Lu <hongjiu.lu@intel.com>
19
20 * readelf.c (load_specific_debug_section): Check the external
21 compression header size.
22
dd905818
NC
232016-08-19 Nick Clifton <nickc@redhat.com>
24
25 * testsuite/binutils-all/readelf.s: Adjust expected ordering of
26 sections.
27 * testsuite/binutils-all/readelf.s-64: Likewise.
28
52c3c391
NC
292016-08-12 Nick Clifton <nickc@redhat.com>
30
31 * readelf.c (process_symbol_table): Generate a warning if a local
32 symbol is found at and offste greater than or equal to the sh_info
33 field of it's section header.
34
db9537d2
NC
352016-08-08 Nick Clifton <nickc@redhat.com>
36
d8024a91
NC
37 PR binutils/20440
38 * dwarf.c (display_debug_lines_decoded): Add checks for running
39 off the end of the section when populating the directory table and
40 file table.
41 (frame_display_row): Set max_regs equal to ncols.
f53be977
L
42 * readelf.c (load_specific_debug_section): If the section is
43 compressed, but it is not big enough to hold a compression
44 header then warn and return 0.
d8024a91 45
db9537d2
NC
46 PR binutils/20439
47 * dwarf.c (display_debug_lines_decoded): Check directory and file
48 indicies before using them to access directory and file tables.
49
2d5bddc1
NC
502016-08-02 Nick Clifton <nickc@redhat.com>
51
52 PR binutils/17512
53 * resbin.c (bin_to_res_version): Cast variables to correct type
54 for printing in error message.
55
4931146e
NC
562016-07-28 Nick Clifton <nickc@redhat.com>
57
58 PR binutils/17512
59 * rescoff.c (read_coff_res_dir): Fix detection of buffer overrun.
60 * resbin.c (bin_to_res_version): Allow for the padded length of a
61 version block to be longer than the recorded length. Skip padding
62 bytes.
63
fecd57f9
L
642016-07-21 H.J. Lu <hongjiu.lu@intel.com>
65
66 * configure: Regenerated.
67
37fd5ef3
CZ
682016-07-20 Claudiu Zissulescu <claziss@synopsys.com>
69
70 * doc/binutils.texi (objdump): Add ARC disassembler options.
71 * testsuite/binutils-all/arc/dsp.s: New file.
72 * testsuite/binutils-all/arc/objdump.exp: Likewise.
73 * NEWS: Mention the new feature.
74
f2629855
NC
752016-07-20 Nick Clifton <nickc@redhat.com>
76
77 * doc/binutils.texi (objcopy): Note that the localize symbol
78 options do not affect unique symbols.
79
7d0b9ebc
AM
802016-07-16 Alan Modra <amodra@gmail.com>
81
82 * ar.c: Include plugin-api.h.
83 * nm.c: Likewise.
84
aac502f7
AM
852016-07-16 Alan Modra <amodra@gmail.com>
86
87 * bucomm.c: Don't include libbfd.h.
88 (endian_string, display_target_list): Delete forward declaration.
89 (display_info_table, display_target_tables): Likewise.
90 (LONGEST_ARCH): Delete.
91 (struct display_target): New.
92 (do_display_target): New function.
93 (display_target_list, display_info): Rewrite functions.
94 (display_info_table): Delete.
95 (do_info_size, do_info_header, do_info_row): New functions.
96
16412c3b
AM
972016-07-16 Alan Modra <amodra@gmail.com>
98
99 * elfcomm.h (HOST_WIDEST_INT): Move to..
100 * sysdep.h: ..here.
101 * od-macho.c: Don't include libbfd.h. Do include dwarf.h
102 (dump_dyld_info_rebase): Use read_leb128 rather than
103 read_unsigned_leb128.
104 (dump_dyld_info_bind, dump_dyld_info_export_1): Likewise.
105 (dump_segment_split_info): Likewise.
106 (dump_dyld_info): Rename vars to avoid shadowing dwarf.h enums.
107 (dump_load_command): Likewise.
108
76e7a751
AM
1092016-07-16 Alan Modra <amodra@gmail.com>
110
111 * ar.c: Don't include libbfd.h.
112 * objcopy.c: Likewise.
113 * bucomm.c (bfd_get_archive_filename): Use xmalloc rather than
114 bfd_malloc.
115
003c15c9
AM
1162016-07-15 Alan Modra <amodra@gmail.com>
117
118 * testsuite/binutils-all/remove-relocs-01.s: Use .dc.a, not .word.
119
d3e5f6c8
AB
1202016-07-14 Andrew Burgess <andrew.burgess@embecosm.com>
121
122 * doc/binutils.texi (objcopy): Document 'remove-relocations'.
123 (strip): Likewise.
124 * objcopy.c (SECTION_CONTEXT_REMOVE_RELOCS): Define.
125 (enum command_line_switch): Add 'OPTION_REMOVE_RELOCS'.
126 (struct option strip_options): Add 'remove-relocations'.
127 (struct option copy_options): Likewise.
128 (copy_usage): Likewise.
129 (strip_usage): Likewise.
130 (handle_remove_relocations_option): New function.
131 (discard_relocations): New function.
132 (handle_remove_section_option): New function.
133 (copy_relocations_in_section): Use discard_relocations.
134 (strip_main): Use handle_remove_section_option for
135 'remove-section', and handle 'remove-relocations' option.
136 (copy_main): Likewise.
137 * testsuite/binutils-all/objcopy.exp: Run new tests.
138 * testsuite/binutils-all/remove-relocs-01.d: New file.
139 * testsuite/binutils-all/remove-relocs-01.s: New file.
140 * testsuite/binutils-all/remove-relocs-02.d: New file.
141 * testsuite/binutils-all/remove-relocs-03.d: New file.
142 * testsuite/binutils-all/remove-relocs-04.d: New file.
143 * testsuite/binutils-all/remove-relocs-05.d: New file.
144 * testsuite/binutils-all/remove-relocs-06.d: New file.
145 * NEWS: Mention new option.
146
e511c9b1
AB
1472016-07-14 Andrew Burgess <andrew.burgess@embecosm.com>
148
149 * objcopy.c (find_section_list): Handle section patterns starting
150 with '!' being a non-matching pattern.
151 * doc/binutils.texi (objcopy): Give example of using '!' with
152 --remove-section and --only-section.
153 (strip): Give example of using '!' with --remove-section.
154 * testsuite/binutils-all/data-sections.s: New file.
155 * testsuite/binutils-all/only-section-01.d: New file.
156 * testsuite/binutils-all/remove-section-01.d: New file.
157 * testsuite/binutils-all/objcopy.exp: Run new tests.
158 * NEWS: Mention new feature.
159
32a0481f
AM
1602016-07-09 Alan Modra <amodra@gmail.com>
161
162 PR binutils/20337
163 * objdump.c (compare_symbols): For ELF, sort same value/type
164 symbols according to size.
165
f0728ee3
AV
1662016-07-05 Andre Vieria <andre.simoesdiasvieira@arm.com>
167
168 * objdump.c (dump_section_header): Rename SEC_ELF_NOREAD
169 to SEC_ELF_NOREAD.
170 * readelf.c (get_elf_section_flags): Rename ARM_NOREAD to
171 ARM_PURECODE and SHF_ARM_NOREAD to SHF_ARM_PURECODE.
172 (process_section_headers): Rename noread to purecode.
173
174 * section.c (SEC_ELF_NOREAD): Rename to ...
175 (SEC_ELF_PURECODE): ... this.
176
98a4fc78
NC
1772016-07-01 Nick Clifton <nickc@redhat.com>
178
179 * prdbg.c (pr_enum_type): Use a buffer big enough to hold an
180 extremely large decimal value.
181 (pr_range_type): Likewise.
182 (pr_array_type): Likewise.
183 (pr_struct_field): Likewise.
184 (pr_class_baseclass): Likewise.
185 (pr_class_method_variant): Likewise.
186 (pr_tag_type): Likewise.
187 (pr_int_constant): Likewise.
188 (pr_typed_constant): Likewise.
189 (pr_variable): Likewise.
190 (pr_function_parameter): Likewise.
191 (pr_start_block): Likewise.
192 (pr_lineno): Likewise.
193 (pr_end_block): Likewise.
194 (tg_enum_type): Likewise.
195 (tg_int_constant): Likewise.
196 (tg_typed_constant): Likewise.
197 (tg_start_block): Likewise.
198
41699fa4
NC
1992016-07-01 Nick Clifton <nickc@redhat.com>
200
201 * testsuite/binutils-all/objcopy.exp
202 (objcopy_test_without_global_symbol): Expect this test to fail on
203 the AArch64 and ARM targets, since they preserve their mapping
204 symbols.
205
96a84ea3
TG
2062016-07-01 Tristan Gingold <gingold@adacore.com>
207
208 * NEWS: Add marker for 2.27.
209
b2a40aa5
TG
2102016-07-30 Tristan Gingold <gingold@adacore.com>
211
212 * doc/binutils.texi (objdump): Fix mis-placement.
213
50c901ed
NC
2142016-06-28 Nick Clifton <nickc@redhat.com>
215
216 * testsuite/binutils-all/ar.exp: Relax previous restriction on
217 Alpha targets. Allow ELF based Alpha targets.
218
eb9bb5b4
MR
2192016-06-28 Maciej W. Rozycki <macro@imgtec.com>
220
221 * testsuite/binutils-all/ar.exp: Use `supports_gnu_unique' with
222 the `unique_symbol' test.
223
f2b2af2c
AM
2242016-06-28 Alan Modra <amodra@gmail.com>
225
226 PR 20304
227 * objdump.c (objdump_print_symname): Don't attempt to retrieve
228 version info from synthetic symbols.
229
9cc0123f
AM
2302016-06-24 Alan Modra <amodra@gmail.com>
231
232 * objcopy.c (find_section_rename): Forward declare. Remove
233 ibfd and sec_ptr param. Add old_name param. Allow for NULL
234 returned_flags. Move read of section name and flags to..
235 (setup_section): ..here. Update find_section_rename call.
236 (filter_symbols): Rename section symbols for renamed sections.
237 (copy_object): Call filter_symbols when renamed sections.
238 * testsuite/lib/binutils-common.exp (is_bad_symtab): New.
239 * testsuite/binutils-all/update-section.exp: Revert 96037eb0
240 mips xfail.
241 * testsuite/binutils-all/objcopy.exp (copy_executable): Use
242 is_bad_symtab.
243 (localize-hidden-1): xfail if is_bad_symtab.
244 * testsuite/binutils-all/readelf.exp: Use is_bad_symtab to select
245 between mips/tmips.
246
43339b1d
AM
2472016-06-24 Alan Modra <amodra@gmail.com>
248
249 * objdump.c (struct print_file_list): Add "max_printed".
250 (try_print_file_open): Init new field.
251 (show_line): Don't show 5 context lines when redisplaying source.
252
96037eb0
NC
2532016-06-22 Nick Clifton <nickc@redhat.com>
254
255 * testsuite/binutils-all/ar.exp: Skip tests for Alpha target.
256 Skip bfdtest1 tests for tic30 target.
257 * testsuite/binutils-all/arm/objdump.exp: Skip for aout arm
258 target.
259 * testsuite/binutils-all/compress.exp: Expect some tests to fail
260 on the nds32.
261 * testsuite/binutils-all/copy-3.d: Skip for go32 targets.
262 * testsuite/binutils-all/copy-4.d: Skip for AIX and linuxecoff
263 targets.
264 * testsuite/binutils-all/nm.exp: Treat beos based targets as ELF
265 targets.
266 * testsuite/binutils-all/objcopy.exp: Only run reverse bytes tests
267 if the bintest.o file was created. Use the
268 get_standard_section_names proc to get the name of the data
269 section.
270 * testsuite/binutils-all/objdump.exp: Update regexps to allow for
271 RX section names.
272 * testsuite/binutils-all/readelf.exp: Use
273 get_standard_section_names proc to get the name of the data
274 section.
275 * testsuite/binutils-all/readelf.r: Allow for non standard text
276 section names.
277 * testsuite/binutils-all/readelf.s: Update regexps for tilepro.
278 * testsuite/binutils-all/size.exp: Allow for non standard section
279 names.
280 * testsuite/binutils-all/update-section.exp: Expect comapre 1vs4
281 to fail on mips targets.
282 * testsuite/lib/utils-lib.exp (default_binutils_run): Use
283 get_standard_section_names proc.
284 (run_dump_test): Likewise.
285 (proc get_standard_section_names): New proc.
286
d5b07ef4
NC
2872016-06-22 Nick Clifton <nickc@redhat.com>
288
289 * readelf.c (dynamic_section_mips_val): Increase size of timebuf.
290 (process_mips_specific): Likewise.
291 (process_gnu_liblist): Likewise.
292
bdd582db
GM
2932016-06-21 Graham Markall <graham.markall@embecosm.com>
294
295 * readelf.c (decode_ARC_machine_flags): Remove E_ARC_MACH_NPS400
296 case.
297
3ee6e4fb
NC
2982016-06-15 Nick Clifton <nickc@redhat.com>
299
300 * readelf.c (is_24bit_abs_reloc): Add support for R_FT32_20
301 reloc.
302
eecc1a7f
JB
3032016-06-14 John Baldwin <jhb@FreeBSD.org>
304
305 * objcopy.c (do_elf_stt_common): Use correct type.
306
3860d2b4
AM
3072016-06-14 Alan Modra <amodra@gmail.com>
308
309 * ar.c: Expand uses of bfd_my_archive.
310 * size.c: Likewise.
311
b0cffb47
AM
3122016-06-14 Alan Modra <amodra@gmail.com>
313
314 PR ld/20241
315 * bucomm.c (bfd_get_archive_filename): Return file name within thin
316 archive.
317
5b6312fd
NC
3182016-06-02 Nick Clifton <nickc@redhat.com>
319
bcc3a8bc
NC
320 PR 20089
321 * objcopy.c (group_signature): Fail if the input symbol table has
c09ec62d 322 not been loaded, or if the sh_info field of the group header is 0.
bcc3a8bc 323
5b6312fd
NC
324 * dwarf.c (display_debug_frames): Do not display any
325 interpretation if the block consists solely of DW__CFA_NOPs.
326
f7433f01
AM
3272016-05-31 Alan Modra <amodra@gmail.com>
328
329 * objcopy.c: Formatting, whitespace throughout.
330 (copy_main): Init newsym->othersym.
331 (parse_symflags): Make len a size_t. Adjust uses.
332
e6cc316a
L
3332016-05-25 H.J. Lu <hongjiu.lu@intel.com>
334
335 PR binutils/14625
336 * NEWS: Mention --enable-64-bit-archive.
337
f507bebf
NC
3382016-05-18 Nick Clifton <nickc@redhat.com>
339
340 PR 20096
341 * objcopy.c (copy_relocations_in_section): Also check for the
342 symbol pointed to by sym_ptr_ptr being NULL.
343
1401d2fe
MR
3442016-05-18 Maciej W. Rozycki <macro@imgtec.com>
345
346 * testsuite/binutils-all/mips/mixed-mips16-micromips.d: New test.
347 * testsuite/binutils-all/mips/mixed-mips16-micromips.s: New test
348 source.
349 * testsuite/binutils-all/mips/mips.exp: Run the new test.
350
50498060
NC
3512016-05-18 Nick Clifton <nickc@redhat.com>
352
353 * po/sv.po: Updated Swedish translation.
354
c69075ac
MR
3552016-05-18 Maciej W. Rozycki <macro@imgtec.com>
356
357 * readelf.c (dynamic_section_mips_val) <DT_MIPS_RLD_VERSION>
358 <DT_MIPS_LOCAL_GOTNO, DT_MIPS_CONFLICTNO, DT_MIPS_LIBLISTNO>
359 <DT_MIPS_SYMTABNO, DT_MIPS_UNREFEXTNO, DT_MIPS_HIPAGENO>
360 <DT_MIPS_DELTA_CLASS_NO, DT_MIPS_DELTA_INSTANCE_NO>
361 <DT_MIPS_DELTA_RELOC_NO, DT_MIPS_DELTA_SYM_NO>
362 <DT_MIPS_DELTA_CLASSSYM_NO, DT_MIPS_COMPACT_SIZE>: Use the
363 `d_val' rather than `d_ptr' member of the dynamic entry.
364
a43942db
MR
3652016-05-17 Maciej W. Rozycki <macro@imgtec.com>
366
367 * testsuite/lib/binutils-common.exp (supports_gnu_unique): New
368 procedure.
369 * testsuite/binutils-all/objcopy.exp: Use `supports_gnu_unique'
370 with the `strip-10' test.
371
71de3413
MR
3722016-05-16 Maciej W. Rozycki <macro@imgtec.com>
373
374 * testsuite/binutils-all/objcopy.exp: Don't skip the `strip-10'
375 test for the V850.
376
8f4f9071
MF
3772016-05-11 Andrew Bennett <andrew.bennett@imgtec.com>
378
379 * readelf.c (print_mips_ases): Add DSPR3.
380
15afaa63
TP
3812016-05-10 Thomas Preud'homme <thomas.preudhomme@arm.com>
382
383 * readelf.c (display_arm_attribute): Add output for Tag_DSP_extension.
384 (arm_attr_public_tags): Define DSP_extension attribute.
385
29f4fdc4
AB
3862016-05-10 Andrew Burgess <andrew.burgess@embecosm.com>
387
388 * doc/binutils.texi (nm): Update description of --size-sort.
389
315350be
NC
3902016-05-09 Nick Clifton <nickc@redhat.com>
391
392 PR binutils/20063
393 * readelf.c (get_32bit_section_headers): Warn if an out of range
394 sh_link or sh_info field is encountered.
395 (get_64bit_section_headers): Likewise.
396
4a85cc09
SKS
3972016-05-04 Senthil Kumar Selvaraj <senthil_kumar.selvaraj@atmel.com>
398
399 * testsuite/lib/binutils-common.exp (is_elf_format): Add avr-*-*.
400
99d1b268
NC
4012016-05-03 Nick Clifton <nickc@redhat.com>
402
403 * po/sv.po: Updated Swedish translation.
404
d347c9df
PS
4052016-04-29 Pitchumani Sivanupandi <pitchumani.s@atmel.com>
406
407 * readelf.c (is_32bit_pcrel_reloc): Return true if reloc is 32-bit
408 PC relocation for AVR target.
409 (is_none_reloc): Return true if reloc is any of AVR diff
410 relocations.
411
5522f910
NC
4122016-04-29 Nick Clifton <nickc@redhat.com>
413
414 PR 19938
415 * readelf.c (get_solaris_segment_type): New function.
416 (get_segment_type): Call it.
417
786a118c
NC
4182016-04-28 Nick Clifton <nickc@redhat.com>
419
420 * po/zh_CN.po: Updated Chinese (simplified) translation.
421
4bd13cde
NC
4222016-04-28 Nick Clifton <nickc@redhat.com>
423
424 PR target/19722
425 * testsuite/binutils-all/aarch64/illegal.s: New test.
426 * testsuite/binutils-all/aarch64/illegal.d: New test driver.
427
e6c7cdec
TS
4282016-04-20 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
429
430 * resres.c: Likewise.
431
6fd8e7c2
L
4322016-04-15 H.J. Lu <hongjiu.lu@intel.com>
433
434 * Makefile.in: Regenerated with automake 1.11.6.
435 * aclocal.m4: Likewise.
436 * doc/Makefile.in: Likewise.
437
84865015
NC
4382016-04-14 Nick Clifton <nickc@redhat.com>
439
440 PR target/19938
441 * testsuite/binutils-all/i386/compressed-1b.d: Allow for the
442 string sections possibly having the SHF_STRINGS flag bit set.
443 * testsuite/binutils-all/i386/compressed-1c.d: Likewise.
444 * testsuite/binutils-all/readelf.s: Likewise.
445 * testsuite/binutils-all/readelf.s-64: Likewise.
446 * testsuite/binutils-all/x86-64/compressed-1b.d: Likewise.
447 * testsuite/binutils-all/x86-64/compressed-1c.d: Likewise.
448
fd85a6a1
NC
4492016-04-13 Nick Clifton <nickc@redhat.com>
450
84865015 451 PR target/19938
fd85a6a1
NC
452 * readelf.c (get_solaris_section_type): New function: Returns the
453 name of Solaris specific section types.
454 (get_solaris_dynamic_type): New function: Return the name of
455 Solaris specific dynamic types.
456 (get_dynamic_type): Use get_solaris_dynamic_type.
457 (get_section_type_name): Use get_solaris_section_type.
458 (get_solaris_symbol_visibility): New function: Returns Solaris
459 specific symbol visibilities.
460 (print_dynamic_symbol): Use get_solaris_symbol_visibility.
461 (process_symbol_table): Likewise.
462
d6bb17b0
AA
4632016-04-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
464
465 * dwarf.h (init_dwarf_regnames_s390): Declare.
466 * dwarf.c (dwarf_regnames_s390): New.
467 (init_dwarf_regnames_s390): New.
468 (init_dwarf_regnames): Call it.
469 * objdump.c (dump_dwarf): Likewise.
470
92708cec
MR
4712016-04-11 Maciej W. Rozycki <macro@imgtec.com>
472
473 * testsuite/binutils-all/mips/mips16-undecoded.d: New test.
474 * testsuite/binutils-all/mips/mips16-undecoded.s: New test
475 source.
476 * testsuite/binutils-all/mips/mips.exp: Run the new test.
477
67f101ee
NC
4782016-04-04 Nick Clifton <nickc@redhat.com>
479
480 PR 19872
481 * dwarf.c (display_debug_aranges): Skip warning about unrecognised
482 version number if the version is zero.
483
ed754a13
AM
4842016-03-29 Alan Modra <amodra@gmail.com>
485
486 * readelf.c (get_data): Use BFD_VMA_FMT to print bfd_size_type vars.
487 (get_dynamic_data): Likewise.
488
9780e045
NC
4892016-03-22 Nick Clifton <nickc@redhat.com>
490
34b9f729
NC
491 PR 19851
492 * dwarf.c (SAFE_BYTE_GET): Replace local dynamic array allocation
493 with run time size check.
494
9780e045
NC
495 * configure: Regenerate.
496
8699fc3e
AB
4972016-03-21 Andrew Burgess <andrew.burgess@embecosm.com>
498
499 * readelf.c (decode_ARC_machine_flags): Handle nps400.
500
a9522a21
AB
5012016-03-21 Andrew Burgess <andrew.burgess@embecosm.com>
502
503 * readelf.c (get_machine_flags): Move arc processing into...
504 (decode_ARC_machine_flags): ... new function. Remove use of
505 EF_ARC_CPU_GENERIC, change default case from "generic arc" to
506 "unknown arc". Merged ABI printing between two machine types.
507
24740d83
AB
5082016-03-21 Andrew Burgess <andrew.burgess@embecosm.com>
509
510 * testsuite/binutils-all/objdump.exp (cpus_expected): Add ARC700
511 to the architecture list.
512
e1fa0163
NC
5132016-03-21 Nick Clifton <nickc@redhat.com>
514
515 * dlltool.c: Replace use of alloca with call to xmalloc.
516 * dllwrap.c: Likewise.
517 * nlmconv.c: Likewise.
518 * objdump.c: Likewise.
519 * resrc.c: Likewise.
520 * winduni.c: Likewise.
521 * configure: Regenerate.
522
4fc87424
NC
5232016-03-07 Nick Clifton <nickc@redhat.com>
524
525 PR binutils/19775
526 * testsuite/binutils-all/ar.exp (proc empty_archive): New proc.
527 Run the new proc.
528 * testsuite/binutils-all/empty: New, empty, file.
529
9411fd44
MW
5302016-03-04 Matthew Wahab <matthew.wahab@arm.com>
531
532 * readelf.c (arm_attry_tag_FP_arch): Add "NEON for ARMv8.1".
533
11e5f1ec
L
5342016-02-26 H.J. Lu <hongjiu.lu@intel.com>
535
536 PR ld/19645
537 * NEWS: Mention --elf-stt-common= for objcopy.
538 * doc/binutils.texi: Document --elf-stt-common= for objcopy.
539 * objcopy.c (do_elf_stt_common): New.
540 (command_line_switch): Add OPTION_ELF_STT_COMMON.
541 (copy_options): Add --elf-stt-common=.
542 (copy_usage): Add --elf-stt-common=.
543 (copy_object): Also check do_elf_stt_common for ELF targets.
544 (copy_file): Handle do_elf_stt_common.
545 (copy_main): Handle OPTION_ELF_STT_COMMON.
546 * readelf.c (apply_relocations): Support STT_COMMON.
547 * testsuite/binutils-all/common-1.s: New file.
548 * testsuite/binutils-all/common-1a.d: Likewise.
549 * testsuite/binutils-all/common-1b.d: Likewise.
550 * testsuite/binutils-all/common-1c.d: Likewise.
551 * testsuite/binutils-all/common-1d.d: Likewise.
552 * testsuite/binutils-all/common-1e.d: Likewise.
553 * testsuite/binutils-all/common-1f.d: Likewise.
554 * testsuite/binutils-all/common-2.s: Likewise.
555 * testsuite/binutils-all/common-2a.d: Likewise.
556 * testsuite/binutils-all/common-2b.d: Likewise.
557 * testsuite/binutils-all/common-2c.d: Likewise.
558 * testsuite/binutils-all/common-2d.d: Likewise.
559 * testsuite/binutils-all/common-2e.d: Likewise.
560 * testsuite/binutils-all/common-2f.d: Likewise.
561 * testsuite/binutils-all/objcopy.exp
562 (objcopy_test_elf_common_symbols): New proc.
563 Run objcopy_test_elf_common_symbols for ELF targets
564
a9fb83be
L
5652016-02-16 H.J. Lu <hongjiu.lu@intel.com>
566
567 PR binutils/19647
568 * readelf.c (get_section_type_name): Add a missing break.
569
726c18e1
CZ
5702016-02-16 Claudiu Zissulescu <claziss@synopsys.com>
571
572 * readelf.c (is_32bit_pcrel_reloc): Add R_ARC_32_PCREL.
573
9fb71ee4
NC
5742016-02-15 Nick Clifton <nickc@redhat.com>
575
576 * readelf.c (get_section_type_name): Add hex prefix to offsets
577 printed for LOPROC and LOOS values. Ensure that a result is
578 always returned for the V850 target, even when an unrecognised
579 processor specific value is encountered.
580 (process_section_headers): Display key values in the order in
581 which they appear to the user. Add the "C (compressed)" value to
582 the list.
583
96d491cf
L
5842016-02-12 H.J. Lu <hongjiu.lu@intel.com>
585
586 * doc/binutils.texi: Fix a typo.
587
bdbca4e6
CM
5882016-02-05 Cupertino Miranda <Cupertino.Miranda@synopsys.com>
589
590 * testsuite/binutils-all/objdump.exp: Update expected default
591 architecture value for ARC binaries.
592
14f2c699
L
5932016-02-02 H.J. Lu <hongjiu.lu@intel.com>
594
595 PR binutils/19547
596 * testsuite/binutils-all/objcopy.exp
597 (objcopy_test_without_global_symbol): New proc.
598 Run objcopy_test_without_global_symbol.
599 * testsuite/binutils-all/pr19547.c: New file.
600
bf150a0b
L
6012016-01-28 H.J. Lu <hongjiu.lu@intel.com>
602
603 PR binutils/19523
604 * Makefile.am (check-DEJAGNU): Pass CC and CC_FOR_BUILD to
605 runtest.
606 * Makefile.in: Regenerated.
607 * testsuite/binutils-all/compress.exp (test_gnu_debuglink): New
608 proc.
609 Run test_gnu_debuglink for native ELF build.
610
0398b8d6
NC
6112016-01-20 Nick Clifton <nickc@redhat.com>
612
613 PR 19495
614 * testsuite/binutils-all/dlltool.exp: Fix tests for targets which
bdbca4e6 615 do not support inserting leading underscores.
0398b8d6 616
91f68a68
MG
6172016-01-20 Mickael Guene <mickael.guene@st.com>
618
619 * readelf.c (get_elf_section_flags): Display y letter for section
620 with SHF_ARM_NOREAD section flag in readelf section output.
621 (process_section_headers): Add y letter in readelf section output
622 key mapping for ARM architecture.
623 * objdump.c (dump_section_header): Display NOREAD attributes as
624 well.
625 * doc/binutils.texi (objdump): Note that it is correct for
626 sections to have both the READONLY and NOREAD attributes.
627
40068dcc
JB
6282016-01-19 John Baldwin <jhb@FreeBSD.org>
629
630 * readelf.c (get_freebsd_elfcore_note_type): Remove unused variable.
631
f4ddf30f
JB
6322016-01-19 John Baldwin <jhb@FreeBSD.org>
633
634 * readelf.c (get_freebsd_elfcore_note_type): New
635 (process_note): Add support for FreeBSD core notes.
636
34e967a5
MC
6372016-01-18 Miranda Cupertino <Cupertino.Miranda@synopsys.com>
638 Zissulescu Claudiu <Claudiu.Zissulescu@synopsys.com>
639
640 * readelf.c (get_machine_flags): Add support for newer ARC ELF
641 header flags.
642
3d961d0d
AM
6432016-01-18 Alan Modra <amodra@gmail.com>
644
645 * configure: Regenerate.
646
5c14705f
AM
6472016-01-17 Alan Modra <amodra@gmail.com>
648
649 * configure: Regenerate.
650
b3066ae8
AM
6512016-01-17 Alan Modra <amodra@gmail.com>
652
653 * testsuite/lib/binutils-common.exp (is_elf_format): Return true
654 for m68hc11/12 and xgate triples.
655
adec12c1
AM
6562016-01-17 Alan Modra <amodra@gmail.com>
657
658 * readelf.c (is_32bit_abs_reloc): Add R_M68HC11_32.
659
6f2750fe
AM
6602016-01-01 Alan Modra <amodra@gmail.com>
661
662 Update year range in copyright notice of all files.
663
3499769a
AM
664For older changes see ChangeLog-2015 and testsuite/ChangeLog-1215
665\f
666Copyright (C) 2016 Free Software Foundation, Inc.
667
668Copying and distribution of this file, with or without modification,
669are permitted in any medium without royalty provided the copyright
670notice and this notice are preserved.
671
672Local Variables:
673mode: change-log
674left-margin: 8
675fill-column: 74
676version-control: never
677End:
This page took 0.090023 seconds and 4 git commands to generate.