ChangeLog-9899 64 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495969798991001011021031041051061071081091101111121131141151161171181191201211221231241251261271281291301311321331341351361371381391401411421431441451461471481491501511521531541551561571581591601611621631641651661671681691701711721731741751761771781791801811821831841851861871881891901911921931941951961971981992002012022032042052062072082092102112122132142152162172182192202212222232242252262272282292302312322332342352362372382392402412422432442452462472482492502512522532542552562572582592602612622632642652662672682692702712722732742752762772782792802812822832842852862872882892902912922932942952962972982993003013023033043053063073083093103113123133143153163173183193203213223233243253263273283293303313323333343353363373383393403413423433443453463473483493503513523533543553563573583593603613623633643653663673683693703713723733743753763773783793803813823833843853863873883893903913923933943953963973983994004014024034044054064074084094104114124134144154164174184194204214224234244254264274284294304314324334344354364374384394404414424434444454464474484494504514524534544554564574584594604614624634644654664674684694704714724734744754764774784794804814824834844854864874884894904914924934944954964974984995005015025035045055065075085095105115125135145155165175185195205215225235245255265275285295305315325335345355365375385395405415425435445455465475485495505515525535545555565575585595605615625635645655665675685695705715725735745755765775785795805815825835845855865875885895905915925935945955965975985996006016026036046056066076086096106116126136146156166176186196206216226236246256266276286296306316326336346356366376386396406416426436446456466476486496506516526536546556566576586596606616626636646656666676686696706716726736746756766776786796806816826836846856866876886896906916926936946956966976986997007017027037047057067077087097107117127137147157167177187197207217227237247257267277287297307317327337347357367377387397407417427437447457467477487497507517527537547557567577587597607617627637647657667677687697707717727737747757767777787797807817827837847857867877887897907917927937947957967977987998008018028038048058068078088098108118128138148158168178188198208218228238248258268278288298308318328338348358368378388398408418428438448458468478488498508518528538548558568578588598608618628638648658668678688698708718728738748758768778788798808818828838848858868878888898908918928938948958968978988999009019029039049059069079089099109119129139149159169179189199209219229239249259269279289299309319329339349359369379389399409419429439449459469479489499509519529539549559569579589599609619629639649659669679689699709719729739749759769779789799809819829839849859869879889899909919929939949959969979989991000100110021003100410051006100710081009101010111012101310141015101610171018101910201021102210231024102510261027102810291030103110321033103410351036103710381039104010411042104310441045104610471048104910501051105210531054105510561057105810591060106110621063106410651066106710681069107010711072107310741075107610771078107910801081108210831084108510861087108810891090109110921093109410951096109710981099110011011102110311041105110611071108110911101111111211131114111511161117111811191120112111221123112411251126112711281129113011311132113311341135113611371138113911401141114211431144114511461147114811491150115111521153115411551156115711581159116011611162116311641165116611671168116911701171117211731174117511761177117811791180118111821183118411851186118711881189119011911192119311941195119611971198119912001201120212031204120512061207120812091210121112121213121412151216121712181219122012211222122312241225122612271228122912301231123212331234123512361237123812391240124112421243124412451246124712481249125012511252125312541255125612571258125912601261126212631264126512661267126812691270127112721273127412751276127712781279128012811282128312841285128612871288128912901291129212931294129512961297129812991300130113021303130413051306130713081309131013111312131313141315131613171318131913201321132213231324132513261327132813291330133113321333133413351336133713381339134013411342134313441345134613471348134913501351135213531354135513561357135813591360136113621363136413651366136713681369137013711372137313741375137613771378137913801381138213831384138513861387138813891390139113921393139413951396139713981399140014011402140314041405140614071408140914101411141214131414141514161417141814191420142114221423142414251426142714281429143014311432143314341435143614371438143914401441144214431444144514461447144814491450145114521453145414551456145714581459146014611462146314641465146614671468146914701471147214731474147514761477147814791480148114821483148414851486148714881489149014911492149314941495149614971498149915001501150215031504150515061507150815091510151115121513151415151516151715181519152015211522152315241525152615271528152915301531153215331534153515361537153815391540154115421543154415451546154715481549155015511552155315541555155615571558155915601561156215631564156515661567156815691570157115721573157415751576157715781579158015811582158315841585158615871588158915901591159215931594159515961597159815991600160116021603160416051606160716081609161016111612161316141615161616171618161916201621162216231624162516261627162816291630163116321633163416351636163716381639164016411642164316441645164616471648164916501651165216531654165516561657165816591660166116621663166416651666166716681669167016711672167316741675167616771678167916801681168216831684168516861687168816891690169116921693169416951696169716981699170017011702170317041705170617071708170917101711171217131714171517161717171817191720172117221723172417251726172717281729173017311732173317341735173617371738173917401741174217431744174517461747174817491750175117521753175417551756175717581759176017611762176317641765176617671768176917701771177217731774177517761777177817791780178117821783178417851786178717881789179017911792179317941795179617971798179918001801180218031804180518061807180818091810181118121813181418151816181718181819182018211822182318241825182618271828182918301831183218331834183518361837183818391840184118421843184418451846184718481849185018511852185318541855185618571858185918601861186218631864186518661867186818691870187118721873187418751876187718781879188018811882188318841885188618871888188918901891189218931894189518961897189818991900190119021903190419051906190719081909191019111912191319141915
  1. 1999-12-28 Nick Clifton <nickc@cygnus.com>
  2. * readelf.c: Update with new constants added by Oct 4, 1999
  3. ELF ABI draft.
  4. (guess_is_rela): Add new machine codes, but leave
  5. rel type undetermined.
  6. (get_machine_name): Add new machine codes.
  7. (get_section_type_name): Add new section types.
  8. (get_elf_section_flags): New function: Decode section flags.
  9. (process_section_headers): Call get_elf_section_flags() in
  10. order to decode flags in section header.
  11. (get_dynamic_flags): New function: Decode dynamic section
  12. flags.
  13. (process_dynamic_section): Display flags (if present).
  14. (get_symbol_type): Add STT_COMMON.
  15. (get_symbol_visibility): New function: Decode a symbol's
  16. visibility.
  17. (process_symbol_table): Call get_symbol_visibility().
  18. (get_note_type): Add NT_PRXFPREGS.
  19. 1999-12-26 Ian Lance Taylor <ian@zembu.com>
  20. * strings.c (main): Correct handling of numeric argument.
  21. 1999-12-23 Andrew Haley <aph@cygnus.com>
  22. * dlltool.c (mtable): mcore how_jtab_roff is 4 bytes into the
  23. jtab; was 8.
  24. 1999-12-17 Nick Clifton <nickc@cygnus.com>
  25. * dlltool.c (mtable): Stop compile time warnings about missing
  26. initialisers.
  27. (yyerror): Stop compile time warnings about unused paramater.
  28. (INIT_SEC_DATA): New macro: initialise an entry in the secdata
  29. array.
  30. (secdata): Stop ccompile time warnings about uninitialised
  31. fields.
  32. (dtab): Stop compile time warnings about unused parameter.
  33. (long_options): Stop compile time warning about missing
  34. initialiser.
  35. 1999-12-10 Nick Clifton <nickc@cygnus.com>
  36. * readelf.c (print_vma): Support native 64bit ELF systems.
  37. 1999-12-09 Nick Clifton <nickc@cygnus.com>
  38. * dlltool.c (mtable): Add epoc-arm specific entry.
  39. Make default arm entry pass -mpacs-26 to assembler.
  40. (flush_page): Do not mangle null entries.
  41. 1999-12-07 H . J . Lu hjl@valinux.com
  42. * readelf.c: Fix compile time warnings. Support more than 999
  43. symbols.
  44. 1999-12-03 Nick Clifton <nickc@cygnus.com>
  45. * readelf.c (enum print_mode): New type.
  46. (print_vma): New function.
  47. (dump_relocations): Use print_vma to display bfd_vma values.
  48. (process_file_header): Use print_vma to display bfd_vma values.
  49. (process_program_headers): Use print_vma to display bfd_vma values.
  50. (process_section_headers): Use print_vma to display bfd_vma values.
  51. (dynamic_segment_parisc_val): Use print_vma to display bfd_vma values.
  52. (process_dynamic_segment): Use print_vma to display bfd_vma values.
  53. (process_symbol_table): Use print_vma to display bfd_vma values.
  54. (process_mips_specific): Use print_vma to display bfd_vma values.
  55. 1999-11-25 Fred Fish <fnf@cygnus.com>
  56. * readelf.c (process_note): Change arg from Elf_External_Note
  57. to Elf32_Internal_Note, which also turns the function body
  58. into little more than a call to printf.
  59. (process_corefile_note_segment): Substantially rewritten
  60. to properly handle case where target and host are different
  61. endianness, handle note sections with padding, and add some
  62. cruft to handle notes with unterminated name data.
  63. 1999-11-22 Nick Clifton <nickc@cygnus.com>
  64. * objcopy.c (copy_usage): Reformat.
  65. (strip_usage): Reformat.
  66. 1999-11-21 Nick Clifton <nickc@cygnus.com>
  67. * objdump.c (usage): Overhaul output: One line per switch.
  68. Textual description of each switch. Distinguish between
  69. optional switches and required switches.
  70. (long_options): Add 'g', 'G' and 'z' short options.
  71. (main): Distinguish between optional switches and required
  72. switches.
  73. * binutils.texi: Add -g -G and -z short options for
  74. --debugging, --stabs and --disassemble-zeroes.
  75. 1999-11-03 Nick Clifton <nickc@cygnus.com>
  76. * dlltool.c (flush_page): Clip short values to prevent warnings
  77. from the assembler.
  78. Change default mcore machine name to 'mcore-le' and rename
  79. big-endian version to 'mcore-be'.
  80. 1999-10-27 Fred Fish <fnf@cygnus.com>
  81. * objdump.c (display_bfd): Break into two functions. The
  82. actual dumping code moves to dump_bfd. If bfd is not
  83. unambiguously recognized as a bfd_object, attempt to dump
  84. it as a bfd_core.
  85. (dump_bfd): New function.
  86. 1999-10-26 Nick Clifton <nickc@cygnus.com>
  87. * dlltool.c (assemble_file): Remove spurious test of exp_name.
  88. 1999-10-22 Nick Clifton <nickc@cygnus.com>
  89. * dlltool.c (struct mac): Add new field 'how_default_as_switches'.
  90. (mtable): Initialise new field. Some machines have a non empty
  91. string for this field.
  92. (HOW_BFD_TARGET): Undefine and replace with...
  93. (HOW_BFD_READ_TARGET): New macro: bfd target to use when opening a
  94. file for reading. This is set to 0 so that any recognisable bfd
  95. format can be read.
  96. (HOW_BFD_WRITE_TARGET): New macro: bfd target to use when opening
  97. a file for writing. This is set to the target machine type.
  98. (ASM_SWITCHES): New macro: default switches to use when assembling
  99. a file.
  100. (assemble_file): New function: Assemble a source file into a
  101. destination object file.
  102. (gen_exp_file): Use assemble_file to create the exp file.
  103. (make_one_lib_file): Use assemble_file to create the lib file.
  104. Open output file use HOW_BFD_WRITE_TARGET and input files using
  105. HOW_BFD_READ_TARGET.
  106. (make_head): Use assemble_file to create the head file.
  107. (make_tail): Use assemble_file to create the tail file.
  108. (gen_lib_file): Open output file use HOW_BFD_WRITE_TARGET.
  109. 1999-10-15 Ian Lance Taylor <ian@zembu.com>
  110. * ar.c (normalize): Fix full_pathname code.
  111. 1999-10-08 Ben Elliston <bje@cygnus.com>
  112. * binutils.texi: Some rewording and clarifications.
  113. 1999-09-15 Ulrich Drepper <drepper@cygnus.com>
  114. * readelf.c (dynamic_segment_parisc_val): Print 0 for DLD_FLAGS if
  115. the value is zero.
  116. (process_symbol_table): Don't print histogram if hash table is empty.
  117. 1999-09-15 Ulrich Drepper <drepper@cygnus.com>
  118. * readelf.c (get_parisc_dynamic_type): Handle DT_HP_GST_* values.
  119. 1999-09-02 Ulrich Drepper <drepper@cygnus.com>
  120. * readelf.c (get_symbol_type): Add support for HPUX and PARISC
  121. specific symbol types.
  122. * readelf.c: Add HPUX and PARISC extensions to dynamic and program
  123. header table printing.
  124. * readelf.c (get_machine_flags): Add handling of PARISC.
  125. 1999-09-29 Mumit Khan <khan@xraylith.wisc.edu>
  126. * dlltool.c (scan_drectve_symbols): Handle type tags in exported
  127. symbols.
  128. (scan_filtered_symbols): Likewise.
  129. 1999-09-19 Ian Lance Taylor <ian@zembu.com>
  130. * resrc.c (write_rc_rcdata): Fix local variable shadowing
  131. problem. If RCDATA_BUFFER data can be read as strings, modify
  132. code to print the strings as comments.
  133. * resres.c: Add casts to avoid warnings.
  134. (write_res_data, read_res_data): Don't put the program name in the
  135. error message; fatal already puts it there.
  136. 1999-09-14 Michael Meissner <meissner@cygnus.com>
  137. * configure.in (Canonicalization of target names): Remove adding
  138. ${CONFIG_SHELL} in front of $ac_config_sub, since autoconfig 2.14
  139. generates $ac_config_sub with a ${CONFIG_SHELL} already.
  140. * configure: Regenerate.
  141. 1999-09-12 Ian Lance Taylor <ian@zembu.com>
  142. * ar.c (main): Clear output_file if we don't change the archive.
  143. (delete_members, replace_members): Likewise.
  144. 1999-09-12 Donn Terry <donn@interix.com>
  145. * objdump.c (dump_headers): If wide_output, print Flags header.
  146. * objdump.c (dump_section_header): Print any comdat information.
  147. * objcopy.c (parse_flags): Handle "noload", "debug", and "share".
  148. * binutils.texi, objcopy.1: Document new flags.
  149. * ar.c (counted_name_mode): New static variable.
  150. (counted_name_counter): New static variable.
  151. (map_over_members): Handle counted mode.
  152. (usage): Mention N modifier.
  153. (main): Handle N modifier.
  154. (delete_members): Handle counted mode.
  155. * binutils.texi, ar.1: Document N modifier.
  156. * ar.c (print_contents): Change printing of member name for
  157. POSIX.2 conformance.
  158. * ar.c (output_filename): Make const.
  159. (open_inarch): If creating a new empty archive, set
  160. output_filename.
  161. 1999-09-12 Ian Lance Taylor <ian@zembu.com>
  162. * ar.c (full_pathname): New static variable.
  163. (map_over_members): Call normalize on command line parameter.
  164. (usage): Mention P modifier.
  165. (normalize): If full_pathname is true, don't do anything.
  166. (main): Accept P modifier.
  167. (delete_members): Call normalize on command line parameter.
  168. * binutils.texi, ar.1: Document P modifier.
  169. 1999-09-09 Andreas Schwab <schwab@suse.de>
  170. * binutils.texi: Add info dir entries for all programs described
  171. here. Fix arguments of @var to not contain punctuation.
  172. 1999-09-06 Donn Terry <donn@interix.com>
  173. * nm.c (print_symbol_info_bsd): Check for 'w' as well as 'U'.
  174. (print_symbol_info_sysv): Likewise.
  175. (print_symbol_info_posix): Likewise.
  176. 1999-09-04 Steve Chamberlain <sac@pobox.com>
  177. * readelf.c: Include "elf/pj.h".
  178. (dump_relocations): Handle EM_PJ.
  179. (get_machine_name): Likewise.
  180. (get_machine_flags): Likewise.
  181. 1999-08-31 Scott Bambrough <scottb@netwinder.org>
  182. * readelf.c (get_note_type): New function: Decode the e_type
  183. value of a note.
  184. (process_note): New function: Display the contents of a core note.
  185. (process_corefile_note_segment): New function.
  186. (process_corefile_note_segments): New function.
  187. (process_corefile_contents): New function.
  188. (process_file): Add call to process_corefile_contents.
  189. (parse_args): Add parsing of -n/--notes command line switch.
  190. (usage): Document new command line switch.
  191. * binutils.texi: Documemnt new command line switch to readelf.
  192. 1999-08-31 Ian Lance Taylor <ian@zembu.com>
  193. * binutils.texi (Bug Reporting): Clarify that large files should
  194. not be sent to bug-gnu-utils.
  195. 1999-08-28 Stephane Carrez <stcarrez@worldnet.fr>
  196. * readelf.c (process_extended_line_op): New parameter pointer_size,
  197. read the address according to pointer_size.
  198. (debug_line_pointer_size): New global to indicate the
  199. size of address in .debug_line section.
  200. (debug_displays, prescan_debug_info): Prescan the .debug_info section
  201. to record the size of address in `debug_line_pointer_size'.
  202. (process_section_contents): Before dumping any section, execute
  203. the pre-scan operation defined for some debug sections.
  204. 1999-08-27 Jim Wilson <wilson@cygnus.com>
  205. * readelf.c (display_debug_lines): Use i-1 not i in standard_opcodes
  206. access.
  207. (display_debug_aranges): New local excess. Use for calculating padding
  208. and add that into ranges. Break from loop only if length is also 0.
  209. 1999-08-27 Jim Wilson <wilson@cygnus.com>
  210. * readelf.c (display_debug_lines, case DW_LNS_const_add_pc): Multiply
  211. adv by info.li_min_insn_length.
  212. 1999-08-26 Jakub Jelinek <jj@ultra.linux.cz>
  213. * readelf.c (get_sparc64_dynamic_type): New function.
  214. (get_dynamic_type): Use it.
  215. 1999-08-26 Jim Wilson <wilson@cygnus.com>
  216. * readelf.c (display_debug_lines, case default): Change second line
  217. setting adv to use = not +=.
  218. 1999-08-19 Nick Clifton <nickc@cygnus.com>
  219. * dlltool.c: Added more examples to the comment at the start.
  220. 1999-08-18 Nick Clifton <nickc@cygnus.com>
  221. * dlltool.c (make_head): Only emit interworking directive if
  222. necessary.
  223. Thu Jul 15 22:44:21 1999 Hans-Peter Nilsson <hp@bitrange.com>
  224. * readelf.c (process_abbrev_section): Handle standard-conforming
  225. single zero at the end of the section.
  226. 1999-08-09 Ian Lance Taylor <ian@zembu.com>
  227. * objdump.c (exit_status): New static variable.
  228. (nonfatal): New static function.
  229. (disassemble_data): Set exit_status on error.
  230. (read_section_stabs): Likewise.
  231. (display_bfd): Likewise. Call nonfatal rather than bfd_nonfatal.
  232. (display_file): Call nonfatal rather than bfd_nonfatal.
  233. (display_target_list, display_info_table): Likewise.
  234. (main): Return exit_status rather than 0.
  235. 1999-08-08 Ian Lance Taylor <ian@zembu.com>
  236. * objdump.c (dump_section_header): Update for renaming of
  237. SEC_SHORT to SEC_SMALL_DATA. Print SEC_SHARED flag.
  238. From Eli Zaretskii <eliz@gnu.org>:
  239. * binutils.texi: Document cxxfilt as MS-DOS name for c++filt.
  240. * configure.in: Define and substitute DEMANGLER_NAME.
  241. * Makefile.am (DEMANGLER_PROG): Set to cxxfilt.
  242. (man_MANS): Use DEMANGLER_NAME rather than DEMANGLER_PROG.
  243. (bin_PROGRAMS): Remove $(DEMANGLER_PROG).
  244. (noinst_PROGRAMS): Add $(DEMANGLER_PROG).
  245. (cxxfilt_SOURCES): Rename from c__filt_SOURCES.
  246. (cxxfilt_LDADD): Rename from c__filt_LDADD.
  247. ($(DEMANGLER_NAME).1): Rename from $(DEMANGLER_PROG).1. Use
  248. DEMANGLER_NAME rather than DEMANGLER_PROG in substitution.
  249. (MOSTLYCLEANFILES): Use DEMANGLER_NAME rather than
  250. DEMANGLER_PROG.
  251. (install-exec-local): When installing noinst_PROGRAMS, change
  252. cxxfilt to $(DEMANGLER_NAME).
  253. * configure, Makefile.in: Rebuild.
  254. * Makefile.am: Rename .dep* files to DEP*. Change DEP variable to
  255. MKDEP.
  256. * Makefile.in: Rebuild.
  257. 1999-08-05 Donn Terry <donn@interix.com>
  258. * Makefile.am (YACC): If bison is not in the source tree, use
  259. @YACC@ rather than bison -y.
  260. (LEX): If flex is not in the source tree, use @LEX@ rather than
  261. flex.
  262. * configure.in: Build dlltool for i[3-6]86-*-interix.
  263. * Makefile.in, configure: Rebuild.
  264. 1999-07-21 Ian Lance Taylor <ian@zembu.com>
  265. From Mark Elbrecht:
  266. * configure.bat: Remove; obsolete.
  267. 1999-07-16 Jakub Jelinek <jj@ultra.linux.cz>
  268. * readelf.c (get_machine_flags): Print EF_SPARC_SUN_US3.
  269. 1999-07-15 Ian Lance Taylor <ian@zembu.com>
  270. * configure.in: Bump version number to 2.9.5.
  271. * configure: Rebuild.
  272. 1999-07-14 Richard Henderson <rth@cygnus.com>
  273. * objdump.c (dump_section_header): Print SEC_SHORT.
  274. 1999-07-11 Ian Lance Taylor <ian@zembu.com>
  275. * Many files: Changes to avoid gcc warnings: Add ATTRIBUTE_UNUSED
  276. as appropriate. Add variable initializations. Add casts.
  277. * objdump.c (disassemble_bytes): Change j to bfd_vma.
  278. * readelf.c (process_syminfo): Change i to unsigned int.
  279. (display_debug_info): Change abbrev_number to unsigned long.
  280. (process_mips_specific): Change fcnt to size_t.
  281. 1999-07-09 Nick Clifton <nickc@cygnus.com>
  282. * readelf.c: Only support decoding 64bit ELF files if the compiler
  283. supports a 64 bit data type.
  284. Add -I equivalent for --histogram.
  285. Add -A command-line option to display architecture specific information.
  286. 1999-07-08 Jakub Jelinek <jj@ultra.linux.cz>
  287. * readelf.c (guess_is_rela): Sparcv9 and v8plus use rela.
  288. (dump_relocations): Use ELF64_R_TYPE_ID for Sparc, for R_SPARC_OLO10
  289. print the secondary addend.
  290. (get_machine_flags): Print Sparc machine flags.
  291. (get_symbol_type): Print STT_REGISTER.
  292. 1999-07-08 Ian Lance Taylor <ian@zembu.com>
  293. * stabs.c (parse_stab_type): Fix handling of template names with
  294. template parameters containing `::'.
  295. (stab_demangle_type): Handle a qualified name in a pointer to
  296. member.
  297. 1999-06-23 Ian Lance Taylor <ian@zembu.com>
  298. * Makefile.am (dlltool_SOURCES): Add dyn-string.c.
  299. * Makefile.in: Rebuild.
  300. 1999-06-23 Mumit Khan <khan@xraylith.wisc.edu>
  301. * configure.in (HAVE_EXECUTABLE_SUFFIX): Define.
  302. * dlltool.c (look_for_prog): Use HAVE_EXECUTABLE_SUFFIX.
  303. * dllwrap.c (look_for_prog): Likewise.
  304. * resrc.c (look_for_default): Likewise.
  305. * configure, config.in: Rebuild.
  306. 1999-06-22 Ian Lance Taylor <ian@zembu.com>
  307. Based on patches from Mumit Khan <khan@xraylith.wisc.EDU>:
  308. * configure.in: Define EXECUTABLE_SUFFIX.
  309. * dlltool.c: Include "dyn-string.h". Include <stdarg.h> based on
  310. ANSI_PROTOTYPES, not __STDC__.
  311. (outfile): Remove.
  312. (gen_exp_file): Change uses of outfile to use alloca.
  313. (make_one_lib_file, make_head, make_tail): Likewise.
  314. (gen_lib_file): Likewise.
  315. (look_for_prog): New static function.
  316. (deduce_name): Rewrite to use look_for_prog.
  317. (mcore_elf_gen_out_file): Use dyn_string_t rather than outfile.
  318. * dllwrap.c: Don't include <stdio.h>, <errno.h>, <string.h>,
  319. <stdlib.h>, or <unistd.h>. Include <sys/stat.h> and either
  320. <stdarg.h> or <varargs.h>.
  321. (driver_name): Initialize to NULL, not "gcc".
  322. (dlltool_name): Initialize to NULL, not "dlltool".
  323. (display, inform, look_for_prog, deduce_name): New static
  324. functions.
  325. (usage): Mention -mno-cygwin.
  326. (OPTION_MNO_CYGWIN): Define.
  327. (main): Handle -mno-cygwin. Deduce driver_name and dlltool_name.
  328. * resrc.c (look_for_default): Make static. Remove unused local
  329. path. Check using EXECUTABLE_SUFFIX.
  330. (read_rc_file): Allocate enough space to hold EXECUTABLE_SUFFIX.
  331. * Makefile.am: Rebuild dependencies.
  332. (dllwrap_LDADD): Add $(INTLLIBS).
  333. * configure, Makefile.in, config.in: Rebuild.
  334. Mon Jun 21 16:49:11 1999 Jeffrey A Law (law@cygnus.com)
  335. * readelf.c (dump_relocations): Use elf_hppa_reloc_type instead of
  336. elf32_hppa_reloc_type.
  337. 1999-06-17 Nick Clifton <nickc@cygnus.com>
  338. * dlltool.c (mcore_elf_gen_out_file): Link object files with the
  339. .exp file, not the .lib file.
  340. Fri Jun 18 20:17:51 1999 Mumit Khan <khan@xraylith.wisc.edu>
  341. * deflex.l: Accept single-character symbol names.
  342. 1999-06-16 Nick Clifton <nickc@cygnus.com>
  343. * readelf.c (get_symbol_type): Detect ARM symbols typed as Thumb
  344. functions.
  345. 1999-06-14 Nick Clifton <nickc@cygnus.com>
  346. * objdump.c (disassembler_options): New variable.
  347. (usage): Document new -M/--disassembler-options option.
  348. (long_options): Add --disassembler-options.
  349. (disassemble_data): Initialise disassembler_options field of
  350. disassembler_info structure.
  351. (main): Add parsing of -M option.
  352. * binutils.texi: Document new command line switch to objdump.
  353. * NEWS: Describe new command line switch to objdump.
  354. Mon Jun 14 10:27:54 1999 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
  355. * binutils.texi: Fix typos.
  356. 1999-06-13 Ian Lance Taylor <ian@zembu.com>
  357. * objdump.c (disassemble_bytes): If the disassembler returns an
  358. error, print out anything it may have printed to the buffer. From
  359. H.J. Lu <hjl@gnu.org>.
  360. * defparse.y (explist): Remove separate expline to eliminate
  361. shift/reduce conflict.
  362. From Kai-Uwe Rommel <rommel@ars.de>:
  363. * defparse.y: Add tokens NONSHARED, SINGLE, MULTIPLE,
  364. INITINSTANCE, INITGLOBAL, TERMINSTANCE, and TERMGLOBAL.
  365. (command): Add option_list after LIBRARY.
  366. (attr): Accept and ignore NONSHARED, SINGLE, and MULTIPLE.
  367. (option_list, option): New nonterminals.
  368. * deflex.l: Recognize NONSHARED, SINGLE, MULTIPLE, INITINSTANCE,
  369. INITGLOBAL, TERMINSTANCE, and TERMGLOBAL.
  370. 1999-06-12 Ian Lance Taylor <ian@zembu.com>
  371. * ar.c (O_BINARY): Define as 0 if not defined.
  372. (ranlib_touch): Open file with O_BINARY.
  373. * rename.c (O_BINARY): Define as 0 if not defined.
  374. (simple_copy): Open files with O_BINARY.
  375. Based on patch from H. Peter Anvin <hpa@transmeta.com>:
  376. * objcopy.c (struct section_list): Add copy field.
  377. (sections_copied): New static variable.
  378. (copy_options): Add "only-section".
  379. (copy_usage): Mention -j and --only-section.
  380. (find_section_list): Initialize copy field.
  381. (is_strip_section): Check for copying sections.
  382. (copy_object): Check sections_copied when calling filter_symbols.
  383. (setup_section): Check for copying sections.
  384. (copy_section): Likewise.
  385. (copy_main): Handle -j/--only-section.
  386. * binutils.texi, objcopy.1: Document -j/--only-section.
  387. * configure.in: If frexp is not available, check in -lm.
  388. * configure: Rebuild.
  389. * readelf.c (get_elf_class): Use correct printf format for type.
  390. (get_data_encoding): Likewise.
  391. (get_osabi_name): Likewise.
  392. (process_file_header): Don't pass an extra argument to printf.
  393. (process_dynamic_segment): Cast dynamic_size to long before
  394. printing.
  395. (decode_location_expression): Cast byte_get to long before
  396. printing.
  397. Wed Jun 9 11:40:16 1999 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
  398. * readelf.c (dump_section): Cast values from byte_get to
  399. [unsigned] long for printing, in case it is wider than long.
  400. (display_block): Likewise.
  401. (read_and_display_attr): Likewise.
  402. (decode_location_expression): Likewise. Don't depend on
  403. evaluation order.
  404. Mon Jun 7 12:14:57 1999 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
  405. * windres.c (usage): Fix typo.
  406. 1999-06-04 Nick Clifton <nickc@cygnus.com>
  407. * readelf.c: Use 64bit wide fields in internal structures even if
  408. targetting a 32bit architecture.
  409. (dump_relocations): Take a new parameter - the number of symbols
  410. in the symbol table.
  411. 1999-06-04 Nick Clifton <nickc@cygnus.com>
  412. * readelf.c: Add support for 64bit ELF files.
  413. 1999-06-03 Nick Clifton <nickc@cygnus.com>
  414. * dlltool.c (mcore_elf_gen_out_file): Use constants for temporary
  415. file names.
  416. Wed Jun 2 12:34:36 1999 Richard Henderson <rth@cygnus.com>
  417. * dlltool.c (gen_exp_file): Revert 19990411 change.
  418. Mon May 31 09:56:22 1999 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
  419. * readelf.c (process_relocs): Determine type of reloc from
  420. DT_PLTREL and from section type.
  421. 1999-05-29 Nick Clifton <nickc@cygnus.com>
  422. * readelf.c (get_elf_class): Display unknown class number.
  423. (get_data_encoding): Display unknown encoding number.
  424. (get_osabi_name): Display unknown ABI number.
  425. (process_file_header): Display unknown version number.
  426. 1999-05-29 Nick Clifton <nickc@cygnus.com>
  427. * readelf.c (dump_relocations): Fix typo.
  428. 1999-05-28 Nick Clifton <nickc@cygnus.com>
  429. * readelf.c (dump_relocations): Add extra parameter: is_rela to
  430. specify the kind of relocations to be dumped. Call guess_is_rela
  431. if this parameter has a value of UNKNOWN.
  432. (guess_is_rela): New function: Guess the kind of reloc being used
  433. baced on the machine number.
  434. (process_relocs): Determine type of reloc before calling
  435. dump_relocations.
  436. 1999-05-28 Ian Lance Taylor <ian@zembu.com>
  437. * readelf.c: Include "elf/i960.h".
  438. (dump_relocations): Handle EM_960.
  439. Thu May 27 11:58:33 1999 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
  440. * objcopy.c (copy_archive): Preserve dates of archive members if
  441. requested.
  442. * readelf.c (dump_relocations): Always print the addend on RELA
  443. systems even if there is no symbol.
  444. (process_program_headers): Reset dynamic_size before looping
  445. through the program headers.
  446. (process_version_sections): Cast sh_offset to unsigned long for
  447. printing in case bfd_vma is wider.
  448. (process_symbol_table): Use get_symbol_index_type when printing
  449. st_shndx.
  450. 1999-05-17 DJ Delorie <dj@cygnus.com>
  451. * windres.c: add verbose option
  452. (main): process verbose option
  453. * resrc.c (look_for_default): new. Look for the default
  454. preprocessor in a given location.
  455. (read_rc_file): for foo/bar-windres, look for foo/bar-gcc,
  456. foo/gcc (in case of foo/windres), and then gcc (the old default).
  457. 1999-05-16 Nick Clifton <nickc@cygnus.com>
  458. * dlltool.c (deduce_name): New function: Deduce name of program to
  459. run.
  460. (mcore_elf_out_file): New variable: Name of mcore-elf output file.
  461. (mcore_elf_linker): New variable: Name of linker to use.
  462. (mcore_elf_linker_flags): New variable: Linker flags to pass.
  463. (scan_obj_file): Cache filenames if necessary.
  464. (usage): Document new command line options.
  465. (main): Support new command line options: -M (generate an
  466. mcore-elf output file) -L (name of linker to use) -F (flags to
  467. pass to linker).
  468. (mcore_elf_cache_filename): Store a filename in a cache.
  469. (mcore_elf_gen_out_file): New function: Generate an output file
  470. per the mcore-elf spec.
  471. 1999-05-15 Nick Clifton <nickc@cygnus.com>
  472. * configure.in (BUILD_MISC): Build dlltool for mcore
  473. * configure: Regenerate.
  474. * dlltool.c: Update example in comment.
  475. (DLLTOOL_MCORE): Define.
  476. (DLLTOOL_MCORE_ELF): Define.
  477. (DRECTVE_SECTION_NAME): Define.
  478. (mcore_be_jtab, mcore_le_jtab): Binary for performing an mcore
  479. jump to address.
  480. (mtable): Add entries for mcore variants.
  481. (rvaafter, rvabefore, asm_prefix): Add mcore suppport.
  482. (scan_drectve_symbols): Use DRECTVE_SECTION_NAME.
  483. (make_head, make_tail): Cope if file cannot be created.
  484. (usage): Improve layout.
  485. 1999-05-13 DJ Delorie <dj@cygnus.com>
  486. * rclex.l: add code to suppress certain output from cpp, replace
  487. all returns with MAYBE_RETURN
  488. (MAYBE_RETURN): new, implement the suppression by returning
  489. IGNORED_TOKEN as needed.
  490. (cpp_line): remember which file we're in, mark data from included
  491. *.h files for suppression.
  492. * rcparse.y (input): allow IGNORED_TOKEN outside of known constructs
  493. 1999-05-10 DJ Delorie <dj@cygnus.com>
  494. * windres.c (quot): Quote shell metacharacters in a string
  495. (main): quote parameters to cpp that might have metacharacters in
  496. them. Allow -D as an alias for --define to allow for sharing make
  497. macros with gcc.
  498. * objdump.c (dump_reloc_set): don't core if howto->name is NULL
  499. * Makefile.am: Give rescoff.c a cpu-specific -D so it can set
  500. the correct BFD.
  501. * Makefile.in: ditto
  502. * rescoff.c (write_coff_file): Set the correct BFD
  503. 1999-05-06 Ian Lance Taylor <ian@zembu.com>
  504. * rename.c (smart_rename): Fix test of whether file exists.
  505. 1999-05-06 Nick Clifton <nickc@cygnus.com>
  506. * objdump.c (disassemble_data): Set display_endian based on target
  507. endianism.
  508. 1999-05-05 Catherine Moore <clm@cygnus.com>
  509. * dlltool.c (interwork): Remove.
  510. (arm_interwork_jtab): Use bx insn.
  511. (thumb_jtab): Likewise.
  512. (MARM_INTERWORK): New machine type.
  513. (rvaafter): Handle it.
  514. (rvabefore) Likewise.
  515. (asm_prefix): Likewise.
  516. (gen_exp_type): Check machine type instead of
  517. interwork flag.
  518. (make_one_lib_file): Likewise.
  519. (make_head): Likewise.
  520. (make_tail): Likewise.
  521. (usage): Update machine types.
  522. (main): Remove -interwork support.
  523. 1999-05-05 Catherine Moore <clm@cygnus.com>
  524. * readelf.c (get_machine_flags): Check for EF_CPU32.
  525. (get_data_encoding): Fix typo.
  526. 1999-04-26 Tom Tromey <tromey@cygnus.com>
  527. * aclocal.m4, configure: Updated for new version of libtool.
  528. 1999-04-18 Ian Lance Taylor <ian@zembu.com>
  529. * stabs.c (parse_stab_range_type): Correct parenthesization in
  530. BFD64 case.
  531. * readelf.c (get_section_type_name): Use correct types in printf
  532. formats.
  533. (process_relocs): Likewise.
  534. (process_dynamic_segment): Likewise.
  535. (process_symbol_table): Likewise.
  536. (process_mips_specific): Likewise.
  537. Tue Apr 13 21:22:00 1999 Catherine Moore <clm@cygnus.com>
  538. * dlltool.c (make_one_lib_file): Mark thumb functions as
  539. C_THUMBEXTFUNC.
  540. 1999-04-11 Richard Henderson <rth@cygnus.com>
  541. * bucomm.h (environ): Declare it, if needed.
  542. (alloca) [C_ALLOCA]: Don't use gcc's builtin or <alloca.h>.
  543. * configure.in (environ): Detect declaration.
  544. * nm.c (main): Don't declare environ.
  545. * configure, config.in: Rebuild.
  546. * dlltool.c (gen_exp_file): Pad out the .reloc section to a
  547. 32-byte boundary with dummy relocations, to make the BeOS loader
  548. happy. Patch from Bob Manson <manson@charmed.cygnus.com>.
  549. 1999-04-08 Tom Tromey <tromey@cygnus.com>
  550. * binutils.texi (c++filt): Updated for -j/--java, and hp/edg
  551. formats.
  552. 1999-04-08 Nick Clifton <nickc@cygnus.com>
  553. * readelf.c: Add ability to decode new constants found in April 25
  554. 1998 Draft of System V ABI spec.
  555. 1999-04-06 Ian Lance Taylor <ian@zembu.com>
  556. * bucomm.h (LC_MESSAGES): Never define.
  557. * addr2line.c (main): Don't pass LC_MESSAGES to setlocale if the
  558. system does not define it.
  559. * ar.c (main): Likewise.
  560. * coffdump.c (main): Likewise.
  561. * dlltool.c (main): Likewise.
  562. * nlmconv.c (main): Likewise.
  563. * nm.c (main): Likewise.
  564. * objcopy.c (main): Likewise.
  565. * objdump.c (main): Likewise.
  566. * size.c (main): Likewise.
  567. * srconv.c (main): Likewise.
  568. * strings.c (main): Likewise.
  569. * sysdump.c (main): Likewise.
  570. * windres.c (main): Likewise.
  571. * readelf.c (main): Call locale setting functions.
  572. 1999-04-05 Nick Clifton <nickc@cygnus.com>
  573. * readelf.c (decode_location_expression): Fix DW_OP_const8{s|u}
  574. decodes.
  575. 1999-04-04 Ian Lance Taylor <ian@zembu.com>
  576. * rename.c: New file, copied out of objcopy.c with a few changes.
  577. * bucomm.h (set_times, smart_rename): Declare.
  578. * ar.c: Don't include <utime.h>.
  579. (extract_file): Call set_times rather than utime.
  580. (write_archive): Call smart_rename rather than unlink and rename.
  581. * objcopy.c: Don't include <utime.h>.
  582. (simple_copy, smart_rename, set_times): Move to rename.c.
  583. (strip_main): Update smart_rename call for new parameter.
  584. (copy_main): Likewise.
  585. * Makefile.am: Rebuild dependencies.
  586. (CFILES): Add rename.c.
  587. (objcopy_SOURCES, strip_new_SOURCES): Add rename.c.
  588. (ar_SOURCES, ranlib_SOURCES): Add rename.c.
  589. * Makefile.in: Rebuild.
  590. * Makefile.am: Rebuild dependencies.
  591. (EXTRA_PROGRAMS): Remove backslash which troubles current version
  592. of automake.
  593. * Makefile.in: Rebuild.
  594. * dllwrap.c (main): Expect correct type in format string.
  595. * resres.c: Include "bfd.h", "bucomm.h", "libiberty.h", and
  596. <time.h>. Don't include <stdio.h> and <errno.h>.
  597. (write_res_file): Remove unused locals e and i.
  598. (read_resource_entry): Remove unused locals rtype and n.
  599. (read_unistring): Remove unused local n.
  600. 1999-04-03 Ian Lance Taylor <ian@zembu.com>
  601. * arparse.y: Declare yylex.
  602. * objdump.c (disassemble_bytes): Initialize bytes. Add comment
  603. for incorrect use of bytes.
  604. * readelf.c: Change many formats to avoid warnings.
  605. 1999-04-01 Nick Clifton <nickc@cygnus.com>
  606. * readelf.c (reset_state_machine): New function. Resets the
  607. registers of the source line number state machine.
  608. (process_extended_line_op): Use state machine.
  609. (display_debug_lines): Use state machine. Handle multiple line
  610. number blocks within the same section.
  611. 1999-03-29 Jason Merrill <jason@yorick.cygnus.com>
  612. * readelf.c (process_extended_line_op): end_sequence also resets
  613. the line number.
  614. (display_debug_lines): advance_line takes a signed operand.
  615. (read_and_display_attr): Print refs as <%x>, addresses as %#x,
  616. others as %d. Handle other location expression attributes.
  617. (display_debug_info): Handle nesting. Always print the offset.
  618. 1999-03-23 Ian Lance Taylor <ian@zembu.com>
  619. * objcopy.c (filter_symbols): When checking whether to keep a
  620. symbol, check the BFD section symbol for a symbol with
  621. BSF_SECTION_SYM set.
  622. 1999-03-10 Ulrich Drepper <drepper@cygnus.com>
  623. * readelf.c (process_dynamic_segment): Print new Solaris dynamic
  624. section entries. Correct printing of DT_POSFLAG_1 and DT_FLAGS_1.
  625. 1999-03-10 Nick Clifton <nickc@cygnus.com>
  626. * readelf.c (request_dump): New function.
  627. Removed arbitary limit on the number of sections that can be
  628. dumped.
  629. Wed Mar 10 15:10:14 1999 Stan Cox <scox@cygnus.com>
  630. * dlltool.c (make_one_lib_file): Use %05d to output the stub name so
  631. order in the import library is preserved.
  632. 1999-02-19 Nick Clifton <nickc@cygnus.com>
  633. * readelf.c: Fix compile time warings.
  634. 1999-02-17 DJ Delorie <dj@cygnus.com>
  635. * resbin.c (res_to_bin_versioninfo): Instead of entering a value
  636. length of zero in a version info string, enter the appropriate
  637. length.
  638. Tue Feb 16 16:00:33 1999 Ian Lance Taylor <ian@cygnus.com>
  639. * configure.in: Require autoconf 2.13. Change AM_PROG_INSTALL to
  640. AC_PROG_INSTALL. Add comments for AC_DEFINE calls.
  641. * acconfig.h: Remove.
  642. * aclocal.m4: Rebuild.
  643. * configure: Rebuild.
  644. * Makefile.in: Rebuild.
  645. * config.in: Rebuild.
  646. 1999-02-02 Nick Clifton <nickc@cygnus.com>
  647. * readelf.c (read_and_display_attr): Add display of basic type
  648. encodings.
  649. (display_debug_aranges): New function: Display the contents of a
  650. .debug_aranges section.
  651. (display_debug_info): Dump tags found after compunit entry.
  652. * binutils.texi: Fixed bug in readelf documentation.
  653. Mon Feb 1 12:38:01 1999 Catherine Moore <clm@cygnus.com>
  654. * readelf.c (dump_relocations): Handle EM_ARM as REL.
  655. 1999-01-29 Nick Clifton <nickc@cygnus.com>
  656. * readelf.c (process_symbol_table): Do not produce a histogram of
  657. bucket chains if none were found.
  658. 1999-01-27 Nick Clifton <nickc@cygnus.com>
  659. * version.c: Add 1999 copyright.
  660. * binutils.texi (readelf): Document new command line options
  661. --debug-dump and --histogram.
  662. * readelf.c: Add ability to display contents of some or all of the
  663. Dwarf2 debug sections. {Work only partially completed}.
  664. (display_debug_section): New function.
  665. (display_debug_info): New function.
  666. (display_debug_not_supported): New function.
  667. (display_debug_line): New function.
  668. (display_debug_abbrev): New function.
  669. (process_abbrev_section): New function.
  670. (read_leb128): New function.
  671. (process_extended_line_op): New function.
  672. (get_TAG_name): New function.
  673. (get_AT_name): New function.
  674. (get_FORM_name): New function.
  675. (free_abbrevs): New function.
  676. (add_abbrev): New function.
  677. (add_abbrev_attr): New function.
  678. (read_and_display_attr): New function.
  679. (display_block): New function.
  680. Thu Jan 14 23:36:11 1999 Jeffrey A Law (law@cygnus.com)
  681. * coffdump.c (xcalloc): Remove, in libiberty now.
  682. * srconv.c (xcalloc): Likewise.
  683. * sysdump.c (xcalloc): Likewise.
  684. 1999-01-14 Nick Clifton <nickc@cygnus.com>
  685. * readelf.c (process_section_headers): Omit trailing space at end
  686. of section header contents line.
  687. Wed Dec 16 17:20:05 1998 Doug Evans <devans@canuck.cygnus.com>
  688. * aclocal.m4: Regenerate.
  689. Mon Dec 14 12:55:36 1998 Jim Wilson <wilson@cygnus.com>
  690. * dllwrap.c: Include bfd.h and bucomm.h. Move getopt.h include
  691. after libiberty.h include.
  692. Tue Dec 8 16:29:43 1998 Ian Lance Taylor <ian@cygnus.com>
  693. * objdump.1: Fix typo (-d to -D). From Nokubi Hirotaka
  694. <hnokubi@yyy.or.jp>.
  695. Sun Dec 6 13:28:09 1998 Ian Lance Taylor <ian@cygnus.com>
  696. * objdump.c (SFILE): Add size field.
  697. (objdump_sprintf): Merge both versions into one. Increase buffer
  698. size as needed to avoid overflow.
  699. (disassemble_bytes): Change buf from 1000 bytes to 50. Change
  700. initialization and use of sfile to match changes to
  701. objdump_sprintf.
  702. * strip.1: Fix typo (-V to -v). From Issei Hirayama
  703. <iss@mail.wbs.or.jp>.
  704. 1998-12-03 Ulrich Drepper <drepper@cygnus.com>
  705. * readelf.c (process_dynamic_segment): Improve output format for
  706. various DT_* values.
  707. 1998-12-02 Ulrich Drepper <drepper@cygnus.com>
  708. * readelf.c (process_mips_specific): Print .conflict section
  709. content.
  710. * readelf.c (process_mips_specific): Print l_flags in liblist in
  711. textual form.
  712. 1998-11-30 Nick Clifton <nickc@cygnus.com>
  713. * ar.c (extract_file): Add some paranoia checks for negatively
  714. sized files.
  715. Tue Nov 24 09:39:24 1998 Nick Clifton <nickc@cygnus.com>
  716. * stabs.c (DIR_SEPARATOR): Define as '\\' if WIN32 is defined.
  717. Tue Nov 17 10:25:26 1998 Nick Clifton <nickc@cygnus.com>
  718. * Makefile.in: Regenerate.
  719. Mon Nov 16 19:17:23 1998 Dave Brolley <brolley@cygnus.com>
  720. * po/binutils.pot: Regenerate.
  721. Mon Nov 16 10:18:53 1998 Nick Clifton <nickc@cygnus.com>
  722. * Makefile.am: Regernated dependencies.
  723. * aclocal.m4: Regenerated.
  724. * configure: Regenerated.
  725. Sat Nov 14 14:50:56 1998 Ian Lance Taylor <ian@cygnus.com>
  726. * debug.c (debug_name_type): Correct return type from false to
  727. DEBUG_TYPE_NULL.
  728. Sat Nov 14 14:48:21 1998 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
  729. * objdump.c (disassemble_data): Skip over relocs below start
  730. address.
  731. Tue Nov 10 15:31:52 1998 Nick Clifton <nickc@cygnus.com>
  732. * Makefile.am: Add dependency of readelf.c on elf/fr30.h
  733. * Makefile.in: Regenerate.
  734. Wed Nov 4 16:25:55 1998 Nick Clifton <nickc@cygnus.com>
  735. * readelf.c: Add support for the FR30.
  736. Mon Nov 2 14:59:33 1998 Geoffrey Noer <noer@cygnus.com>
  737. * configure.in: detect cygwin* instead of cygwin32*
  738. * configure: regenerate
  739. Fri Oct 30 15:14:49 1998 Geoffrey Noer <noer@cygnus.com>
  740. * dllwrap.c: change all references to cygwin32_ to cygwin_,
  741. change Cygwin target def to CYGWIN.
  742. Wed Oct 28 10:31:19 1998 Nick Clifton <nickc@cygnus.com>
  743. * objdump.c (disassemble_data): Replace 'unsigned long' with
  744. 'bfd_vma'.
  745. Tue Oct 27 14:39:00 1998 Nick Clifton <nickc@cygnus.com>
  746. * objdump.c (disassemble_bytes): Applied this patch from Philip
  747. Blundell <pb@nexus.co.uk>: Make address variables unsigned to
  748. avoid problems when disassembling code at high-bit-set addresses.
  749. Mon Oct 26 14:07:59 1998 Mumit Khan <khan@xraylith.wisc.edu>
  750. * dllwrap.c (strhash): New function.
  751. (main): Use it to supply image base if not supplied by user.
  752. (program_version): Up to 0.2.4.
  753. Mon Oct 26 14:07:59 1998 Mumit Khan <khan@xraylith.wisc.edu>
  754. * dlltool.c (add_stdcall_alias): New global.
  755. (long_options): Add --add-stdcall-alias option.
  756. (main): Handle it.
  757. (scan_drectve_symbols): Add alias if --add-stdcall-alias is
  758. specified.
  759. (scan_filtered_symbols): Likewise.
  760. (gen_def_file): Output alias for stdcall syms if appropriate.
  761. * binutils.texi (dlltool): Document --add-stdcall-alias option.
  762. * dllwrap.c (long_options): Add --add-stdcall-alias option.
  763. (main): Handle it.
  764. * defparse.y (opt_name): Allow "." in name.
  765. * dlltool.c (def_name): Set dll_name from NAME entry in def file.
  766. (def_library): Set dll_name from LIBRARY entry in def file.
  767. Mon Oct 26 14:07:59 1998 Mumit Khan <khan@xraylith.wisc.edu>
  768. * dllwrap.c (long_options): --implib synonym for --output-lib.
  769. (main): Pass --export-all to dlltool only if specified.
  770. (program_version): Up to 0.2.3.
  771. Mon Oct 26 14:07:59 1998 Mumit Khan <khan@xraylith.wisc.edu>
  772. * dllwrap.c (mybasename): New function.
  773. (main): Run dlltool to create export definition file and import
  774. library file if necessary.
  775. Change exp_file_name so that it's based on the dll name.
  776. Sun Oct 25 10:37:45 1998 Mumit Khan <khan@xraylith.wisc.edu>
  777. * dlltool.c (scan_all_symbols): Fix patch error.
  778. Fri Oct 16 22:56:20 1998 Felix Lee <flee@cygnus.com>
  779. * nm.c (display_rel_file): fix "no symbols" messages.
  780. * objdump.c (slurp_symtab): ditto.
  781. * po/POTFILES.in, po/binutils.pot: rebuilt
  782. Mon Oct 12 14:28:03 1998 Nick Clifton <nickc@cygnus.com>
  783. * readelf.c (dump_relocations): Rename field from Value to Info to
  784. match name of field in ELF structures.
  785. Thu Oct 8 15:33:08 1998 Geoffrey Noer <noer@cygnus.com>
  786. * configure.in: call AC_EXEEXT instead of AM_EXEEXT and
  787. AM_CYGWIN32.
  788. * aclocal.m4: remove local AM_EXEEXT/AM_CYGWIN32 macros.
  789. * configure: regenerate
  790. Thu Oct 8 15:33:08 1998 Geoffrey Noer <noer@cygnus.com>
  791. From Mumit Khan <khan@xraylith.wisc.edu>:
  792. * dlltool.c (scan_all_symbols): Don't re-export symbols exported
  793. by other DLLs.
  794. Thu Oct 8 15:33:08 1998 Geoffrey Noer <noer@cygnus.com>
  795. * Makefile.am (BUILD_DLLWRAP): Add.
  796. (BUILD_DLLWRAP, DLLWRAP_PROG): Add.
  797. (bin_PROGRAMS): Add dllwrap.
  798. * Makefile.in: regenerate with automake
  799. From Mumit Khan <khan@xraylith.wisc.edu>:
  800. * dllwrap.c: New file from dllhelpers v0.2.1.
  801. (print_version): New function.
  802. (long_options): Add --version.
  803. (main): Handle.
  804. * dyn-string.h, dyn-string.c: New files from egcs-1.1/gcc.
  805. * configure.in (BUILD_DLLWRAP): Add.
  806. * configure: Regenerate.
  807. Tue Oct 6 18:20:10 1998 Geoffrey Noer <noer@cygnus.com>
  808. * Makefile.am (windres_SOURCES): Add resres.c.
  809. (windres_OBJECTS): Add resres.o.
  810. * Makefile.in: regenerate with automake
  811. From Anders Norlander <anorland@hem2.passagen.se>.
  812. * resres.c: New file. Implementation of read_res_file and
  813. write_res_file functions for windres.
  814. * rcparse.y: Handle CONTROL's with named classes.
  815. * resbin.c: Bug in res_to_bin_dialog and bin_to_res_dialog
  816. when dialog is extended: The version and signature fields should
  817. be reversed (despite what the docs say). Id is 32 bits long in
  818. extended dialogs.
  819. * resrc.c (write_rc_dialog): properly print controls with named
  820. classes.
  821. * windres.c (read_res_file, write_res_file): Remove stubs.
  822. * resres.c (write_res): Rename RT_ACCELERATORS to RT_ACCELERATOR.
  823. Sun Oct 4 20:34:42 1998 Ian Lance Taylor <ian@cygnus.com>
  824. From Nokubi Hirotaka <hnokubi@yyy.or.jp>:
  825. * objcopy.1: Fix typo in --remove-leading-char docs.
  826. * objdump.1: Fix formatting in --stabs docs.
  827. Sat Sep 19 23:33:56 1998 Ian Lance Taylor <ian@cygnus.com>
  828. * rcparse.y (memflags_move): Correct recursion.
  829. 1998-09-10 Ulrich Drepper <drepper@cygnus.com>
  830. * readelf.c (process_symbol_table): Print in histogram how many
  831. symbols are covered by the current chain length.
  832. Sun Sep 6 16:15:47 1998 Nick Clifton <nickc@cygnus.com>
  833. * readelf.c (process_section_contents): Do not try to dump empty
  834. sections.
  835. Sat Sep 5 19:17:10 1998 Mumit Khan <khan@xraylith.wisc.edu>
  836. * dlltool.c (scan_all_symbols): Don't re-export symbols exported
  837. by other DLLs.
  838. 1998-09-02 14:50 Ulrich Drepper <drepper@cygnus.com>
  839. * readelf.c (process_dynamic_segment): Print DT_* value only if
  840. do_dynamic.
  841. (do_histogram): New variable.
  842. (options): New long option histogram. Set do_histogram if this
  843. option is used.
  844. (usage): Document --histogram.
  845. (parse_args): Handle 0 return value from getopt_long. Enable
  846. do_histogram for -a.
  847. (process_symbol_table): Read hash table also if only do_histogram.
  848. Add code to print hash table histogram.
  849. 1998-08-25 16:45 Ulrich Drepper <drepper@cygnus.com>
  850. * readelf.c (process_dynamic_segment): Read syminfo section if
  851. available.
  852. (process_syminfo): New function. Print syminfo information.
  853. (process_file): Call process_syminfo and free syminfo data at the end.
  854. Wed Aug 19 16:19:51 1998 Ian Lance Taylor <ian@cygnus.com>
  855. * dlltool.c (usage): Add file parameter. Change all callers.
  856. (main): Don't treat '?' as a special case in getopt return.
  857. * binutils.texi (dlltool): Document new options. Add some uses of
  858. @var.
  859. Wed Aug 19 16:19:07 1998 Mumit Khan <khan@xraylith.wisc.edu>
  860. * dlltool.c (gen_def_file): Plug memory leak. Don't print
  861. demangled name if it is NULL.
  862. Support for exporting all symbols to an output export def file:
  863. * dlltool.c ({export_all_symbols, no_default_excludes,
  864. no_default_excludes, excludes}): New file static variables.
  865. (struct string_list): Type to hold list of symbols to exclude.
  866. (scan_drectve_symbols): Renamed from scan_open_obj_file.
  867. (scan_filtered_symbols): New static function.
  868. (add_excludes): New static function.
  869. (match_exclude): New static function.
  870. (set_default_excludes): New static function.
  871. (filter_symbols): New static function.
  872. (scan_all_symbols): New static function.
  873. (scan_open_obj_file): New static function.
  874. (usage): Document new options.
  875. (long_options): Add new options.
  876. (main): Handle new options.
  877. 1998-07-31 21:24 Ulrich Drepper <drepper@cygnus.com>
  878. * readelf.c (process_program_headers): Print p_offset value with
  879. six hex digits.
  880. (dynamic_segment_mips_val): Add support for DT_MIPS_FLAGS,
  881. DT_MIPS_IVERSION, and DT_MIPS_TIME_STAMP.
  882. (process_mips_specific): Also print seconds of time stamp.
  883. Fri Jul 31 10:04:23 1998 Catherine Moore <clm@cygnus.com>
  884. * readelf.c (dump_relocations): EM_ARM uses rela relocs.
  885. 1998-07-30 16:25 Ulrich Drepper <drepper@cygnus.com>
  886. * readelf.c (get_dynamic_type): Don't used gettext on the names.
  887. Add new DT_* values from Solaris. Don't print nuemric value in
  888. case of an unknown entry.
  889. (process_dynamic_segment): Handle new DT_* entries. Print numeric
  890. values in decimal, not hex.
  891. Fri Jul 24 16:28:57 1998 Jeff Holcomb <jeffh@cygnus.com>
  892. * readelf.c (get_dynamic_type): Remove empty default from switch
  893. statement.
  894. Fri Jul 24 16:28:12 1998 Ian Lance Taylor <ian@cygnus.com>
  895. * Makefile.am (install-exec-local): Don't remove the file before
  896. checking whether $(bindir) == $(tooldir)/bin. From Maciej
  897. W. Rozycki <macro@ds2.pg.gda.pl>.
  898. * Makefile.in: Rebuild.
  899. Fri Jul 24 09:38:59 1998 Nick Clifton <nickc@cygnus.com>
  900. * objcopy.c: Removed spurious inclusion of elf/internal.h and
  901. elf-bfd.h.
  902. 1998-07-22 Ulrich Drepper <drepper@cygnus.com>
  903. * readelf.c: Consistantly use elf_ prefix for *_reloc_type
  904. functions.
  905. Wed Jul 22 16:29:12 1998 Nick Clifton <nickc@cygnus.com>
  906. * readelf.c (dump_relocations): Add dumps of HPPA and ARC
  907. relocations.
  908. (process_relocs): Do not abort if no string table can be found.
  909. 1998-07-22 14:58 Ulrich Drepper <drepper@cygnus.com>
  910. * readelf.c: Remove definition of functions to return relocation
  911. symbol strings. They now get implicitly defined when include the
  912. system specific ELF header.
  913. 1998-07-22 13:51 Ulrich Drepper <drepper@cygnus.com>
  914. * readelf.c: Before include system specific ELF header define
  915. START_RELOC_NUMBERS, RELOC_NUMBER, and END_RELOC_NUMBERS. For now
  916. used for ppc, mips, and mn10300.
  917. Wed Jul 22 10:26:32 1998 Nick Clifton <nickc@cygnus.com>
  918. * readelf.c (dump_relocations): Display number of unrecognised
  919. relocations.
  920. 1998-07-21 13:13 Ulrich Drepper <drepper@cygnus.com>
  921. * readelf.c: Use symbolic names of relocation entries for the various
  922. architectures. Correct more layout details.
  923. Print names of MIPS specific section types. Print Alpha, ARM, and
  924. MIPS relocation type names.
  925. 1998-07-20 Vladimir N. Makarov <vmakarov@cygnus.com>
  926. * objcopy.c (filter_symbols): Add code for strip all symbols case.
  927. (copy_objects): Strip all case is now processed also through
  928. filter_symbols. No marking symbols used in relocations when strip
  929. all symbols case.
  930. (copy_section): When strip all symbols case, remove relocations
  931. which are not in keep strip specific list.
  932. (strip_main): Remove guard `strip_specific_list == NULL' for
  933. setting up strip all symbols by default.
  934. Mon Jul 20 12:51:16 1998 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
  935. * addr2line.c (find_address_in_section): Only consider a section
  936. if the pc value is completely contained within it.
  937. (translate_addresses): Don't crash if functionname or filename are
  938. null.
  939. 1998-07-20 07:45 Ulrich Drepper <drepper@cygnus.com>
  940. * readelf.c (process_symbol_table): Fix little alignment problem
  941. in printed table header.
  942. 1998-07-20 07:14 Ulrich Drepper <drepper@cygnus.com>
  943. * readelf.c: Correct reading of .dynamic section.
  944. (dynamic_section): Now a global variable.
  945. (process_mips_fpe_exception, process_mips_specific,
  946. process_arch_specific): New functions.
  947. (get_file_header): Call process_arch_specific.
  948. 1998-07-19 15:15 Ulrich Drepper <drepper@cygnus.com>
  949. * readelf.c: Fix several versioning related bugs. Produce nicer
  950. output.
  951. Add support for processor specific information on MIPS.
  952. Fri Jul 10 15:57:58 1998 Nick Clifton <nickc@cygnus.com>
  953. * readelf.c: Switch prototypes from unsigned short to unsigned
  954. int.
  955. Fri Jul 10 16:17:50 1998 Ian Lance Taylor <ian@cygnus.com>
  956. From Christian Holland <CHolland@de.lucent.com>:
  957. * ieee.c (parse_ieee): Initialize info.global_vars and
  958. info.global_types.
  959. (parse_ieee_atn): Ignore register lifetime information reportedly
  960. emitted by MRI compiler.
  961. Thu Jul 9 13:08:01 1998 Ian Lance Taylor <ian@cygnus.com>
  962. * Makefile.am (MAINTAINERCLEANFILES): Define.
  963. * Makefile.in: Rebuild.
  964. Tue Jul 7 21:48:54 1998 Jeffrey A Law (law@cygnus.com)
  965. * readelf.c (byte_get): Use PARAMS in prototype.
  966. (error): Make it work with non-ANSI compilers.
  967. (warn): Likewise.
  968. (get_ver_flags): Don't use an ANSI prototype in the definition.
  969. Tue Jul 7 13:26:13 1998 Ian Lance Taylor <ian@cygnus.com>
  970. * objcopy.c (filter_bytes): Set size correctly if the size of the
  971. section is not an even multiple of the interleave. Based on patch
  972. from Brion Stone <Brion.Stone@attws.com>.
  973. Thu Jul 2 14:01:34 1998 Klaus Kaempf <kkaempf@rmi.de>
  974. * configure.com: Add vax/vms support.
  975. * makefile.vms-in: Renamed from makefile.vms. Add substitutions
  976. now done by configure.com.
  977. Wed Jul 1 20:43:52 1998 Ian Lance Taylor <ian@cygnus.com>
  978. * stabs.c (parse_stab_range_type): Handle 4 and 8 byte signed
  979. integers with real upper bounds. Handle a lower bound one larger
  980. than the upper bound as a signed integer. Handle 8 byte signed
  981. integers.
  982. (stab_demangle_template): Optionally return the demangled name of
  983. the template.
  984. (stab_demangle_qualified): Treat a template name as a tagged
  985. type.
  986. (stab_demangle_fund_type): Likewise.
  987. Wed Jul 1 16:29:50 1998 Nick Clifton <nickc@cygnus.com>
  988. * objcopy.c: Minor formatting improvements.
  989. * readelf.c: Minor output formatting improvement.
  990. Wed Jul 1 14:23:48 1998 Ian Lance Taylor <ian@cygnus.com>
  991. * rclex.l: Add casts and change types to avoid warnings.
  992. * rcparse.y: Likewise.
  993. * resbin.c: Likewise.
  994. * rescoff.c: Likewise.
  995. * resrc.c: Likewise.
  996. * Makefile.am: Rebuild dependencies.
  997. (HFILES): Remove readelf.h.
  998. * Makefile.in: Rebuild.
  999. Based on patches from Andrew Kozin
  1000. <Andrew.Kozin@p14.f960.n5020.z2.fidonet.org>:
  1001. * winduni.h: New file, from windres.h.
  1002. * winduni.c: New file, from windres.c.
  1003. * windres.c: Move Unicode functions into winduni.c.
  1004. * windres.h: Move Unicode declarations into winduni.h. Include
  1005. winduni.h.
  1006. (RT_ACCELERATOR): Rename from RT_ACCELERATORS to match Windows
  1007. macro. Change all uses.
  1008. (RT_PLUGPLAY, RT_VXD): Correct values.
  1009. * Makefile.am (HFILES): Add windres.h.
  1010. (CFILES): Add winduni.c.
  1011. (windres_SOURCES): Add winduni.c.
  1012. Mon Jun 29 17:01:21 1998 Nick Clifton <nickc@cygnus.com>
  1013. * readelf.c: Use BFD Internal and External Elf structures.
  1014. * readelf.h: Removed - no longer needed.
  1015. * Makefile.in: Remove readelf.c's dependency upon readelf.h.
  1016. 1998-06-26 Vladimir N. Makarov <vmakarov@cygnus.com>
  1017. * objcopy.c (strip_main): keep_specific_list == NULL as additional
  1018. condition to set up strip all symbols by default.
  1019. (copy_archive): don't change archive when error in object files of
  1020. the archive.
  1021. Wed Jun 24 17:53:47 1998 Ian Lance Taylor <ian@cygnus.com>
  1022. * stabs.c (parse_number): Sign extend negative values correctly if
  1023. bfd_vma is larger than unsigned long.
  1024. Tue Jun 23 14:55:05 1998 Mike Stump <mrs@wrs.com>
  1025. * Makefile.am (install-exec-local): Don't let EXEEXT interfere
  1026. with the program transform name.
  1027. * Makefile.in: Rebuild.
  1028. Tue Jun 23 11:08:53 1998 Nick Clifton <nickc@cygnus.com>
  1029. * readelf.c: Rewrite to use fopen/fread ratehr than mmap.
  1030. Add --section-headers command line switch, which is an alias for
  1031. --sections.
  1032. Incorporate improvemnts made by Andreas Schwab
  1033. <schwab@issan.informatik.uni-dortmund.de> including output
  1034. formatting and version info display.
  1035. * binutils.texi: Document --section-headers switch to readelf.
  1036. Mon Jun 22 18:28:19 1998 Ian Lance Taylor <ian@cygnus.com>
  1037. * readelf.c: Include bfd.h and bucomm.h before system header
  1038. files.
  1039. (parse_args): Change type of c from char to int.
  1040. Sun Jun 14 14:26:28 1998 Nick Clifton <nickc@cygnus.com>
  1041. * readelf.c (usage): Write to stdout, not stderr.
  1042. Fri Jun 12 13:33:51 1998 Tom Tromey <tromey@cygnus.com>
  1043. * po/Make-in (all-yes): Depend on .pot file if maintainer mode
  1044. enabled.
  1045. ($(PACKAGE).pot): Unconditionally depend on POTFILES.
  1046. Fri Jun 12 16:06:15 1998 Michael Meissner <meissner@cygnus.com>
  1047. * readelf.c (get_ppc_rel_type): New PowerPC support.
  1048. (dump_relocations): PowerPC uses RELA relocations.
  1049. (get_machine_name): Spell PowerPC correctly.
  1050. (get_file_type): Change unsigned short parameter to unsigned.
  1051. (get_machine_name): Ditto.
  1052. (get_machine_data): Return whether big endian or little endian.
  1053. (get_machine_flags): Interpret PowerPC, M32R, and MIPS flags.
  1054. (process_elf_header): Print endian-ess. Convert all numeric
  1055. formats to long or unsigned long. Print out machine specific flag
  1056. bits.
  1057. (process_section_headers): Increase name by 3 columns and decrease
  1058. type by the same so that .gcc_except_table fits in the space.
  1059. * readelf.h: Include elf/ppc.h, elf/mips.h, and elf/m32r.h to get
  1060. machine specific flag bits.
  1061. Thu Jun 11 17:54:26 1998 Nick Clifton <nickc@cygnus.com>
  1062. * readelf.c: Remove extraneous #includes. Fix warnings produced
  1063. by -Wall when compiling under Linux.
  1064. * Makefile.am (readelf_LDADD): Add $(LIBIBERTY).
  1065. Thu Jun 11 18:30:20 1998 Ian Lance Taylor <ian@cygnus.com>
  1066. * stabs.c (struct stab_handle): Add self_crossref field.
  1067. (parse_stab_string): If a tag is a cross reference to itself,
  1068. don't define it in the tags list.
  1069. (parse_stab_type): Set info->self_crossref.
  1070. * debug.c (struct debug_type_real_list): Define.
  1071. (debug_get_real_type): Add list parameter. Change all callers.
  1072. Check for circularity to avoid crashing when it occurs.
  1073. Thu Jun 11 14:48:32 1998 Nick Clifton <nickc@cygnus.com>
  1074. * readelf.c: New file: Display contents of ELF format file.
  1075. * readelf.h: New file: Header file for readelf.c
  1076. * Makefile.am: Add rules to build readelf.
  1077. * Makefile.in: Rebuilt.
  1078. * binutils.texi: Document readelf.
  1079. * NEWS: Mention inclusion of readelf into binutils.
  1080. * po/POTFILES.in; Rebuilt.
  1081. Fri Jun 5 18:43:40 1998 Ian Lance Taylor <ian@cygnus.com>
  1082. * objcopy.c (setup_section): Adjust the section size if copy_byte
  1083. is >= 0.
  1084. (copy_section): Do not call bfd_set_section_size.
  1085. Thu Jun 4 09:12:27 1998 Nick Clifton <nickc@cygnus.com>
  1086. * objcopy.c (copy_usage): Add missing \n\ from help description.
  1087. Wed Jun 3 19:31:33 1998 Ian Lance Taylor <ian@cygnus.com>
  1088. * Makefile.am (YACC): Correct bison -L option.
  1089. * Makefile.in: Rebuild.
  1090. * binutils.texi, objdump.1: Document -p/--private-headers.
  1091. Wed Jun 3 12:09:40 1998 Nick Clifton <nickc@cygnus.com>
  1092. * objcopy.c: Add new command line options: --change-section-lma
  1093. and --change-section-vma. Rename old command line option
  1094. --adjust-section-vma to --change-section-address. Rename
  1095. --adjust-vma to --change-addresses and --adjust-start to
  1096. --change-start. Provide aliases to support the old versions of
  1097. these command line options.
  1098. Change the names of macros and enum elements to upper case to
  1099. match the GNU coding standard.
  1100. Replace calls to fprintf (stderr,...) with calls to fatal () or
  1101. non_fatal () as appropriate.
  1102. * objcopy.1: Document command line option changes.
  1103. * binutils.texi: Document command line option changes.
  1104. * bucomm.h: New exported funtion from bucomm.c: non_fatal().
  1105. * bucomm.c (non_fatal): New exported function. Just like fatal()
  1106. except that it returns rather than calling xexit().
  1107. (bfd_check_format_matches): Call fatal() rather than bfd_fatal().
  1108. (check_matching_formats): Fix C formating.
  1109. (parse_vma): Call fatal().
  1110. Mon Jun 1 18:26:40 1998 Ian Lance Taylor <ian@cygnus.com>
  1111. From Yuli Barcohen <yuli.barcohen@telrad.co.il>:
  1112. * debug.c (debug_type_samep): Avoid endless loops comparing
  1113. function and method parameter types.
  1114. Fri May 22 14:02:42 1998 Ian Lance Taylor <ian@cygnus.com>
  1115. * dlltool.c (dump_iat): Comment out; not used.
  1116. (display): Rename from tell. Change all callers.
  1117. Thu May 14 14:00:56 1998 Nick Clifton <nickc@cygnus.com>
  1118. * dlltool.c: Add support for Thumb DLLs. Add support for
  1119. interworking between ARM and Thumb programs and DLLs. Tidy the
  1120. code.
  1121. * binutils.texi: Document dlltool.
  1122. * configure: Build dlltool for thumb-pe targets.
  1123. * version.c (print_version): Include 1998 in copyright strings.
  1124. * stabs.c (parse_stab): Support Win32 style directory separators.
  1125. Sun May 10 22:34:44 1998 Jeffrey A Law (law@cygnus.com)
  1126. * po/Make-in (install-info): New target.
  1127. Fri May 8 10:33:13 1998 Nick Clifton <nickc@cygnus.com>
  1128. * ar.c (usage): Extend information provided about command line
  1129. options.
  1130. Wed May 6 15:28:51 1998 Klaus Kaempf <kkaempf@progis.de>
  1131. * makefile.vms: Run dec c with /nodebug. Pass CC value when
  1132. calling make.
  1133. Tue May 5 15:19:00 1998 Nick Clifton <nickc@cygnus.com>
  1134. * configure: Build dlltool for thumb-pe target.
  1135. * configure.in: Build dlltool for thumb-pe target.
  1136. Sun May 3 22:04:49 1998 Ian Lance Taylor <ian@cygnus.com>
  1137. * Makefile.am (EXTRA_PROGRAMS): Change $(SRCONV_PROG) to sysconf
  1138. sysdump coffdump to avoid extra $(EXEEXT).
  1139. * Makefile.in: Rebuild.
  1140. Wed Apr 29 22:22:55 1998 Geoffrey Noer <noer@cygnus.com>
  1141. * configure.in: Stop appending EXEEXT to the end of
  1142. SRCONV_PROG (wrong because that variable may contain multiple
  1143. programs)
  1144. * Makefile.am: instead, add EXEEXTs to each SRCONV_PROG
  1145. program
  1146. * Makefile.in: regenerate
  1147. * configure: regenerate
  1148. Tue Apr 28 19:14:34 1998 Tom Tromey <tromey@cygnus.com>
  1149. * addr2line.c (main): Conditionally call setlocale.
  1150. * windres.c (main): Likewise.
  1151. * sysdump.c (main): Likewise.
  1152. * strings.c (main): Likewise.
  1153. * srconv.c (main): Likewise.
  1154. * size.c (main): Likewise.
  1155. * objdump.c (main): Likewise.
  1156. * objcopy.c (main): Likewise.
  1157. * nm.c (main): Likewise.
  1158. * nlmconv.c (main): Likewise.
  1159. * dlltool.c (main): Likewise.
  1160. * coffdump.c (main): Likewise.
  1161. * ar.c (main): Likewise.
  1162. * bucomm.h: Include <locale.h> if HAVE_LOCALE_H.
  1163. (LC_MESSAGES): Now can be defined even when ENABLE_NLS.
  1164. Tue Apr 28 10:33:07 1998 Bill Moyer <ttk@cygnus.com>
  1165. Add support for IMPORTS:
  1166. * defparse.y (impline): Add IMPORTS syntaxes.
  1167. * dlltool.c (ifunctype, iheadtype): New typedefs.
  1168. (import_list): New static variable.
  1169. (append_import): New static function.
  1170. (def_import): Add an entry to import_list.
  1171. (generate_idata_ofile): New static function.
  1172. (gen_exp_file): Call generate_idata_ofile.
  1173. * dlltool.h (def_import): Update declaration.
  1174. Mon Apr 27 16:39:22 1998 Ian Lance Taylor <ian@cygnus.com>
  1175. * configure.in: Change version number to 2.9.4
  1176. * configure: Rebuild.
  1177. Wed Apr 22 16:00:35 1998 Tom Tromey <tromey@cygnus.com>
  1178. * po/Make-in (MKINSTALLDIRS): Don't look in $(top_srcdir).
  1179. Wed Apr 22 00:33:56 1998 Tom Tromey <tromey@scribbles.cygnus.com>
  1180. * Makefile.am (INCLUDES): Search intl dirs for headers; define
  1181. LOCALEDIR.
  1182. * addr2line.c (main): Call setlocale, bindtextdomain, textdomain.
  1183. * ar.c (main): Likewise.
  1184. * coffdump.c (main): Likewise.
  1185. * dlltool.c (main): Likewise.
  1186. * nlmconv.c (main): Likewise.
  1187. * nm.c (main): Likewise.
  1188. * objcopy.c (main): Likewise.
  1189. * objdump.c (main): Likewise.
  1190. * size.c (main): Likewise.
  1191. * srconv.c (main): Likewise.
  1192. * strings.c (main): Likewise.
  1193. * sysdump.c (main): Likewise.
  1194. * windres.c (main): Likewise.
  1195. Tue Apr 21 22:13:08 1998 Tom Tromey <tromey@scribbles.cygnus.com>
  1196. * Many files: Added gettext invocations around user-visible
  1197. strings.
  1198. * bucomm.h: Added gettext-related includes and defines.
  1199. * acconfig.h (ENABLE_NLS, HAVE_CATGETS, HAVE_GETTEXT, HAVE_STPCPY,
  1200. HAVE_LC_MESSAGES): Define.
  1201. * configure.in: Call CY_GNU_GETTEXT. Create po/Makefile.in and
  1202. po/Makefile. Use AM_PROG_LEX.
  1203. * Makefile.am (SUBDIRS): New macro.
  1204. (POTFILES): Likewise.
  1205. (po/POTFILES.in): New target.
  1206. (LDADD): Added INTLLIBS.
  1207. (objdump_LDADD): Likewise.
  1208. (c__filt_LDADD): Likewise.
  1209. (ar_LDADD): Likewise.
  1210. (ranlib_LDADD): Likewise.
  1211. (dlltool_LDADD): Likewise.
  1212. (windres_LDADD): Likewise.
  1213. * po/Make-in, po/POTFILES.in, po/binutils.pot: New files.
  1214. Tue Apr 21 16:07:18 1998 Stanislav Brabec <utx@k332.feld.cvut.cz>
  1215. * objcopy.c (preserve_dates): New file static variable.
  1216. (smart_rename): If preserve_dates, call set_times when copying.
  1217. (strip_main): Remove preserve_dates local variable.
  1218. (copy_main): Likewise.
  1219. Tue Apr 7 15:41:15 1998 Ian Lance Taylor <ian@cygnus.com>
  1220. * Makefile.am (DISTSTUFF): Add defparse.h, defparse.c, rclex.c,
  1221. rcparse.h, and rcparse.c
  1222. * Makefile.in: Rebuild.
  1223. Mon Apr 6 16:24:35 1998 Ian Lance Taylor <ian@cygnus.com>
  1224. * Makefile.am (PROGS): Move $(ADDR2LINE_PROG) to end, so that
  1225. Makefile.in doesn't have an empty continuation line.
  1226. (bin_PROGRAMS): Likewise.
  1227. * Makefile.in: Rebuild.
  1228. Fri Apr 3 14:48:42 1998 Ian Lance Taylor <ian@cygnus.com>
  1229. * Makefile.am (DISTCLEANFILES): Add site.exp and site.bak.
  1230. (MOSTLYCLEANFILES): Add binutils.log, binutils.sum, and abcdefgh*.
  1231. (mostlyclean-local): New target.
  1232. * Makefile.in: Rebuild.
  1233. Wed Apr 1 15:54:16 1998 Ian Lance Taylor <ian@cygnus.com>
  1234. From Zack Weinberg <zack@rabi.phys.columbia.edu> and H.J. Lu
  1235. <hjl@gnu.org>:
  1236. * ar.c (usage): Mention S modifier.
  1237. (main): Add S modifier.
  1238. * ar.1, binutils.texi: Document S modifier.
  1239. Wed Apr 1 13:11:23 1998 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
  1240. * binutils.texi: Use @itemx for a secondary item in a table.
  1241. Tue Mar 31 18:44:13 1998 Ian Lance Taylor <ian@cygnus.com>
  1242. * dep-in.sed: Add rule to remove @OBJDIR@.
  1243. * Makefile.am (dep.sed): Substitute for @OBJDIR@.
  1244. * Makefile.in: Rebuild.
  1245. Mon Mar 30 12:47:18 1998 Ian Lance Taylor <ian@cygnus.com>
  1246. * configure.in: Set version to 2.9.1.
  1247. * configure: Rebuild.
  1248. * Branched binutils 2.9.
  1249. * Makefile.am (DISTCLEANFILES): Remove defparse.h, arparse.h,
  1250. rcparse.h, and nlmheader.h.
  1251. * Makefile.in: Rebuild.
  1252. Sat Mar 28 17:39:27 1998 Ian Lance Taylor <ian@cygnus.com>
  1253. * Makefile.am (MOSTLYCLEANFILES): Define.
  1254. * Makefile.in: Rebuild.
  1255. Fix some gcc -Wall warnings:
  1256. * nlmconv.c (main): Add casts to avoid warnings.
  1257. (alpha_mangle_relocs): Likewise.
  1258. * objdump.c (dump_section_stabs): Likewise.
  1259. * size.c (print_sysv_format): Likewise.
  1260. * srcconv.c (wr_ob): Likewise.
  1261. * wrstabs.c (stab_modify_type): Likewise.
  1262. (stab_variable): Likewise.
  1263. * nlmconv.c (main): Initialize variables to avoid warnings.
  1264. * nm.c (sort_symbols_by_size): Likewise.
  1265. * objdump.c (disassemble_bytes): Likewise.
  1266. * wrstabs.c (stab_end_class_type): Likewise.
  1267. * coffgrok.c (do_sections_p2): Change j to unsigned int.
  1268. (do_lines): Change l to unsigned int.
  1269. * nlmheader.y (yylex): Change i to unsigned int.
  1270. * nm.c (print_symbol): Change j to long.
  1271. * size.c (lprint_number): Comment out.
  1272. * srconv.c (wr_ob): Change i to bfd_size_type.
  1273. * sysdump.c (unit_info_list): Comment out.
  1274. (object_body_list, program_structure, debug_list): Likewise.
  1275. * sysinfo.y (yyerror): Return value.
  1276. Thu Mar 26 17:06:51 1998 Richard Henderson <rth@cygnus.com>
  1277. * defparse.y (explist): Allow epsilon.
  1278. Suggestion from Jonathan-Harris@psion.com.
  1279. Thu Mar 26 16:59:09 1998 Richard Henderson <rth@cygnus.com>
  1280. * coffgrok.c (do_sections_p1): Use the section's lma instead of vma
  1281. for the benefit of prom loaders.
  1282. Wed Mar 25 13:05:39 1998 Ian Lance Taylor <ian@cygnus.com>
  1283. Based on patch from H.J. Lu <hjl@gnu.org>:
  1284. * Makefile.am (DISTSTUFF): New variable.
  1285. (diststuff): New target.
  1286. (DISTCLEANFILES): New variable.
  1287. * Makefile.in: Rebuild.
  1288. Tue Mar 24 19:33:08 1998 Ian Lance Taylor <ian@cygnus.com>
  1289. * rclex.l: Accept { and } as synonyms for BEGIN and END.
  1290. Fri Mar 20 19:18:08 1998 Ian Lance Taylor <ian@cygnus.com>
  1291. * aclocal.m4, configure: Rebuild with libtool 1.2.
  1292. Tue Feb 24 13:07:50 1998 Doug Evans <devans@canuck.cygnus.com>
  1293. * objdump.c (disassemble_data): Delete "++place" after call to
  1294. find_symbol_for_address. Set disasm_info.symbols to array of
  1295. symbols at the current address.
  1296. Wed Feb 18 23:39:46 1998 Richard Henderson <rth@cygnus.com>
  1297. * Makefile.am (install-exec-local): Install properly when ln
  1298. fails or tooldir == prefix.
  1299. Tue Feb 17 18:40:55 1998 Richard Henderson <rth@cygnus.com>
  1300. * objcopy.c (compare_section_lma): Rename from _vma.
  1301. (copy_object): Gap fill based on LMA not VMA.
  1302. * binutils.texi: Update and clarify.
  1303. * objcopy.1: Likewise.
  1304. Tue Feb 17 20:34:11 1998 Ian Lance Taylor <ian@cygnus.com>
  1305. * dlltool.c (gen_exp_file): Generate _imp__%s as well as __imp_%s,
  1306. for Microsoft compatibility.
  1307. (make_one_lib_file): Likewise.
  1308. * dlltool.c (make_one_lib_file): Don't add 1 to hint.
  1309. Fri Feb 13 16:37:44 1998 Ian Lance Taylor <ian@cygnus.com>
  1310. * Makefile.am (AUTOMAKE_OPTIONS): Define.
  1311. * configure, Makefile.in, aclocal.m4: Rebuild with automake 1.2e.
  1312. Thu Feb 12 14:13:46 1998 Ian Lance Taylor <ian@cygnus.com>
  1313. * deflex.l: Accept '?' in symbol names, for VC++ mangled names.
  1314. From Mikey <jeffdb@netzone.com>.
  1315. * addr2line.c (usage): Update bug-gnu-utils address.
  1316. * ar.c (usage): Likewise.
  1317. * nlmconv.c (show_usage): Likewise.
  1318. * nm.c (usage): Likewise.
  1319. * objcopy.c (copy_usage): Likewise.
  1320. (strip_usage): Likewise.
  1321. * objdump.c (usage): Likewise.
  1322. * size.c (usage): Likewise.
  1323. * strings.c (usage): Likewise.
  1324. * windres.c (usage): Likewise.
  1325. * binutils.texi (Bug Reporting): Likewise.
  1326. Sat Feb 7 15:36:24 1998 Ian Lance Taylor <ian@cygnus.com>
  1327. * configure, aclocal.m4: Rebuild with new libtool.
  1328. Thu Feb 5 12:21:13 1998 Ian Lance Taylor <ian@cygnus.com>
  1329. * configure, Makefile.in, aclocal.m4: Rebuild with new libtool.
  1330. Fri Jan 30 19:16:28 1998 Doug Evans <devans@canuck.cygnus.com>
  1331. * Makefile.am (CC_FOR_TARGET,nlmcomv.o): Change program_transform_name
  1332. to transform.
  1333. * Makefile.in: Regenerate.
  1334. Thu Jan 29 16:24:04 1998 Mumit Khan <khan@xraylith.wisc.edu>
  1335. * dlltool.c: Define exit status macros for _WIN32 but not
  1336. __CYGWIN32__.
  1337. (gen_lib_file): Check for exit status of unlink.
  1338. * resrc.c: Define popen and pclose if _WIN32 but not
  1339. __CYGWIN32__.
  1340. Wed Jan 28 17:45:46 1998 Ian Lance Taylor <ian@cygnus.com>
  1341. * configure.in: Remove vfork check.
  1342. * nlmconv.c: Never include vfork.h.
  1343. * aclocal.m4, configure, Makefile.in, config.in: Rebuild.
  1344. Wed Jan 28 17:43:02 1998 J.J. van der Heijden <J.J.vanderHeijden@student.utwente.nl>
  1345. * objcopy.c (copy_archive): Only pass one argument to mkdir if
  1346. _WIN32 but not __CYGWIN32__.
  1347. (smart_rename): Add code for _WIN32 (not __CYGWIN32__), to cope
  1348. with different rename behaviour and lack of chown.
  1349. * configure.in: Check for mingw32 when deciding whether to build
  1350. dlltool.
  1351. * dlltool.c: Never include vfork.h.
  1352. (run): Use pexecute rather than vfork.
  1353. (gen_lib_file): Check for errors from bfd_set_archive_head and
  1354. bfd_close. Close all the BFDs in the archive before deleting the
  1355. temporary files.
  1356. Thu Jan 22 16:22:55 1998 Fred Fish <fnf@cygnus.com>
  1357. * objdump.c (disassemble_bytes): Add flag INSN_HAS_RELOC to tell
  1358. disassembly function there is a reloc on this line.
  1359. Wed Jan 14 15:29:43 1998 Richard Henderson <rth@cygnus.com>
  1360. * srconv.c (sh, h8300): Delete variables.
  1361. (addrsize, toolname, rnames): New variables.
  1362. (writeINT): Use addrsize.
  1363. (wr_un): Use toolname.
  1364. (wr_hd): Set up addrsize et al properly for h8300[hs].
  1365. (walk_tree_symbol): Zero dsy. Use rnames.
  1366. (wr_un, wr_hd, wr_ob, wr_du): Use proper bfd access macros.
  1367. * sysdump.c (sh, h8300): Delete variables.
  1368. (addrsize): New variable.
  1369. (getINT): Use it.
  1370. (getone): Initialize it.
  1371. (getBITS): Range check on MAX.
  1372. For older changes see ChangeLog-9197
  1373. Copyright (C) 1998-1999 Free Software Foundation, Inc.
  1374. Copying and distribution of this file, with or without modification,
  1375. are permitted in any medium without royalty provided the copyright
  1376. notice and this notice are preserved.
  1377. Local Variables:
  1378. mode: change-log
  1379. left-margin: 8
  1380. fill-column: 74
  1381. version-control: never
  1382. End: