1*e6c7e151Schristos2016-12-31 Dimitar Dimitrov <dimitar@dinux.eu> 2*e6c7e151Schristos 3*e6c7e151Schristos * readelf.c (guess_is_rela): Add EM_TI_PRU. 4*e6c7e151Schristos (dump_relocations): Invoke elf_pru_reloc_type. 5*e6c7e151Schristos (get_machine_name): Handle EM_TI_PRU. 6*e6c7e151Schristos (is_32bit_abs_reloc): Handle R_PRU_BFD_RELOC_32. 7*e6c7e151Schristos (is_16bit_abs_reloc): Handle R_PRU_BFD_RELOC_16. 8*e6c7e151Schristos (is_none_reloc): Handle PRU_NONE and PRU_DIFF variants. 9*e6c7e151Schristos 10*e6c7e151Schristos2016-12-23 Maciej W. Rozycki <macro@imgtec.com> 11*e6c7e151Schristos 12*e6c7e151Schristos * testsuite/binutils-all/mips/mips16-extend-insn.d: Update for 13*e6c7e151Schristos ASMACRO support. 14*e6c7e151Schristos 15*e6c7e151Schristos2016-12-23 Maciej W. Rozycki <macro@imgtec.com> 16*e6c7e151Schristos 17*e6c7e151Schristos * testsuite/binutils-all/mips/mips16-extend-insn.d: New test. 18*e6c7e151Schristos * testsuite/binutils-all/mips/mips16-extend-insn.s: New test 19*e6c7e151Schristos source. 20*e6c7e151Schristos * testsuite/binutils-all/mips/mips.exp: Run the new tests. 21*e6c7e151Schristos 22*e6c7e151Schristos2016-12-23 Tristan Gingold <gingold@adacore.com> 23*e6c7e151Schristos 24*e6c7e151Schristos * configure: Regenerate. 25*e6c7e151Schristos 26*e6c7e151Schristos2016-12-23 Tristan Gingold <gingold@adacore.com> 27*e6c7e151Schristos 28*e6c7e151Schristos * NEWS: Add marker for 2.28. 29*e6c7e151Schristos 30*e6c7e151Schristos2016-12-23 Tristan Gingold <gingold@adacore.com> 31*e6c7e151Schristos 32*e6c7e151Schristos * po/binutils.pot: Regenerate. 33*e6c7e151Schristos 34*e6c7e151Schristos2016-12-20 Maciej W. Rozycki <macro@imgtec.com> 35*e6c7e151Schristos 36*e6c7e151Schristos * testsuite/binutils-all/mips/mips16-undecoded.s: Use `.module' 37*e6c7e151Schristos rather than `.set' to set the ISA level. 38*e6c7e151Schristos 39*e6c7e151Schristos2016-12-20 Maciej W. Rozycki <macro@imgtec.com> 40*e6c7e151Schristos 41*e6c7e151Schristos * testsuite/binutils-all/mips/mips16-extend-noinsn.d: Adjust 42*e6c7e151Schristos test for separate EXTEND prefix disassembly. 43*e6c7e151Schristos 44*e6c7e151Schristos2016-12-20 Andrew Waterman <andrew@sifive.com> 45*e6c7e151Schristos 46*e6c7e151Schristos * readelf.c (get_machine_flags): Use 47*e6c7e151Schristos EF_RISCV_FLOAT_ABI_{SOFT,SINGLE,DOBULE,QUAD) instead of 48*e6c7e151Schristos EF_RISCV_{SOFT,HARD}_FLOAT. 49*e6c7e151Schristos 50*e6c7e151Schristos2016-12-14 Maciej W. Rozycki <macro@imgtec.com> 51*e6c7e151Schristos 52*e6c7e151Schristos * testsuite/binutils-all/mips/mips-ase-1.d: New test. 53*e6c7e151Schristos * testsuite/binutils-all/mips/mips-ase-2.d: New test. 54*e6c7e151Schristos * testsuite/binutils-all/mips/mips-ase-3.d: New test. 55*e6c7e151Schristos * testsuite/binutils-all/mips/mips-ase-1.s: New test source. 56*e6c7e151Schristos * testsuite/binutils-all/mips/mips-ase-2.s: New test source. 57*e6c7e151Schristos * testsuite/binutils-all/mips/mips.exp: Run the new tests. 58*e6c7e151Schristos 59*e6c7e151Schristos2016-12-13 Jiong Wang <jiong.wang@arm.com> 60*e6c7e151Schristos 61*e6c7e151Schristos * readelf.c (is_32bit_abs_reloc): Recognize R_AARCH64_P32_ABS32. 62*e6c7e151Schristos 63*e6c7e151Schristos2016-12-13 Nick Clifton <nickc@redhat.com> 64*e6c7e151Schristos 65*e6c7e151Schristos * MAINTAINERS (Past Maintainers): New section. Move Mark 66*e6c7e151Schristos Mitchell's name here. 67*e6c7e151Schristos 68*e6c7e151Schristos2016-12-09 Maciej W. Rozycki <macro@imgtec.com> 69*e6c7e151Schristos 70*e6c7e151Schristos * testsuite/binutils-all/mips/mips16-extend-noinsn.d: New test. 71*e6c7e151Schristos * testsuite/binutils-all/mips/mips16-extend-noinsn.s: New test 72*e6c7e151Schristos source. 73*e6c7e151Schristos * testsuite/binutils-all/mips/mips.exp: Run the new test. 74*e6c7e151Schristos 75*e6c7e151Schristos2016-12-08 Maciej W. Rozycki <macro@imgtec.com> 76*e6c7e151Schristos 77*e6c7e151Schristos * testsuite/binutils-all/mips/mips16-pcrel.d: New test. 78*e6c7e151Schristos * testsuite/binutils-all/mips/mips16-pcrel.s: New test source. 79*e6c7e151Schristos * testsuite/binutils-all/mips/mips.exp: Run the new test. 80*e6c7e151Schristos 81*e6c7e151Schristos2016-12-08 Étienne Buira <etienne.buira@gmail.com> 82*e6c7e151Schristos 83*e6c7e151Schristos * readelf.c (process_program_headers): Always use hex prefix when 84*e6c7e151Schristos displaying the segment alignment. 85*e6c7e151Schristos 86*e6c7e151Schristos2016-12-06 Nick Clifton <nickc@redhat.com> 87*e6c7e151Schristos 88*e6c7e151Schristos PR binutils/20930 89*e6c7e151Schristos * objcopy.c (mark_symbols_used_in_relocations): Check for a null 90*e6c7e151Schristos symbol pointer pointer before attempting to mark the symbol as 91*e6c7e151Schristos kept. 92*e6c7e151Schristos 93*e6c7e151Schristos2016-12-05 Jose E. Marchesi <jose.marchesi@oracle.com> 94*e6c7e151Schristos 95*e6c7e151Schristos * MAINTAINERS: Add myself as maintainer for the SPARC targets. 96*e6c7e151Schristos 97*e6c7e151Schristos2016-12-05 Nick Clifton <nickc@redhat.com> 98*e6c7e151Schristos 99*e6c7e151Schristos PR ld/20923 100*e6c7e151Schristos * objcopy.c (mark_symbols_used_in_relocations): Check for a null 101*e6c7e151Schristos symbol pointer before attempting to mark the symbol as kept. 102*e6c7e151Schristos 103*e6c7e151Schristos2016-12-01 Luis Machado <lgustavo@codesourcery.com> 104*e6c7e151Schristos 105*e6c7e151Schristos * nm.c (sort_symbols_by_size): Don't read symbol size if symbol 106*e6c7e151Schristos is synthetic. 107*e6c7e151Schristos 108*e6c7e151Schristos2016-11-30 Nick Clifton <nickc@redhat.com> 109*e6c7e151Schristos 110*e6c7e151Schristos PR ld/20815 111*e6c7e151Schristos * readelf.c (process_program_headers): Do not warn about out of 112*e6c7e151Schristos order PT_LOAD segments. 113*e6c7e151Schristos 114*e6c7e151Schristos2016-11-29 Claudiu Zissulescu <claziss@synopsys.com> 115*e6c7e151Schristos 116*e6c7e151Schristos * testsuite/binutils-all/arc/objdump.exp (Warning test): Update 117*e6c7e151Schristos test. 118*e6c7e151Schristos 119*e6c7e151Schristos2016-11-27 Ambrogino Modigliani <ambrogino.modigliani@gmail.com> 120*e6c7e151Schristos 121*e6c7e151Schristos * dwarf.c: Fix spelling in comments. 122*e6c7e151Schristos * dwarf.h: Fix spelling in comments. 123*e6c7e151Schristos * objcopy.c: Fix spelling in comments. 124*e6c7e151Schristos * od-macho.c: Fix spelling in comments. 125*e6c7e151Schristos * rclex.c: Fix spelling in comments. 126*e6c7e151Schristos * readelf.c: Fix spelling in comments. 127*e6c7e151Schristos * stabs.c: Fix spelling in comments. 128*e6c7e151Schristos 129*e6c7e151Schristos2016-11-23 Nick Clifton <nickc@redhat.com> 130*e6c7e151Schristos 131*e6c7e151Schristos PR ld/20815 132*e6c7e151Schristos * readelf.c (process_program_headers): Check PT_LOAD and PT_PHDR 133*e6c7e151Schristos segments for validity. 134*e6c7e151Schristos 135*e6c7e151Schristos2016-11-22 Ambrogino Modigliani <ambrogino.modigliani@gmail.com> 136*e6c7e151Schristos 137*e6c7e151Schristos * configure: Regenerate. 138*e6c7e151Schristos 139*e6c7e151Schristos2016-11-22 Alan Modra <amodra@gmail.com> 140*e6c7e151Schristos 141*e6c7e151Schristos PR 20744 142*e6c7e151Schristos * NEWS: Mention PowerPC VLE relocation error. 143*e6c7e151Schristos 144*e6c7e151Schristos2016-11-16 Mark Wielaard <mark@klomp.org> 145*e6c7e151Schristos 146*e6c7e151Schristos * cxxfilt.c (main): Recognize rust_demangling. 147*e6c7e151Schristos 148*e6c7e151Schristos2016-11-14 Rudy <jacky.chouchou@yandex.ru> 149*e6c7e151Schristos 150*e6c7e151Schristos PR binutils/20814 151*e6c7e151Schristos * dlltool.c (struct export): Remove hint field. 152*e6c7e151Schristos (make_one_lib_file): Store the ordinal value for IDATA6 not the 153*e6c7e151Schristos hint. 154*e6c7e151Schristos (gen_lib_file): Delete reference to hint field. 155*e6c7e151Schristos (mangle_defs): Delete computation of hint field. 156*e6c7e151Schristos 157*e6c7e151Schristos2016-11-11 Nick Clifton <nickc@redhat.com> 158*e6c7e151Schristos 159*e6c7e151Schristos PR binutils/20751 160*e6c7e151Schristos * nm.c (with_symbol_versions): New local variable. 161*e6c7e151Schristos (long_options): Add --with-symbol-versions. 162*e6c7e151Schristos (usage): Mention --with-symbol-versions. 163*e6c7e151Schristos (print_symbol): If with_symbol_versions is set then display the 164*e6c7e151Schristos version information associated with the symbol. 165*e6c7e151Schristos * NEWS: Mention the new feature. 166*e6c7e151Schristos * doc/binutils.texi (nm): Document the new option. 167*e6c7e151Schristos (objdump): Describe how symbol version information is displayed 168*e6c7e151Schristos for dynamic symbol dumps. 169*e6c7e151Schristos (readelf): Describe how symbol version information is displayed. 170*e6c7e151Schristos * testsuite/binutils-all/nm.exp: Add a test of the new feature. 171*e6c7e151Schristos 172*e6c7e151Schristos2016-11-08 Nick Clifton <nickc@redhat.com> 173*e6c7e151Schristos 174*e6c7e151Schristos PR binutils/20794 175*e6c7e151Schristos * readelf.c (process_section_headers): Fix off-by-one error when 176*e6c7e151Schristos checking for invalid sh_link and sh_info fields. 177*e6c7e151Schristos 178*e6c7e151Schristos2016-11-04 Andrew Burgess <andrew.burgess@embecosm.com> 179*e6c7e151Schristos 180*e6c7e151Schristos * objcopy.c (copy_section): Add extra calls to free for error 181*e6c7e151Schristos paths. 182*e6c7e151Schristos 183*e6c7e151Schristos2016-11-04 Tom Tromey <tom@tromey.com> 184*e6c7e151Schristos 185*e6c7e151Schristos * dwarf-mode.el (dwarf-browse): Set default-directory. Bump 186*e6c7e151Schristos version number. 187*e6c7e151Schristos 188*e6c7e151Schristos2016-11-04 Palmer Dabbelt <palmer@dabbelt.com> 189*e6c7e151Schristos 190*e6c7e151Schristos * MAINTAINERS: Add myself and Andrew Waterman as maintainers for 191*e6c7e151Schristos the RISC-V target. 192*e6c7e151Schristos 193*e6c7e151Schristos2016-11-01 Palmer Dabbelt <palmer@dabbelt.com> 194*e6c7e151Schristos Andrew Waterman <andrew@sifive.com> 195*e6c7e151Schristos 196*e6c7e151Schristos Add support for RISC-V architecture. 197*e6c7e151Schristos * readelf.c (guess_is_rela): Add EM_RISCV. 198*e6c7e151Schristos (get_machine_name): Likewise. 199*e6c7e151Schristos (dump_relocations): Add support for riscv relocations. 200*e6c7e151Schristos (get_machine_flags): Add support for riscv flags. 201*e6c7e151Schristos (is_32bit_abs_reloc): Add R_RISCV_32. 202*e6c7e151Schristos (is_64bit_abs_reloc): Add R_RISCV_64. 203*e6c7e151Schristos (is_none_reloc): Add R_RISCV_NONE. 204*e6c7e151Schristos * testsuite/binutils-all/objdump.exp (cpus_expected): Add riscv. 205*e6c7e151Schristos Expect the debug_ranges test to fail. 206*e6c7e151Schristos 207*e6c7e151Schristos2016-10-17 Nick Clifton <nickc@redhat.com> 208*e6c7e151Schristos 209*e6c7e151Schristos * readelf.c (apply_relocations): Fail if the symbol table section 210*e6c7e151Schristos linked to by the reloc section does not have either the SHT_SYMTAB 211*e6c7e151Schristos or SHT_DYNSYM type. 212*e6c7e151Schristos (print_gnu_note): Decode the contents of NT_GNU_HWCAP notes. 213*e6c7e151Schristos Print the contents of unknown note types. 214*e6c7e151Schristos (process_note): Add the file and section to the parameter list. 215*e6c7e151Schristos Use print_symbol to display the note name. 216*e6c7e151Schristos Display the contents of unknown note types. 217*e6c7e151Schristos (process_corefile_note_segment): Rename to process_notes_at. 218*e6c7e151Schristos Add section parameter. Apply relocations to the notes when 219*e6c7e151Schristos loading from a section. Display section name when processing 220*e6c7e151Schristos notes in a section. 221*e6c7e151Schristos * testsuite/binutils-all/readelf.n: Update expected output. 222*e6c7e151Schristos 223*e6c7e151Schristos2016-10-17 Nick Clifton <nickc@redhat.com> 224*e6c7e151Schristos 225*e6c7e151Schristos * readelf.c (get_dynamic_type): Add DT_SYMTAB_SHNDX. 226*e6c7e151Schristos (get_machine_type): Add EM_CLOUDSHIELD, EM_COREA_1ST, 227*e6c7e151Schristos EM_COREA_2ND, EM_OPEN8, EM_VIDEOCORE5, EM_56800EX, EM_BA1, EM_BA2, 228*e6c7e151Schristos EM_XCORE, EM_MCHP_PIC, EM_KM32, EM_KMX32, EM_KMX16, EM_KMX8, 229*e6c7e151Schristos EM_KVARC, EM_CDP, EM_COGE, EM_COOL, EM_NORC, EM_CSR_KALIMBA, 230*e6c7e151Schristos EM_Z80, EM_AMDGPU, EM_RISCV. 231*e6c7e151Schristos (get_osabi_name): Add ELFOSABI_CLOUDABI and ELFOSABI_OPENVS. 232*e6c7e151Schristos (get_group_flags): Update to handle flags in the 233*e6c7e151Schristos GRP_MASKOS and GRP_MASKPROC ranges. 234*e6c7e151Schristos 235*e6c7e151Schristos2016-10-14 Luis Machado <lgustavo@codesourcery.com> 236*e6c7e151Schristos 237*e6c7e151Schristos * testsuite/lib/utils-lib.exp (run_dump_test): Call remote_download 238*e6c7e151Schristos to copy file to remote host. 239*e6c7e151Schristos 240*e6c7e151Schristos2016-10-11 Nick Clifton <nickc@redhat.com> 241*e6c7e151Schristos 242*e6c7e151Schristos * objdump.c (is_significant_symbol_name): New function. 243*e6c7e151Schristos (remove_useless_symbols): Do not remove significanr symbols. 244*e6c7e151Schristos (find_symbol_for_address): If an exact match for the specified 245*e6c7e151Schristos address has not been found, try scanning the dynamic relocs to see 246*e6c7e151Schristos if one of these matches the address. If so, use the symbol 247*e6c7e151Schristos associated with the reloc. 248*e6c7e151Schristos (objdump_print_addr_with_symbol): Do not print offsets to symbols 249*e6c7e151Schristos with no value. 250*e6c7e151Schristos (disassemble_section): Only use dynamic relocs if the user 251*e6c7e151Schristos requested this. 252*e6c7e151Schristos (disassemble_data): Always load dynamic relocs if they are 253*e6c7e151Schristos available. 254*e6c7e151Schristos 255*e6c7e151Schristos2016-10-06 Alan Modra <amodra@gmail.com> 256*e6c7e151Schristos 257*e6c7e151Schristos * dlltool.c: Spell fall through comments consistently. 258*e6c7e151Schristos * objcopy.c: Likewise. 259*e6c7e151Schristos * readelf.c: Likewise. 260*e6c7e151Schristos * dwarf.c: Add missing fall through comments. 261*e6c7e151Schristos * elfcomm.c: Likewise. 262*e6c7e151Schristos * sysinfo.y: Likewise. 263*e6c7e151Schristos * readelf.c: Likewise. Also remove extraneous comments. 264*e6c7e151Schristos 265*e6c7e151Schristos2016-10-06 Alan Modra <amodra@gmail.com> 266*e6c7e151Schristos 267*e6c7e151Schristos * cxxfilt.c (usage): Add ATTRIBUTE_NORETURN. 268*e6c7e151Schristos * elfedit.c (usage): Likewise. 269*e6c7e151Schristos * nm.c (usage): Likewise. 270*e6c7e151Schristos * objcopy.c (copy_usage, strip_usage): Likewise. 271*e6c7e151Schristos * srconv.c (show_usage): Likewise. 272*e6c7e151Schristos * strings.c (usage): Likewise. 273*e6c7e151Schristos * sysdump.c (show_usage): Likewise. 274*e6c7e151Schristos * srconv.c: Remove unneeded forward function declarations. 275*e6c7e151Schristos * strings.c: Likewise. 276*e6c7e151Schristos * sysdump.c: Likewise. 277*e6c7e151Schristos 278*e6c7e151Schristos2016-10-06 Alan Modra <amodra@gmail.com> 279*e6c7e151Schristos 280*e6c7e151Schristos * coffdump.c (dump_coff_where): Add missing break. 281*e6c7e151Schristos * stabs.c (stab_xcoff_builtin_type): Likewise. 282*e6c7e151Schristos 283*e6c7e151Schristos2016-09-29 Alan Modra <amodra@gmail.com> 284*e6c7e151Schristos 285*e6c7e151Schristos * readelf.c (process_arch_specific): Call process_power_specific 286*e6c7e151Schristos for EM_PPC64. 287*e6c7e151Schristos 288*e6c7e151Schristos2016-09-26 Vlad Zakharov <vzakhar@synopsys.com> 289*e6c7e151Schristos 290*e6c7e151Schristos * Makefile.am: Replace AM_CLFAGS with AM_CFLAGS_FOR_BUILD 291*e6c7e151Schristos when building with CC_FOR_BUILD compiler. 292*e6c7e151Schristos * Makefile.in: Regenerate. 293*e6c7e151Schristos * configure: Likewise. 294*e6c7e151Schristos * doc/Makefile.in: Likewise. 295*e6c7e151Schristos 296*e6c7e151Schristos2016-09-26 Alan Modra <amodra@gmail.com> 297*e6c7e151Schristos 298*e6c7e151Schristos * readelf.c (display_power_gnu_attribute): Catch truncated section 299*e6c7e151Schristos for all powerpc attributes. Display long double ABI. Don't 300*e6c7e151Schristos capitalize words, except for names. Show known bits of tag values 301*e6c7e151Schristos when some unknown bits are present. Whitespace fixes. 302*e6c7e151Schristos 303*e6c7e151Schristos2016-09-26 Alan Modra <amodra@gmail.com> 304*e6c7e151Schristos 305*e6c7e151Schristos * nm.c (get_elf_symbol_type): Don't use sprintf with translated 306*e6c7e151Schristos strings, use asprintf instead. 307*e6c7e151Schristos (get_coff_symbol_type): Likewise. 308*e6c7e151Schristos 309*e6c7e151Schristos2016-09-19 Alan Modra <amodra@gmail.com> 310*e6c7e151Schristos 311*e6c7e151Schristos * nm.c (print_symbol): Remove is_synthetic param. Test sym->flags 312*e6c7e151Schristos instead. 313*e6c7e151Schristos (print_size_symbols, print_symbols): Adjust to suit, deleting 314*e6c7e151Schristos now unused synth_count param and fromsynth var. 315*e6c7e151Schristos (display_rel_file): Adjust, localizing synth_count. 316*e6c7e151Schristos 317*e6c7e151Schristos2016-09-14 Ed Maste <emaste@freebsd.org> 318*e6c7e151Schristos 319*e6c7e151Schristos * readelf.c (process_mips_specific): Fix typo in error message. 320*e6c7e151Schristos 321*e6c7e151Schristos2016-09-06 Nick Clifton <nickc@redhat.com> 322*e6c7e151Schristos 323*e6c7e151Schristos * readelf.c (request_dump_bynumber): Only call memcpy if 324*e6c7e151Schristos dump_sects is not NULL. 325*e6c7e151Schristos 326*e6c7e151Schristos2016-08-29 H.J. Lu <hongjiu.lu@intel.com> 327*e6c7e151Schristos 328*e6c7e151Schristos * readelf.c (load_specific_debug_section): Check the external 329*e6c7e151Schristos compression header size. 330*e6c7e151Schristos 331*e6c7e151Schristos2016-08-19 Nick Clifton <nickc@redhat.com> 332*e6c7e151Schristos 333*e6c7e151Schristos * readelf.c (process_section_headers): Sanity check section headers. 334*e6c7e151Schristos (process_symbol_table): Don't warn on solaris binaries with local 335*e6c7e151Schristos symbols past symtab sh_info. 336*e6c7e151Schristos * testsuite/binutils-all/readelf.s: Adjust expected ordering of 337*e6c7e151Schristos sections. 338*e6c7e151Schristos * testsuite/binutils-all/readelf.s-64: Likewise. 339*e6c7e151Schristos 340*e6c7e151Schristos2016-08-12 Nick Clifton <nickc@redhat.com> 341*e6c7e151Schristos 342*e6c7e151Schristos * readelf.c (process_symbol_table): Generate a warning if a local 343*e6c7e151Schristos symbol is found at and offste greater than or equal to the sh_info 344*e6c7e151Schristos field of it's section header. 345*e6c7e151Schristos 346*e6c7e151Schristos2016-08-08 Nick Clifton <nickc@redhat.com> 347*e6c7e151Schristos 348*e6c7e151Schristos PR binutils/20440 349*e6c7e151Schristos * dwarf.c (display_debug_lines_decoded): Add checks for running 350*e6c7e151Schristos off the end of the section when populating the directory table and 351*e6c7e151Schristos file table. 352*e6c7e151Schristos (frame_display_row): Set max_regs equal to ncols. 353*e6c7e151Schristos * readelf.c (load_specific_debug_section): If the section is 354*e6c7e151Schristos compressed, but it is not big enough to hold a compression 355*e6c7e151Schristos header then warn and return 0. 356*e6c7e151Schristos 357*e6c7e151Schristos PR binutils/20439 358*e6c7e151Schristos * dwarf.c (display_debug_lines_decoded): Check directory and file 359*e6c7e151Schristos indicies before using them to access directory and file tables. 360*e6c7e151Schristos 361*e6c7e151Schristos2016-08-02 Nick Clifton <nickc@redhat.com> 362*e6c7e151Schristos 363*e6c7e151Schristos PR binutils/17512 364*e6c7e151Schristos * resbin.c (bin_to_res_version): Cast variables to correct type 365*e6c7e151Schristos for printing in error message. 366*e6c7e151Schristos 367*e6c7e151Schristos2016-07-28 Nick Clifton <nickc@redhat.com> 368*e6c7e151Schristos 369*e6c7e151Schristos PR binutils/17512 370*e6c7e151Schristos * rescoff.c (read_coff_res_dir): Fix detection of buffer overrun. 371*e6c7e151Schristos * resbin.c (bin_to_res_version): Allow for the padded length of a 372*e6c7e151Schristos version block to be longer than the recorded length. Skip padding 373*e6c7e151Schristos bytes. 374*e6c7e151Schristos 375*e6c7e151Schristos2016-07-21 H.J. Lu <hongjiu.lu@intel.com> 376*e6c7e151Schristos 377*e6c7e151Schristos * configure: Regenerated. 378*e6c7e151Schristos 379*e6c7e151Schristos2016-07-20 Claudiu Zissulescu <claziss@synopsys.com> 380*e6c7e151Schristos 381*e6c7e151Schristos * doc/binutils.texi (objdump): Add ARC disassembler options. 382*e6c7e151Schristos * testsuite/binutils-all/arc/dsp.s: New file. 383*e6c7e151Schristos * testsuite/binutils-all/arc/objdump.exp: Likewise. 384*e6c7e151Schristos * NEWS: Mention the new feature. 385*e6c7e151Schristos 386*e6c7e151Schristos2016-07-20 Nick Clifton <nickc@redhat.com> 387*e6c7e151Schristos 388*e6c7e151Schristos * doc/binutils.texi (objcopy): Note that the localize symbol 389*e6c7e151Schristos options do not affect unique symbols. 390*e6c7e151Schristos 391*e6c7e151Schristos2016-07-16 Alan Modra <amodra@gmail.com> 392*e6c7e151Schristos 393*e6c7e151Schristos * ar.c: Include plugin-api.h. 394*e6c7e151Schristos * nm.c: Likewise. 395*e6c7e151Schristos 396*e6c7e151Schristos2016-07-16 Alan Modra <amodra@gmail.com> 397*e6c7e151Schristos 398*e6c7e151Schristos * bucomm.c: Don't include libbfd.h. 399*e6c7e151Schristos (endian_string, display_target_list): Delete forward declaration. 400*e6c7e151Schristos (display_info_table, display_target_tables): Likewise. 401*e6c7e151Schristos (LONGEST_ARCH): Delete. 402*e6c7e151Schristos (struct display_target): New. 403*e6c7e151Schristos (do_display_target): New function. 404*e6c7e151Schristos (display_target_list, display_info): Rewrite functions. 405*e6c7e151Schristos (display_info_table): Delete. 406*e6c7e151Schristos (do_info_size, do_info_header, do_info_row): New functions. 407*e6c7e151Schristos 408*e6c7e151Schristos2016-07-16 Alan Modra <amodra@gmail.com> 409*e6c7e151Schristos 410*e6c7e151Schristos * elfcomm.h (HOST_WIDEST_INT): Move to.. 411*e6c7e151Schristos * sysdep.h: ..here. 412*e6c7e151Schristos * od-macho.c: Don't include libbfd.h. Do include dwarf.h 413*e6c7e151Schristos (dump_dyld_info_rebase): Use read_leb128 rather than 414*e6c7e151Schristos read_unsigned_leb128. 415*e6c7e151Schristos (dump_dyld_info_bind, dump_dyld_info_export_1): Likewise. 416*e6c7e151Schristos (dump_segment_split_info): Likewise. 417*e6c7e151Schristos (dump_dyld_info): Rename vars to avoid shadowing dwarf.h enums. 418*e6c7e151Schristos (dump_load_command): Likewise. 419*e6c7e151Schristos 420*e6c7e151Schristos2016-07-16 Alan Modra <amodra@gmail.com> 421*e6c7e151Schristos 422*e6c7e151Schristos * ar.c: Don't include libbfd.h. 423*e6c7e151Schristos * objcopy.c: Likewise. 424*e6c7e151Schristos * bucomm.c (bfd_get_archive_filename): Use xmalloc rather than 425*e6c7e151Schristos bfd_malloc. 426*e6c7e151Schristos 427*e6c7e151Schristos2016-07-15 Alan Modra <amodra@gmail.com> 428*e6c7e151Schristos 429*e6c7e151Schristos * testsuite/binutils-all/remove-relocs-01.s: Use .dc.a, not .word. 430*e6c7e151Schristos 431*e6c7e151Schristos2016-07-14 Andrew Burgess <andrew.burgess@embecosm.com> 432*e6c7e151Schristos 433*e6c7e151Schristos * doc/binutils.texi (objcopy): Document 'remove-relocations'. 434*e6c7e151Schristos (strip): Likewise. 435*e6c7e151Schristos * objcopy.c (SECTION_CONTEXT_REMOVE_RELOCS): Define. 436*e6c7e151Schristos (enum command_line_switch): Add 'OPTION_REMOVE_RELOCS'. 437*e6c7e151Schristos (struct option strip_options): Add 'remove-relocations'. 438*e6c7e151Schristos (struct option copy_options): Likewise. 439*e6c7e151Schristos (copy_usage): Likewise. 440*e6c7e151Schristos (strip_usage): Likewise. 441*e6c7e151Schristos (handle_remove_relocations_option): New function. 442*e6c7e151Schristos (discard_relocations): New function. 443*e6c7e151Schristos (handle_remove_section_option): New function. 444*e6c7e151Schristos (copy_relocations_in_section): Use discard_relocations. 445*e6c7e151Schristos (strip_main): Use handle_remove_section_option for 446*e6c7e151Schristos 'remove-section', and handle 'remove-relocations' option. 447*e6c7e151Schristos (copy_main): Likewise. 448*e6c7e151Schristos * testsuite/binutils-all/objcopy.exp: Run new tests. 449*e6c7e151Schristos * testsuite/binutils-all/remove-relocs-01.d: New file. 450*e6c7e151Schristos * testsuite/binutils-all/remove-relocs-01.s: New file. 451*e6c7e151Schristos * testsuite/binutils-all/remove-relocs-02.d: New file. 452*e6c7e151Schristos * testsuite/binutils-all/remove-relocs-03.d: New file. 453*e6c7e151Schristos * testsuite/binutils-all/remove-relocs-04.d: New file. 454*e6c7e151Schristos * testsuite/binutils-all/remove-relocs-05.d: New file. 455*e6c7e151Schristos * testsuite/binutils-all/remove-relocs-06.d: New file. 456*e6c7e151Schristos * NEWS: Mention new option. 457*e6c7e151Schristos 458*e6c7e151Schristos2016-07-14 Andrew Burgess <andrew.burgess@embecosm.com> 459*e6c7e151Schristos 460*e6c7e151Schristos * objcopy.c (find_section_list): Handle section patterns starting 461*e6c7e151Schristos with '!' being a non-matching pattern. 462*e6c7e151Schristos * doc/binutils.texi (objcopy): Give example of using '!' with 463*e6c7e151Schristos --remove-section and --only-section. 464*e6c7e151Schristos (strip): Give example of using '!' with --remove-section. 465*e6c7e151Schristos * testsuite/binutils-all/data-sections.s: New file. 466*e6c7e151Schristos * testsuite/binutils-all/only-section-01.d: New file. 467*e6c7e151Schristos * testsuite/binutils-all/remove-section-01.d: New file. 468*e6c7e151Schristos * testsuite/binutils-all/objcopy.exp: Run new tests. 469*e6c7e151Schristos * NEWS: Mention new feature. 470*e6c7e151Schristos 471*e6c7e151Schristos2016-07-09 Alan Modra <amodra@gmail.com> 472*e6c7e151Schristos 473*e6c7e151Schristos PR binutils/20337 474*e6c7e151Schristos * objdump.c (compare_symbols): For ELF, sort same value/type 475*e6c7e151Schristos symbols according to size. 476*e6c7e151Schristos 477*e6c7e151Schristos2016-07-05 Andre Vieria <andre.simoesdiasvieira@arm.com> 478*e6c7e151Schristos 479*e6c7e151Schristos * objdump.c (dump_section_header): Rename SEC_ELF_NOREAD 480*e6c7e151Schristos to SEC_ELF_NOREAD. 481*e6c7e151Schristos * readelf.c (get_elf_section_flags): Rename ARM_NOREAD to 482*e6c7e151Schristos ARM_PURECODE and SHF_ARM_NOREAD to SHF_ARM_PURECODE. 483*e6c7e151Schristos (process_section_headers): Rename noread to purecode. 484*e6c7e151Schristos 485*e6c7e151Schristos * section.c (SEC_ELF_NOREAD): Rename to ... 486*e6c7e151Schristos (SEC_ELF_PURECODE): ... this. 487*e6c7e151Schristos 488*e6c7e151Schristos2016-07-01 Nick Clifton <nickc@redhat.com> 489*e6c7e151Schristos 490*e6c7e151Schristos * prdbg.c (pr_enum_type): Use a buffer big enough to hold an 491*e6c7e151Schristos extremely large decimal value. 492*e6c7e151Schristos (pr_range_type): Likewise. 493*e6c7e151Schristos (pr_array_type): Likewise. 494*e6c7e151Schristos (pr_struct_field): Likewise. 495*e6c7e151Schristos (pr_class_baseclass): Likewise. 496*e6c7e151Schristos (pr_class_method_variant): Likewise. 497*e6c7e151Schristos (pr_tag_type): Likewise. 498*e6c7e151Schristos (pr_int_constant): Likewise. 499*e6c7e151Schristos (pr_typed_constant): Likewise. 500*e6c7e151Schristos (pr_variable): Likewise. 501*e6c7e151Schristos (pr_function_parameter): Likewise. 502*e6c7e151Schristos (pr_start_block): Likewise. 503*e6c7e151Schristos (pr_lineno): Likewise. 504*e6c7e151Schristos (pr_end_block): Likewise. 505*e6c7e151Schristos (tg_enum_type): Likewise. 506*e6c7e151Schristos (tg_int_constant): Likewise. 507*e6c7e151Schristos (tg_typed_constant): Likewise. 508*e6c7e151Schristos (tg_start_block): Likewise. 509*e6c7e151Schristos 510*e6c7e151Schristos2016-07-01 Nick Clifton <nickc@redhat.com> 511*e6c7e151Schristos 512*e6c7e151Schristos * testsuite/binutils-all/objcopy.exp 513*e6c7e151Schristos (objcopy_test_without_global_symbol): Expect this test to fail on 514*e6c7e151Schristos the AArch64 and ARM targets, since they preserve their mapping 515*e6c7e151Schristos symbols. 516*e6c7e151Schristos 517*e6c7e151Schristos2016-07-01 Tristan Gingold <gingold@adacore.com> 518*e6c7e151Schristos 519*e6c7e151Schristos * NEWS: Add marker for 2.27. 520*e6c7e151Schristos 521*e6c7e151Schristos2016-07-30 Tristan Gingold <gingold@adacore.com> 522*e6c7e151Schristos 523*e6c7e151Schristos * doc/binutils.texi (objdump): Fix mis-placement. 524*e6c7e151Schristos 525*e6c7e151Schristos2016-06-28 Nick Clifton <nickc@redhat.com> 526*e6c7e151Schristos 527*e6c7e151Schristos * testsuite/binutils-all/ar.exp: Relax previous restriction on 528*e6c7e151Schristos Alpha targets. Allow ELF based Alpha targets. 529*e6c7e151Schristos 530*e6c7e151Schristos2016-06-28 Maciej W. Rozycki <macro@imgtec.com> 531*e6c7e151Schristos 532*e6c7e151Schristos * testsuite/binutils-all/ar.exp: Use `supports_gnu_unique' with 533*e6c7e151Schristos the `unique_symbol' test. 534*e6c7e151Schristos 535*e6c7e151Schristos2016-06-28 Alan Modra <amodra@gmail.com> 536*e6c7e151Schristos 537*e6c7e151Schristos PR 20304 538*e6c7e151Schristos * objdump.c (objdump_print_symname): Don't attempt to retrieve 539*e6c7e151Schristos version info from synthetic symbols. 540*e6c7e151Schristos 541*e6c7e151Schristos2016-06-24 Alan Modra <amodra@gmail.com> 542*e6c7e151Schristos 543*e6c7e151Schristos * objcopy.c (find_section_rename): Forward declare. Remove 544*e6c7e151Schristos ibfd and sec_ptr param. Add old_name param. Allow for NULL 545*e6c7e151Schristos returned_flags. Move read of section name and flags to.. 546*e6c7e151Schristos (setup_section): ..here. Update find_section_rename call. 547*e6c7e151Schristos (filter_symbols): Rename section symbols for renamed sections. 548*e6c7e151Schristos (copy_object): Call filter_symbols when renamed sections. 549*e6c7e151Schristos * testsuite/lib/binutils-common.exp (is_bad_symtab): New. 550*e6c7e151Schristos * testsuite/binutils-all/update-section.exp: Revert 96037eb0 551*e6c7e151Schristos mips xfail. 552*e6c7e151Schristos * testsuite/binutils-all/objcopy.exp (copy_executable): Use 553*e6c7e151Schristos is_bad_symtab. 554*e6c7e151Schristos (localize-hidden-1): xfail if is_bad_symtab. 555*e6c7e151Schristos * testsuite/binutils-all/readelf.exp: Use is_bad_symtab to select 556*e6c7e151Schristos between mips/tmips. 557*e6c7e151Schristos 558*e6c7e151Schristos2016-06-24 Alan Modra <amodra@gmail.com> 559*e6c7e151Schristos 560*e6c7e151Schristos * objdump.c (struct print_file_list): Add "max_printed". 561*e6c7e151Schristos (try_print_file_open): Init new field. 562*e6c7e151Schristos (show_line): Don't show 5 context lines when redisplaying source. 563*e6c7e151Schristos 564*e6c7e151Schristos2016-06-22 Nick Clifton <nickc@redhat.com> 565*e6c7e151Schristos 566*e6c7e151Schristos * testsuite/binutils-all/ar.exp: Skip tests for Alpha target. 567*e6c7e151Schristos Skip bfdtest1 tests for tic30 target. 568*e6c7e151Schristos * testsuite/binutils-all/arm/objdump.exp: Skip for aout arm 569*e6c7e151Schristos target. 570*e6c7e151Schristos * testsuite/binutils-all/compress.exp: Expect some tests to fail 571*e6c7e151Schristos on the nds32. 572*e6c7e151Schristos * testsuite/binutils-all/copy-3.d: Skip for go32 targets. 573*e6c7e151Schristos * testsuite/binutils-all/copy-4.d: Skip for AIX and linuxecoff 574*e6c7e151Schristos targets. 575*e6c7e151Schristos * testsuite/binutils-all/nm.exp: Treat beos based targets as ELF 576*e6c7e151Schristos targets. 577*e6c7e151Schristos * testsuite/binutils-all/objcopy.exp: Only run reverse bytes tests 578*e6c7e151Schristos if the bintest.o file was created. Use the 579*e6c7e151Schristos get_standard_section_names proc to get the name of the data 580*e6c7e151Schristos section. 581*e6c7e151Schristos * testsuite/binutils-all/objdump.exp: Update regexps to allow for 582*e6c7e151Schristos RX section names. 583*e6c7e151Schristos * testsuite/binutils-all/readelf.exp: Use 584*e6c7e151Schristos get_standard_section_names proc to get the name of the data 585*e6c7e151Schristos section. 586*e6c7e151Schristos * testsuite/binutils-all/readelf.r: Allow for non standard text 587*e6c7e151Schristos section names. 588*e6c7e151Schristos * testsuite/binutils-all/readelf.s: Update regexps for tilepro. 589*e6c7e151Schristos * testsuite/binutils-all/size.exp: Allow for non standard section 590*e6c7e151Schristos names. 591*e6c7e151Schristos * testsuite/binutils-all/update-section.exp: Expect comapre 1vs4 592*e6c7e151Schristos to fail on mips targets. 593*e6c7e151Schristos * testsuite/lib/utils-lib.exp (default_binutils_run): Use 594*e6c7e151Schristos get_standard_section_names proc. 595*e6c7e151Schristos (run_dump_test): Likewise. 596*e6c7e151Schristos (proc get_standard_section_names): New proc. 597*e6c7e151Schristos 598*e6c7e151Schristos2016-06-22 Nick Clifton <nickc@redhat.com> 599*e6c7e151Schristos 600*e6c7e151Schristos * readelf.c (dynamic_section_mips_val): Increase size of timebuf. 601*e6c7e151Schristos (process_mips_specific): Likewise. 602*e6c7e151Schristos (process_gnu_liblist): Likewise. 603*e6c7e151Schristos 604*e6c7e151Schristos2016-06-21 Graham Markall <graham.markall@embecosm.com> 605*e6c7e151Schristos 606*e6c7e151Schristos * readelf.c (decode_ARC_machine_flags): Remove E_ARC_MACH_NPS400 607*e6c7e151Schristos case. 608*e6c7e151Schristos 609*e6c7e151Schristos2016-06-15 Nick Clifton <nickc@redhat.com> 610*e6c7e151Schristos 611*e6c7e151Schristos * readelf.c (is_24bit_abs_reloc): Add support for R_FT32_20 612*e6c7e151Schristos reloc. 613*e6c7e151Schristos 614*e6c7e151Schristos2016-06-14 John Baldwin <jhb@FreeBSD.org> 615*e6c7e151Schristos 616*e6c7e151Schristos * objcopy.c (do_elf_stt_common): Use correct type. 617*e6c7e151Schristos 618*e6c7e151Schristos2016-06-14 Alan Modra <amodra@gmail.com> 619*e6c7e151Schristos 620*e6c7e151Schristos * ar.c: Expand uses of bfd_my_archive. 621*e6c7e151Schristos * size.c: Likewise. 622*e6c7e151Schristos 623*e6c7e151Schristos2016-06-14 Alan Modra <amodra@gmail.com> 624*e6c7e151Schristos 625*e6c7e151Schristos PR ld/20241 626*e6c7e151Schristos * bucomm.c (bfd_get_archive_filename): Return file name within thin 627*e6c7e151Schristos archive. 628*e6c7e151Schristos 629*e6c7e151Schristos2016-06-02 Nick Clifton <nickc@redhat.com> 630*e6c7e151Schristos 631*e6c7e151Schristos PR 20089 632*e6c7e151Schristos * objcopy.c (group_signature): Fail if the input symbol table has 633*e6c7e151Schristos not been loaded, or if the sh_info field of the group header is 0. 634*e6c7e151Schristos 635*e6c7e151Schristos * dwarf.c (display_debug_frames): Do not display any 636*e6c7e151Schristos interpretation if the block consists solely of DW__CFA_NOPs. 637*e6c7e151Schristos 638*e6c7e151Schristos2016-05-31 Alan Modra <amodra@gmail.com> 639*e6c7e151Schristos 640*e6c7e151Schristos * objcopy.c: Formatting, whitespace throughout. 641*e6c7e151Schristos (copy_main): Init newsym->othersym. 642*e6c7e151Schristos (parse_symflags): Make len a size_t. Adjust uses. 643*e6c7e151Schristos 644*e6c7e151Schristos2016-05-25 H.J. Lu <hongjiu.lu@intel.com> 645*e6c7e151Schristos 646*e6c7e151Schristos PR binutils/14625 647*e6c7e151Schristos * NEWS: Mention --enable-64-bit-archive. 648*e6c7e151Schristos 649*e6c7e151Schristos2016-05-18 Nick Clifton <nickc@redhat.com> 650*e6c7e151Schristos 651*e6c7e151Schristos PR 20096 652*e6c7e151Schristos * objcopy.c (copy_relocations_in_section): Also check for the 653*e6c7e151Schristos symbol pointed to by sym_ptr_ptr being NULL. 654*e6c7e151Schristos 655*e6c7e151Schristos2016-05-18 Maciej W. Rozycki <macro@imgtec.com> 656*e6c7e151Schristos 657*e6c7e151Schristos * testsuite/binutils-all/mips/mixed-mips16-micromips.d: New test. 658*e6c7e151Schristos * testsuite/binutils-all/mips/mixed-mips16-micromips.s: New test 659*e6c7e151Schristos source. 660*e6c7e151Schristos * testsuite/binutils-all/mips/mips.exp: Run the new test. 661*e6c7e151Schristos 662*e6c7e151Schristos2016-05-18 Nick Clifton <nickc@redhat.com> 663*e6c7e151Schristos 664*e6c7e151Schristos * po/sv.po: Updated Swedish translation. 665*e6c7e151Schristos 666*e6c7e151Schristos2016-05-18 Maciej W. Rozycki <macro@imgtec.com> 667*e6c7e151Schristos 668*e6c7e151Schristos * readelf.c (dynamic_section_mips_val) <DT_MIPS_RLD_VERSION> 669*e6c7e151Schristos <DT_MIPS_LOCAL_GOTNO, DT_MIPS_CONFLICTNO, DT_MIPS_LIBLISTNO> 670*e6c7e151Schristos <DT_MIPS_SYMTABNO, DT_MIPS_UNREFEXTNO, DT_MIPS_HIPAGENO> 671*e6c7e151Schristos <DT_MIPS_DELTA_CLASS_NO, DT_MIPS_DELTA_INSTANCE_NO> 672*e6c7e151Schristos <DT_MIPS_DELTA_RELOC_NO, DT_MIPS_DELTA_SYM_NO> 673*e6c7e151Schristos <DT_MIPS_DELTA_CLASSSYM_NO, DT_MIPS_COMPACT_SIZE>: Use the 674*e6c7e151Schristos `d_val' rather than `d_ptr' member of the dynamic entry. 675*e6c7e151Schristos 676*e6c7e151Schristos2016-05-17 Maciej W. Rozycki <macro@imgtec.com> 677*e6c7e151Schristos 678*e6c7e151Schristos * testsuite/lib/binutils-common.exp (supports_gnu_unique): New 679*e6c7e151Schristos procedure. 680*e6c7e151Schristos * testsuite/binutils-all/objcopy.exp: Use `supports_gnu_unique' 681*e6c7e151Schristos with the `strip-10' test. 682*e6c7e151Schristos 683*e6c7e151Schristos2016-05-16 Maciej W. Rozycki <macro@imgtec.com> 684*e6c7e151Schristos 685*e6c7e151Schristos * testsuite/binutils-all/objcopy.exp: Don't skip the `strip-10' 686*e6c7e151Schristos test for the V850. 687*e6c7e151Schristos 688*e6c7e151Schristos2016-05-11 Andrew Bennett <andrew.bennett@imgtec.com> 689*e6c7e151Schristos 690*e6c7e151Schristos * readelf.c (print_mips_ases): Add DSPR3. 691*e6c7e151Schristos 692*e6c7e151Schristos2016-05-10 Thomas Preud'homme <thomas.preudhomme@arm.com> 693*e6c7e151Schristos 694*e6c7e151Schristos * readelf.c (display_arm_attribute): Add output for Tag_DSP_extension. 695*e6c7e151Schristos (arm_attr_public_tags): Define DSP_extension attribute. 696*e6c7e151Schristos 697*e6c7e151Schristos2016-05-10 Andrew Burgess <andrew.burgess@embecosm.com> 698*e6c7e151Schristos 699*e6c7e151Schristos * doc/binutils.texi (nm): Update description of --size-sort. 700*e6c7e151Schristos 701*e6c7e151Schristos2016-05-09 Nick Clifton <nickc@redhat.com> 702*e6c7e151Schristos 703*e6c7e151Schristos PR binutils/20063 704*e6c7e151Schristos * readelf.c (get_32bit_section_headers): Warn if an out of range 705*e6c7e151Schristos sh_link or sh_info field is encountered. 706*e6c7e151Schristos (get_64bit_section_headers): Likewise. 707*e6c7e151Schristos 708*e6c7e151Schristos2016-05-04 Senthil Kumar Selvaraj <senthil_kumar.selvaraj@atmel.com> 709*e6c7e151Schristos 710*e6c7e151Schristos * testsuite/lib/binutils-common.exp (is_elf_format): Add avr-*-*. 711*e6c7e151Schristos 712*e6c7e151Schristos2016-05-03 Nick Clifton <nickc@redhat.com> 713*e6c7e151Schristos 714*e6c7e151Schristos * po/sv.po: Updated Swedish translation. 715*e6c7e151Schristos 716*e6c7e151Schristos2016-04-29 Pitchumani Sivanupandi <pitchumani.s@atmel.com> 717*e6c7e151Schristos 718*e6c7e151Schristos * readelf.c (is_32bit_pcrel_reloc): Return true if reloc is 32-bit 719*e6c7e151Schristos PC relocation for AVR target. 720*e6c7e151Schristos (is_none_reloc): Return true if reloc is any of AVR diff 721*e6c7e151Schristos relocations. 722*e6c7e151Schristos 723*e6c7e151Schristos2016-04-29 Nick Clifton <nickc@redhat.com> 724*e6c7e151Schristos 725*e6c7e151Schristos PR 19938 726*e6c7e151Schristos * readelf.c (get_solaris_segment_type): New function. 727*e6c7e151Schristos (get_segment_type): Call it. 728*e6c7e151Schristos 729*e6c7e151Schristos2016-04-28 Nick Clifton <nickc@redhat.com> 730*e6c7e151Schristos 731*e6c7e151Schristos * po/zh_CN.po: Updated Chinese (simplified) translation. 732*e6c7e151Schristos 733*e6c7e151Schristos2016-04-28 Nick Clifton <nickc@redhat.com> 734*e6c7e151Schristos 735*e6c7e151Schristos PR target/19722 736*e6c7e151Schristos * testsuite/binutils-all/aarch64/illegal.s: New test. 737*e6c7e151Schristos * testsuite/binutils-all/aarch64/illegal.d: New test driver. 738*e6c7e151Schristos 739*e6c7e151Schristos2016-04-20 Trevor Saunders <tbsaunde+binutils@tbsaunde.org> 740*e6c7e151Schristos 741*e6c7e151Schristos * resres.c: Likewise. 742*e6c7e151Schristos 743*e6c7e151Schristos2016-04-15 H.J. Lu <hongjiu.lu@intel.com> 744*e6c7e151Schristos 745*e6c7e151Schristos * Makefile.in: Regenerated with automake 1.11.6. 746*e6c7e151Schristos * aclocal.m4: Likewise. 747*e6c7e151Schristos * doc/Makefile.in: Likewise. 748*e6c7e151Schristos 749*e6c7e151Schristos2016-04-14 Nick Clifton <nickc@redhat.com> 750*e6c7e151Schristos 751*e6c7e151Schristos PR target/19938 752*e6c7e151Schristos * testsuite/binutils-all/i386/compressed-1b.d: Allow for the 753*e6c7e151Schristos string sections possibly having the SHF_STRINGS flag bit set. 754*e6c7e151Schristos * testsuite/binutils-all/i386/compressed-1c.d: Likewise. 755*e6c7e151Schristos * testsuite/binutils-all/readelf.s: Likewise. 756*e6c7e151Schristos * testsuite/binutils-all/readelf.s-64: Likewise. 757*e6c7e151Schristos * testsuite/binutils-all/x86-64/compressed-1b.d: Likewise. 758*e6c7e151Schristos * testsuite/binutils-all/x86-64/compressed-1c.d: Likewise. 759*e6c7e151Schristos 760*e6c7e151Schristos2016-04-13 Nick Clifton <nickc@redhat.com> 761*e6c7e151Schristos 762*e6c7e151Schristos PR target/19938 763*e6c7e151Schristos * readelf.c (get_solaris_section_type): New function: Returns the 764*e6c7e151Schristos name of Solaris specific section types. 765*e6c7e151Schristos (get_solaris_dynamic_type): New function: Return the name of 766*e6c7e151Schristos Solaris specific dynamic types. 767*e6c7e151Schristos (get_dynamic_type): Use get_solaris_dynamic_type. 768*e6c7e151Schristos (get_section_type_name): Use get_solaris_section_type. 769*e6c7e151Schristos (get_solaris_symbol_visibility): New function: Returns Solaris 770*e6c7e151Schristos specific symbol visibilities. 771*e6c7e151Schristos (print_dynamic_symbol): Use get_solaris_symbol_visibility. 772*e6c7e151Schristos (process_symbol_table): Likewise. 773*e6c7e151Schristos 774*e6c7e151Schristos2016-04-13 Andreas Arnez <arnez@linux.vnet.ibm.com> 775*e6c7e151Schristos 776*e6c7e151Schristos * dwarf.h (init_dwarf_regnames_s390): Declare. 777*e6c7e151Schristos * dwarf.c (dwarf_regnames_s390): New. 778*e6c7e151Schristos (init_dwarf_regnames_s390): New. 779*e6c7e151Schristos (init_dwarf_regnames): Call it. 780*e6c7e151Schristos * objdump.c (dump_dwarf): Likewise. 781*e6c7e151Schristos 782*e6c7e151Schristos2016-04-11 Maciej W. Rozycki <macro@imgtec.com> 783*e6c7e151Schristos 784*e6c7e151Schristos * testsuite/binutils-all/mips/mips16-undecoded.d: New test. 785*e6c7e151Schristos * testsuite/binutils-all/mips/mips16-undecoded.s: New test 786*e6c7e151Schristos source. 787*e6c7e151Schristos * testsuite/binutils-all/mips/mips.exp: Run the new test. 788*e6c7e151Schristos 789*e6c7e151Schristos2016-04-04 Nick Clifton <nickc@redhat.com> 790*e6c7e151Schristos 791*e6c7e151Schristos PR 19872 792*e6c7e151Schristos * dwarf.c (display_debug_aranges): Skip warning about unrecognised 793*e6c7e151Schristos version number if the version is zero. 794*e6c7e151Schristos 795*e6c7e151Schristos2016-03-29 Alan Modra <amodra@gmail.com> 796*e6c7e151Schristos 797*e6c7e151Schristos * readelf.c (get_data): Use BFD_VMA_FMT to print bfd_size_type vars. 798*e6c7e151Schristos (get_dynamic_data): Likewise. 799*e6c7e151Schristos 800*e6c7e151Schristos2016-03-22 Nick Clifton <nickc@redhat.com> 801*e6c7e151Schristos 802*e6c7e151Schristos PR 19851 803*e6c7e151Schristos * dwarf.c (SAFE_BYTE_GET): Replace local dynamic array allocation 804*e6c7e151Schristos with run time size check. 805*e6c7e151Schristos 806*e6c7e151Schristos * configure: Regenerate. 807*e6c7e151Schristos 808*e6c7e151Schristos2016-03-21 Andrew Burgess <andrew.burgess@embecosm.com> 809*e6c7e151Schristos 810*e6c7e151Schristos * readelf.c (decode_ARC_machine_flags): Handle nps400. 811*e6c7e151Schristos 812*e6c7e151Schristos2016-03-21 Andrew Burgess <andrew.burgess@embecosm.com> 813*e6c7e151Schristos 814*e6c7e151Schristos * readelf.c (get_machine_flags): Move arc processing into... 815*e6c7e151Schristos (decode_ARC_machine_flags): ... new function. Remove use of 816*e6c7e151Schristos EF_ARC_CPU_GENERIC, change default case from "generic arc" to 817*e6c7e151Schristos "unknown arc". Merged ABI printing between two machine types. 818*e6c7e151Schristos 819*e6c7e151Schristos2016-03-21 Andrew Burgess <andrew.burgess@embecosm.com> 820*e6c7e151Schristos 821*e6c7e151Schristos * testsuite/binutils-all/objdump.exp (cpus_expected): Add ARC700 822*e6c7e151Schristos to the architecture list. 823*e6c7e151Schristos 824*e6c7e151Schristos2016-03-21 Nick Clifton <nickc@redhat.com> 825*e6c7e151Schristos 826*e6c7e151Schristos * dlltool.c: Replace use of alloca with call to xmalloc. 827*e6c7e151Schristos * dllwrap.c: Likewise. 828*e6c7e151Schristos * nlmconv.c: Likewise. 829*e6c7e151Schristos * objdump.c: Likewise. 830*e6c7e151Schristos * resrc.c: Likewise. 831*e6c7e151Schristos * winduni.c: Likewise. 832*e6c7e151Schristos * configure: Regenerate. 833*e6c7e151Schristos 834*e6c7e151Schristos2016-03-07 Nick Clifton <nickc@redhat.com> 835*e6c7e151Schristos 836*e6c7e151Schristos PR binutils/19775 837*e6c7e151Schristos * testsuite/binutils-all/ar.exp (proc empty_archive): New proc. 838*e6c7e151Schristos Run the new proc. 839*e6c7e151Schristos * testsuite/binutils-all/empty: New, empty, file. 840*e6c7e151Schristos 841*e6c7e151Schristos2016-03-04 Matthew Wahab <matthew.wahab@arm.com> 842*e6c7e151Schristos 843*e6c7e151Schristos * readelf.c (arm_attry_tag_FP_arch): Add "NEON for ARMv8.1". 844*e6c7e151Schristos 845*e6c7e151Schristos2016-02-26 H.J. Lu <hongjiu.lu@intel.com> 846*e6c7e151Schristos 847*e6c7e151Schristos PR ld/19645 848*e6c7e151Schristos * NEWS: Mention --elf-stt-common= for objcopy. 849*e6c7e151Schristos * doc/binutils.texi: Document --elf-stt-common= for objcopy. 850*e6c7e151Schristos * objcopy.c (do_elf_stt_common): New. 851*e6c7e151Schristos (command_line_switch): Add OPTION_ELF_STT_COMMON. 852*e6c7e151Schristos (copy_options): Add --elf-stt-common=. 853*e6c7e151Schristos (copy_usage): Add --elf-stt-common=. 854*e6c7e151Schristos (copy_object): Also check do_elf_stt_common for ELF targets. 855*e6c7e151Schristos (copy_file): Handle do_elf_stt_common. 856*e6c7e151Schristos (copy_main): Handle OPTION_ELF_STT_COMMON. 857*e6c7e151Schristos * readelf.c (apply_relocations): Support STT_COMMON. 858*e6c7e151Schristos * testsuite/binutils-all/common-1.s: New file. 859*e6c7e151Schristos * testsuite/binutils-all/common-1a.d: Likewise. 860*e6c7e151Schristos * testsuite/binutils-all/common-1b.d: Likewise. 861*e6c7e151Schristos * testsuite/binutils-all/common-1c.d: Likewise. 862*e6c7e151Schristos * testsuite/binutils-all/common-1d.d: Likewise. 863*e6c7e151Schristos * testsuite/binutils-all/common-1e.d: Likewise. 864*e6c7e151Schristos * testsuite/binutils-all/common-1f.d: Likewise. 865*e6c7e151Schristos * testsuite/binutils-all/common-2.s: Likewise. 866*e6c7e151Schristos * testsuite/binutils-all/common-2a.d: Likewise. 867*e6c7e151Schristos * testsuite/binutils-all/common-2b.d: Likewise. 868*e6c7e151Schristos * testsuite/binutils-all/common-2c.d: Likewise. 869*e6c7e151Schristos * testsuite/binutils-all/common-2d.d: Likewise. 870*e6c7e151Schristos * testsuite/binutils-all/common-2e.d: Likewise. 871*e6c7e151Schristos * testsuite/binutils-all/common-2f.d: Likewise. 872*e6c7e151Schristos * testsuite/binutils-all/objcopy.exp 873*e6c7e151Schristos (objcopy_test_elf_common_symbols): New proc. 874*e6c7e151Schristos Run objcopy_test_elf_common_symbols for ELF targets 875*e6c7e151Schristos 876*e6c7e151Schristos2016-02-16 H.J. Lu <hongjiu.lu@intel.com> 877*e6c7e151Schristos 878*e6c7e151Schristos PR binutils/19647 879*e6c7e151Schristos * readelf.c (get_section_type_name): Add a missing break. 880*e6c7e151Schristos 881*e6c7e151Schristos2016-02-16 Claudiu Zissulescu <claziss@synopsys.com> 882*e6c7e151Schristos 883*e6c7e151Schristos * readelf.c (is_32bit_pcrel_reloc): Add R_ARC_32_PCREL. 884*e6c7e151Schristos 885*e6c7e151Schristos2016-02-15 Nick Clifton <nickc@redhat.com> 886*e6c7e151Schristos 887*e6c7e151Schristos * readelf.c (get_section_type_name): Add hex prefix to offsets 888*e6c7e151Schristos printed for LOPROC and LOOS values. Ensure that a result is 889*e6c7e151Schristos always returned for the V850 target, even when an unrecognised 890*e6c7e151Schristos processor specific value is encountered. 891*e6c7e151Schristos (process_section_headers): Display key values in the order in 892*e6c7e151Schristos which they appear to the user. Add the "C (compressed)" value to 893*e6c7e151Schristos the list. 894*e6c7e151Schristos 895*e6c7e151Schristos2016-02-12 H.J. Lu <hongjiu.lu@intel.com> 896*e6c7e151Schristos 897*e6c7e151Schristos * doc/binutils.texi: Fix a typo. 898*e6c7e151Schristos 899*e6c7e151Schristos2016-02-05 Cupertino Miranda <Cupertino.Miranda@synopsys.com> 900*e6c7e151Schristos 901*e6c7e151Schristos * testsuite/binutils-all/objdump.exp: Update expected default 902*e6c7e151Schristos architecture value for ARC binaries. 903*e6c7e151Schristos 904*e6c7e151Schristos2016-02-02 H.J. Lu <hongjiu.lu@intel.com> 905*e6c7e151Schristos 906*e6c7e151Schristos PR binutils/19547 907*e6c7e151Schristos * testsuite/binutils-all/objcopy.exp 908*e6c7e151Schristos (objcopy_test_without_global_symbol): New proc. 909*e6c7e151Schristos Run objcopy_test_without_global_symbol. 910*e6c7e151Schristos * testsuite/binutils-all/pr19547.c: New file. 911*e6c7e151Schristos 912*e6c7e151Schristos2016-01-28 H.J. Lu <hongjiu.lu@intel.com> 913*e6c7e151Schristos 914*e6c7e151Schristos PR binutils/19523 915*e6c7e151Schristos * Makefile.am (check-DEJAGNU): Pass CC and CC_FOR_BUILD to 916*e6c7e151Schristos runtest. 917*e6c7e151Schristos * Makefile.in: Regenerated. 918*e6c7e151Schristos * testsuite/binutils-all/compress.exp (test_gnu_debuglink): New 919*e6c7e151Schristos proc. 920*e6c7e151Schristos Run test_gnu_debuglink for native ELF build. 921*e6c7e151Schristos 922*e6c7e151Schristos2016-01-20 Nick Clifton <nickc@redhat.com> 923*e6c7e151Schristos 924*e6c7e151Schristos PR 19495 925*e6c7e151Schristos * testsuite/binutils-all/dlltool.exp: Fix tests for targets which 926*e6c7e151Schristos do not support inserting leading underscores. 927*e6c7e151Schristos 928*e6c7e151Schristos2016-01-20 Mickael Guene <mickael.guene@st.com> 929*e6c7e151Schristos 930*e6c7e151Schristos * readelf.c (get_elf_section_flags): Display y letter for section 931*e6c7e151Schristos with SHF_ARM_NOREAD section flag in readelf section output. 932*e6c7e151Schristos (process_section_headers): Add y letter in readelf section output 933*e6c7e151Schristos key mapping for ARM architecture. 934*e6c7e151Schristos * objdump.c (dump_section_header): Display NOREAD attributes as 935*e6c7e151Schristos well. 936*e6c7e151Schristos * doc/binutils.texi (objdump): Note that it is correct for 937*e6c7e151Schristos sections to have both the READONLY and NOREAD attributes. 938*e6c7e151Schristos 939*e6c7e151Schristos2016-01-19 John Baldwin <jhb@FreeBSD.org> 940*e6c7e151Schristos 941*e6c7e151Schristos * readelf.c (get_freebsd_elfcore_note_type): Remove unused variable. 942*e6c7e151Schristos 943*e6c7e151Schristos2016-01-19 John Baldwin <jhb@FreeBSD.org> 944*e6c7e151Schristos 945*e6c7e151Schristos * readelf.c (get_freebsd_elfcore_note_type): New 946*e6c7e151Schristos (process_note): Add support for FreeBSD core notes. 947*e6c7e151Schristos 948*e6c7e151Schristos2016-01-18 Miranda Cupertino <Cupertino.Miranda@synopsys.com> 949*e6c7e151Schristos Zissulescu Claudiu <Claudiu.Zissulescu@synopsys.com> 950*e6c7e151Schristos 951*e6c7e151Schristos * readelf.c (get_machine_flags): Add support for newer ARC ELF 952*e6c7e151Schristos header flags. 953*e6c7e151Schristos 954*e6c7e151Schristos2016-01-18 Alan Modra <amodra@gmail.com> 955*e6c7e151Schristos 956*e6c7e151Schristos * configure: Regenerate. 957*e6c7e151Schristos 958*e6c7e151Schristos2016-01-17 Alan Modra <amodra@gmail.com> 959*e6c7e151Schristos 960*e6c7e151Schristos * configure: Regenerate. 961*e6c7e151Schristos 962*e6c7e151Schristos2016-01-17 Alan Modra <amodra@gmail.com> 963*e6c7e151Schristos 964*e6c7e151Schristos * testsuite/lib/binutils-common.exp (is_elf_format): Return true 965*e6c7e151Schristos for m68hc11/12 and xgate triples. 966*e6c7e151Schristos 967*e6c7e151Schristos2016-01-17 Alan Modra <amodra@gmail.com> 968*e6c7e151Schristos 969*e6c7e151Schristos * readelf.c (is_32bit_abs_reloc): Add R_M68HC11_32. 970*e6c7e151Schristos 971*e6c7e151Schristos2016-01-01 Alan Modra <amodra@gmail.com> 972*e6c7e151Schristos 973*e6c7e151Schristos Update year range in copyright notice of all files. 974*e6c7e151Schristos 975*e6c7e151SchristosFor older changes see ChangeLog-2015 and testsuite/ChangeLog-1215 976*e6c7e151Schristos 977*e6c7e151SchristosCopyright (C) 2016 Free Software Foundation, Inc. 978*e6c7e151Schristos 979*e6c7e151SchristosCopying and distribution of this file, with or without modification, 980*e6c7e151Schristosare permitted in any medium without royalty provided the copyright 981*e6c7e151Schristosnotice and this notice are preserved. 982*e6c7e151Schristos 983*e6c7e151SchristosLocal Variables: 984*e6c7e151Schristosmode: change-log 985*e6c7e151Schristosleft-margin: 8 986*e6c7e151Schristosfill-column: 74 987*e6c7e151Schristosversion-control: never 988*e6c7e151SchristosEnd: 989