ChangeLog-2020 68 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495969798991001011021031041051061071081091101111121131141151161171181191201211221231241251261271281291301311321331341351361371381391401411421431441451461471481491501511521531541551561571581591601611621631641651661671681691701711721731741751761771781791801811821831841851861871881891901911921931941951961971981992002012022032042052062072082092102112122132142152162172182192202212222232242252262272282292302312322332342352362372382392402412422432442452462472482492502512522532542552562572582592602612622632642652662672682692702712722732742752762772782792802812822832842852862872882892902912922932942952962972982993003013023033043053063073083093103113123133143153163173183193203213223233243253263273283293303313323333343353363373383393403413423433443453463473483493503513523533543553563573583593603613623633643653663673683693703713723733743753763773783793803813823833843853863873883893903913923933943953963973983994004014024034044054064074084094104114124134144154164174184194204214224234244254264274284294304314324334344354364374384394404414424434444454464474484494504514524534544554564574584594604614624634644654664674684694704714724734744754764774784794804814824834844854864874884894904914924934944954964974984995005015025035045055065075085095105115125135145155165175185195205215225235245255265275285295305315325335345355365375385395405415425435445455465475485495505515525535545555565575585595605615625635645655665675685695705715725735745755765775785795805815825835845855865875885895905915925935945955965975985996006016026036046056066076086096106116126136146156166176186196206216226236246256266276286296306316326336346356366376386396406416426436446456466476486496506516526536546556566576586596606616626636646656666676686696706716726736746756766776786796806816826836846856866876886896906916926936946956966976986997007017027037047057067077087097107117127137147157167177187197207217227237247257267277287297307317327337347357367377387397407417427437447457467477487497507517527537547557567577587597607617627637647657667677687697707717727737747757767777787797807817827837847857867877887897907917927937947957967977987998008018028038048058068078088098108118128138148158168178188198208218228238248258268278288298308318328338348358368378388398408418428438448458468478488498508518528538548558568578588598608618628638648658668678688698708718728738748758768778788798808818828838848858868878888898908918928938948958968978988999009019029039049059069079089099109119129139149159169179189199209219229239249259269279289299309319329339349359369379389399409419429439449459469479489499509519529539549559569579589599609619629639649659669679689699709719729739749759769779789799809819829839849859869879889899909919929939949959969979989991000100110021003100410051006100710081009101010111012101310141015101610171018101910201021102210231024102510261027102810291030103110321033103410351036103710381039104010411042104310441045104610471048104910501051105210531054105510561057105810591060106110621063106410651066106710681069107010711072107310741075107610771078107910801081108210831084108510861087108810891090109110921093109410951096109710981099110011011102110311041105110611071108110911101111111211131114111511161117111811191120112111221123112411251126112711281129113011311132113311341135113611371138113911401141114211431144114511461147114811491150115111521153115411551156115711581159116011611162116311641165116611671168116911701171117211731174117511761177117811791180118111821183118411851186118711881189119011911192119311941195119611971198119912001201120212031204120512061207120812091210121112121213121412151216121712181219122012211222122312241225122612271228122912301231123212331234123512361237123812391240124112421243124412451246124712481249125012511252125312541255125612571258125912601261126212631264126512661267126812691270127112721273127412751276127712781279128012811282128312841285128612871288128912901291129212931294129512961297129812991300130113021303130413051306130713081309131013111312131313141315131613171318131913201321132213231324132513261327132813291330133113321333133413351336133713381339134013411342134313441345134613471348134913501351135213531354135513561357135813591360136113621363136413651366136713681369137013711372137313741375137613771378137913801381138213831384138513861387138813891390139113921393139413951396139713981399140014011402140314041405140614071408140914101411141214131414141514161417141814191420142114221423142414251426142714281429143014311432143314341435143614371438143914401441144214431444144514461447144814491450145114521453145414551456145714581459146014611462146314641465146614671468146914701471147214731474147514761477147814791480148114821483148414851486148714881489149014911492149314941495149614971498149915001501150215031504150515061507150815091510151115121513151415151516151715181519152015211522152315241525152615271528152915301531153215331534153515361537153815391540154115421543154415451546154715481549155015511552155315541555155615571558155915601561156215631564156515661567156815691570157115721573157415751576157715781579158015811582158315841585158615871588158915901591159215931594159515961597159815991600160116021603160416051606160716081609161016111612161316141615161616171618161916201621162216231624162516261627162816291630163116321633163416351636163716381639164016411642164316441645164616471648164916501651165216531654165516561657165816591660166116621663166416651666166716681669167016711672167316741675167616771678167916801681168216831684168516861687168816891690169116921693169416951696169716981699170017011702170317041705170617071708170917101711171217131714171517161717171817191720172117221723172417251726172717281729173017311732173317341735173617371738173917401741174217431744174517461747174817491750175117521753175417551756175717581759176017611762176317641765176617671768176917701771177217731774177517761777177817791780178117821783178417851786178717881789179017911792179317941795179617971798179918001801180218031804180518061807180818091810181118121813181418151816181718181819182018211822182318241825182618271828182918301831183218331834183518361837183818391840184118421843184418451846184718481849185018511852185318541855185618571858185918601861186218631864186518661867186818691870187118721873187418751876187718781879188018811882188318841885188618871888188918901891189218931894189518961897189818991900190119021903190419051906190719081909191019111912191319141915191619171918191919201921192219231924192519261927192819291930193119321933193419351936193719381939194019411942194319441945194619471948194919501951195219531954195519561957195819591960196119621963196419651966196719681969197019711972197319741975197619771978197919801981198219831984198519861987198819891990199119921993199419951996199719981999200020012002200320042005200620072008200920102011201220132014201520162017201820192020202120222023202420252026202720282029203020312032203320342035203620372038203920402041204220432044204520462047204820492050205120522053205420552056205720582059206020612062206320642065206620672068206920702071207220732074207520762077207820792080
  1. 2020-12-31 Alan Modra <amodra@gmail.com>
  2. PR 27128
  3. * nm.c (print_symname): Append version string to symbol name
  4. before printing the lot under control of "form". Append version
  5. to demangled names too.
  6. 2020-12-29 H.J. Lu <hongjiu.lu@intel.com>
  7. * elfedit (usage): Pass osabi to reconcat.
  8. 2020-12-28 H.J. Lu <hongjiu.lu@intel.com>
  9. * testsuite/binutils-all/compress.exp (test_gnu_debuglink): Pass
  10. $gcc_gas_flag to target_compile.
  11. 2020-12-24 Alan Modra <amodra@gmail.com>
  12. * readelf.c (INT64_MIN): Define if not already defined.
  13. (print_vms_time): Catch 64-bit overflow when converting from
  14. vms time to posix time. Don't segfault if gmtime returns NULL.
  15. 2020-12-23 H.J. Lu <hongjiu.lu@intel.com>
  16. * NEWS: Mention LAM_U48 and LAM_U57 support.
  17. * elfedit.c (elf_x86_feature): Support lam_u48 and lam_u57.
  18. (usage): Add lam_u48 and lam_u57.
  19. * readelf.c (decode_x86_feature_1): Support LAM_U48 and LAM_U57.
  20. * doc/binutils.texi: Update elfedit with lam_u48 and lam_u57
  21. support.
  22. * testsuite/binutils-all/x86-64/lam-u48.d: New file.
  23. * testsuite/binutils-all/x86-64/lam-u48.s: Likewise.
  24. * testsuite/binutils-all/x86-64/lam-u57.d: Likewise.
  25. * testsuite/binutils-all/x86-64/lam-u57.s: Likewise.
  26. 2020-12-15 Vivek Das Mohapatra <vivek@collabora.com>
  27. * readelf.c (get_dynamic_type): Handle DT_GNU_FLAGS_1.
  28. (process_dynamic_section): Likewise.
  29. 2020-12-11 Cary Coutant <ccoutant@gmail.com>
  30. * readelf.c (get_machine_name): Update list of e_machine values.
  31. 2020-12-11 Sebastian Huber <sebastian.huber@embedded-brains.de>
  32. * ar.c (write_archive): Cast iostream pointer to FILE *.
  33. * arsup.c (ar_save): Likewise.
  34. * objcopy.c (copy_file): Likewise.
  35. 2020-12-07 Nick Clifton <nickc@redhat.com>
  36. * objcopy.c (is_mergeable_note_section): Remove reference to
  37. SHF_GNU_BUILD_NOTE.
  38. 2020-12-07 Siddhesh Poyarekar <siddhesh@sourceware.org>
  39. PR 26945
  40. * ar.c
  41. (write_archive) [!defined (_WIN32) || defined (__CYGWIN32__)]:
  42. Initialize TARGET_STAT and OFD to pass to SMART_RENAME.
  43. * arsup.c
  44. (ar_save) [defined (_WIN32) || defined (__CYGWIN32__)]:
  45. Likewise.
  46. * bucomm.h (smart_rename): Add new arguments to declaration.
  47. * objcopy.c
  48. (strip_main)[defined (_WIN32) || defined (__CYGWIN32__)]:
  49. Initialize COPYFD and pass to SMART_RENAME.
  50. (copy_main) [defined (_WIN32) || defined (__CYGWIN32__)]:
  51. Likewise.
  52. * rename.c (try_preserve_permissions): New function.
  53. (smart_rename): Use it and add new arguments.
  54. 2020-12-07 Siddhesh Poyarekar <siddhesh@sourceware.org>
  55. PR 26945
  56. * objcopy.c (copy_file): New argument IN_STAT. Return stat of
  57. ibfd through it.
  58. (strip_main): Remove redundant stat calls. adjust copy_file
  59. calls.
  60. (copy_main): Likewise.
  61. 2020-12-07 Siddhesh Poyarekar <siddhesh@sourceware.org>
  62. PR 26945
  63. * bucomm.c (make_tempname): Add argument to return file
  64. descriptor.
  65. * bucomm.h (make_tempname): Likewise.
  66. * ar.c: Include libbfd.h.
  67. (write_archive): Adjust for change in make_tempname. Call
  68. bfd_fdopenw instead of bfd_openw.
  69. * objcopy.c: Include libbfd.h.
  70. (copy_file): New argument OFD. Use bfd_fdopenw instead of
  71. bfd_openw.
  72. (strip_main): Adjust for change in make_tempname and
  73. copy_file.
  74. (copy_main): Likewise.
  75. 2020-12-07 Nick Clifton <nickc@redhat.com>
  76. * README-how-to-make-a-release (point releases): Add a note to
  77. update the milestone list on sourceware's bugzilla.
  78. 2020-12-04 Alan Modra <amodra@gmail.com>
  79. * dwarf.c (frame_display_row): Do without static variable "sloc".
  80. (cu_tu_indexes_read): Move to file scope.
  81. (free_debug_memory): Reset it here, along with level_type_signed.
  82. Free and clear a number of other static variables.
  83. * readelf.c (arm_attr_public_tag <table>): Constify, updating..
  84. (arm_attr_tag_*): ..all these uses.
  85. (process_mips_specific): Free "rels" on error path.
  86. 2020-11-27 Nick Clifton <nickc@redhat.com>
  87. PR 26865
  88. * windres.c (main): If the preprocessor name includes spaces,
  89. ensure that it is quoted.
  90. 2020-11-27 Jozef Lawrynowicz <jozef.l@mittosystems.com>
  91. * testsuite/lib/binutils-common.exp (supports_noinit_section): New.
  92. (supports_persistent_section): New.
  93. 2020-11-23 Nick Alcock <nick.alcock@oracle.com>
  94. * readelf.c (dump_section_as_ctf): Call ctf_arc_symsect_endianness.
  95. 2020-11-25 Alan Modra <amodra@gmail.com>
  96. * testsuite/binutils-all/nm.exp (ifunc): xfail more targets.
  97. 2020-11-20 Nick Alcock <nick.alcock@oracle.com>
  98. * readelf.c (dump_section_as_ctf): Use .dynsym and .dynstr, not
  99. .symtab and .strtab.
  100. 2020-11-20 Nick Alcock <nick.alcock@oracle.com>
  101. * objdump.c (dump_ctf): Report errors from ctf_archive_iter.
  102. * readelf.c (dump_section_as_ctf): Likewise.
  103. 2020-11-20 Nick Alcock <nick.alcock@oracle.com>
  104. * objdump.c (dump_ctf): Use ctf_dict_open, not
  105. ctf_arc_open_by_name.
  106. * readelf.c (dump_section_as_ctf): Likewise.
  107. 2020-11-20 Nick Alcock <nick.alcock@oracle.com>
  108. * objdump.c (dump_ctf_errs): Rename ctf_file_t to ctf_dict_t.
  109. (dump_ctf_archive_member): Likewise.
  110. (dump_ctf): Likewise. Use ctf_dict_close, not ctf_file_close.
  111. * readelf.c (dump_ctf_errs): Rename ctf_file_t to ctf_dict_t.
  112. (dump_ctf_archive_member): Likewise.
  113. (dump_section_as_ctf): Likewise. Use ctf_dict_close, not
  114. ctf_file_close.
  115. 2020-11-20 Nick Clifton <nickc@redhat.com>
  116. PR 22967
  117. * nm.c (ifunc_type_chars): New variable.
  118. (long_options): Add --ifunc-chars.
  119. (print_symbol): Use ifunc_type_chars for ifunc symbols.
  120. (main): Handle the new option.
  121. * doc/binutils.texi: Document the new option.
  122. * configure.ac: Add --enable-f-for-ifunc-symbols option which
  123. changes the default symbol displayed by nm.
  124. * NEWS: Mention the new feature.
  125. * testsuite/binutils-all/nm.exp: Test the new feature.
  126. * config.in: Regenerate.
  127. * configure: Regenerate.
  128. 2020-11-20 Linda Zhang <lindasc@qq.com>
  129. PR 20979
  130. * dllwrap.c (main): Deprecate and warn the use of dllwrap.
  131. 2020-11-20 Jozef Lawrynowicz <jozef.l@mittosystems.com>
  132. * testsuite/binutils-all/readelf-maskos-1a.d: Fix test for unrecognized
  133. bit set in SHF_MASKOS range.
  134. * testsuite/binutils-all/readelf-maskos-1b.d: Likewise.
  135. * testsuite/binutils-all/readelf-maskos-unknown.s: New test.
  136. 2020-11-18 Jozef Lawrynowicz <jozef.l@mittosystems.com>
  137. * NEWS: Announce SHF_GNU_RETAIN support.
  138. * readelf.c (get_elf_section_flags): Handle SHF_GNU_RETAIN.
  139. Recognize SHF_GNU_RETAIN and SHF_GNU_MBIND only for supported OSABIs.
  140. * testsuite/binutils-all/readelf.exp: Run new tests.
  141. Don't run run_dump_test when there isn't an assembler available.
  142. * testsuite/lib/binutils-common.exp (supports_gnu_osabi): Adjust
  143. comment.
  144. * testsuite/binutils-all/readelf-maskos-1a.d: New test.
  145. * testsuite/binutils-all/readelf-maskos-1b.d: New test.
  146. * testsuite/binutils-all/readelf-maskos.s: New test.
  147. * testsuite/binutils-all/retain1.s: New test.
  148. * testsuite/binutils-all/retain1a.d: New test.
  149. * testsuite/binutils-all/retain1b.d: New test.
  150. 2020-11-17 Howard Chu <hyc@symas.com>
  151. * ar.c (main): Place the libdeps record in the second archive
  152. slot.
  153. 2020-11-13 Nick Clifton <nickc@redhat.com>
  154. PR 26829
  155. * dwarf.c (struct dwo_info): Add cu_offset field.
  156. (add_dwo_info): Add cu_offset parameter. Record in new dwo_info
  157. struct.
  158. (add_dwo_name): Add cu_offset field.
  159. (add_dwo_dir): Add cu_offset field.
  160. (add_dwo_id): Add cu_offset field.
  161. (read_and_display_attr_value): Pass cu_offset to dwo recording
  162. functions.
  163. (load_separate_debug_files): Accumulate name, dir and id values
  164. and display once for each CU.
  165. * testsuite/binutils-all/dwo.sL Use a separate CU for the second
  166. dwo link.
  167. * testsuite/binutils-all/readelf.k2: Update expected output.
  168. 2020-11-11 Bernd Edlinger <bernd.edlinger@hotmail.de>
  169. * dwarf.c (display_debug_rnglists_list): Only bias the
  170. DW_RLS_offset_pair with the base address.
  171. 2020-11-10 Nick Clifton <nickc@redhat.com>
  172. * dwarf.c (skip_attr_bytes): Correctly handle DW_FORM_ref8.
  173. (get_type_abbrev_from_form): Accept DW_FORM_ref8.
  174. 2020-11-09 Andreas Schwab <schwab@linux-m68k.org>
  175. * Makefile.am (development.exp): Fix regexp.
  176. * Makefile.in: Regenerate.
  177. 2020-11-09 Nick Clifton <nickc@redhat.com>
  178. PR 26847
  179. * dwarf.c (read_and_display_attr_value): In wide mode, display the
  180. name of the form.
  181. 2020-11-09 Alan Modra <amodra@gmail.com>
  182. * elfedit (usage): Avoid false positive "may be used uninitialised".
  183. Don't leak memory.
  184. 2020-11-09 Howard Chu <hyc@symas.com>
  185. * ar.c (main): Use plugin_target rather than "target" when
  186. resetting libdeps_bfd target.
  187. 2020-11-06 H.J. Lu <hongjiu.lu@intel.com>
  188. * elfedit.c: Include "libiberty.h".
  189. (usage): Update help message.
  190. 2020-11-03 Howard Chu <hyc@symas.com>
  191. * ar.c (long_options): Add --record-libdeps.
  192. (usage): Mention the new option.
  193. (decode_options): Handle the new option.
  194. (replace_members): If necessary, create a bfd to hold the libdeps
  195. description.
  196. * binemul.c (ar_emul_append_bfd): New function.
  197. (ar_emul_replace_bfd): New function.
  198. (ar_emul_default_append): Replace file_name and target arguments
  199. with new_bfd argument.
  200. (ar_emul_default_replace): Likewise.
  201. * binemul.h: Update prototypes.
  202. (struct bin_emulation_xfer_struct): Update fields.
  203. * doc/binutils.texi: Document the new option.
  204. * NEWS: Mention the new feature.
  205. * emul_aix.c (ar_emul_aix_append): Update.
  206. (ar_emul_aix_replace): Likewise.
  207. * testsuite/binutils-all/ar.exp: Add test of new feature.
  208. 2020-10-30 H.J. Lu <hongjiu.lu@intel.com>
  209. PR gas/26703
  210. * readelf.c (decode_x86_isa): Handle
  211. * GNU_PROPERTY_X86_ISA_1_BASELINE.
  212. * testsuite/binutils-all/i386/empty.d: Updated.
  213. * testsuite/binutils-all/i386/ibt.d: Likewise.
  214. * testsuite/binutils-all/i386/pr21231a.d: Likewise.
  215. * testsuite/binutils-all/i386/pr21231b.d: Likewise.
  216. * testsuite/binutils-all/i386/shstk.d: Likewise.
  217. * testsuite/binutils-all/x86-64/empty-x32.d: Likewise.
  218. * testsuite/binutils-all/x86-64/empty.d: Likewise.
  219. * testsuite/binutils-all/x86-64/ibt-x32.d: Likewise.
  220. * testsuite/binutils-all/x86-64/ibt.d: Likewise.
  221. * testsuite/binutils-all/x86-64/pr21231a.d: Likewise.
  222. * testsuite/binutils-all/x86-64/pr21231b.d: Likewise.
  223. * testsuite/binutils-all/x86-64/pr23494a-x32.d: Likewise.
  224. * testsuite/binutils-all/x86-64/pr23494a.d: Likewise.
  225. * testsuite/binutils-all/x86-64/pr23494c-x32.d: Likewise.
  226. * testsuite/binutils-all/x86-64/pr23494c.d: Likewise.
  227. * testsuite/binutils-all/x86-64/pr23494d-x32.d: Likewise.
  228. * testsuite/binutils-all/x86-64/pr23494d.d: Likewise.
  229. * testsuite/binutils-all/x86-64/pr23494e-x32.d: Likewise.
  230. * testsuite/binutils-all/x86-64/pr23494e.d: Likewise.
  231. * testsuite/binutils-all/x86-64/shstk-x32.d: Likewise.
  232. * testsuite/binutils-all/x86-64/shstk.d: Likewise.
  233. 2020-10-29 H.J. Lu <hongjiu.lu@intel.com>
  234. PR binutils/26808
  235. * dwarf.c (abbrev_list): Add abbrev_base.
  236. (new_abbrev_list): Add an abbrev_base argument and record it.
  237. (find_abbrev_list_by_abbrev_offset): Add an abbrev_base argument
  238. and match it.
  239. (process_debug_info): Pass abbrev_base to new_abbrev_list and
  240. find_abbrev_list_by_abbrev_offset.
  241. (display_debug_abbrev): Pass 0 abbrev_base to new_abbrev_list
  242. and find_abbrev_list_by_abbrev_offset.
  243. * testsuite/binutils-all/x86-64/pr26808.dump: New file.
  244. * testsuite/binutils-all/x86-64/pr26808.dwp.bz2: Likewise.
  245. * testsuite/binutils-all/x86-64/x86-64.exp: Run PR binutils/26808
  246. test.
  247. 2020-10-29 Nick Clifton <nickc@redhat.com>
  248. PR 26805
  249. * objcopy.c (is_dwo_section): Check for missing or short section
  250. names.
  251. 2020-10-26 Andreas Rammhold <andreas@rammhold.de>
  252. * README-how-to-make-a-release: Use sha256sum instead of md5sum.
  253. 2020-10-28 Nick Clifton <nickc@redhat.com>
  254. PR 26795
  255. * elfedit.c (process_archive): Remove spurious call to free().
  256. 2020-10-27 Nick Clifton <nickc@redhat.com>
  257. * dwarf.c (struct abbrev_list): New structure. Used to collect
  258. lists of abbreviation sets.
  259. (struct abbrev_map): New structure. Used to map CU offsets to
  260. abbreviation offsets.
  261. (record_abbrev_list): New function. A new entry to an
  262. abbreviation list.
  263. (free_all_abbrevs): Update to free abbreviation lists.
  264. (new_abbrev_list): New function. Start a new abbreviation
  265. list.
  266. (find_abbrev_list_by_abbrev_offset): New function.
  267. (find_abbrev_map_by_offset): New function.
  268. (add_abbrev): Add abbrev_list parameter.
  269. (add_abbrev_attr): Likewise.
  270. (process_abbrev_section): Rename to process_abbrev_set and add
  271. list parameter.
  272. (get_type_abbrev_from_form): New function. Attempts to decode the
  273. forms used by DW_AT_type attributes.
  274. (get_type_signedness): Display type names if operating in wide
  275. mode. Use get_type_abbrev_from_form.
  276. (read_and_display_attr_value): Use get_type_abbrev_from_form.
  277. (process_debug_info): Pre-parse the CU headers to collate all the
  278. abbrevs before starting the main scan.
  279. (process_debug_abbrev): Do not free any loaded abbrevs.
  280. (free_debug_memory): Free the abbrev maps.
  281. 2020-10-22 H.J. Lu <hongjiu.lu@intel.com>
  282. * testsuite/binutils-all/objcopy.exp (objcopy_test): Report
  283. error message on error.
  284. 2020-10-22 Dr. David Alan Gilbert <dgilbert@redhat.com>
  285. * windmc.c (write_header_define): Fix printf format.
  286. (write_header): Likewise.
  287. 2020-10-21 Nick Clifton <nickc@redhat.com>
  288. * dwarf.c (skip_attr_bytes): Accept DWARF versions higher than 4
  289. when processing the DW_FORM_ref_addr form.
  290. Skip bytes in DW_FORM_block and DW_FORM_exprloc forms.
  291. Handle DW_FORM_indirect.
  292. (get_type_signedness): Allow a limited amount of recursion.
  293. Do not attempt to decode types that use the DW_FORM_ref_addr form.
  294. (read_and_display_attr_value): Do not attempt to decode types
  295. that use the DW_FORM_ref_addr form.
  296. 2020-10-20 Alan Modra <amodra@gmail.com>
  297. * readelf.c: Delete whitespace at end of line throughout.
  298. (SECTION_NAME, SECTION_NAME_VALID): New.
  299. (SECTION_NAME_PRINT): Rename from SECTION_NAME. Formatting.
  300. (printable_section_name, dump_relocations): Use SECTION_NAME_PRINT.
  301. (process_section_headers, process_section_groups): Likewise.
  302. (shdr_to_ctf_sect): Likewise.
  303. (find_section, find_section_in_set): Use SECTION_NAME_VALID.
  304. (ia64_process_unwind, hppa_process_unwind): Likewise.
  305. (display_debug_section, initialise_dumps_byname): Likewise.
  306. (process_lto_symbol_tables): Likewise. Check trailing period of
  307. lto symbol table names.
  308. (display_lto_symtab): Use sizeof instead of strlen.
  309. 2020-10-20 Nelson Chu <nelson.chu@sifive.com>
  310. * MAINTAINERS (RISC-V): Add myself as RISC-V co-maintainer.
  311. 2020-10-19 Nick Clifton <nickc@redhat.com>
  312. * readelf.c (do_lto_syms): New local.
  313. (long_option_values): Add OPTION_LTO_SYMS.
  314. (options): Add --lto-syms.
  315. (usage): Mention the new option.
  316. (parse_args): Parse the new option.
  317. (get_lto_kind): New function.
  318. (get_lto_visibility): New function.
  319. (get_lto_sym_type): New function.
  320. (display_lto_symtab): New function - displays the contents of an
  321. LTo symbol table section.
  322. (process_lto_symbol_tables): New functions. Calls
  323. dipslay_lto_symtab on any LTO symbol table section.
  324. (process_object_file): Call process_lto_symbol_tables.
  325. * doc/binutils.texi: Document the new option.
  326. * NEWS: Mention the new feature.
  327. 2020-10-09 H.J. Lu <hongjiu.lu@intel.com>
  328. PR gas/26703
  329. * readelf.c (decode_x86_compat_2_isa): New function.
  330. (decode_x86_isa): Updated for new X86_ISA_1_XXX bits.
  331. (decode_x86_feature_1): Handle GNU_PROPERTY_X86_FEATURE_2_MASK.
  332. (print_gnu_property_note): Handle X86_COMPAT_2_ISA_1_USED,
  333. and X86_COMPAT_2_ISA_1_NEEDED.
  334. * testsuite/binutils-all/i386/pr21231b.s: Updated to the current
  335. GNU_PROPERTY_X86_ISA_1_USED and GNU_PROPERTY_X86_ISA_1_NEEDED
  336. values.
  337. * testsuite/binutils-all/x86-64/pr21231b.s: Likewise.
  338. * testsuite/binutils-all/x86-64/pr23494a.s: Likewise.
  339. * testsuite/binutils-all/x86-64/pr23494b.s: Likewise.
  340. * testsuite/binutils-all/x86-64/pr23494c.s: Likewise.
  341. * testsuite/binutils-all/i386/empty.d: Updated.
  342. * testsuite/binutils-all/i386/ibt.d: Likewise.
  343. * testsuite/binutils-all/i386/pr21231a.d: Likewise.
  344. * testsuite/binutils-all/i386/pr21231b.d: Likewise.
  345. * testsuite/binutils-all/i386/shstk.d: Likewise.
  346. * testsuite/binutils-all/x86-64/empty-x32.d: Likewise.
  347. * testsuite/binutils-all/x86-64/empty.d: Likewise.
  348. * testsuite/binutils-all/x86-64/ibt-x32.d: Likewise.
  349. * testsuite/binutils-all/x86-64/ibt.d: Likewise.
  350. * testsuite/binutils-all/x86-64/pr21231a.d: Likewise.
  351. * testsuite/binutils-all/x86-64/pr21231b.d: Likewise.
  352. * testsuite/binutils-all/x86-64/pr23494a-x32.d: Likewise.
  353. * testsuite/binutils-all/x86-64/pr23494a.d: Likewise.
  354. * testsuite/binutils-all/x86-64/pr23494c-x32.d: Likewise.
  355. * testsuite/binutils-all/x86-64/pr23494c.d: Likewise.
  356. * testsuite/binutils-all/x86-64/pr23494d-x32.d: Likewise.
  357. * testsuite/binutils-all/x86-64/pr23494d.d: Likewise.
  358. * testsuite/binutils-all/x86-64/pr23494e-x32.d: Likewise.
  359. * testsuite/binutils-all/x86-64/pr23494e.d: Likewise.
  360. * testsuite/binutils-all/x86-64/shstk-x32.d: Likewise.
  361. * testsuite/binutils-all/x86-64/shstk.d: Likewise.
  362. 2020-10-06 Nick Clifton <nickc@redhat.com>
  363. * objcopy.c (copy_object): Compare input and output sections by
  364. pointer rather than name.
  365. 2020-10-05 Nick Clifton <nickc@redhat.com>
  366. PR 26698
  367. * windmc.c (mc_unify_path): Fix typo checking character at end of
  368. pathname.
  369. 2020-10-05 Samanta Navarro <ferivoz@riseup.net>
  370. * doc/binutils.texi: Fix spelling mistakes.
  371. 2020-09-29 Mark Wielaard <mark@klomp.org>
  372. * dwarf.c (display_loclists_list): Handle DW_LLE_start_end and
  373. DW_LLE_start_length. Only add base_address for DW_LLE_offset_pair.
  374. 2020-09-25 Alan Modra <amodra@gmail.com>
  375. * elfcomm.c (byte_put_little_endian, byte_put_big_endian): Support
  376. more field sizes.
  377. * readelf.c (target_specific_reloc_handling <MSP430>): Limit
  378. allowed reloc_size. Don't read_leb128 outside of section.
  379. 2020-09-23 Mark Wielaard <mark@klomp.org>
  380. * dwarf.c (process_debug_info): Print Unit Type for DWARF5.
  381. * testsuite/binutils-all/dw5.W: Adjust expected output.
  382. * testsuite/binutils-all/dwarf-attributes.W: Likewise.
  383. 2020-09-23 Mark Wielaard <mark@klomp.org>
  384. * dwarf.c (read_and_display_attr_value): Handle DW_FORM_ref_addr
  385. for dwarf_version 5 just as version 3 and 4 (only 2 is
  386. different).
  387. (process_debug_info): Allow DW_UT_partial.
  388. 2020-09-24 Nick Clifton <nickc@redhat.com>
  389. PR 26662
  390. * doc/binutils.texi (nm): Document that 'c' is used for small
  391. common symbols.
  392. 2020-09-21 Ludovic Courtès <ludo@gnu.org>
  393. * doc/binutils.texi (objcopy, strip): Say that
  394. '--strip-unneeded' implies '--strip-debug'.
  395. 2020-09-16 Anatoly Parshintsev <kupokupokupopo@gmail.com>
  396. * verilog.c (verilog_write_address): Properly handle 64-bit
  397. addresses to avoid truncation of the high part.
  398. 2020-09-16 Alan Modra <amodra@gmail.com>
  399. * nm.c (print_symbol): Adjust elf_symbol_from invocation.
  400. * objcopy.c (is_hidden_symbol): Likewise.
  401. 2020-09-15 Nick Clifton <nickc@redhat.com>
  402. * README-how-to-make-a-release (https): Add a reminder to create a
  403. new Bugzilla tag for the point release, once it has been published.
  404. 2020-09-11 H.J. Lu <hongjiu.lu@intel.com>
  405. * readelf.c (get_note_type): Support NT_X86_CET.
  406. 2020-09-11 Nick Clifton <nickc@redhat.com>
  407. PR 26595
  408. * dwarf.c (load_separate_debug_info): Return NULL rather than
  409. FALSE in error situations.
  410. (load_separate_debug_file): Move code to load debug links to ...
  411. (check_for_and_load_links): ... here. New function. Load
  412. separate debug information pointed to by debuglink and
  413. debugaltlink sections. Recursively scan newly loaded debug
  414. information for more links and load them too.
  415. 2020-09-09 Alan Modra <amodra@gmail.com>
  416. PR 26578
  417. * dwarf.c (parse_gnu_debugaltlink): Don't alloc build_id_data.
  418. (load_separate_debug_files): Use a stack var for build_id_data.
  419. 2020-09-08 H.J. Lu <hongjiu.lu@intel.com>
  420. PR ld/26587
  421. * testsuite/binutils-all/objcopy.exp: Pass --disable-reloc-section
  422. to ld on PE targets for PR 25662 test.
  423. 2020-09-08 Jozef Lawrynowicz <jozef.l@mittosystems.com>
  424. Kuan-Lin Chen <kuanlinchentw@gmail.com>
  425. * readelf.c (target_specific_reloc_handling): Handle
  426. R_MSP430{,X}_GNU_{SET,SUB}_ULEB128.
  427. 2020-09-02 Alan Modra <amodra@gmail.com>
  428. * objdump.c (disassemble_bytes): Use an unsigned type for "addend".
  429. 2020-08-30 Alan Modra <amodra@gmail.com>
  430. * readelf.c (print_gnu_build_attribute_name): Use unsigned long
  431. long for "bytes".
  432. 2020-08-28 Nick Clifton <nickc@redhat.com>
  433. PR 26548
  434. * dwarf.c (read_leb128): When checking for overflow of a signed
  435. read, use a signed shift.
  436. 2020-08-28 Cooper Qu <cooper.qu@linux.alibaba.com>
  437. * readelf.c (get_csky_section_type_name): New.
  438. (get_section_type_name): Add handler for CSKY.
  439. (display_csky_attribute): New.
  440. (process_arch_specific): Add handler for CSKY.
  441. * testsuite/binutils-all/strip-3.d: Remove .csky.attributes
  442. section.
  443. 2020-08-27 Jozef Lawrynowicz <jozef.l@mittosystems.com>
  444. * readelf.c (get_msp430x_section_type_name): Rename to ...
  445. (get_msp430_section_type_name): ... this.
  446. (get_section_type_name): Use get_msp430_section_type_name.
  447. (display_msp430x_attribute): Rename to ...
  448. (display_msp430_attribute): ... this.
  449. (process_arch_specific): Use display_msp430_attribute.
  450. 2020-08-27 John David Anglin <danglin@gcc.gnu.org>
  451. PR 26356
  452. * testsuite/binutils-all/objcopy.exp (objcopy --reverse-bytes): Add
  453. "-j $PRIVATE$" to command on hppa*-*-hpux*.
  454. * testsuite/lib/utils-lib.exp (default_binutils_run): Remove existing
  455. dollar-sign quotes before quoting. Do this prior to generating log
  456. output.
  457. 2020-08-27 Ralf Habacker <ralf.habacker@freenet.de>
  458. PR 26088
  459. * mclex.c (skip_until_eol): If eol was found, increment line
  460. number.
  461. 2020-08-27 Nick Alcock <nick.alcock@oracle.com>
  462. * objdump.c (dump_ctf_errs): Unquote CTF error messages.
  463. * readelf.c (dump_ctf_errs): Likewise.
  464. 2020-08-27 Nick Alcock <nick.alcock@oracle.com>
  465. * objdump.c (dump_ctf_archive_member): Move error-
  466. reporting...
  467. (dump_ctf_errs): ... into this separate function.
  468. (dump_ctf): Call it on open errors.
  469. * readelf.c (dump_ctf_archive_member): Move error-
  470. reporting...
  471. (dump_ctf_errs): ... into this separate function. Support
  472. calls with NULL fp. Adjust for new err parameter to
  473. ctf_errwarning_next.
  474. (dump_section_as_ctf): Call it on open errors.
  475. 2020-08-27 Nick Alcock <nick.alcock@oracle.com>
  476. * Makefile.am (readelf_LDADD): Move $(LIBINTL) after $(LIBCTF_NOBFD).
  477. * Makefile.in: Regenerated.
  478. 2020-08-26 Nick Clifton <nickc@redhat.com>
  479. PR 26405
  480. * readelf.c (get_segment_type): Handle OpenBSD segment types.
  481. 2020-08-26 Alan Modra <amodra@gmail.com>
  482. PR 26412
  483. * objcopy.c (copy_object): Don't fwrite NULL contents.
  484. 2020-08-26 Katayama Hirofumi <katayama.hirofumi.mz@gmail.com>
  485. PR 26340
  486. * rcparse.y (AUTOCHECKBOX): Add WS_TABSTOP to the base style.
  487. 2020-08-24 Alan Modra <amodra@gmail.com>
  488. * readelf.c (dump_section_as_strings) Avoid false positive
  489. "may be used uninitialised".
  490. 2020-08-22 H.J. Lu <hongjiu.lu@intel.com>
  491. PR ld/26382
  492. * nm.c (print_symname): Display only one '@' for undefined
  493. versioned symbols.
  494. * doc/binutils.texi: Update nm version information.
  495. 2020-08-21 Mark Wielaard <mark@klomp.org>
  496. * testsuite/binutils-all/readelf.exp (readelf_wi_test): Also
  497. recognize DW_LANG_C11.
  498. 2020-08-19 Alan Modra <amodra@gmail.com>
  499. PR 26349
  500. * readelf.c (dump_relocations): Use BFD_VMA_FMT to print offset
  501. and info fields.
  502. (dump_section_as_strings): Don't use %tx to display offset.
  503. 2020-08-14 Alan Modra <amodra@gmail.com>
  504. PR 26388
  505. * dwarf.c (free_debug_memory): Free alloc_num_debug_info_entries
  506. of debug_information. Correct test of max_loc_offsets and
  507. max_range_lists.
  508. * rddbg.c (read_debugging_info): Free dhandle on error.
  509. 2020-08-14 Alan Modra <amodra@gmail.com>
  510. * testsuite/binutils-all/mangled.s: Use dc.a rather than dc.d.
  511. 2020-08-13 Alan Modra <amodra@gmail.com>
  512. PR 26348
  513. * objcopy.c (copy_object): Report file name with endian error.
  514. Error and return on abfd->read_only.
  515. 2020-08-12 Tom Tromey <tromey@adacore.com>
  516. * dwarf-mode.el (Version): Now 1.6.
  517. (dwarf-die-button-action): Tighten DIE reference regexp.
  518. (dwarf-font-lock-keywords): Update name regexp.
  519. 2020-08-12 Nick Clifton <nickc@redhat.com>
  520. PR binutils/26331
  521. * readelf.c (do_demangle): New option flag.
  522. (print_symbol): If do_demangle is enabled, demangle the symbol.
  523. (enum long_option_values): New enum to hold long option values.
  524. (options): Add demangle, no-demangle, recursion-limit and
  525. no-recursion-limit options. Alpha sort the table.
  526. (usage): Describe the new options.
  527. (parse_args): Handle the new options.
  528. * NEWS: Mention the new feature.
  529. * doc/binutils.texi: Document the new feature.
  530. * testsuite/binutils-all/readelf.exp: Test the new feature.
  531. * testsuite/binutils-all/mangled.s: New file - assembler source.
  532. * testsuite/binutils-all/readelf.demangled: New file - expected
  533. output from readelf.
  534. 2020-08-12 Nick Clifton <nickc@redhat.com>
  535. * po/sr.po: Updated Serbian translation.
  536. 2020-08-10 H.J. Lu <hongjiu.lu@intel.com>
  537. PR binutils/26302
  538. * nm.c (with_symbol_versions): Removed.
  539. (long_option_values): Add OPTION_WITH_SYMBOL_VERSIONS.
  540. (long_options): Update --with-symbol-versions entry.
  541. (print_symbol): Remove the with_symbol_versions check.
  542. (main): Add OPTION_WITH_SYMBOL_VERSIONS for backward
  543. compatibility.
  544. * doc/binutils.texi: Remove --with-symbol-versions.
  545. 2020-08-05 Alan Modra <amodra@gmail.com>
  546. PR 26337
  547. * objdump.c (load_specific_debug_section): Revert last change.
  548. 2020-08-05 Alan Modra <amodra@gmail.com>
  549. PR 26337
  550. * objdump.c (load_specific_debug_section): Don't malloc space for
  551. section contents, use bfd_malloc_and_get_section.
  552. 2020-07-30 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
  553. * Makefile.am (AM_CPPFLAGS): Add LARGEFILE_CPPFLAGS.
  554. * Makefile.in, doc/Makefile.in: Regenerate.
  555. * configure: Regenerate.
  556. 2020-07-30 H.J. Lu <hongjiu.lu@intel.com>
  557. * testsuite/binutils-all/i386/compressed-1a.d: Pass --gdwarf-3
  558. to assembler.
  559. * testsuite/binutils-all/i386/compressed-1b.d: Likewise.
  560. * testsuite/binutils-all/i386/compressed-1c.d: Likewise.
  561. * testsuite/binutils-all/x86-64/compressed-1a.d: Likewise.
  562. * testsuite/binutils-all/x86-64/compressed-1b.d: Likewise.
  563. * testsuite/binutils-all/x86-64/compressed-1c.d: Likewise.
  564. 2020-07-29 Maciej W. Rozycki <macro@linux-mips.org>
  565. * testsuite/binutils-all/mips/global-local-symtab-sort-o32.d:
  566. New test.
  567. * testsuite/binutils-all/mips/global-local-symtab-sort-o32t.d:
  568. New test.
  569. * testsuite/binutils-all/mips/global-local-symtab-sort-n32.d:
  570. New test.
  571. * testsuite/binutils-all/mips/global-local-symtab-sort-n32t.d:
  572. New test.
  573. * testsuite/binutils-all/mips/global-local-symtab-sort-n64.d:
  574. New test.
  575. * testsuite/binutils-all/mips/global-local-symtab-sort-n64t.d:
  576. New test.
  577. * testsuite/binutils-all/mips/global-local-symtab-final-o32.d:
  578. New test.
  579. * testsuite/binutils-all/mips/global-local-symtab-final-n32.d:
  580. New test.
  581. * testsuite/binutils-all/mips/global-local-symtab-final-n64.d:
  582. New test.
  583. * testsuite/binutils-all/mips/mips.exp: Run the new tests.
  584. 2020-07-29 Maciej W. Rozycki <macro@linux-mips.org>
  585. * testsuite/binutils-all/mips/global-local-symtab-o32.d: New
  586. test.
  587. * testsuite/binutils-all/mips/global-local-symtab-o32t.d: New
  588. test.
  589. * testsuite/binutils-all/mips/global-local-symtab-n32.d: New
  590. test.
  591. * testsuite/binutils-all/mips/global-local-symtab-n32t.d: New
  592. test.
  593. * testsuite/binutils-all/mips/global-local-symtab-n64.d: New
  594. test.
  595. * testsuite/binutils-all/mips/mips.exp: Run the new tests.
  596. 2020-07-28 H.J. Lu <hongjiu.lu@intel.com>
  597. PR binutils/26301
  598. * configure: Regenerated.
  599. 2020-07-28 H.J. Lu <hongjiu.lu@intel.com>
  600. PR binutils/26301
  601. * configure: Regenerated.
  602. 2020-07-27 Alan Modra <amodra@gmail.com>
  603. * objdump.c (dump_section): Don't return without calling
  604. process_section_p.
  605. 2020-07-27 H.J. Lu <hongjiu.lu@intel.com>
  606. * doc/binutils.texi: Replace preceeded with preceded.
  607. 2020-07-26 Maciej W. Rozycki <macro@linux-mips.org>
  608. * testsuite/binutils-all/mips/mips.exp (run_dump_test_abi)
  609. (run_dump_test_o32, run_dump_test_n32, run_dump_test_n64): New
  610. procedures.
  611. (has_newabi): Remove variable.
  612. (has_abi, abi_asflags, abi_ldflags): New associative array
  613. variables.
  614. (irixemul): New variable.
  615. Replace `run_dump_test' calls where applicable throughout with
  616. `run_dump_test_o32', `run_dump_test_n32' and `run_dump_test_n64'
  617. as appropriate. Use `noarch' for tests that require their own
  618. architecture setting.
  619. * testsuite/binutils-all/mips/mips-ase-1.d: Remove GAS flags.
  620. * testsuite/binutils-all/mips/mips-ase-2.d: Likewise.
  621. * testsuite/binutils-all/mips/mips-ase-3.d: Likewise.
  622. * testsuite/binutils-all/mips/mips-note-2-n32.d: Likewise.
  623. * testsuite/binutils-all/mips/mips-note-2-n64.d: Likewise.
  624. * testsuite/binutils-all/mips/mips-note-2.d: Likewise.
  625. * testsuite/binutils-all/mips/mips-note-2r-n32.d: Likewise.
  626. * testsuite/binutils-all/mips/mips-note-2r-n64.d: Likewise.
  627. * testsuite/binutils-all/mips/mips-note-2r.d: Likewise.
  628. * testsuite/binutils-all/mips/mips-reginfo-n32.d: Likewise.
  629. * testsuite/binutils-all/mips/mips-reginfo.d: Likewise.
  630. * testsuite/binutils-all/mips/mips16-extend-noinsn.d: Likewise.
  631. * testsuite/binutils-all/mips/mips16-pcrel.d: Likewise.
  632. * testsuite/binutils-all/mips/mips16-alias.d: Remove `-32' from
  633. GAS flags.
  634. * testsuite/binutils-all/mips/mips16-extend-insn.d: Likewise.
  635. * testsuite/binutils-all/mips/mips16-noalias.d: Likewise.
  636. * testsuite/binutils-all/mips/mips16-undecoded.d: Likewise.
  637. * testsuite/binutils-all/mips/mips16e2-extend-insn.d: Likewise.
  638. * testsuite/binutils-all/mips/mips16e2-undecoded.d: Likewise.
  639. * testsuite/binutils-all/mips/mixed-micromips.d: Likewise.
  640. * testsuite/binutils-all/mips/mixed-mips16.d: Likewise.
  641. 2020-07-24 Aaron Merey <amerey@redhat.com>
  642. * Makefile.am: Replace LIBDEBUGINFOD with DEBUGINFOD_LIBS.
  643. * Makefile.in: Rebuild.
  644. * configure: Rebuild.
  645. * doc/Makefile.in: Rebuild.
  646. 2020-07-24 Nick Clifton <nickc@redhat.com>
  647. * README-how-to-make-a-release: Various small updates whilst
  648. creating the 2.35 release.
  649. 2020-07-22 Nick Alcock <nick.alcock@oracle.com>
  650. * testsuite/lib/binutils-common.exp (run_dump_test): Add 'cc'
  651. option.
  652. 2020-07-22 Nick Alcock <nick.alcock@oracle.com>
  653. * objdump.c (dump_ctf_archive_member): Remove linefeeds.
  654. (dump_ctf): Likewise.
  655. 2020-07-22 Nick Alcock <nick.alcock@oracle.com>
  656. * objdump.c (ctf_archive_member): Print CTF errors and warnings.
  657. * readelf.c (dump_ctf_archive_member): Likewise.
  658. 2020-07-22 Nick Clifton <nickc@redhat.com>
  659. * readelf.c (parse_args): Silence potential warnings about a
  660. memory resource leak when allocating space for ctf option values.
  661. (dump_section_as_ctf): Fix typo checking dump_ctf_strtab_name
  662. variable.
  663. 2020-07-21 Nick Clifton <nickc@redhat.com>
  664. * po/sv.po: Updated Swedish translation.
  665. 2020-07-14 Claudiu Zissulescu <claziss@gmail.com>
  666. * testsuite/binutils-all/arc/double_regs.s: New test.
  667. * testsuite/binutils-all/arc/objdump.exp: Add the above test.
  668. 2020-07-13 Nick Clifton <nickc@redhat.com>
  669. * po/fr.po: Updated French translation.
  670. 2020-07-13 Alan Modra <amodra@gmail.com>
  671. * testsuite/lib/binutils-common.exp (is_pecoff_format): Accept
  672. optional machine-os arg.
  673. 2020-07-11 H.J. Lu <hongjiu.lu@intel.com>
  674. * readelf.c (decode_x86_feature_2): Handle
  675. GNU_PROPERTY_X86_FEATURE_2_TMM.
  676. 2020-07-10 Tom de Vries <tdevries@suse.de>
  677. * dwarf.c (display_debug_lines_decoded): Don't emit meaningless
  678. information in the end_sequence row.
  679. * testsuite/binutils-all/dw5.W: Update.
  680. * testsuite/binutils-all/objdump.WL: Update.
  681. 2020-07-09 Alan Modra <amodra@gmail.com>
  682. * dlltool.c: Remove powerpc PE support and comments.
  683. * configure.ac: Remove powerpc PE dlltool config.
  684. * configure: Regenerate.
  685. 2020-07-09 Nick Clifton <nickc@redhat.com>
  686. * rclex.c: Add OWNERDRAW keyword.
  687. * rcparse.y: Add OWNERDRAW token.
  688. (menuitem_flag) Add BITMAP and OWNERDRAW entries.
  689. * resrc.c (write_rc_menuitems): Add support for OWNERDRAW and
  690. BITMAP flags.
  691. * windres.c (extended_menuitems): Likewise.
  692. * testsuite/binutils-all/windres/menuitem_flags.rc: New test.
  693. 2020-07-09 Alan Modra <amodra@gmail.com>
  694. * readelf (slurp_hppa_unwind_table): Set table_len before use
  695. in relocation sanity checks.
  696. 2020-07-07 Alan Modra <amodra@gmail.com>
  697. * testsuite/binutils-all/ar.exp: Use is_xcoff_format.
  698. * testsuite/binutils-all/nm.exp: Likewise.
  699. * testsuite/binutils-all/copy-2.d: Run only for elf and pe targets.
  700. * testsuite/binutils-all/copy-3.d: Run only for elf targets.
  701. * testsuite/binutils-all/set-section-alignment.d: Likewise.
  702. * testsuite/binutils-all/copy-4.d: Don't run for xcoff.
  703. 2020-07-07 Alan Modra <amodra@gmail.com>
  704. * testsuite/lib/binutils-common.exp (is_xcoff_format): New.
  705. * testsuite/binutils-all/objcopy.exp (pr25662): Exclude xcoff.
  706. 2020-07-06 Nick Clifton <nickc@redhat.com>
  707. * po/bg.po: Updated Bulgarian translation.
  708. * po/pt.po: Updated Portuguese translation.
  709. * po/uk.po: Updated Ukranian translation.
  710. 2020-07-06 Alan Modra <amodra@gmail.com>
  711. * readelf.c (print_dynamic_symbol): Don't sprintf to buffer to
  712. find string length.
  713. 2020-07-04 Nick Clifton <nickc@redhat.com>
  714. * configure: Regenerate.
  715. * po/binutils.pot: Regenerate.
  716. 2020-07-04 Nick Clifton <nickc@redhat.com>
  717. Binutils 2.35 branch created.
  718. 2020-07-02 Nick Clifton <nickc@redhat.com>
  719. PR 26028
  720. * readelf.c (print_symbol): Handle truncation of symbol names.
  721. (options): Add -T/--silent-truncation option.
  722. (parse_args): Handle the option.
  723. (print_dynamic_symbol): Correct calculation of width available to
  724. display symbol name.
  725. * doc/binutils.texi: Document the -T option to readelf.
  726. * NEWS: Mention the new feature.
  727. 2020-06-30 H.J. Lu <hongjiu.lu@intel.com>
  728. * NEWS: Mention x86 NaCl target support removal.
  729. * dwarf.c (init_dwarf_regnames_by_bfd_arch_and_mach): Remove
  730. x86 NaCl target support.
  731. * testsuite/binutils-all/elfedit-1.d: Likewise.
  732. * testsuite/binutils-all/i386/i386.exp: Likewise.
  733. * testsuite/binutils-all/x86-64/objects.exp: Likewise.
  734. * testsuite/binutils-all/x86-64/pr23494a-x32.d: Likewise.
  735. * testsuite/binutils-all/x86-64/pr23494a.d: Likewise.
  736. * testsuite/binutils-all/x86-64/pr23494b-x32.d: Likewise.
  737. * testsuite/binutils-all/x86-64/pr23494b.d: Likewise.
  738. * testsuite/binutils-all/x86-64/pr23494c-x32.d: Likewise.
  739. * testsuite/binutils-all/x86-64/pr23494c.d: Likewise.
  740. * testsuite/binutils-all/x86-64/pr23494d-x32.d: Likewise.
  741. * testsuite/binutils-all/x86-64/pr23494d.d: Likewise.
  742. * testsuite/binutils-all/x86-64/pr23494e-x32.d: Likewise.
  743. * testsuite/binutils-all/x86-64/pr23494e.d: Likewise.
  744. * testsuite/binutils-all/x86-64/x86-64.exp: Likewise.
  745. 2020-06-30 Nick Clifton <nickc@redhat.com>
  746. * dwarf.c (read_and_display_attr_value): Support
  747. DW_FORM_GNU_strp_alt when used with DW_AT_dwo_name and
  748. DW_AT_comp_dir.
  749. 2020-06-30 Alan Modra <amodra@gmail.com>
  750. * testsuite/binutils-all/readelf.exp (readelf_dump_test): Remove
  751. xfail for nds32.
  752. 2020-06-29 Hans-Peter Nilsson <hp@bitrange.com>
  753. * dwarf.c (display_debug_str_offsets): Rename local variable
  754. index to idx. Move to top of function.
  755. 2020-06-29 Alan Modra <amodra@gmail.com>
  756. * dwarf.c: Use C style comments.
  757. * resrc.c: Likewise.
  758. 2020-06-27 Alan Modra <amodra@gmail.com>
  759. * elfcomm.c (setup_nested_archive): Set nested_arch->file to NULL
  760. after freeing.
  761. (release_archive): Set fields of arch to NULL after freeing.
  762. 2020-06-26 Nick Alcock <nick.alcock@oracle.com>
  763. * readelf.c (dump_section_as_ctf): Support .ctf archives using
  764. ctf_arc_bufopen. Automatically load the .ctf member of such
  765. archives as the parent of all other members, unless specifically
  766. overridden via --ctf-parent. Split out dumping code into...
  767. (dump_ctf_archive_member): ... here, as in objdump, and call
  768. it once per archive member.
  769. (dump_ctf_indent_lines): Code style fix.
  770. 2020-06-26 Nick Alcock <nick.alcock@oracle.com>
  771. * configure.ac [--enable-libctf]: New, default yes.
  772. Set ENABLE_LIBCTF accordingly.
  773. * Makefile.am [!ENABLE_LIBCTF]: Empty LIBCTF and LIBCTF_NOBFD.
  774. * configure: Regenerate.
  775. * config.in: Regenerate.
  776. * Makefile.in: Regenerate.
  777. * aclocal.m4: Regenerate.
  778. * objdump.c (usage): Conditionalize portions on ENABLE_LIBCTF.
  779. (option_values): Likewise.
  780. (long_options): Likewise.
  781. (main): Likewise.
  782. (dump_ctf_indent_lines): Conditionalize out when !ENABLE_LIBCTF.
  783. (make_ctfsect): Likewise.
  784. (dump_ctf_archive_member): Likewise.
  785. (dump_ctf) [ENABLE_LIBCTF]: Likewise.
  786. (dump_ctf) [!ENABLE_LIBCTF]: New empty stub.
  787. * readelf.c (options): Conditionalize portions on ENABLE_LIBCTF.
  788. (usage): Likewise.
  789. (process_section_contents): Likewise.
  790. (shdr_to_ctf_sect): Conditionalize out when !ENABLE_LIBCTF.
  791. (dump_ctf_indent_lines): Likewise.
  792. (dump_section_as_ctf) [ENABLE_LIBCTF]: Likewise.
  793. 2020-06-26 Jan Beulich <jbeulich@suse.com>
  794. * doc/binutils.texi: Adjust description of x86's -Msuffix. Drop
  795. redundant text from x86 specific part of -M section.
  796. 2020-06-26 Pat Bernardi <bernardi@adacore.com>
  797. * readelf.c (display_m68k_gnu_attribute): New function.
  798. (process_arch_specific): Call display_m68k_gnu_attribute for EM_68K.
  799. 2020-06-23 H.J. Lu <hongjiu.lu@intel.com>
  800. PR binutils/26160
  801. * testsuite/binutils-all/pr26160.dwp.bz2: New file.
  802. * testsuite/binutils-all/pr26160.r: Likewise.
  803. * testsuite/binutils-all/readelf.exp: Run PR binutils/26160 test.
  804. 2020-06-23 Nick Clifton <nickc@redhat.com>
  805. PR 26160
  806. * dwarf.c (fetch_indexed_string): Detect and handle old style
  807. .debug_str_offset tables.
  808. (display_debug_str_offsets): Likewise. Also add support for
  809. .debug_str_offsets.dwo sections.
  810. 2020-06-23 H.J. Lu <hongjiu.lu@intel.com>
  811. PR binutils/26112
  812. * testsuite/binutils-all/pr26112.o.bz2: New file.
  813. * testsuite/binutils-all/pr26112.r: Likewise.
  814. * testsuite/binutils-all/readelf.exp: Run PR binutils/26112 test.
  815. 2020-06-23 Alan Modra <amodra@gmail.com>
  816. * testsuite/binutils-all/objdump.exp (bintest.a): Correct
  817. remote_file delete command.
  818. 2020-06-22 Nick Clifton <nickc@redhat.com>
  819. PR 26112
  820. * dwarf.c (display_debug_str_offsets): Add code to display the
  821. contents of the .debug_str_offsets section.
  822. (display_debug_macro): Add support for DW_MACRO_define_strx and
  823. DW_MACRO_undef_strx.
  824. 2020-06-22 Saagar Jha <saagar@saagarjha.com>
  825. * od-macho.c: Dump linkedit data for new load commands.
  826. 2020-06-19 Alan Modra <amodra@gmail.com>
  827. * testsuite/config/default.exp (ld_elf_shared_opt): Don't set.
  828. * testsuite/lib/binutils-common.exp (check_relro_support): New proc.
  829. (run_dump_test): Use check_relro_support to decide whether to pass
  830. extra ld option "-z norelro".
  831. 2020-06-11 Alan Modra <amodra@gmail.com>
  832. * readelf.c (process_mips_specific): Don't alloc memory for
  833. Elf_Internal_Options.
  834. 2020-06-11 Alan Modra <amodra@gmail.com>
  835. * readelf.c (process_mips_specific): Assert size of internal
  836. types match size of external types, and simplify allocation of
  837. internal buffer. Catch possible integer overflow when sanity
  838. checking option size. Don't assume options are a regular array.
  839. Sanity check reginfo option against option size. Use PRI macros
  840. when printing.
  841. 2020-06-10 Ralf Habacker <ralf.habacker@freenet.de>
  842. PR 26082
  843. * mclex.c (yylex): Reject lines that reach end-of-file without a
  844. terminating newline character.
  845. 2020-06-08 Nick Clifton <nickc@redhat.com>
  846. PR 26093
  847. * doc/binutils.texi (strings): Fix typo.
  848. 2020-06-08 Nick Clifton <nickc@redhat.com>
  849. PR 26086
  850. * dwarf.c (process_debug_info): Check that there is space in the
  851. debug_information array before filling in an entry.
  852. 2020-06-06 Alan Modra <amodra@gmail.com>
  853. * doc/binutils.texi (PowerPC -M option): Mention power10 and pwr10.
  854. 2020-06-05 Joel Anderson <joelanderson333@gmail.com>
  855. PR 26082
  856. * mclex.c (yylex): Add test for an empty input stream.
  857. 2020-06-04 Stephen Casner <casner@acm.org>
  858. * testsuite/binutils-all/pr25662-pdp11.s: Alternate source file
  859. for test using section pseudo-ops compatible with pdp11.
  860. * testsuite/binutils-all/objcopy.exp: Select alternate source.
  861. 2020-06-04 Jose E. Marchesi <jose.marchesi@oracle.com>
  862. * objdump.c (disassemble_data): Set disasm_info.endian_code to
  863. disasm_info.endian after the latter is initialized to the
  864. endianness reported by BFD.
  865. 2020-06-04 Alan Modra <amodra@gmail.com>
  866. * testsuite/binutils-all/i386/i386.exp: Remove global directive
  867. outside proc body.
  868. * testsuite/binutils-all/x86-64/objects.exp: Likewise.
  869. * testsuite/binutils-all/x86-64/x86-64.exp: Likewise.
  870. 2020-06-03 Joel Anderson <joelanderson333@gmail.com>
  871. * windmc.h (struct mc_node): Add id_typecast field.
  872. * mcparse.y (message): Initialise the id_typecast field.
  873. * windmc.c (write_dbg): Use the id_typecast field as a parameter
  874. when calling write_dbg_define.
  875. (write_header): Likewise.
  876. 2020-06-03 Alan Modra <amodra@gmail.com>
  877. PR 26069
  878. * objcopy.c (copy_relocations_in_section): Free relpp on error.
  879. Don't accidentally free isection->orelocation.
  880. 2020-06-02 Alan Modra <amodra@gmail.com>
  881. * testsuite/binutils-all/ar.exp (obj): Set up object file name
  882. extension. Use throughout. Don't completely exclude non-ELF
  883. alpha targets. Run long_filenames test for tic30. Exclude thin
  884. archive tests for aix, ecoff and vms.
  885. * estsuite/binutils-all/objdump.exp (obj): Set up object file name
  886. extension. Use throughout. Don't exclude non-ELF alpha targets
  887. from "bintest.a".
  888. 2020-05-28 Max Filippov <jcmvbkbc@gmail.com>
  889. * MAINTAINERS (Xtensa): Add myself as maintainer.
  890. 2020-05-23 Alan Modra <amodra@gmail.com>
  891. * testsuite/binutils-all/ar.exp (many_files): New test.
  892. 2020-05-21 Alan Modra <amodra@gmail.com>
  893. * addr2line.c: Replace "if (x) free (x)" with "free (x)" throughout.
  894. * dlltool.c: Likewise.
  895. * elfcomm.c: Likewise.
  896. * rddbg.c: Likewise.
  897. * readelf.c: Likewise.
  898. * stabs.c: Likewise.
  899. * windmc.c: Likewise.
  900. * windres.c: Likewise.
  901. * wrstabs.c: Likewise.
  902. 2020-05-21 Alan Modra <amodra@gmail.com>
  903. * readelf.c (get_num_dynamic_syms): Bounds check mipsxlat array
  904. access.
  905. 2020-05-20 Nelson Chu <nelson.chu@sifive.com>
  906. * dwarf.c: Updated since DECLARE_CSR is changed.
  907. 2020-05-19 H.J. Lu <hjl.tools@gmail.com>
  908. PR binutils/25809
  909. * readelf.c (process_program_headers): Warn if the PT_DYNAMIC
  910. segment doesn't match the .dynamic section and checks are
  911. enabled.
  912. (struct filedata): Add dynamic_symtab_section and
  913. dynamic_strtab_section fields.
  914. (process_section_headers): Set dynamic_symtab_section to the
  915. .dynsym section. Set dynamic_strtab_section to the .dynstr
  916. section.
  917. (process_dynamic_section): Warn if the .dynsym section doesn't
  918. match DT_SYMTAB and DT_SYMENT or the .dynstr section doesn't
  919. DT_STRTAB and DT_STRSZ. But only if checks are enabled.
  920. 2020-05-19 Alan Modra <amodra@gmail.com>
  921. * ar.c (map_over_members, get_pos_bfd, delete_members, move_members),
  922. (replace_members): Use bfd_get_filename rather than accessing
  923. bfd->filename directly.
  924. * arsup.c (map_over_list, ar_delete, ar_replace, ar_extract): Likewise.
  925. * binemul.c (do_ar_emul_append): Likewise.
  926. * coffgrok.c (coff_grok): Likewise.
  927. 2020-05-18 Stafford Horne <shorne@gmail.com>
  928. * MAINTAINERS (OR1K): Add myself as maintainer.
  929. 2020-05-07 Andrew Burgess <andrew.burgess@embecosm.com>
  930. * doc/binutils.texi: Mention 'entry address' in the set-start and
  931. adjust-start options descriptions.
  932. 2020-05-05 Nick Clifton <nickc@redhat.com>
  933. * dwarf.c (do_checks): New global variable.
  934. (display_formatted_table): Warn about an unexpected number of
  935. columns in the table, if checks are enabled. Do not complain
  936. about the lack of data following the number of entries in the
  937. table if the table is empty.
  938. (display_debug_lines_decoded): Only warn about an unexpected
  939. number of columns in a table if checks are enabled.
  940. * dwarf.h (do_checks): Add a prototype.
  941. * elfcomm.c (error): Remove weak attribute.
  942. (warn): Likewise.
  943. * readelf.c (do_checks): Delete.
  944. (warn): Delete.
  945. (process_section_headers): Only warn about empty sections if
  946. checks are enabled.
  947. 2020-05-04 Fangrui Song <maskray@google.com>
  948. * objcopy.c (copy_object): Allow empty section.
  949. * testsuite/binutils-all/update-section.exp: Add test.
  950. 2020-05-04 Nick Clifton <nickc@redhat.com>
  951. PR 25917
  952. * dwarf.c (display_debug_lines_decoded): Warn if encountering a
  953. supicious number of entries for DWARF-5 format directory and file
  954. name tables. Do not display file name table header if the table
  955. is empty. Do not allocate space for empty tables.
  956. 2020-05-04 Alan Modra <amodra@gmail.com>
  957. * readelf.c (process_nds32_specific): Check size of .nds32_e_flags
  958. section. Don't assume endian of host matches nds32 target. Free
  959. buffer.
  960. 2020-05-01 Alan Modra <amodra@gmail.com>
  961. Haim Shimonovich <Haim.Shimonovich@ceva-dsp.com>
  962. * objdump.c (disassemble_bytes): Don't scan for zeros when
  963. disassembling zeros. Translate "resuming at file offset" message.
  964. Formatting. Replace some signed variables with unsigned.
  965. 2020-04-30 Alex Coplan <alex.coplan@arm.com>
  966. * testsuite/binutils-all/aarch64/in-order-all.d: Update to use new
  967. disassembly.
  968. * testsuite/binutils-all/aarch64/out-of-order-all.d: Likewise.
  969. 2020-04-30 Nick Clifton <nickc@redhat.com>
  970. * testsuite/lib/binutils-common.exp (check_pie_support): New
  971. proc.
  972. 2020-04-29 Andrew Burgess <andrew.burgess@embecosm.com>
  973. * dwarf.c (display_debug_ranges): Ignore duplicate entries in
  974. range_entries for the same offset.
  975. 2020-04-29 Nick Clifton <nickc@redhat.com>
  976. * readelf.c (warn): New function - like elfcomm.c version but only
  977. produces output if warnings are enabled.
  978. (struct options): Add --lint and --enable-checks.
  979. (usage): Add entry for --lint.
  980. (parse_args): Handle -L. If checks are enabled but no dumps have
  981. been selected then enable all dumps.
  982. (process_section_headers): Replace long if-then-else sequence with
  983. a switch. Add warning messages for empty SHT_REL, SHT_RELA and
  984. SHT_PROGBITS sections.
  985. (process_file): Do not complain if the file is an archive and lint
  986. mode has been enabled.
  987. * elfcomm.c (error): Make the function weak.
  988. (warn): Likewise.
  989. * NEWS: Mention the new feature.
  990. * doc/binutils.texi: Document the new feature.
  991. * dwarf.h (report_leb_status): Add file name and line number
  992. parameters. Include them in the diagnostic output.
  993. (READ_ULEB): Pass file and line number to report_leb_status.
  994. (READ_SLEB): Likewise.
  995. * dwarf.c (read_and_print_leb128): Pass file and line number to
  996. report_leb_status.
  997. * testsuite/binutils-all/readelf.exp: Add test of new feature.
  998. * testsuite/binutils-all/zero-sec.s: New test source file.
  999. * testsuite/binutils-all/zero-sec.r: Expected output from new
  1000. test.
  1001. 2020-04-29 Nick Clifton <nickc@redhat.com>
  1002. * po/sr.po: Updated Serbian translation.
  1003. 2020-04-26 Alan Modra <amodra@gmail.com>
  1004. * readelf.c (get_num_dynamic_syms): Check DT_MIPS_XHASH was
  1005. read before dereferencing, and gracefully return. Remove
  1006. gnu_hash_error variable. Free gnu hash arrays if number of
  1007. syms found is zero.
  1008. 2020-04-24 Alan Modra <amodra@gmail.com>
  1009. * readelf.c (get_num_dynamic_syms): Check for nbuckets and nchains
  1010. non-zero.
  1011. (process_dynamic_section): Call get_num_dynamic_syms once rather
  1012. than in segment loop. Break out of segment loop on a successful
  1013. load of dynamic symbols. Formatting.
  1014. (process_object): Return error status from process_dynamic_section.
  1015. 2020-04-23 Anton Kolesov <anton.kolesov@synopsys.com>
  1016. * elf-bfd.h (elfcore_write_arc_v2): Add prototype.
  1017. * elf.c (elfcore_grok_arc_v2): New function.
  1018. (elfcore_grok_note): Call the new function to handle the corresponding
  1019. note.
  1020. (elfcore_write_arc_v2): New function.
  1021. (elfcore_write_register_note): Call the new function to handle the
  1022. corresponding pseudo-sections.
  1023. 2020-04-22 Max Filippov <jcmvbkbc@gmail.com>
  1024. PR ld/25861
  1025. * readelf.c (is_none_reloc): Recognize
  1026. BFD_RELOC_XTENSA_PDIFF{8,16,32} and
  1027. BFD_RELOC_XTENSA_NDIFF{8,16,32}.
  1028. 2020-04-22 Nick Clifton <nickc@redhat.com>
  1029. * MAINTAINERS: Remove Chris Faylor as the ix86 PE maintainer.
  1030. 2020-04-22 Alan Modra <amodra@gmail.com>
  1031. * readelf.c (archive_file_offset, archive_file_size, dynamic_addr),
  1032. (dynamic_size, dynamic_nent, dynamic_strings, dynamic_strings_length),
  1033. (num_dynamic_syms, nbuckets, nchains, buckets, chains),
  1034. (ngnubuckets, gnubuckets, gnuchains, mipsxlat, ngnuchains),
  1035. (gnusymidx, dynamic_symbols, dynamic_syminfo, dynamic_syminfo_offset),
  1036. (dynamic_syminfo_nent, program_interpreter, dynamic_info),
  1037. (dynamic_info_DT_GNU_HASH, dynamic_info_DT_MIPS_XHASH, version_info),
  1038. (dynamic_section, symtab_shndx_list, group_count, section_groups),
  1039. (section_headers_groups): Move to struct filedata. Update use
  1040. throughout file.
  1041. 2020-04-22 Alan Modra <amodra@gmail.com>
  1042. * readelf.c (struct dump_data): New, used..
  1043. (cmdline): ..here, and..
  1044. (struct filedata): ..here. Adjust all uses.
  1045. (request_dump_bynumber, request_dump, parse_args): Pass in a
  1046. struct dump_data* rather than Filedata*. Adjust callers.
  1047. (main): Don't set cmdline.file_name.
  1048. 2020-04-20 Alan Modra <amodra@gmail.com>
  1049. * readelf.c (process_symbol_table): Clear ngnuchains, ngnubuckets
  1050. and nbuckets.
  1051. 2020-04-20 Alan Modra <amodra@gmail.com>
  1052. * readelf.c (process_section_headers): Free dynamic symbols etc.
  1053. earlier.
  1054. 2020-04-20 Alan Modra <amodra@gmail.com>
  1055. * readelf.c (get_num_dynamic_syms): Formatting. Don't return
  1056. on error without freeing.
  1057. (process_dynamic_section): Don't recreate dynamic symbols from
  1058. dynamic tag info when the dynamic symbols have already been
  1059. read via section headers.
  1060. 2020-04-17 Fredrik Strupe <fredrik@strupe.net>
  1061. * testsuite/binutils-all/arm/vdup-cond.d: New test for testing that
  1062. conditional VDUP instructions are disassembled correctly.
  1063. * testsuite/binutils-all/arm/vdup-cond.s: New file used by
  1064. vdup-cond.d.
  1065. * testsuite/binutils-all/arm/vdup-thumb.d: New test for testing
  1066. that VDUP instructions (which are conditional in A32) can be
  1067. disassembled in thumb mode.
  1068. * testsuite/binutils-all/arm/vdup-cond.s: New file used by
  1069. vdup-thumb.d.
  1070. 2020-04-17 Alan Modra <amodra@gmail.com>
  1071. PR 25840
  1072. * debug.c (debug_class_type_samep): Don't segfault on NULL type.
  1073. 2020-04-16 Alan Modra <amodra@gmail.com>
  1074. * doc/binutils.texi: Mention --no-show-raw-insn in objdump
  1075. --no-addresses description.
  1076. 2020-04-15 Alan Modra <amodra@gmail.com>
  1077. * objdump.c (no_addresses): New static var.
  1078. (usage): Print help for --no-addresses.
  1079. (long_options): Add --no-addresses entry.
  1080. (objdump_print_addr_with_sym, objdump_print_addr): Omit symbol address.
  1081. (disassemble_bytes): Don't print current line address, or reloc
  1082. address.
  1083. * doc/binutils.texi: Document objdump --no-addresses.
  1084. 2020-04-15 Alan Modra <amodra@gmail.com>
  1085. PR 25822
  1086. * readelf.c (get_num_dynamic_syms): Don't set num_of_syms when
  1087. reading buckets or chains fails.
  1088. 2020-04-15 Alan Modra <amodra@gmail.com>
  1089. * readelf.c (process_symbol_table): Zero gnubuckets, gnuchains
  1090. etc. after freeing.
  1091. 2020-04-15 Alan Modra <amodra@gmail.com>
  1092. * readelf.c (get_group_flags): Translate text.
  1093. (get_file_type, get_symbol_binding, get_symbol_type),
  1094. (get_ppc64_symbol_other, get_symbol_other): Increase size of buffer.
  1095. 2020-04-15 Alan Modra <amodra@gmail.com>
  1096. PR 25821
  1097. * readelf.c (get_num_dynamic_syms): Typo fix.
  1098. 2020-04-14 Alan Modra <amodra@gmail.com>
  1099. * readelf.c (process_mips_specific): Free eopt and iopt. Avoid
  1100. possibility of overflow when checking number of conflicts.
  1101. 2020-04-14 H.J. Lu <hongjiu.lu@intel.com>
  1102. PR binutils/25707
  1103. * readelf.c (nbuckets): New.
  1104. (nchains): Likewise.
  1105. (buckets): Likewise.
  1106. (chains): Likewise.
  1107. (ngnubuckets): Likewise.
  1108. (gnubuckets): Likewise.
  1109. (gnuchains): Likewise.
  1110. (mipsxlat): Likewise.
  1111. (ngnuchains): Likewise.
  1112. (gnusymidx): Likewise.
  1113. (VALID_SYMBOL_NAME): Likewise.
  1114. (VALID_DYNAMIC_NAME): Use it.
  1115. (get_dynamic_data): Moved before process_dynamic_section.
  1116. (get_num_dynamic_syms): New function.
  1117. (process_dynamic_section): Use DT_SYMTAB, DT_SYMENT, DT_HASH,
  1118. DT_GNU_HASH and DT_MIPS_XHASH to reconstruct dynamic symbol
  1119. table. Use DT_STRTAB and DT_STRSZ to reconstruct dynamic string
  1120. table.
  1121. (get_symbol_index_type): Don't print "bad section index" when
  1122. there is no section header.
  1123. (print_dynamic_symbol): Rewrite.
  1124. (process_symbol_table): Call print_dynamic_symbol to dump dynamic
  1125. symbol table.
  1126. 2020-04-02 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
  1127. * testsuite/lib/binutils-common.exp (supports_gnu_osabi): Don't
  1128. enable on *-*-solaris*.
  1129. 2020-03-30 Nick Clifton <nickc@redhat.com>
  1130. PR binutils/25662
  1131. * objcopy.c (copy_object): When copying PE format files set the
  1132. timestamp field in the pe_data structure if the preserve_dates
  1133. flag is set.
  1134. * testsuite/binutils-all/objcopy.exp (objcopy_test) Use
  1135. --preserve-dates in place of the -p option, in order to make its
  1136. effect more obvious.
  1137. 2020-03-28 Alan Modra <amodra@gmail.com>
  1138. * testsuite/binutils-all/objcopy.exp (objcopy_test): Only
  1139. clear_xfail hppa*-*-*elf*. Revert mips xfails.
  1140. 2020-03-28 Alan Modra <amodra@gmail.com>
  1141. * testsuite/binutils-all/objcopy.exp (objcopy_test): Move xfails
  1142. from here to calls. Remove "m8*-*-*" entry. Don't xfail tic54x
  1143. but do xfail spu, mipstx39 and mips-sgi-irix for the executable
  1144. test. Pass "-p" to objcopy for the executable test.
  1145. 2020-03-27 Jozef Lawrynowicz <jozef.l@mittosystems.com>
  1146. PR binutils/25662
  1147. * testsuite/binutils-all/objcopy.exp (objcopy_test): Add argument to
  1148. specify whether an object file or executable should be built and tested.
  1149. Change test names to report whether an object file or executable is
  1150. being tested.
  1151. * testsuite/binutils-all/pr25662.ld: New test.
  1152. * testsuite/binutils-all/pr25662.s: New test.
  1153. 2020-03-27 Alan Modra <amodra@gmail.com>
  1154. * readelf.c (process_archive): Don't double free qualified_name.
  1155. Don't break out of loop with "negative" archive_file_size, just
  1156. set file offset to max.
  1157. 2020-03-25 Alan Modra <amodra@gmail.com>
  1158. * readelf.c (process_archive): Prevent endless loop.
  1159. 2020-03-24 H.J. Lu <hongjiu.lu@intel.com>
  1160. PR binutils/25708
  1161. * nm.c (print_symname): Replace _bfd_elf_get_symbol_version_name
  1162. with bfd_get_symbol_version_string.
  1163. (print_symbo): Pass TRUE to bfd_get_symbol_version_string.
  1164. * objdump.c (objdump_print_symname): Likewise.
  1165. 2020-03-24 H.J. Lu <hongjiu.lu@intel.com>
  1166. PR binutils/25708
  1167. * nm.c (SYM_NAME): Removed.
  1168. (print_symname): Add a pointer to struct extended_symbol_info
  1169. argument. Call _bfd_elf_get_symbol_version_name to get symbol
  1170. version.
  1171. (print_symdef_entry): Pass NULL to print_symname.
  1172. (print_symbol_info_bsd): Update call to print_symname.
  1173. (print_symbol_info_sysv): Likewise.
  1174. (print_symbol_info_posix): Likewise.
  1175. 2020-03-24 Alan Modra <amodra@gmail.com>
  1176. * readelf.c (process_mips_specific): Free iconf on error path.
  1177. 2020-03-23 Nick Clifton <nickc@redhat.com>
  1178. PR 25714
  1179. * wrstabs.c (stab_pop_type): Replace assertion with error return.
  1180. * write_stabs_in_sections_debugging_info: Likewise.
  1181. * stab_enum_type: Likewise.
  1182. * stab_modify_type: Likewise.
  1183. * stab_struct_field: Likewise.
  1184. * stab_end_struct_type: Likewise.
  1185. * stab_start_class_type: Likewise.
  1186. * stab_class_static_member: Likewise.
  1187. * stab_class_baseclass: Likewise.
  1188. * stab_class_start_method: Likewise.
  1189. * stab_class_method_var: Likewise.
  1190. * stab_class_end_method: Likewise.
  1191. * stab_end_class_type: Likewise.
  1192. * stab_typedef_type: Likewise.
  1193. * stab_start_function: Likewise.
  1194. * stab_end_block: Likewise.
  1195. * stab_lineno: Likewise.
  1196. 2020-03-20 Nick Clifton <nickc@redhat.com>
  1197. * readelf.c (get_compression_header): Add ATTRIBUTE_WARN_UNUSED_RESULT.
  1198. (process_section_headers): Check the return value from
  1199. get_compression_header.
  1200. (dump_section_as_strings): Likewise.
  1201. (dump_section_as_bytes): Likewise.
  1202. (load_specific_debug_section): Likewise.
  1203. 2020-03-20 H.J. Lu <hongjiu.lu@intel.com>
  1204. * ar.c (main): Update bfd_plugin_set_program_name call.
  1205. * nm.c (main): Likewise.
  1206. 2020-03-19 Nick Clifton <nickc@redhat.com>
  1207. PR 25676
  1208. * testsuite/binutils-all/dw4.s: New test source file.
  1209. * testsuite/binutils-all/nm.exp: Run the new test.
  1210. 2020-03-19 H.J. Lu <hongjiu.lu@intel.com>
  1211. * readelf.c (process_symbol_table): Use unsigned long for si.
  1212. 2020-03-19 Alan Modra <amodra@gmail.com>
  1213. * elfcomm.c: Don't include bfd.h or bucomm.h.
  1214. (program_name): Declare.
  1215. (process_archive_index_and_symbols): Replace bfd_boolean with int,
  1216. and substitute FALSE and TRUE.
  1217. (setup_archive, setup_nested_archive): Likewise.
  1218. * elfcomm.h: Likewise.
  1219. 2020-03-19 Alan Modra <amodra@gmail.com>
  1220. * readelf.c (process_archive): Always return via path freeing
  1221. memory. Formatting.
  1222. 2020-03-19 Alan Modra <amodra@gmail.com>
  1223. * readelf.c (process_netbsd_elf_note): Validate descsz before
  1224. accessing descdata. Formatting.
  1225. 2020-03-19 Alan Modra <amodra@gmail.com>
  1226. * elfcomm.c (setup_archive): Make file_size an off_t. Comment.
  1227. * elfcomm.h (setup_archive): Update prototype.
  1228. 2020-03-16 Alan Modra <amodra@gmail.com>
  1229. * readelf.c (get_symbols): New function.
  1230. (process_relocs, ia64_process_unwind, hppa_process_unwind),
  1231. (arm_process_unwind, get_symbol_for_build_attribute): Use it.
  1232. 2020-03-16 Alan Modra <amodra@gmail.com>
  1233. * unwind-ia64.c (unw_decode_uleb128): Prevent overlarge shifts.
  1234. Detect shift overflows and check that terminating byte is found.
  1235. Print an error on a bad uleb128.
  1236. 2020-03-14 Alan Modra <amodra@gmail.com>
  1237. * readelf.c (process_file): Clean ba_cache.
  1238. 2020-03-14 Alan Modra <amodra@gmail.com>
  1239. * elfcomm.h (setup_archive): Update prototype.
  1240. * elfcomm.c (setup_archive): Add file_size parameter and sanity
  1241. check longnames_size.
  1242. (setup_nested_archive): Get file size and pass to setup_archive.
  1243. * elfedit.c (process_archive): Likewise.
  1244. * readelf.c (process_archive): Pass filedata->file_size to
  1245. setup_archive.
  1246. 2020-03-14 Alan Modra <amodra@gmail.com>
  1247. * readelf.c (dump_section_as_strings): Free memory on error exit.
  1248. (dump_section_as_bytes, process_notes_at): Likewise.
  1249. (get_build_id): Free enote.
  1250. 2020-03-13 Kamil Rytarowski <n54@gmx.com>
  1251. * readelf.c (get_netbsd_elfcore_note_type): Add support for
  1252. NT_NETBSDCORE_LWPSTATUS notes.
  1253. 2020-03-13 Alan Modra <amodra@gmail.com>
  1254. * elfcomm.c (get_archive_member_name): Always return malloc'd
  1255. string or NULL.
  1256. * elfedit.c (process_archive): Tidy memory on all return paths.
  1257. * readelf.c (process_archive): Likewise.
  1258. (process_symbol_table): Likewise.
  1259. (ba_cache): New, replacing ..
  1260. (get_symbol_for_build_attribute): ..static vars here. Free
  1261. strtab and symtab before loading new ones. Reject symtab without
  1262. valid strtab in loop, breaking out of loop on valid symtab.
  1263. (process_file): Free ba_cache symtab and strtab here, resetting
  1264. ba_cache.
  1265. 2020-03-12 Alan Modra <amodra@gmail.com>
  1266. * readelf.c (process_section_headers): Don't just set
  1267. filedata->section_headers NULL, free it first. Similarly for
  1268. dynamic_symbols, dynamic_strings, dynamic_syminfo and
  1269. symtab_shndx_list. Zero associated counts too.
  1270. (process_object): Free symtab_shndx_list.
  1271. (process_file): Free various allocated filedata tables.
  1272. 2020-03-11 Nick Clifton <nickc@redhat.com>
  1273. PR 25611
  1274. PR 25614
  1275. * dwarf.h (DWARF2_Internal_LineInfo): Add li_address_size and
  1276. li_segment_size fields.
  1277. * dwarf.c (read_debug_line_header): Record the address size and
  1278. segment selector size values (if present) in the lineinfo
  1279. structure.
  1280. (display_formatted_table): Warn if the format count is empty but
  1281. the table itself is not empty.
  1282. Display the format count and entry count at the start of the table
  1283. dump.
  1284. (display_debug_lines_raw): Display the address size and segement
  1285. selector size fields, if present.
  1286. * testsuite/binutils-all/dw5.W: Update expected output.
  1287. 2020-03-11 Alan Modra <amodra@gmail.com>
  1288. PR 25651
  1289. * objcopy.c (copy_object): Test "gaps" not gap_fill_set or
  1290. pad_to_set on second block of code dealing with padding.
  1291. Replace "c" with "num_sec" and don't recalculate number of
  1292. sections on second block. Size arrays using sizeof (element)
  1293. rather than sizeof (element type).
  1294. 2020-03-10 Alan Modra <amodra@gmail.com>
  1295. * objdump.c (disassemble_section): Don't call qsort unless
  1296. sym count is at least two.
  1297. (disassemble_data): Don't call memcpy with NULL src.
  1298. 2020-03-09 Alan Modra <amodra@gmail.com>
  1299. PR 25645
  1300. * readelf.c (dump_ia64_vms_dynamic_fixups): Pass size and nmemb
  1301. to get_data rather than multiplying.
  1302. (dump_ia64_vms_dynamic_relocs): Likewise.
  1303. (process_version_sections): Correct order of size and nmemb args
  1304. in get_data call.
  1305. (process_mips_specific): Likewise.
  1306. 2020-03-08 H.J. Lu <hongjiu.lu@intel.com>
  1307. * readelf.c (get_dynamic_data): Replace "memory chekers" with
  1308. "memory checkers" in comments.
  1309. 2020-03-06 Simon Marchi <simon.marchi@efficios.com>
  1310. PR 25491
  1311. * doc/Makefile.am: Rename MOSTLYCLEANFILES to MAINTAINERCLEANFILES.
  1312. * doc/Makefile.in: Re-generate.
  1313. 2020-03-06 Nick Clifton <nickc@redhat.com>
  1314. * objcopy.c (check_new_section_flags): New function. Reject the
  1315. SEC_COFF_SHARED flag if the target is not a COFF binary.
  1316. (copy_object): Call check_new_section_flags.
  1317. (setup_section): Likewise.
  1318. * doc/binutils.texi (objcopy): Add a note that the 'share' section
  1319. flag cannot be applied to ELF binaries.
  1320. 2020-03-06 Alan Modra <amodra@gmail.com>
  1321. PR 25637
  1322. * objcopy.c (filter_symbols): Correct rem_leading_char logic.
  1323. 2020-03-05 Alan Modra <amodra@gmail.com>
  1324. PR 25629
  1325. * objcopy.c (filter_symbols): Don't segfault on NULL
  1326. prefix_symbols_string.
  1327. 2020-03-04 Christian Eggers <ceggers@gmx.de>
  1328. * objcopy.c (copy_object): Convert from bytes to octets for
  1329. --gap-fill and --pad-to.
  1330. 2020-03-03 Nick Clifton <nickc@redhat.com>
  1331. PR 25625
  1332. * prdbg.c (pr_tag_type): Remove call to abort.
  1333. 2020-03-02 Aaron Merey <amerey@redhat.com>
  1334. * binutils/testsuite/binutils-all/debuginfod.exp: Improve port
  1335. selection.
  1336. 2020-03-02 Nick Clifton <nickc@redhat.com>
  1337. PR 25543
  1338. * readelf.c (dump_section_as_strings): Display new-line characters
  1339. as \n and then insert a line break.
  1340. * testsuite/binutils-all/pr25543.s: New test.
  1341. * testsuite/binutils-all/pr25543.d: Test driver.
  1342. * testsuite/binutils-all/readelf.exp: Run the new test.
  1343. 2020-02-27 Nick Clifton <nickc@redhat.com>
  1344. PR 25526
  1345. * readelf.c (process_ia64_vms_dynamic_relocs): Check to see if
  1346. get_data is unable to load the string table.
  1347. 2020-02-26 Alan Modra <amodra@gmail.com>
  1348. * elfedit.c: Indent labels correctly.
  1349. * readelf.c: Likewise.
  1350. * resres.c: Likewise.
  1351. 2020-02-25 H.J. Lu <hongjiu.lu@intel.com>
  1352. PR binutils/25584
  1353. * ar.c (main): Pass 0 to bfd_plugin_set_program_name.
  1354. * nm.c (main): Pass 1 to bfd_plugin_set_program_name.
  1355. 2020-02-24 Nick Clifton <nickc@redhat.com>
  1356. PR 25499
  1357. * doc/binutils.texi (objdump): Fix typo in description of
  1358. objdump's -g option.
  1359. 2020-02-20 Nelson Chu <nelson.chu@sifive.com>
  1360. * dwarf.c (regname_internal_riscv): Updated since the DECLARE_CSR
  1361. is changed.
  1362. 2020-02-19 Jordan Rupprecht <rupprecht@google.com>
  1363. * objdump.c (show_line): call bfd_demangle when using do_demangle.
  1364. 2020-02-19 Andrew Burgess <andrew.burgess@embecosm.com>
  1365. * configure: Regenerate.
  1366. 2020-02-10 Fangrui Song <maskray@google.com>
  1367. * objcopy.c (parse_flags): Handle "exclude".
  1368. * doc/binutils.texi: Document the support.
  1369. 2020-02-10 Aaron Merey <amerey@redhat.com>
  1370. * binutils/testsuite/binutils-all/debuginfod.exp:
  1371. Replace set ::env with setenv.
  1372. Start server before setting environment variable.
  1373. Specify tmpdir as the location of the server's
  1374. database.
  1375. Check additional server metrics at start-up.
  1376. 2020-02-07 Nick Clifton <nickc@redhat.com>
  1377. * README-how-to-make-a-release: Add note about updating the
  1378. GAS/NEWS URL in the next release.
  1379. 2020-02-07 Sergey Belyashov <sergey.belyashov@gmail.com>
  1380. PR 25469
  1381. * readelf.c (get_machine_flags): Add support for Z80N machine
  1382. number.
  1383. 2020-02-07 Nick Clifton <nickc@redhat.com>
  1384. * dwarf.c (display_debug_lines_decoded): Force a NUL termination
  1385. of the truncated file name.
  1386. 2020-02-06 Andrew Burgess <andrew.burgess@embecosm.com>
  1387. * objdump.c (print_jump_visualisation): New function.
  1388. (disassemble_bytes): Call new function.
  1389. 2020-02-06 Alan Modra <amodra@gmail.com>
  1390. * testsuite/lib/binutils-common.exp (match_target): Accept '!' before
  1391. TCL procedure.
  1392. (supports_gnu_osabi): New procedure.
  1393. (is_generic): New, from ld-lib.exp.
  1394. (supports_gnu_unique): Use the above.
  1395. 2020-02-04 Alan Modra <amodra@gmail.com>
  1396. * Makefile.am (CFILES): Add od-elf32_avr.c.
  1397. * Makefile.in: Regenerate.
  1398. * po/POTFILES.in: Regenerate.
  1399. 2020-02-03 Andreas Schwab <schwab@linux-m68k.org>
  1400. * readelf.c (dump_relocations, dump_relocations)
  1401. (decode_arm_unwind_bytecode, process_dynamic_section)
  1402. (get_symbol_visibility, get_alpha_symbol_other): Add newline to
  1403. error message.
  1404. 2020-02-03 Sergei Trofimovich <siarheit@google.com>
  1405. * coffdump.c (program_name): Drop redundant definition.
  1406. * srconv.c (program_name): Likewise
  1407. * sysdump.c (program_name): Likewise
  1408. 2020-02-02 H.J. Lu <hongjiu.lu@intel.com>
  1409. PR gas/25380
  1410. * objdump.c (sym_ok): Return FALSE if 2 sections are in the
  1411. same file with different section pointers.
  1412. 2020-02-01 Nick Clifton <nickc@redhat.com>
  1413. * README-how-to-make-a-release: Update with more details on the
  1414. release making process.
  1415. 2020-01-31 Nick Clifton <nickc@redhat.com>
  1416. * po/sv.po: Updated Swedish translation.
  1417. 2020-01-28 Nick Clifton <nickc@redhat.com>
  1418. * readelf.c (get_build_id): Simplify warning message about corrupt
  1419. notes encountered whilst scanning for the build-id.
  1420. 2020-01-27 Roland McGrath <mcgrathr@google.com>
  1421. * objcopy.c (compare_gnu_build_notes): Fix comparison results
  1422. for overlapping ranges so that (A == B) == (B == A) holds.
  1423. 2020-01-27 Alan Modra <amodra@gmail.com>
  1424. * testsuite/lib/binutils-common.exp (big_or_little_endian): Replace
  1425. case statement with switch statement.
  1426. 2020-01-24 Nick Clifton <nickc@redhat.com>
  1427. * readelf.c (get_build_id): Fix warning messages about corrupt
  1428. notes.
  1429. 2020-01-23 Nick Clifton <nickc@redhat.com>
  1430. * po/fr.po: Updated French translation.
  1431. 2020-01-22 Yuri Chornoivan <yurchor@mageia.org>
  1432. PR 25417
  1433. * readelf.c (get_alpha_symbol_other): Fix error message typo.
  1434. 2020-01-20 Nick Clifton <nickc@redhat.com>
  1435. * po/pt.po: Updated Portuguese translation.
  1436. * po/uk.po: Updated Ukranian translation.
  1437. 2020-01-18 Nick Clifton <nickc@redhat.com>
  1438. * README-how-to-make-a-release: Update notes on how to cut a
  1439. branch for a release.
  1440. 2020-01-18 Nick Clifton <nickc@redhat.com>
  1441. * configure: Regenerate.
  1442. * po/binutils.pot: Regenerate.
  1443. 2020-01-18 Nick Clifton <nickc@redhat.com>
  1444. Binutils 2.34 branch created.
  1445. 2020-01-17 Thomas Troeger <tstroege@gmx.de>
  1446. * objdump.c (jump_info_visualize_address): Discard jumps that are
  1447. no longer needed.
  1448. (disassemble_bytes): Only compute the maximum level if jumps were
  1449. detected.
  1450. 2020-01-13 Nick Clifton <nickc@redhat.com>
  1451. * objdump.c (disassemble_bytes): Remove C99-ism.
  1452. * testsuite/binutils-all/debuginfod.exp: New tests.
  1453. 2020-01-13 Thomas Troeger <tstroege@gmx.de>
  1454. * objdump.c (visualize_jumps, color_output, extended_color_output)
  1455. (detected_jumps): New variables.
  1456. (usage): Add the new jump visualization options.
  1457. (option_values): Add new option value.
  1458. (long_options): Add the new option.
  1459. (jump_info_new, jump_info_free): New functions.
  1460. (jump_info_min_address, jump_info_max_address): Likewise.
  1461. (jump_info_end_address, jump_info_is_start_address): Likewise.
  1462. (jump_info_is_end_address, jump_info_size): Likewise.
  1463. (jump_info_unlink, jump_info_insert): Likewise.
  1464. (jump_info_add_front, jump_info_move_linked): Likewise.
  1465. (jump_info_intersect, jump_info_merge): Likewise.
  1466. (jump_info_sort, jump_info_visualize_address): Likewise.
  1467. (disassemble_jumps): New function - used to locate jumps.
  1468. (disassemble_bytes): Add ascii art generation.
  1469. (disassemble_section): Add scan to locate jumps.
  1470. (main): Parse the new visualization option.
  1471. * doc/binutils.texi: Document the new feature.
  1472. * NEWS: Mention the new feature.
  1473. 2020-01-13 Alan Modra <amodra@gmail.com>
  1474. PR 25360
  1475. PR 25361
  1476. * dwarf.c (display_debug_frames): Move fde_fc earlier. Free
  1477. fde_fc col_type and col_offset.
  1478. * readelf.c (apply_relocations): Move symsec check earlier.
  1479. (free_debug_section): Free reloc_info.
  1480. (process_notes_at): Free pnotes on error path.
  1481. (process_object): Free dump_sects here..
  1482. (process_archive): ..not here.
  1483. 2020-01-13 Alan Modra <amodra@gmail.com>
  1484. PR 25362
  1485. * nm.c (display_rel_file): Free dyn_syms.
  1486. 2020-01-09 Nick Clifton <nickc@redhat.com>
  1487. PR 25220
  1488. * objcopy.c (empty_name): New variable.
  1489. (need_sym_before): Prevent an attempt to free a static variable.
  1490. (filter_symbols): Avoid strcmp test by checking for pointer
  1491. equality.
  1492. 2020-01-09 Nick Clifton <nickc@redhat.com>
  1493. * po/zh_TW.po: Updated Traditional Chinese translation.
  1494. 2020-01-09 Aaron Merey <amerey@redhat.com>
  1495. * Makefile.am (readelf_LDADD, objdump_LDADD): Add libdebuginfod.
  1496. * Makefile.in: Regenerate.
  1497. * NEWS: Update.
  1498. * config.in: Regenerate.
  1499. * configure: Regenerate.
  1500. * configure.ac: Call AC_DEBUGINFOD.
  1501. * doc/Makefile.in: Regenerate.
  1502. * doc/binutils.texi: Add section on using binutils
  1503. with debuginfod.
  1504. * dwarf.c (debuginfod_fetch_separate_debug_info): New function.
  1505. Query debuginfod servers for the target debug file.
  1506. (load_separate_debug_info): Call
  1507. debuginfod_fetch_separate_debug_info if configured with
  1508. debuginfod.
  1509. (load_separate_debug_files): Add file argument to
  1510. load_separate_debug_info calls.
  1511. * dwarf.h (get_build_id): Add declaration.
  1512. * objdump.c (get_build_id): New function. Get build-id of file.
  1513. * readelf.c (get_build_id): Likewise.
  1514. * testsuite/binutils-all/debuginfod.exp: New tests.
  1515. * testsuite/binutils-all/linkdebug.s: Add .note.gnu.build-id
  1516. section.
  1517. 2020-01-02 Sergey Belyashov <sergey.belyashov@gmail.com>
  1518. * readelf.c: Add support for new Z*) relocations and machine
  1519. types.
  1520. 2020-01-01 Alan Modra <amodra@gmail.com>
  1521. Update year range in copyright notice of all files.
  1522. For older changes see ChangeLog-2019
  1523. Copyright (C) 2020 Free Software Foundation, Inc.
  1524. Copying and distribution of this file, with or without modification,
  1525. are permitted in any medium without royalty provided the copyright
  1526. notice and this notice are preserved.
  1527. Local Variables:
  1528. mode: change-log
  1529. left-margin: 8
  1530. fill-column: 74
  1531. version-control: never
  1532. End: