ChangeLog-2016 32 KB

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