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