1*8cbf5cb7Schristos2015-12-24 Thomas Preud'homme <thomas.preudhomme@arm.com> 2*8cbf5cb7Schristos 3*8cbf5cb7Schristos * readelf.c (arm_attr_tag_CPU_arch): Add ARMv8-M Baseline Tag_CPU_arch 4*8cbf5cb7Schristos value. 5*8cbf5cb7Schristos 6*8cbf5cb7Schristos2015-12-24 Thomas Preud'homme <thomas.preudhomme@arm.com> 7*8cbf5cb7Schristos 8*8cbf5cb7Schristos * readelf.c (arm_attr_tag_CPU_arch): Add ARMv8-M Mainline Tag_CPU_arch 9*8cbf5cb7Schristos value. 10*8cbf5cb7Schristos (arm_attr_tag_THUMB_ISA_use): Add ARMv8-M Mainline Tag_THUMB_ISA_use 11*8cbf5cb7Schristos value. 12*8cbf5cb7Schristos 13*8cbf5cb7Schristos2015-12-22 Nick Clifton <nickc@redhat.com> 14*8cbf5cb7Schristos 15*8cbf5cb7Schristos * readelf.c (get_elf_section_flags): Add support for ARM specific 16*8cbf5cb7Schristos section flags. 17*8cbf5cb7Schristos 18*8cbf5cb7Schristos2015-12-17 Maciej W. Rozycki <macro@imgtec.com> 19*8cbf5cb7Schristos 20*8cbf5cb7Schristos * MAINTAINERS: Add myself as MIPS maintainer. 21*8cbf5cb7Schristos 22*8cbf5cb7Schristos2015-12-14 Yoshinori Sato <ysato@users.sourceforge.jp> 23*8cbf5cb7Schristos 24*8cbf5cb7Schristos * readelf.c (get_machine_flags): Add support for RX v2 flag. 25*8cbf5cb7Schristos 26*8cbf5cb7Schristos2015-12-14 Jan Beulich <jbeulich@suse.com> 27*8cbf5cb7Schristos 28*8cbf5cb7Schristos * nm.c: Include coff/external.h, coff/internal.h, and 29*8cbf5cb7Schristos libcoff.h. 30*8cbf5cb7Schristos (struct extended_symbol_info): New field "coffinfo". 31*8cbf5cb7Schristos (get_symbol_type): Rename to get_elf_symbol_type. 32*8cbf5cb7Schristos (get_coff_symbol_type): New. 33*8cbf5cb7Schristos (print_symbol): Also init info.coffinfo. 34*8cbf5cb7Schristos (print_symbol_info_sysv): Print type and section name also for 35*8cbf5cb7Schristos COFF symbols. 36*8cbf5cb7Schristos 37*8cbf5cb7Schristos2015-12-08 Nick Clifton <nickc@redhat.com> 38*8cbf5cb7Schristos 39*8cbf5cb7Schristos PR binutils/19310 40*8cbf5cb7Schristos * dwarf.c (display_debug_frames): Recode range test to avoid 41*8cbf5cb7Schristos undefined behaviour. 42*8cbf5cb7Schristos 43*8cbf5cb7Schristos2015-12-03 Tristan Gingold <gingold@adacore.com> 44*8cbf5cb7Schristos 45*8cbf5cb7Schristos * od-macho.c (bfd_mach_o_header_flags_name): Add name 46*8cbf5cb7Schristos for flags until BFD_MACH_O_MH_APP_EXTENSION_SAFE. 47*8cbf5cb7Schristos 48*8cbf5cb7Schristos2015-12-01 Alan Modra <amodra@gmail.com> 49*8cbf5cb7Schristos 50*8cbf5cb7Schristos * configure: Regenerate. 51*8cbf5cb7Schristos 52*8cbf5cb7Schristos2015-11-30 Andrew Burgess <andrew.burgess@embecosm.com> 53*8cbf5cb7Schristos 54*8cbf5cb7Schristos * dwarf.c (is_max_address): New function. 55*8cbf5cb7Schristos (display_loc_list): Remove out of date comment, use 56*8cbf5cb7Schristos is_max_address. 57*8cbf5cb7Schristos (display_debug_ranges): Likewise. 58*8cbf5cb7Schristos 59*8cbf5cb7Schristos2015-11-28 Cary Coutant <ccoutant@gmail.com> 60*8cbf5cb7Schristos 61*8cbf5cb7Schristos * MAINTAINERS: Update my email address. 62*8cbf5cb7Schristos 63*8cbf5cb7Schristos2015-11-20 Ronald Hoogenboom <hoogenboom30@zonnet.nl> 64*8cbf5cb7Schristos 65*8cbf5cb7Schristos * objcopy.c (parse_symflags): Use xstrndup in place of strndup. 66*8cbf5cb7Schristos (copy_main): Likewise. 67*8cbf5cb7Schristos 68*8cbf5cb7Schristos2015-11-20 Nick Clifton <nickc@redhat.com> 69*8cbf5cb7Schristos 70*8cbf5cb7Schristos * po/ca.po: New Catalan translation. 71*8cbf5cb7Schristos * configure.ac (ALL_LINGUAS): Add ca. 72*8cbf5cb7Schristos * configure: Regenerate. 73*8cbf5cb7Schristos 74*8cbf5cb7Schristos2015-11-18 Tristan Gingold <gingold@adacore.com> 75*8cbf5cb7Schristos 76*8cbf5cb7Schristos * od-macho.c (bfd_mach_o_load_command_name): Add new 77*8cbf5cb7Schristos entries. 78*8cbf5cb7Schristos (dump_unwind_encoding_arm64): New function. 79*8cbf5cb7Schristos (dump_unwind_encoding): Handle arm64. 80*8cbf5cb7Schristos 81*8cbf5cb7Schristos2015-11-13 Tristan Gingold <gingold@adacore.com> 82*8cbf5cb7Schristos 83*8cbf5cb7Schristos * configure: Regenerate. 84*8cbf5cb7Schristos 85*8cbf5cb7Schristos2015-11-13 Tristan Gingold <gingold@adacore.com> 86*8cbf5cb7Schristos 87*8cbf5cb7Schristos * NEWS: Add marker for 2.26. 88*8cbf5cb7Schristos 89*8cbf5cb7Schristos2015-11-09 Dominik Vogt <vogt@linux.vnet.ibm.com> 90*8cbf5cb7Schristos 91*8cbf5cb7Schristos * dwarf.c (read_leb128): Fix left shift of negative value. 92*8cbf5cb7Schristos 93*8cbf5cb7Schristos2015-11-03 Alan Modra <amodra@gmail.com> 94*8cbf5cb7Schristos 95*8cbf5cb7Schristos * readelf (process_version_sections): Check DT_VERNEED and 96*8cbf5cb7Schristos DT_VERDEF for all symbols. Report "*both*" should a symbol 97*8cbf5cb7Schristos have both a verneed and verdef. 98*8cbf5cb7Schristos (get_symbol_version_string): Reduce indentation by early 99*8cbf5cb7Schristos exits. Don't use SHT_NOBITS heuristic to detect case where a 100*8cbf5cb7Schristos defined symbol has a verneed entry. 101*8cbf5cb7Schristos 102*8cbf5cb7Schristos2015-10-30 Nick Clifton <nickc@redhat.com> 103*8cbf5cb7Schristos 104*8cbf5cb7Schristos * po/zh_CN.po: Updated (simplified) Chinese translation. 105*8cbf5cb7Schristos 106*8cbf5cb7Schristos2015-10-27 Stephen Fisher <sfisher@panix.com> 107*8cbf5cb7Schristos 108*8cbf5cb7Schristos * binutils.c (process_netbsd_elf_note): New function. 109*8cbf5cb7Schristos (process_note): Call the new function for NetBSD core notes. 110*8cbf5cb7Schristos 111*8cbf5cb7Schristos2015-10-22 Hans-Peter Nilsson <hp@bitrange.com> 112*8cbf5cb7Schristos 113*8cbf5cb7Schristos * objcopy.c (setup_section): Don't omit bfd_copy_private_bfd_data 114*8cbf5cb7Schristos call when extract_symbol. 115*8cbf5cb7Schristos 116*8cbf5cb7Schristos2015-10-21 Ronald Hoogenboom <rhoogenboom@irdeto.com> 117*8cbf5cb7Schristos 118*8cbf5cb7Schristos PR binutils/19104 119*8cbf5cb7Schristos * objcopy.c (command_line_switch): Add OPTION_ADD_SYMBOL. 120*8cbf5cb7Schristos (copy_options): Add add-symbol. 121*8cbf5cb7Schristos (copy_usage): Likewise. 122*8cbf5cb7Schristos (parse_symflags): New function. 123*8cbf5cb7Schristos (need_sym_before): New function. 124*8cbf5cb7Schristos (create_new_symbol): New function. 125*8cbf5cb7Schristos (filter_symbols): Add code to insert new symbols. 126*8cbf5cb7Schristos (copy_main): Process OPTION_ADD_SYMBOL. 127*8cbf5cb7Schristos * doc/binutils.texi: Document new feature. 128*8cbf5cb7Schristos * NEWS: Add note about the new feature. 129*8cbf5cb7Schristos 130*8cbf5cb7Schristos2015-10-18 Paul Pluzhnikov <ppluzhnikov@google.com> 131*8cbf5cb7Schristos 132*8cbf5cb7Schristos PR binutils/19147 133*8cbf5cb7Schristos * readelf.c (print_core_note): Fix off-by-one bug. 134*8cbf5cb7Schristos 135*8cbf5cb7Schristos2015-10-15 Alan Modra <amodra@gmail.com> 136*8cbf5cb7Schristos 137*8cbf5cb7Schristos * objcopy.c (copy_object): Don't omit bfd_copy_private_bfd_data 138*8cbf5cb7Schristos call when extract_symbol. 139*8cbf5cb7Schristos 140*8cbf5cb7Schristos2015-10-12 Andrew Burgess <andrew.burgess@embecosm.com> 141*8cbf5cb7Schristos 142*8cbf5cb7Schristos * od-elf32_avr.c (elf32_avr_dump_avr_prop): Fix printing of align 143*8cbf5cb7Schristos specific data, fix formatting for align and org data. 144*8cbf5cb7Schristos 145*8cbf5cb7Schristos2015-09-01 Claudiu Zissulescu <claziss@synopsys.com> 146*8cbf5cb7Schristos Cupertino Miranda <cmiranda@synopsys.com> 147*8cbf5cb7Schristos 148*8cbf5cb7Schristos * readelf.c (get_machine_name): Remove A5 reference. Add ARCompact 149*8cbf5cb7Schristos and ARCv2. 150*8cbf5cb7Schristos (get_machine_flags): Handle EM_ARCV2 and EM_ARCOMPACT. 151*8cbf5cb7Schristos (guess_is_rela): Likewise. 152*8cbf5cb7Schristos (dump_relocations): Likewise. 153*8cbf5cb7Schristos (is_32bit_abs_reloc): Likewise. 154*8cbf5cb7Schristos (is_16bit_abs_reloc): Likewise. 155*8cbf5cb7Schristos (is_none_reloc): Likewise. 156*8cbf5cb7Schristos * NEWS: Mention the new feature. 157*8cbf5cb7Schristos 158*8cbf5cb7Schristos2015-09-29 Andrew Stubbs <ams@codesourcery.com> 159*8cbf5cb7Schristos H.J. Lu <hongjiu.lu@intel.com> 160*8cbf5cb7Schristos 161*8cbf5cb7Schristos PR binutils/19020 162*8cbf5cb7Schristos * objcopy.c (copy_object): Don't adjust the output section size 163*8cbf5cb7Schristos when copying from input sections. 164*8cbf5cb7Schristos (copy_section): Use input section size for the copy. Get the 165*8cbf5cb7Schristos updated section size from bfd_convert_section_contents. 166*8cbf5cb7Schristos 167*8cbf5cb7Schristos2015-09-29 H.J. Lu <hongjiu.lu@intel.com> 168*8cbf5cb7Schristos 169*8cbf5cb7Schristos PR binutils/19005 170*8cbf5cb7Schristos * objcopy.c (copy_object): Adjust the output section size to 171*8cbf5cb7Schristos skip gap fills between sections when copying from input sections 172*8cbf5cb7Schristos to output sections. 173*8cbf5cb7Schristos 174*8cbf5cb7Schristos2015-09-28 Nick Clifton <nickc@redhat.com> 175*8cbf5cb7Schristos 176*8cbf5cb7Schristos * po/fr.po: Updated French translation. 177*8cbf5cb7Schristos 178*8cbf5cb7Schristos2015-09-25 James Bowman <james.bowman@ftdichip.com> 179*8cbf5cb7Schristos 180*8cbf5cb7Schristos * ft32-dis.c (print_insn_ft32): Fix incorrect data field mask. 181*8cbf5cb7Schristos 182*8cbf5cb7Schristos2015-09-23 Nick Clifton <nickc@redhat.com> 183*8cbf5cb7Schristos 184*8cbf5cb7Schristos PR binutils/15835 185*8cbf5cb7Schristos * readelf.c (struct elf_section_list): New structure. 186*8cbf5cb7Schristos (symtab_shndx_hdr): Replace with symtab_shndx_list. 187*8cbf5cb7Schristos (get_32bit_elf_symbols): Scan for a symbol index table matching 188*8cbf5cb7Schristos the symbol table in use. 189*8cbf5cb7Schristos (get_64bit_elf_symbols): Likewise. 190*8cbf5cb7Schristos (process_section_headers): Handle multiple symbol index sections. 191*8cbf5cb7Schristos 192*8cbf5cb7Schristos2015-09-22 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE> 193*8cbf5cb7Schristos 194*8cbf5cb7Schristos * readelf.c (process_dynamic_section): Handle DF_1_STUB, DF_1_PIE. 195*8cbf5cb7Schristos 196*8cbf5cb7Schristos2015-09-10 Erik Ackermann <kurterikackermann@gmail.com> 197*8cbf5cb7Schristos 198*8cbf5cb7Schristos * strings.c: Add -s/--output-separator option to specify custom 199*8cbf5cb7Schristos separator string. 200*8cbf5cb7Schristos * NEWS: Mention the new feature. 201*8cbf5cb7Schristos * doc/binutils.text (strings): Document the new command line 202*8cbf5cb7Schristos option. 203*8cbf5cb7Schristos 204*8cbf5cb7Schristos2015-09-09 Nick Clifton <nickc@redhat.com> 205*8cbf5cb7Schristos 206*8cbf5cb7Schristos * doc/binutils.texi (ar): Remove bogus sentance concerning thin 207*8cbf5cb7Schristos archives and invalid paths. 208*8cbf5cb7Schristos 209*8cbf5cb7Schristos2015-09-03 Nick Clifton <nickc@redhat.com> 210*8cbf5cb7Schristos 211*8cbf5cb7Schristos PR binutils/18879 212*8cbf5cb7Schristos * readelf.c (get_unwind_section_word): Check for negative offsets 213*8cbf5cb7Schristos and very small sections. 214*8cbf5cb7Schristos (dump_arm_unwind): Warn if the table offset is too large. 215*8cbf5cb7Schristos 216*8cbf5cb7Schristos2015-08-28 H.J. Lu <hongjiu.lu@intel.com> 217*8cbf5cb7Schristos 218*8cbf5cb7Schristos * Makefile.am (TOOL_PROGS): Add readelf. 219*8cbf5cb7Schristos * Makefile.in: Regenerated. 220*8cbf5cb7Schristos 221*8cbf5cb7Schristos2015-08-24 Yaakov Selkowitz <yselkowi@redhat.com> 222*8cbf5cb7Schristos 223*8cbf5cb7Schristos * configure: Regenerate. 224*8cbf5cb7Schristos 225*8cbf5cb7Schristos2015-08-17 Alan Modra <amodra@gmail.com> 226*8cbf5cb7Schristos 227*8cbf5cb7Schristos * configure: Regenerate. 228*8cbf5cb7Schristos 229*8cbf5cb7Schristos2015-08-07 Andrew Burgess <andrew.burgess@embecosm.com> 230*8cbf5cb7Schristos 231*8cbf5cb7Schristos * objcopy.c (is_specified_symbol_predicate): Don't stop at first 232*8cbf5cb7Schristos match. Non-match rules set found to FALSE. 233*8cbf5cb7Schristos 234*8cbf5cb7Schristos2015-08-06 Yaakov Selkowitz <yselkowi@redhat.com> 235*8cbf5cb7Schristos 236*8cbf5cb7Schristos * configure: Regenerate. 237*8cbf5cb7Schristos 238*8cbf5cb7Schristos2015-08-05 Nick Clifton <nickc@redhat.com> 239*8cbf5cb7Schristos 240*8cbf5cb7Schristos * doc/binutils.texi: Document that the --only-keep-debug option 241*8cbf5cb7Schristos to strip and objcopy preserves the section headers of stripped 242*8cbf5cb7Schristos sections. 243*8cbf5cb7Schristos 244*8cbf5cb7Schristos2015-08-04 Yuriy M. Kaminskiy" <yumkam@gmail.com> 245*8cbf5cb7Schristos Tyler Hicks <tyhicks@canonical.com> 246*8cbf5cb7Schristos 247*8cbf5cb7Schristos PR binutils/18750 248*8cbf5cb7Schristos * readelf.c (process_mips_specific): Fix incorrect escape 249*8cbf5cb7Schristos sequence handling. 250*8cbf5cb7Schristos 251*8cbf5cb7Schristos2015-08-04 Nick Clifton <nickc@redhat.com> 252*8cbf5cb7Schristos 253*8cbf5cb7Schristos * ar.c (extract_file): Free cbuf if the path is invalid. 254*8cbf5cb7Schristos 255*8cbf5cb7Schristos2015-07-27 H.J. Lu <hongjiu.lu@intel.com> 256*8cbf5cb7Schristos 257*8cbf5cb7Schristos * configure: Regenerated. 258*8cbf5cb7Schristos 259*8cbf5cb7Schristos2015-07-24 H.J. Lu <hongjiu.lu@intel.com> 260*8cbf5cb7Schristos 261*8cbf5cb7Schristos * stabs.c (parse_stab_range_type): Use 0xffffffffffffffffLL. 262*8cbf5cb7Schristos 263*8cbf5cb7Schristos2015-07-22 Alan Modra <amodra@gmail.com> 264*8cbf5cb7Schristos 265*8cbf5cb7Schristos * readelf.c (dump_relocations): Show MIN_INT addends as negative. 266*8cbf5cb7Schristos 267*8cbf5cb7Schristos2015-07-20 Alan Modra <amodra@gmail.com> 268*8cbf5cb7Schristos 269*8cbf5cb7Schristos * doc/Makefile.in: Regenerate. 270*8cbf5cb7Schristos 271*8cbf5cb7Schristos2015-07-16 Alan Modra <amodra@gmail.com> 272*8cbf5cb7Schristos 273*8cbf5cb7Schristos PR binutils/18672 274*8cbf5cb7Schristos * readelf.c (get_32bit_dynamic_section): Correct buffer limit test. 275*8cbf5cb7Schristos (get_64bit_dynamic_section): Likewise. 276*8cbf5cb7Schristos 277*8cbf5cb7Schristos2015-07-14 H.J. Lu <hongjiu.lu@intel.com> 278*8cbf5cb7Schristos 279*8cbf5cb7Schristos * objcopy.c (copy_file): Set BFD_COMPRESS_GABI if not 280*8cbf5cb7Schristos zlib-gnu. 281*8cbf5cb7Schristos * doc/binutils.texi: Change --compress-debug-sections and 282*8cbf5cb7Schristos --compress-debug-sections=zlib to zlib-gabi. 283*8cbf5cb7Schristos 284*8cbf5cb7Schristos2015-07-10 H.J. Lu <hongjiu.lu@intel.com> 285*8cbf5cb7Schristos 286*8cbf5cb7Schristos PR binutils/18656 287*8cbf5cb7Schristos * objcopy.c (setup_section): Call bfd_convert_section_size 288*8cbf5cb7Schristos to get the output section size. 289*8cbf5cb7Schristos (copy_section): Get the section size from the output section 290*8cbf5cb7Schristos and call bfd_get_full_section_contents to convert section 291*8cbf5cb7Schristos contents for output. 292*8cbf5cb7Schristos 293*8cbf5cb7Schristos2015-07-10 H.J. Lu <hongjiu.lu@intel.com> 294*8cbf5cb7Schristos 295*8cbf5cb7Schristos * readelf.c (dump_section_as_strings): Warn unsupported compress 296*8cbf5cb7Schristos type and corrupted compressed section. 297*8cbf5cb7Schristos (dump_section_as_bytes): Likewise. 298*8cbf5cb7Schristos (load_specific_debug_section): Likewise. 299*8cbf5cb7Schristos 300*8cbf5cb7Schristos2015-07-09 Catherine Moore <clm@codesourcery.com> 301*8cbf5cb7Schristos 302*8cbf5cb7Schristos * readelf.c (print_mips_fp_abi_value): Handle 303*8cbf5cb7Schristos Val_GNU_MIPS_ABI_FP_NAN2008. 304*8cbf5cb7Schristos 305*8cbf5cb7Schristos2015-06-26 Matthew Fortune <matthew.fortune@imgtec.com> 306*8cbf5cb7Schristos 307*8cbf5cb7Schristos * readelf.c (get_mips_dynamic_type): Handle DT_MIPS_RLD_MAP_REL. 308*8cbf5cb7Schristos 309*8cbf5cb7Schristos2015-06-22 Nick Clifton <nickc@redhat.com> 310*8cbf5cb7Schristos 311*8cbf5cb7Schristos * objdump.c (disassemble_bytes): Set the stop_vma field in the 312*8cbf5cb7Schristos disassemble_info structure when disassembling code sections with 313*8cbf5cb7Schristos -d. 314*8cbf5cb7Schristos * doc/binutils.texi (objdump): Document the discrepancy between -d 315*8cbf5cb7Schristos and -D. 316*8cbf5cb7Schristos 317*8cbf5cb7Schristos2015-06-05 Nick Clifton <nickc@redhat.com> 318*8cbf5cb7Schristos 319*8cbf5cb7Schristos * dwarf.c (read_debug_line_header): Use reloc_at to detect 320*8cbf5cb7Schristos incomplete .debug_line headers 321*8cbf5cb7Schristos 322*8cbf5cb7Schristos2015-05-29 Roland McGrath <mcgrathr@google.com> 323*8cbf5cb7Schristos 324*8cbf5cb7Schristos * readelf.c (print_gnu_note: NT_GNU_ABI_TAG): Recognize 325*8cbf5cb7Schristos GNU_ABI_TAG_SYLLABLE and GNU_ABI_TAG_NACL. 326*8cbf5cb7Schristos 327*8cbf5cb7Schristos2015-05-29 Stephen Kitt <steve@sk2.org> 328*8cbf5cb7Schristos 329*8cbf5cb7Schristos * dlltool.c (make_one_lib_file): Clear .idata$6 before use. 330*8cbf5cb7Schristos (main): Fail if the output file specified by the -z option cannot 331*8cbf5cb7Schristos be opened. 332*8cbf5cb7Schristos 333*8cbf5cb7Schristos2015-05-18 Nick Clifton <nickc@redhat.com> 334*8cbf5cb7Schristos 335*8cbf5cb7Schristos PR binutils/18420 336*8cbf5cb7Schristos * ia64-unwind.c (unw_decode): Add end parameter. Pass parameter 337*8cbf5cb7Schristos on to decode functions. 338*8cbf5cb7Schristos (unw_devode_p2_p5): Pass end paraemter to UNW_DEC_SPILL_MASK. 339*8cbf5cb7Schristos (UNW_DEC_SPILL_MASK): Add end parameter. Check that unw_rlen does 340*8cbf5cb7Schristos not take us beyond the end of the buffer. 341*8cbf5cb7Schristos * ia64-unwind.h (unw_decode): Update prototype. 342*8cbf5cb7Schristos * readelf.c (dump_ia64_unwind): Pass end pointer to unw_decode. 343*8cbf5cb7Schristos 344*8cbf5cb7Schristos2015-05-15 H.J. Lu <hongjiu.lu@intel.com> 345*8cbf5cb7Schristos 346*8cbf5cb7Schristos * readelf.c (dump_section_as_strings): Change pointers from 347*8cbf5cb7Schristos char * to unsigned char *. 348*8cbf5cb7Schristos 349*8cbf5cb7Schristos2015-05-15 H.J. Lu <hongjiu.lu@intel.com> 350*8cbf5cb7Schristos 351*8cbf5cb7Schristos PR binutis/18386 352*8cbf5cb7Schristos * doc/binutils.texi: Document -Mamd64 and -Mintel64. 353*8cbf5cb7Schristos 354*8cbf5cb7Schristos2015-05-15 Nick Clifton <nickc@redhat.com> 355*8cbf5cb7Schristos 356*8cbf5cb7Schristos * readelf.c (options): Add "decompress". 357*8cbf5cb7Schristos (usage): Mention -z/--decompress. 358*8cbf5cb7Schristos (parse_args): Handle -z. 359*8cbf5cb7Schristos (uncompress_section_contents): Move to earlier in the file. 360*8cbf5cb7Schristos (dump_section_as_strings): If requested, decompress the section 361*8cbf5cb7Schristos before dumping. 362*8cbf5cb7Schristos (dump_section_as_bytes): Likewise. 363*8cbf5cb7Schristos * doc/binutils.texi: Document the new option. 364*8cbf5cb7Schristos 365*8cbf5cb7Schristos2015-05-14 Peter Bergner <bergner@vnet.ibm.com> 366*8cbf5cb7Schristos 367*8cbf5cb7Schristos * MAINTAINERS: Add myself as PPC maintainer. 368*8cbf5cb7Schristos 369*8cbf5cb7Schristos2015-05-14 H.J. Lu <hongjiu.lu@intel.com> 370*8cbf5cb7Schristos 371*8cbf5cb7Schristos * readelf.c (uncompress_section_contents): Add a parameter for 372*8cbf5cb7Schristos uncompressed size. Don't check the zlib header. 373*8cbf5cb7Schristos (load_specific_debug_section): Updated. 374*8cbf5cb7Schristos 375*8cbf5cb7Schristos2015-05-15 Nick Clifton <nickc@redhat.com> 376*8cbf5cb7Schristos 377*8cbf5cb7Schristos PR binutils/18374 378*8cbf5cb7Schristos * dwarf.h (struct dwarf_section): Add reloc_info and num_relocs 379*8cbf5cb7Schristos fields. 380*8cbf5cb7Schristos (struct dwarf_section_display): Change bitfield to boolean. 381*8cbf5cb7Schristos (reloc_at): Add prototype. 382*8cbf5cb7Schristos * dwarf.c (display_loc_list): Ignore list terminators if there are 383*8cbf5cb7Schristos relocs against them. 384*8cbf5cb7Schristos (display_debug_loc): Issue a warning if there are relocs against 385*8cbf5cb7Schristos the .debug_loc section. 386*8cbf5cb7Schristos (display_displays): Initialise reloc_info and num_relocs fields. 387*8cbf5cb7Schristos * objdump.c (load_specific_debug_section): Initialise reloc_info 388*8cbf5cb7Schristos and num_relocs fields. 389*8cbf5cb7Schristos (reloc_at): New function. 390*8cbf5cb7Schristos * readelf.c (is_32bit_abs_reloc): Add IA64's R_IA64_DIS32LSB 391*8cbf5cb7Schristos reloc. 392*8cbf5cb7Schristos (reloc_at): New function. 393*8cbf5cb7Schristos (apply_relocations): Add relocs_return and num_relocs_return 394*8cbf5cb7Schristos parameters. Fill them in with the loaded relocs if non-NULL. 395*8cbf5cb7Schristos (dump_section_as_bytes): Update call to apply_relocations. 396*8cbf5cb7Schristos (load_specific_debug_section): Initialise reloc_info and 397*8cbf5cb7Schristos num_relocs fields. 398*8cbf5cb7Schristos 399*8cbf5cb7Schristos2015-05-13 H.J. Lu <hongjiu.lu@intel.com> 400*8cbf5cb7Schristos 401*8cbf5cb7Schristos * elfedit.c (elf_class): Return ELF_CLASS_BOTH by default. 402*8cbf5cb7Schristos 403*8cbf5cb7Schristos2015-05-13 Andreas Krebbel <krebbel@linux.vnet.ibm.com> 404*8cbf5cb7Schristos 405*8cbf5cb7Schristos * MAINTAINERS: Add myself as s390 and s390x maintainer. 406*8cbf5cb7Schristos 407*8cbf5cb7Schristos2015-05-12 Stephen Kitt <steve@sk2.org> 408*8cbf5cb7Schristos 409*8cbf5cb7Schristos * dlltool.c (main): Accept -t as an abbreviation for 410*8cbf5cb7Schristos --temp-prefix. 411*8cbf5cb7Schristos 412*8cbf5cb7Schristos2015-05-11 H.J. Lu <hongjiu.lu@intel.com> 413*8cbf5cb7Schristos 414*8cbf5cb7Schristos * dwarf.c (dwarf_regnames_iamcu): New. 415*8cbf5cb7Schristos (init_dwarf_regnames_iamcu): Likewise. 416*8cbf5cb7Schristos (init_dwarf_regnames): Call init_dwarf_regnames_iamcu for EM_IAMCU. 417*8cbf5cb7Schristos * dwarf.h (init_dwarf_regnames_iamcu): New. 418*8cbf5cb7Schristos * objdump.c (dump_dwarf): Call init_dwarf_regnames_iamcu for 419*8cbf5cb7Schristos bfd_arch_iamcu. 420*8cbf5cb7Schristos 421*8cbf5cb7Schristos2015-05-11 H.J. Lu <hongjiu.lu@intel.com> 422*8cbf5cb7Schristos 423*8cbf5cb7Schristos * elfedit.c (enum elfclass): New. 424*8cbf5cb7Schristos (input_elf_class): Change type to enum elfclass. 425*8cbf5cb7Schristos (output_elf_class): New. 426*8cbf5cb7Schristos (elf_class): Change return type to enum elfclass. Support EM_386 427*8cbf5cb7Schristos and EM_IAMCU. 428*8cbf5cb7Schristos (update_elf_header): Check if input and output ELF classes match. 429*8cbf5cb7Schristos (elf_machine): Support EM_386 and EM_IAMCU. 430*8cbf5cb7Schristos (main): Update input_elf_class. Set output_elf_class. 431*8cbf5cb7Schristos * doc/binutils.texi: Update elfedit. 432*8cbf5cb7Schristos 433*8cbf5cb7Schristos2015-05-11 H.J. Lu <hongjiu.lu@intel.com> 434*8cbf5cb7Schristos 435*8cbf5cb7Schristos * dwarf.c (init_dwarf_regnames): Replace EM_486 with EM_IAMCU. 436*8cbf5cb7Schristos * readelf.c (guess_is_rela): Likewise. 437*8cbf5cb7Schristos (dump_relocations): Likewise. 438*8cbf5cb7Schristos (get_machine_name): Likewise. 439*8cbf5cb7Schristos (get_elf_section_flags): Likewise. 440*8cbf5cb7Schristos (process_section_headers): Likewise. 441*8cbf5cb7Schristos (is_32bit_abs_reloc): Likewise. 442*8cbf5cb7Schristos (is_32bit_pcrel_reloc): Likewise. 443*8cbf5cb7Schristos 444*8cbf5cb7Schristos2015-04-30 Nick Clifton <nickc@redhat.com> 445*8cbf5cb7Schristos 446*8cbf5cb7Schristos * readelf.c (get_machine_flags): Add description of MeP flags. 447*8cbf5cb7Schristos 448*8cbf5cb7Schristos2015-04-27 Andreas Krebbel <krebbel@linux.vnet.ibm.com> 449*8cbf5cb7Schristos 450*8cbf5cb7Schristos * readelf.c (display_s390_gnu_attribute): New function. 451*8cbf5cb7Schristos (process_s390_specific): New function. 452*8cbf5cb7Schristos (process_arch_specific): Call process_s390_specific. 453*8cbf5cb7Schristos 454*8cbf5cb7Schristos2015-04-24 Nick Clifton <nickc@redhat.com> 455*8cbf5cb7Schristos 456*8cbf5cb7Schristos PR 18313 457*8cbf5cb7Schristos * ieee.c (ieee_read_cxx_class): Initialise the varargs variable. 458*8cbf5cb7Schristos * readelf.c (uncompress_section_contents): Zero initialise the 459*8cbf5cb7Schristos zstream structure. 460*8cbf5cb7Schristos 461*8cbf5cb7Schristos2015-04-23 H.J. Lu <hongjiu.lu@intel.com> 462*8cbf5cb7Schristos 463*8cbf5cb7Schristos PR binutils/18209 464*8cbf5cb7Schristos * objcopy.c (setup_section): Copy compress status. 465*8cbf5cb7Schristos 466*8cbf5cb7Schristos2015-04-15 H.J. Lu <hongjiu.lu@intel.com> 467*8cbf5cb7Schristos 468*8cbf5cb7Schristos * NEWS: Mention 469*8cbf5cb7Schristos --compress-debug-sections=[none|zlib|zlib-gnu|zlib-gabi]. 470*8cbf5cb7Schristos 471*8cbf5cb7Schristos2015-04-14 Nick Clifton <nickc@redhat.com> 472*8cbf5cb7Schristos 473*8cbf5cb7Schristos * readelf.c (target_specific_reloc_handling): Add code to handle 474*8cbf5cb7Schristos RL78 complex relocs. 475*8cbf5cb7Schristos 476*8cbf5cb7Schristos2015-04-13 Doug Evans <dje@google.com> 477*8cbf5cb7Schristos 478*8cbf5cb7Schristos PR binutils/18218 479*8cbf5cb7Schristos * readelf.c (printable_section_name): Constify sec argument. 480*8cbf5cb7Schristos (apply_relocations): Ditto. New arg "size". All callers updated. 481*8cbf5cb7Schristos (load_specific_debug_section): Constify sec argument. 482*8cbf5cb7Schristos Remove side-effect of modifying sec->sh_size. 483*8cbf5cb7Schristos 484*8cbf5cb7Schristos2015-04-09 H.J. Lu <hongjiu.lu@intel.com> 485*8cbf5cb7Schristos 486*8cbf5cb7Schristos * objcopy.c (do_debug_sections): Use bit patterns. 487*8cbf5cb7Schristos (copy_object): Return FALSE for compress_zlib, compress_gnu_zlib 488*8cbf5cb7Schristos and compress_gabi_zlib on non-ELF input. 489*8cbf5cb7Schristos (copy_file): Don't check non-ELF input here. 490*8cbf5cb7Schristos 491*8cbf5cb7Schristos2015-04-09 Nick Clifton <nickc@redhat.com> 492*8cbf5cb7Schristos 493*8cbf5cb7Schristos * readelf.c (get_machine_flags): Report the setting of the string 494*8cbf5cb7Schristos insn using bits. 495*8cbf5cb7Schristos 496*8cbf5cb7Schristos2015-04-08 H.J. Lu <hongjiu.lu@intel.com> 497*8cbf5cb7Schristos 498*8cbf5cb7Schristos * objcopy.c (do_debug_sections): Add compress_zlib, 499*8cbf5cb7Schristos compress_gnu_zlib and compress_gabi_zlib. 500*8cbf5cb7Schristos (copy_options): Use optional_argument on compress-debug-sections. 501*8cbf5cb7Schristos (copy_usage): Update --compress-debug-sections. 502*8cbf5cb7Schristos (copy_file): Handle compress_zlib, compress_gnu_zlib and 503*8cbf5cb7Schristos compress_gabi_zlib. 504*8cbf5cb7Schristos (copy_main): Handle 505*8cbf5cb7Schristos --compress-debug-sections={none|zlib|zlib-gnu|zlib-gabi}. 506*8cbf5cb7Schristos * doc/binutils.texi: Document 507*8cbf5cb7Schristos --compress-debug-sections={none|zlib|zlib-gnu|zlib-gabi}. 508*8cbf5cb7Schristos 509*8cbf5cb7Schristos2015-04-08 H.J. Lu <hongjiu.lu@intel.com> 510*8cbf5cb7Schristos 511*8cbf5cb7Schristos * objcopy.c (copy_usage): Replace "--interleave [<number>]" with 512*8cbf5cb7Schristos --interleave[=<number>]. 513*8cbf5cb7Schristos 514*8cbf5cb7Schristos2015-04-05 H.J. Lu <hongjiu.lu@intel.com> 515*8cbf5cb7Schristos 516*8cbf5cb7Schristos * readelf.c (get_elf_section_flags): Support SHF_COMPRESSED. 517*8cbf5cb7Schristos (get_compression_header): New. 518*8cbf5cb7Schristos (process_section_headers): Dump compression header if needed. 519*8cbf5cb7Schristos (uncompress_section_contents): Don't free compressed_buffer here. 520*8cbf5cb7Schristos (load_specific_debug_section): Free the compressed buffer, update 521*8cbf5cb7Schristos the section buffer and the section size if uncompress is 522*8cbf5cb7Schristos successful. 523*8cbf5cb7Schristos 524*8cbf5cb7Schristos2015-04-02 H.J. Lu <hongjiu.lu@intel.com> 525*8cbf5cb7Schristos 526*8cbf5cb7Schristos * configure: Regenerated. 527*8cbf5cb7Schristos 528*8cbf5cb7Schristos2015-04-02 Mike Frysinger <vapier@gentoo.org> 529*8cbf5cb7Schristos 530*8cbf5cb7Schristos * MAINTAINERS: Update my e-mail address. 531*8cbf5cb7Schristos 532*8cbf5cb7Schristos2015-04-01 H.J. Lu <hongjiu.lu@intel.com> 533*8cbf5cb7Schristos 534*8cbf5cb7Schristos * configure: Regenerated. 535*8cbf5cb7Schristos 536*8cbf5cb7Schristos2015-03-31 H.J. Lu <hongjiu.lu@intel.com> 537*8cbf5cb7Schristos 538*8cbf5cb7Schristos * configure.ac: Revert the AM_ZLIB change. 539*8cbf5cb7Schristos * Makefile.in: Regenerated. 540*8cbf5cb7Schristos * aclocal.m4: Likewise. 541*8cbf5cb7Schristos * configure: Likewise. 542*8cbf5cb7Schristos 543*8cbf5cb7Schristos2015-03-31 H.J. Lu <hongjiu.lu@intel.com> 544*8cbf5cb7Schristos 545*8cbf5cb7Schristos * Makefile.am (ZLIB): New. 546*8cbf5cb7Schristos (ZLIBINC): Likewise. 547*8cbf5cb7Schristos (AM_CFLAGS): Add $(ZLIBINC). 548*8cbf5cb7Schristos (readelf_LDADD): Add $(ZLIB). 549*8cbf5cb7Schristos * configure.ac (AM_ZLIB): Removed. 550*8cbf5cb7Schristos (zlibdir): New. AC_SUBST. 551*8cbf5cb7Schristos (zlibinc): Likewise. 552*8cbf5cb7Schristos Add --with-system-zlib. 553*8cbf5cb7Schristos * Makefile.in: Regenerated. 554*8cbf5cb7Schristos * config.in: Likewise. 555*8cbf5cb7Schristos * configure: Likewise. 556*8cbf5cb7Schristos 557*8cbf5cb7Schristos2015-03-19 Nick Clifton <nickc@redhat.com> 558*8cbf5cb7Schristos 559*8cbf5cb7Schristos * readelf.c (get_machine_flags): Decode RL78's G13 and G14 flags. 560*8cbf5cb7Schristos 561*8cbf5cb7Schristos2015-03-18 Jon Turney <jon.turney@dronecode.org.uk> 562*8cbf5cb7Schristos Nick Clifton <nickc@redhat.com> 563*8cbf5cb7Schristos 564*8cbf5cb7Schristos PR binutils/18087 565*8cbf5cb7Schristos * doc/binutils.texi: Note that when objcopy compresses debug 566*8cbf5cb7Schristos sections the compression is only performed if it makes the section 567*8cbf5cb7Schristos smaller. 568*8cbf5cb7Schristos 569*8cbf5cb7Schristos2015-03-10 H.J. Lu <hongjiu.lu@intel.com> 570*8cbf5cb7Schristos 571*8cbf5cb7Schristos PR binutils/18101 572*8cbf5cb7Schristos * readelf.c (parse_args): Move nothing to do warning to ... 573*8cbf5cb7Schristos (main): Here. 574*8cbf5cb7Schristos 575*8cbf5cb7Schristos2015-03-10 Nick Clifton <nickc@redhat.com> 576*8cbf5cb7Schristos 577*8cbf5cb7Schristos PR binutils/18101 578*8cbf5cb7Schristos * readelf.c (parse_args): Enhance check for nothing to do by 579*8cbf5cb7Schristos accounting for the --wide option. 580*8cbf5cb7Schristos 581*8cbf5cb7Schristos PR binutils/17636 582*8cbf5cb7Schristos * objcopy.c (copy_object): Avoid calling fatal as that does not 583*8cbf5cb7Schristos allow the parent to clean up temporary files. 584*8cbf5cb7Schristos 585*8cbf5cb7Schristos2015-03-10 Yuri Gribov <y.gribov@samsung.arm> 586*8cbf5cb7Schristos 587*8cbf5cb7Schristos PR ld/16572 588*8cbf5cb7Schristos * readelf.c: Remove support for ELF_ARM_HASENTRY. 589*8cbf5cb7Schristos 590*8cbf5cb7Schristos2015-03-05 Nick Clifton <nickc@redhat.com> 591*8cbf5cb7Schristos 592*8cbf5cb7Schristos PR binutils/18064 593*8cbf5cb7Schristos * doc/binutils.texi (objcopy): Extend description of 594*8cbf5cb7Schristos --add-gnu-debuglink option to explain that the separate debug info 595*8cbf5cb7Schristos file must exist. Add a description of what to do if the debug 596*8cbf5cb7Schristos info file is built in one place but then installed into a separate 597*8cbf5cb7Schristos location. 598*8cbf5cb7Schristos 599*8cbf5cb7Schristos2015-03-05 Nick Clifton <nickc@redhat.com> 600*8cbf5cb7Schristos 601*8cbf5cb7Schristos PR binutils/17994 602*8cbf5cb7Schristos * dlltool.c (temp_file_to_remove): New local array. 603*8cbf5cb7Schristos (unlink_temp_files): New functions - unlinks any file in the 604*8cbf5cb7Schristos temp_file_to_remove array, unless dotdeltemps is set. 605*8cbf5cb7Schristos (gen_exp_file): Add temp files to array. 606*8cbf5cb7Schristos (make_head): Likewise. 607*8cbf5cb7Schristos (make_delay_head): Likewise. 608*8cbf5cb7Schristos (make_tail): Likewise. 609*8cbf5cb7Schristos (gen_lib_file): Call unlink_temp_files. 610*8cbf5cb7Schristos 611*8cbf5cb7Schristos2015-02-28 Andrew Burgess <andrew.burgess@embecosm.com> 612*8cbf5cb7Schristos 613*8cbf5cb7Schristos * objcopy.c (update_sections): New list. 614*8cbf5cb7Schristos (command_line_switch): Add OPTION_UPDATE_SECTION. 615*8cbf5cb7Schristos (copy_options): Add update-section. 616*8cbf5cb7Schristos (copy_usage): Document new option. 617*8cbf5cb7Schristos (is_update_section): New function. 618*8cbf5cb7Schristos (is_strip_section_1): Add check for attempt to update and remove 619*8cbf5cb7Schristos the same section. 620*8cbf5cb7Schristos (copy_object): Update size and content of requested sections. 621*8cbf5cb7Schristos (skip_section): Don't copy for updated sections. 622*8cbf5cb7Schristos (copy_main): Handle --update-section. 623*8cbf5cb7Schristos * doc/binutils.texi (objcopy): Add description of --update-section 624*8cbf5cb7Schristos option. 625*8cbf5cb7Schristos * NEWS: Mention --update-section option. 626*8cbf5cb7Schristos 627*8cbf5cb7Schristos2015-02-26 Nick Clifton <nickc@redhat.com> 628*8cbf5cb7Schristos 629*8cbf5cb7Schristos PR binutils/17512 630*8cbf5cb7Schristos * coffgrok.c (do_type): Check for an out of range tag index. 631*8cbf5cb7Schristos Check for integer overflow computing array dimension. 632*8cbf5cb7Schristos (do_define): Likewise. 633*8cbf5cb7Schristos 634*8cbf5cb7Schristos2015-02-26 Andrew Burgess <andrew.burgess@embecosm.com> 635*8cbf5cb7Schristos 636*8cbf5cb7Schristos * objcopy.c (init_section_add): Rename optarg to arg in order to 637*8cbf5cb7Schristos avoid shadowing a global variable. 638*8cbf5cb7Schristos 639*8cbf5cb7Schristos2015-02-26 Nick Clifton <nickc@redhat.com> 640*8cbf5cb7Schristos 641*8cbf5cb7Schristos PR binutils/17512 642*8cbf5cb7Schristos * resrc.c (write_rc_messagetable): Tighten check for invalid 643*8cbf5cb7Schristos message lengths. 644*8cbf5cb7Schristos 645*8cbf5cb7Schristos * dwarf.c (display_debug_loc): Pacify the undefined behaviour 646*8cbf5cb7Schristos sanitizer by simplifying address difference calculation. 647*8cbf5cb7Schristos (struct Frame_Chunk): Change type of cfa_offset to dwarf_vma in 648*8cbf5cb7Schristos order to avoid arithmetic overflows. 649*8cbf5cb7Schristos (frame_display_row): Cast cfa_offset before printing it. 650*8cbf5cb7Schristos (display_debug_frames): Likewise. 651*8cbf5cb7Schristos Check for an unexpected segment size. 652*8cbf5cb7Schristos Chnage type of 'l' local to dwarf_vma and cast it back to an int 653*8cbf5cb7Schristos when printing. 654*8cbf5cb7Schristos (process_cu_tu_index): Tighten check for an invalid ncols value. 655*8cbf5cb7Schristos * readelf.c (process_corefile_note_segment): Check for 656*8cbf5cb7Schristos inote.descdata extending beyond the end of the section. 657*8cbf5cb7Schristos (process_v850_notes): Likewise. 658*8cbf5cb7Schristos 659*8cbf5cb7Schristos2015-02-26 Terry Guo <terry.guo@arm.com> 660*8cbf5cb7Schristos 661*8cbf5cb7Schristos * readelf.c (arm_attr_tag_ABI_HardFP_use): Update how we 662*8cbf5cb7Schristos display it. 663*8cbf5cb7Schristos 664*8cbf5cb7Schristos2015-02-25 Andrew Burgess <andrew.burgess@embecosm.com> 665*8cbf5cb7Schristos 666*8cbf5cb7Schristos * objcopy.c (init_section_add): New function. 667*8cbf5cb7Schristos (section_add_load_file): New function. 668*8cbf5cb7Schristos (copy_main): Make use of new functions. 669*8cbf5cb7Schristos 670*8cbf5cb7Schristos2015-02-25 Andrew Burgess <andrew.burgess@embecosm.com> 671*8cbf5cb7Schristos 672*8cbf5cb7Schristos * od-elf32_avr.c: Add elf32-avr.h include. 673*8cbf5cb7Schristos (OPT_AVRPROP): Define. 674*8cbf5cb7Schristos (options[]): Add 'avr-prop' entry. 675*8cbf5cb7Schristos (elf32_avr_help): Add avr-prop help text. 676*8cbf5cb7Schristos (elf32_avr_dump_avr_prop): New function. 677*8cbf5cb7Schristos (elf32_avr_dump): Add check for avr-prop. 678*8cbf5cb7Schristos 679*8cbf5cb7Schristos2015-02-24 Nick Clifton <nickc@redhat.com> 680*8cbf5cb7Schristos 681*8cbf5cb7Schristos * readelf.c (get_machine_flags): Remove deprecated V850 machine 682*8cbf5cb7Schristos flags. 683*8cbf5cb7Schristos (get_v850_section_type_name): New function. Handles V850 special 684*8cbf5cb7Schristos sections. 685*8cbf5cb7Schristos (get_section_type_name): Add support for V850. 686*8cbf5cb7Schristos (get_v850_elf_note_type): New function. Returns the name of a 687*8cbf5cb7Schristos V850 note. 688*8cbf5cb7Schristos (print_v850_note): New function. Prints a V850 note. 689*8cbf5cb7Schristos (process_v850_notes): New function. Prints V850 notes. 690*8cbf5cb7Schristos (process_note_sections): Add support for V850. 691*8cbf5cb7Schristos 692*8cbf5cb7Schristos2015-02-24 Mike Frysinger <vapier@gentoo.org> 693*8cbf5cb7Schristos 694*8cbf5cb7Schristos PR binutils/17531 695*8cbf5cb7Schristos * readelf.c (process_symbol_table): Declare chained. Increment it 696*8cbf5cb7Schristos in every loop. Abort when chained is larger than nchains. Move 697*8cbf5cb7Schristos error check outside of chain loop. 698*8cbf5cb7Schristos 699*8cbf5cb7Schristos2015-02-24 Dmitry Antipov <dantipov@nvidia.com> 700*8cbf5cb7Schristos 701*8cbf5cb7Schristos * readelf.c (find_symbol_for_address): Use a binary search to 702*8cbf5cb7Schristos speed up symbol location. Skip check for function symbol type. 703*8cbf5cb7Schristos (*_unw_aux_info): Add funtab and nfuns fields contains a sorted 704*8cbf5cb7Schristos list of function symbols. 705*8cbf5cb7Schristos (dump_ia64_unwind): Initialise the funtab and nfuns fields and 706*8cbf5cb7Schristos pass them to find_symbol_for_address. 707*8cbf5cb7Schristos (dump_hppa_unwind): Likewise. 708*8cbf5cb7Schristos (arm_print_vma_and_name): Pass funtab to find_symbol_for_address. 709*8cbf5cb7Schristos (dump_arm_unwind): Initialise the funtab and nfuns fields. 710*8cbf5cb7Schristos 711*8cbf5cb7Schristos2015-02-24 Nick Clifton <nickc@redhat.com> 712*8cbf5cb7Schristos 713*8cbf5cb7Schristos * objdump.c (dump_section): Extend the warning message displayed 714*8cbf5cb7Schristos when a section cannot be loaded. 715*8cbf5cb7Schristos 716*8cbf5cb7Schristos2015-02-21 Mike Frysinger <vapier@gentoo.org> 717*8cbf5cb7Schristos 718*8cbf5cb7Schristos * readelf.c (process_program_headers): Add newline to warning 719*8cbf5cb7Schristos message. 720*8cbf5cb7Schristos 721*8cbf5cb7Schristos2015-02-20 Andreas Arnez <arnez@linux.vnet.ibm.com> 722*8cbf5cb7Schristos 723*8cbf5cb7Schristos * readelf.c (get_note_type): Add NT_S390_VXRS_LOW and 724*8cbf5cb7Schristos NT_S390_VXRS_HIGH. 725*8cbf5cb7Schristos 726*8cbf5cb7Schristos2015-02-13 Nick Clifton <nickc@redhat.com> 727*8cbf5cb7Schristos 728*8cbf5cb7Schristos PR binutils/17512 729*8cbf5cb7Schristos * dwarf.c (read_leb128): Fix test for shift becoming too large. 730*8cbf5cb7Schristos 731*8cbf5cb7Schristos * coffgrok.c (do_define): Add check for type size overflow. 732*8cbf5cb7Schristos * srconv.c (walk_tree_sfile): Check that enough sections are 733*8cbf5cb7Schristos available before parsing. 734*8cbf5cb7Schristos (prescan): Likewise. 735*8cbf5cb7Schristos 736*8cbf5cb7Schristos PR binutils/17531 737*8cbf5cb7Schristos * dwarf.c (display_debug_aranges): Add check for an excessive 738*8cbf5cb7Schristos ar_length value. 739*8cbf5cb7Schristos (process_cu_tu_index): Check for a row * columns sum being too 740*8cbf5cb7Schristos large. 741*8cbf5cb7Schristos 742*8cbf5cb7Schristos2015-02-13 Alan Modra <amodra@gmail.com> 743*8cbf5cb7Schristos 744*8cbf5cb7Schristos * dwarf.c: Formatting, whitespace. 745*8cbf5cb7Schristos (process_debug_info): Style fix. 746*8cbf5cb7Schristos 747*8cbf5cb7Schristos2015-02-11 Nick Clifton <nickc@redhat.com> 748*8cbf5cb7Schristos 749*8cbf5cb7Schristos * rl78-decode.opc: Add 'a' attribute to instructions that support 750*8cbf5cb7Schristos [HL+0] addressing. 751*8cbf5cb7Schristos * rl78-decode.c: Regenerate. 752*8cbf5cb7Schristos * rl78-dis.c (print_insn_rl78): Display the offset in [HL+0] 753*8cbf5cb7Schristos addresses. 754*8cbf5cb7Schristos 755*8cbf5cb7Schristos2015-02-11 Nick Clifton <nickc@redhat.com> 756*8cbf5cb7Schristos 757*8cbf5cb7Schristos PR binutils/17531 758*8cbf5cb7Schristos * dwarf.c (display_debug_pubnames_worker): Work around compiler 759*8cbf5cb7Schristos bug checking address ranges. 760*8cbf5cb7Schristos (display_debug_frames): Likewise. 761*8cbf5cb7Schristos (display_gdb_index): Likewise. 762*8cbf5cb7Schristos (process_cu_tu_index): Add range check on the ncols value. 763*8cbf5cb7Schristos 764*8cbf5cb7Schristos2015-02-10 Nick Clifton <nickc@redhat.com> 765*8cbf5cb7Schristos 766*8cbf5cb7Schristos PR binutils/17512 767*8cbf5cb7Schristos * dwarf.c (eh_addr_size): Use an unsigned type. 768*8cbf5cb7Schristos (size_of_encoded_value): Return an unsigned type. 769*8cbf5cb7Schristos (read_leb128): Break if the shift becomes too big. 770*8cbf5cb7Schristos (process_extended_line_op): Do not read the address if the length 771*8cbf5cb7Schristos is too long. 772*8cbf5cb7Schristos (read_cie): Warn and fail if the pointer size or segment size are 773*8cbf5cb7Schristos too big. 774*8cbf5cb7Schristos * dwarf.h (DWARF2_External_LineInfo): Delete unused and incorrect 775*8cbf5cb7Schristos structure definition. 776*8cbf5cb7Schristos (DWARF2_External_PubNames): Likewise. 777*8cbf5cb7Schristos (DWARF2_External_CompUnit): Likewise. 778*8cbf5cb7Schristos (DWARF2_External_ARange): Likewise. 779*8cbf5cb7Schristos (DWARF2_Internal_LineInfo): Use dwarf_vma type for 780*8cbf5cb7Schristos li_prologue_length. 781*8cbf5cb7Schristos (eh_addr_size): Update prototype. 782*8cbf5cb7Schristos 783*8cbf5cb7Schristos PR binutils/17531 784*8cbf5cb7Schristos * dwarf.c (process_debug_info): Zero the debug information array 785*8cbf5cb7Schristos since correct initialisation cannot be relied upon. 786*8cbf5cb7Schristos (process_cu_tu_index): Improve range checks. 787*8cbf5cb7Schristos 788*8cbf5cb7Schristos PR binutils/17531 789*8cbf5cb7Schristos * dwarf.c (display_debug_pubnames_worker): Use dwarf_vma type for 790*8cbf5cb7Schristos offset. 791*8cbf5cb7Schristos * readelf.c (dump_relocations): Handle printing offsets which are 792*8cbf5cb7Schristos MIN_INT. 793*8cbf5cb7Schristos (process_corefile_note_segment): Add range check of the namesz 794*8cbf5cb7Schristos field. 795*8cbf5cb7Schristos 796*8cbf5cb7Schristos2015-02-09 Mark Wielaard <mjw@redhat.com> 797*8cbf5cb7Schristos 798*8cbf5cb7Schristos * dwarf.c (read_and_display_attr_value): Handle DW_LANG_Fortran03 799*8cbf5cb7Schristos and DW_LANG_Fortran08. 800*8cbf5cb7Schristos 801*8cbf5cb7Schristos2015-02-06 Nick Clifton <nickc@redhat.com> 802*8cbf5cb7Schristos 803*8cbf5cb7Schristos PR binutils/17512 804*8cbf5cb7Schristos * dwarf.c (display_debug_frames): Fix range checks to work on 805*8cbf5cb7Schristos 32-bit binaries complied on a 64-bit host. 806*8cbf5cb7Schristos 807*8cbf5cb7Schristos PR binutils/17531 808*8cbf5cb7Schristos * dwarf.c (xcmalloc): Fail if the arguments are too big. 809*8cbf5cb7Schristos (xcrealloc): Likewise. 810*8cbf5cb7Schristos (xcalloc2): Likewise. 811*8cbf5cb7Schristos * readelf.c (process_mips_specific): Fail if an option has an 812*8cbf5cb7Schristos invalid size. 813*8cbf5cb7Schristos 814*8cbf5cb7Schristos2015-02-05 Alan Modra <amodra@gmail.com> 815*8cbf5cb7Schristos 816*8cbf5cb7Schristos PR binutils/17926 817*8cbf5cb7Schristos * dwarf.c (dwarf_select_sections_by_letters): Don't refer to optarg. 818*8cbf5cb7Schristos 819*8cbf5cb7Schristos2015-02-04 Nick Clifton <nickc@redhat.com> 820*8cbf5cb7Schristos 821*8cbf5cb7Schristos PR binutils/17531 822*8cbf5cb7Schristos * dwarf.c (read_and_display_attr_value): Test for a block length 823*8cbf5cb7Schristos being so long that it wraps around to before the start of the block. 824*8cbf5cb7Schristos (process_debug_info): Test for section_begin wrapping around to 825*8cbf5cb7Schristos before the start of the section. 826*8cbf5cb7Schristos (display_gdb_index): Test for num_cus being so large that the end 827*8cbf5cb7Schristos address wraps around to before the start of the section. 828*8cbf5cb7Schristos (process_cu_tu_index): Test for j being so large that the section 829*8cbf5cb7Schristos index pool wraps around to before the start of the section. 830*8cbf5cb7Schristos 831*8cbf5cb7Schristos2015-02-03 Nick Clifton <nickc@redhat.com> 832*8cbf5cb7Schristos 833*8cbf5cb7Schristos PR binutils/17531 834*8cbf5cb7Schristos * dwarf.c (process_debug_info): Add range check. 835*8cbf5cb7Schristos (display_debug_pubnames_worker): Likewise. 836*8cbf5cb7Schristos (display_gdb_index): Fix range check. 837*8cbf5cb7Schristos (process_cu_tu_index): Add range check. 838*8cbf5cb7Schristos * readelf.c (get_data): Change parameter types from size_t to 839*8cbf5cb7Schristos bfd_size_type. Add checks for loss of accuracy when casting from 840*8cbf5cb7Schristos bfd_size_type to size_t. 841*8cbf5cb7Schristos (get_dynamic_data): Likewise. 842*8cbf5cb7Schristos (process_section_groups): Limit number of error messages. 843*8cbf5cb7Schristos 844*8cbf5cb7Schristos2015-02-03 Nick Clifton <nickc@redhat.com> 845*8cbf5cb7Schristos 846*8cbf5cb7Schristos PR binutils/17512 847*8cbf5cb7Schristos * objdump.c (display_any_bfd): Fail if archives nest too deeply. 848*8cbf5cb7Schristos 849*8cbf5cb7Schristos2015-01-28 James Bowman <james.bowman@ftdichip.com> 850*8cbf5cb7Schristos 851*8cbf5cb7Schristos * readelf.c: Add FT32 support. 852*8cbf5cb7Schristos 853*8cbf5cb7Schristos2015-01-27 Nick Clifton <nickc@redhat.com> 854*8cbf5cb7Schristos 855*8cbf5cb7Schristos PR binutils/17512 856*8cbf5cb7Schristos * dlltool.c (identify_search_archive): If the last archive was the 857*8cbf5cb7Schristos same as the current archive, terminate the loop. 858*8cbf5cb7Schristos 859*8cbf5cb7Schristos * addr2line.c (slurp_symtab): If the symcount is zero, free the 860*8cbf5cb7Schristos symbol table pointer. 861*8cbf5cb7Schristos 862*8cbf5cb7Schristos * rcparse.y: Add checks to avoid integer divide by zero. 863*8cbf5cb7Schristos * rescoff.c (read_coff_rsrc): Add check on the size of the 864*8cbf5cb7Schristos resource section. 865*8cbf5cb7Schristos (read_coff_res_dir): Add check on the nesting level. 866*8cbf5cb7Schristos Check for resource names overrunning the buffer. 867*8cbf5cb7Schristos * resrc.c (write_rc_messagetable): Update formatting. 868*8cbf5cb7Schristos Add check of 'elen' being zero. 869*8cbf5cb7Schristos 870*8cbf5cb7Schristos2015-01-23 Nick Clifton <nickc@redhat.com> 871*8cbf5cb7Schristos 872*8cbf5cb7Schristos * nlmconv.c (powerpc_mangle_relocs): Fix build errors introduced 873*8cbf5cb7Schristos by recent delta, when compiling on for a 32-bit host. 874*8cbf5cb7Schristos 875*8cbf5cb7Schristos2015-01-21 Nick Clifton <nickc@redhat.com> 876*8cbf5cb7Schristos 877*8cbf5cb7Schristos PR binutils/17512 878*8cbf5cb7Schristos * addr2line.c (main): Call bfd_set_error_program_name. 879*8cbf5cb7Schristos * ar.c (main): Likewise. 880*8cbf5cb7Schristos * coffdump.c (main): Likewise. 881*8cbf5cb7Schristos * cxxfilt.c (main): Likewise. 882*8cbf5cb7Schristos * dlltool.c (main): Likewise. 883*8cbf5cb7Schristos * nlmconv.c (main): Likewise. 884*8cbf5cb7Schristos * nm.c (main): Likewise. 885*8cbf5cb7Schristos * objdump.c (main): Likewise. 886*8cbf5cb7Schristos * size.c (main): Likewise. 887*8cbf5cb7Schristos * srconv.c (main): Likewise. 888*8cbf5cb7Schristos * strings.c (main): Likewise. 889*8cbf5cb7Schristos * sysdump.c (main): Likewise. 890*8cbf5cb7Schristos * windmc.c (main): Likewise. 891*8cbf5cb7Schristos * windres.c (main): Likewise. 892*8cbf5cb7Schristos * objcopy.c (main): Likewise. 893*8cbf5cb7Schristos (copy_relocations_in_section): Check for relocs without associated 894*8cbf5cb7Schristos symbol pointers. 895*8cbf5cb7Schristos 896*8cbf5cb7Schristos2015-01-21 Ramana Radhakrishnan <ramana.radhakrishnan@arm.com> 897*8cbf5cb7Schristos 898*8cbf5cb7Schristos * MAINTAINERS: Add self to ARM maintainers list. 899*8cbf5cb7Schristos 900*8cbf5cb7Schristos2015-01-21 Nick Clifton <nickc@redhat.com> 901*8cbf5cb7Schristos 902*8cbf5cb7Schristos PR binutils/17512 903*8cbf5cb7Schristos * coffgrok.c (do_type): Check that computed ref exists. 904*8cbf5cb7Schristos (doit): Add range checks when computing section for scope. 905*8cbf5cb7Schristos 906*8cbf5cb7Schristos2015-01-12 H.J. Lu <hongjiu.lu@intel.com> 907*8cbf5cb7Schristos 908*8cbf5cb7Schristos * dwarf.c (process_debug_info): Properly check abbrev size. 909*8cbf5cb7Schristos 910*8cbf5cb7Schristos2015-01-12 Nick Clifton <nickc@redhat.com> 911*8cbf5cb7Schristos 912*8cbf5cb7Schristos PR binutils/17531 913*8cbf5cb7Schristos * dwarf.c (process_debug_info): Check for abbrev_base being larger 914*8cbf5cb7Schristos than the section size. 915*8cbf5cb7Schristos (process_cu_tu_index): Use xcalloc2 to allocate the CU and TU 916*8cbf5cb7Schristos arrays. 917*8cbf5cb7Schristos (xcalloc2): New function. Like xcalloc, but checks for overflow. 918*8cbf5cb7Schristos (display_debug_addr): Use xcalloc to allocate the debug_addr_info 919*8cbf5cb7Schristos array. Check for an address_base that is too large. 920*8cbf5cb7Schristos 921*8cbf5cb7Schristos * dwarf.h (xcalloc2): Prototype. 922*8cbf5cb7Schristos 923*8cbf5cb7Schristos2015-01-12 Alan Modra <amodra@gmail.com> 924*8cbf5cb7Schristos 925*8cbf5cb7Schristos * prdbg.c (print_debugging_info): Don't use void* for function 926*8cbf5cb7Schristos pointer param. 927*8cbf5cb7Schristos * budbg.h (print_debugging_info): Update prototype. 928*8cbf5cb7Schristos 929*8cbf5cb7Schristos2015-01-08 Nick Clifton <nickc@redhat.com> 930*8cbf5cb7Schristos 931*8cbf5cb7Schristos PR binutils/17512 932*8cbf5cb7Schristos * ojcopy.c (copy_object): Free the symbol table if no symbols 933*8cbf5cb7Schristos could be loaded. 934*8cbf5cb7Schristos (copy_file): Use bfd_close_all_done to close files that could not 935*8cbf5cb7Schristos be copied. 936*8cbf5cb7Schristos 937*8cbf5cb7Schristos * sysdump.c (getINT): Fail if reading off the end of the buffer. 938*8cbf5cb7Schristos Replace call to abort with a call to fatal. 939*8cbf5cb7Schristos (getCHARS): Prevetn reading off the end of the buffer. 940*8cbf5cb7Schristos 941*8cbf5cb7Schristos * nlmconv.c (i386_mangle_relocs): Skip relocs without an 942*8cbf5cb7Schristos associated symbol. 943*8cbf5cb7Schristos (powerpc_mangle_relocs): Skip unrecognised relocs. Check address 944*8cbf5cb7Schristos range before applying a reloc. 945*8cbf5cb7Schristos 946*8cbf5cb7Schristos2015-01-07 Nick Clifton <nickc@redhat.com> 947*8cbf5cb7Schristos 948*8cbf5cb7Schristos PR binutils/17512 949*8cbf5cb7Schristos * dlltool.c (scan_obj_file): Break loop if the last archive 950*8cbf5cb7Schristos displayed matches the current archive. 951*8cbf5cb7Schristos 952*8cbf5cb7Schristos * objdump.c (display_any_bfd): Add a depth limit to nested archive 953*8cbf5cb7Schristos display in order to avoid infinite loops. 954*8cbf5cb7Schristos * srconv.c: Replace calls to abort with calls to fatal with an 955*8cbf5cb7Schristos error message. 956*8cbf5cb7Schristos 957*8cbf5cb7Schristos2015-01-06 Nick Clifton <nickc@redhat.com> 958*8cbf5cb7Schristos 959*8cbf5cb7Schristos PR binutils/17512 960*8cbf5cb7Schristos * coffdump.c (dump_coff_section): Check for a symbol being 961*8cbf5cb7Schristos available before printing its name. 962*8cbf5cb7Schristos (main): Check the return value from coff_grok. 963*8cbf5cb7Schristos * coffgrok.c: Reformat and tidy. 964*8cbf5cb7Schristos Add range checks to most functions. 965*8cbf5cb7Schristos (coff_grok): Return NULL if the input bfd is not in a COFF 966*8cbf5cb7Schristos format. 967*8cbf5cb7Schristos * coffgrok.h: Reformat and tidy. 968*8cbf5cb7Schristos (struct coff_section): Change the nrelocs field to unsigned. 969*8cbf5cb7Schristos * srconv.c (main): Check the return value from coff_grok. 970*8cbf5cb7Schristos 971*8cbf5cb7Schristos2015-01-05 Nick Clifton <nickc@redhat.com> 972*8cbf5cb7Schristos 973*8cbf5cb7Schristos PR binutils/17512 974*8cbf5cb7Schristos * nm.c (print_symbol): Add 'is_synthetic' parameter. Use it to 975*8cbf5cb7Schristos help initialize the info.elfinfo field. 976*8cbf5cb7Schristos (print_size_symbols): Add 'synth_count' parameter. Use it to set 977*8cbf5cb7Schristos the is_synthetic parameter when calling print_symbol. 978*8cbf5cb7Schristos (print_symbols): Likewise. 979*8cbf5cb7Schristos (display_rel_file): Pass synth_count to printing function. 980*8cbf5cb7Schristos (display_archive): Break loop if the last archive displayed 981*8cbf5cb7Schristos matches the current archive. 982*8cbf5cb7Schristos * size.c (display_archive): Likewise. 983*8cbf5cb7Schristos 984*8cbf5cb7Schristos2015-01-05 Nick Clifton <nickc@redhat.com> 985*8cbf5cb7Schristos 986*8cbf5cb7Schristos PR binutils/17531 987*8cbf5cb7Schristos * dwarf.c (alloc_num_debug_info_entries): New variable. 988*8cbf5cb7Schristos (process_debug_info): Set it. Use it to avoid displaying 989*8cbf5cb7Schristos attributes for which there is no info. 990*8cbf5cb7Schristos (display_debug_abbrev): Check that the debug_info_entry index is 991*8cbf5cb7Schristos valid before using it. 992*8cbf5cb7Schristos (display_loc_list_dwo): Likewise. 993*8cbf5cb7Schristos (process_cu_tu_index): Add range check for an overlarge dw_sect 994*8cbf5cb7Schristos value. 995*8cbf5cb7Schristos (free_debug_memory): Reset alloc_num_debug_info_entries. 996*8cbf5cb7Schristos * readelf.c (slurp_ia64_unwind_table): Warn if the reloc could not 997*8cbf5cb7Schristos be indentified. 998*8cbf5cb7Schristos (dynamic_section_mips_val): Warn if the timestamp is invalid. 999*8cbf5cb7Schristos (print_mips_got_entry): Add a data_end parameter. Warn if a read 1000*8cbf5cb7Schristos would go beyond the end of the data, and return an error value. 1001*8cbf5cb7Schristos (process_mips_specific): Do not read options from beyond the end 1002*8cbf5cb7Schristos of the section. 1003*8cbf5cb7Schristos Correct code to display optional data at the end of an option. 1004*8cbf5cb7Schristos Warn if there are too many GOT symbols. 1005*8cbf5cb7Schristos Update calls to print_mips_got_entry, and handle error returns. 1006*8cbf5cb7Schristos 1007*8cbf5cb7Schristos2015-01-05 Daniel Klauer <daniel.c.klauer@web.de> 1008*8cbf5cb7Schristos 1009*8cbf5cb7Schristos PR binutils/17489 1010*8cbf5cb7Schristos * doc/binutils.texi (dlltool): Correct description of --kill-at 1011*8cbf5cb7Schristos option. 1012*8cbf5cb7Schristos 1013*8cbf5cb7Schristos2015-01-01 Alan Modra <amodra@gmail.com> 1014*8cbf5cb7Schristos 1015*8cbf5cb7Schristos * version.c (print_version): Just print current year. 1016*8cbf5cb7Schristos 1017*8cbf5cb7Schristos2015-01-01 Alan Modra <amodra@gmail.com> 1018*8cbf5cb7Schristos 1019*8cbf5cb7Schristos Update year range in copyright notice of all files. 1020*8cbf5cb7Schristos 1021*8cbf5cb7SchristosFor older changes see ChangeLog-2014 1022*8cbf5cb7Schristos 1023*8cbf5cb7SchristosCopyright (C) 2015 Free Software Foundation, Inc. 1024*8cbf5cb7Schristos 1025*8cbf5cb7SchristosCopying and distribution of this file, with or without modification, 1026*8cbf5cb7Schristosare permitted in any medium without royalty provided the copyright 1027*8cbf5cb7Schristosnotice and this notice are preserved. 1028*8cbf5cb7Schristos 1029*8cbf5cb7SchristosLocal Variables: 1030*8cbf5cb7Schristosmode: change-log 1031*8cbf5cb7Schristosleft-margin: 8 1032*8cbf5cb7Schristosfill-column: 74 1033*8cbf5cb7Schristosversion-control: never 1034*8cbf5cb7SchristosEnd: 1035