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