xref: /netbsd-src/external/gpl3/binutils.old/dist/binutils/ChangeLog-2005 (revision 75fd0b742a7e4a64301bc6c44e9bc5240c58bb92)
1*75fd0b74Schristos2005-12-30  Jie Zhang  <jie.zhang@analog.com>
2*75fd0b74Schristos
3*75fd0b74Schristos	* readelf.c (get_machine_name): Add case for Blackfin.
4*75fd0b74Schristos
5*75fd0b74Schristos2005-12-27  Alan Modra  <amodra@bigpond.net.au>
6*75fd0b74Schristos
7*75fd0b74Schristos	* Makefile.am: Run "make dep-am".
8*75fd0b74Schristos	(Makefile): Remove dependency.
9*75fd0b74Schristos	* Makefile.in: Regenerate.
10*75fd0b74Schristos
11*75fd0b74Schristos2005-12-26  Jan-Benedict Glaw  <jbglaw@lug-owl.de>
12*75fd0b74Schristos
13*75fd0b74Schristos	* MAINTAINERS: Add myself as VAX maintainer.
14*75fd0b74Schristos
15*75fd0b74Schristos2005-12-22  Randolph Chung  <tausq@debian.org>
16*75fd0b74Schristos
17*75fd0b74Schristos	* rddbg.c (read_section_stabs_debugging_info): Add $GDB_SYMBOLS$
18*75fd0b74Schristos	entry to names[] array for SOM binaries.
19*75fd0b74Schristos
20*75fd0b74Schristos2005-12-21  H.J. Lu  <hjl@gnu.org>
21*75fd0b74Schristos
22*75fd0b74Schristos	* MAINTAINERS: Add myself as x86_64 maintainer.
23*75fd0b74Schristos
24*75fd0b74Schristos2005-12-16  Nathan Sidwell  <nathan@codesourcery.com>
25*75fd0b74Schristos
26*75fd0b74Schristos	Second part of ms1 to mt renaming.
27*75fd0b74Schristos	* readelf.c (guess_is_rela): Use EM_MT.
28*75fd0b74Schristos	(dump_relocations, get_machine_name): Adjust.
29*75fd0b74Schristos
30*75fd0b74Schristos2005-12-12  Nathan Sidwell  <nathan@codesourcery.com>
31*75fd0b74Schristos
32*75fd0b74Schristos	* Makefile.am: Replace ms1 files with mt files.
33*75fd0b74Schristos	* Makefile.in: Rebuilt.
34*75fd0b74Schristos	* readelf.c (elf/mt.h): Adjust #include.
35*75fd0b74Schristos
36*75fd0b74Schristos2005-11-30  Nick Clifton  <nickc@redhat.com>
37*75fd0b74Schristos
38*75fd0b74Schristos	* configure.in (ALL_LINGUAS): Add fi.
39*75fd0b74Schristos	* configure: Regenerate.
40*75fd0b74Schristos	* po/fi.po: New file: Finnish translation.
41*75fd0b74Schristos
42*75fd0b74Schristos2005-11-21  Arnold Metselaar <arnoldm@sourceware.org>
43*75fd0b74Schristos
44*75fd0b74Schristos	* MAINTAINERS: add myself as Z80 maintainer
45*75fd0b74Schristos
46*75fd0b74Schristos2005-11-17  Andrew Haley  <aph@redhat.com>
47*75fd0b74Schristos
48*75fd0b74Schristos	* cxxfilt.c (main): Flush output at newline.
49*75fd0b74Schristos
50*75fd0b74Schristos2005-11-16  Mark Mitchell  <mark@codesourcery.com>
51*75fd0b74Schristos
52*75fd0b74Schristos	* doc/binutils.texi: Include config.texi and @file documentation
53*75fd0b74Schristos	for manual pages.
54*75fd0b74Schristos
55*75fd0b74Schristos2005-11-15  Jan Beulich  <jbeulich@novell.com>
56*75fd0b74Schristos
57*75fd0b74Schristos	* objcopy.c (keep_file_symbols): New.
58*75fd0b74Schristos	(enum command_line_switch): Add OPTION_KEEP_FILE_SYMBOLS.
59*75fd0b74Schristos	(strip_options): Add --keep-file-symbols.
60*75fd0b74Schristos	(copy_options): Likewise.
61*75fd0b74Schristos	(copy_usage): Likewise.
62*75fd0b74Schristos	(strip_usage): Likewise.
63*75fd0b74Schristos	(filter_symbols): Act upon keep_file_symbols.
64*75fd0b74Schristos	(strip_main): Handle OPTION_KEEP_FILE_SYMBOLS.
65*75fd0b74Schristos	(copy_main): Likewise.
66*75fd0b74Schristos	* doc/binutils.texi: Document --keep-file-symbols for objcopy
67*75fd0b74Schristos	and strip.
68*75fd0b74Schristos
69*75fd0b74Schristos2005-11-14  Daniel Jacobowitz  <dan@codesourcery.com>
70*75fd0b74Schristos
71*75fd0b74Schristos	* readelf.c (struct dump_list_entry, request_dump_byname)
72*75fd0b74Schristos	(initialise_dumps_byname): New.
73*75fd0b74Schristos	(parse_args): Call request_dump_byname.
74*75fd0b74Schristos	(process_section_contents): Call initialise_dumps_byname.
75*75fd0b74Schristos	* doc/binutils.texi (readelf): Mention -x NAME.
76*75fd0b74Schristos	* NEWS: Likewise.
77*75fd0b74Schristos
78*75fd0b74Schristos2005-11-11  Nick Clifton  <nickc@redhat.com>
79*75fd0b74Schristos
80*75fd0b74Schristos	PR 1150
81*75fd0b74Schristos	* readelf.c (get_mips_symbol_other): New function.
82*75fd0b74Schristos	(get_symbol_other): New function.
83*75fd0b74Schristos	(process_symbol_table): Call get_symbol_other() to get a
84*75fd0b74Schristos	description of the st_other field if it contains more information
85*75fd0b74Schristos	than just the visibility.
86*75fd0b74Schristos
87*75fd0b74Schristos2005-11-07  Steve Ellcey  <sje@cup.hp.com>
88*75fd0b74Schristos
89*75fd0b74Schristos	* configure: Regenerate after modifying bfd/warning.m4.
90*75fd0b74Schristos
91*75fd0b74Schristos2005-10-30  H.J. Lu  <hongjiu.lu@intel.com>
92*75fd0b74Schristos
93*75fd0b74Schristos	* Makefile.am: Run "make dep-am".
94*75fd0b74Schristos	* Makefile.in: Regenerated.
95*75fd0b74Schristos
96*75fd0b74Schristos	* dep-in.sed: Replace " ./" with " ".
97*75fd0b74Schristos
98*75fd0b74Schristos2005-10-25  Alan Modra  <amodra@bigpond.net.au>
99*75fd0b74Schristos
100*75fd0b74Schristos	* po/POTFILES.in: Regenerate.
101*75fd0b74Schristos	* po/binutils.pot: Regenerate.
102*75fd0b74Schristos
103*75fd0b74Schristos2005-10-24  Bernd Schmidt  <bernd.schmidt@analog.com>
104*75fd0b74Schristos
105*75fd0b74Schristos	* MAINTAINERS: Add self as BFIN maintainer.
106*75fd0b74Schristos
107*75fd0b74Schristos2005-10-18  Jie Zhang  <jie.zhang@analog.com>
108*75fd0b74Schristos
109*75fd0b74Schristos	* MAINTAINERS: Add self as BFIN maintainer.
110*75fd0b74Schristos
111*75fd0b74Schristos2005-10-11  Danny Smith  <dannysmith@users.sourceforge.net>
112*75fd0b74Schristos
113*75fd0b74Schristos	* rclex.l (handle quotes): Stop parsing hex notation escaped
114*75fd0b74Schristos	chars after the first two digits,
115*75fd0b74Schristos
116*75fd0b74Schristos2005-10-11  Nick Clifton  <nickc@redhat.com>
117*75fd0b74Schristos
118*75fd0b74Schristos	PR binutils/1437
119*75fd0b74Schristos	* cxxfilt.c (flags): Remove DMGL_TYPES;
120*75fd0b74Schristos	(long_options): Rename --no-types to --types.
121*75fd0b74Schristos	(usage): Likewise.
122*75fd0b74Schristos	(demangle_it): Add a comment describing why _ and $ prefixes are
123*75fd0b74Schristos	skipped.  Use printf rather than puts to emit the demangled output
124*75fd0b74Schristos	in order to avoid emitting a new line character.
125*75fd0b74Schristos	(main): Have the -t flag enable type demangling.
126*75fd0b74Schristos	Emit a newline after every demangled command line argument.
127*75fd0b74Schristos	Copy whitespace from stdin to stdout.
128*75fd0b74Schristos	* doc/binutils.texi (c++filt): Document the change to the -t
129*75fd0b74Schristos	switch.
130*75fd0b74Schristos	Document why demangling names on the command line is slightly
131*75fd0b74Schristos	different to demangling names read from the standard input.
132*75fd0b74Schristos
133*75fd0b74Schristos2005-10-10  Mark Mitchell  <mark@codesourcery.com>
134*75fd0b74Schristos
135*75fd0b74Schristos	* doc/Makefile.am (config.texi): Set top_srcdir.
136*75fd0b74Schristos	* doc/Makefile.in: Regenerated.
137*75fd0b74Schristos	* doc/binutils.texi: Use at-file.texi from libiberty.
138*75fd0b74Schristos
139*75fd0b74Schristos2005-10-10  H.J. Lu  <hongjiu.lu@intel.com>
140*75fd0b74Schristos
141*75fd0b74Schristos	PR binutils/1436
142*75fd0b74Schristos	* readelf.c (ABSADDR): New.
143*75fd0b74Schristos	(dump_ia64_unwind): Use ABSADDR to get the unwind info address.
144*75fd0b74Schristos
145*75fd0b74Schristos2005-10-10  Thomas Weidenmueller  <w3seek@reactos.com>
146*75fd0b74Schristos
147*75fd0b74Schristos	* resbin.c (res_to_bin_accelerator): Place the terminating NUL at
148*75fd0b74Schristos	the correct location in the bindata structure.
149*75fd0b74Schristos
150*75fd0b74Schristos2005-10-10  Bryce Schober  <bryce.schober@dynonavionics.com>
151*75fd0b74Schristos
152*75fd0b74Schristos	* doc/binutils.texi (objdump): Fix typo: -reg-name-std should be
153*75fd0b74Schristos	-reg-names-std.
154*75fd0b74Schristos
155*75fd0b74Schristos2005-10-04  Nick Clifton  <nickc@redhat.com>
156*75fd0b74Schristos
157*75fd0b74Schristos	* cxxfilt.c: Treat mangled names specified on the command line in
158*75fd0b74Schristos	the same way as mangled names read from stdin.
159*75fd0b74Schristos	Add -i switch to disable the display of implementation details.
160*75fd0b74Schristos	Add -t switch to disable the demangling of types.
161*75fd0b74Schristos	* NEWS: Mention the new switches.
162*75fd0b74Schristos	* doc/binutils.texi (cxxfilt): Document the -i and -t switches.
163*75fd0b74Schristos
164*75fd0b74Schristos2005-10-03  Mark Mitchell  <mark@codesourcery.com>
165*75fd0b74Schristos
166*75fd0b74Schristos	* addr2line.c (usage): Document @file.
167*75fd0b74Schristos	* ar.c (usage): Likewise.
168*75fd0b74Schristos	* coffdump (usage): Likewise.
169*75fd0b74Schristos	* cxxfilt.c (usage): Likewise.
170*75fd0b74Schristos	* dlltool.c (usage): Likewise.
171*75fd0b74Schristos	* dllwrap.c (usage): Likewise.
172*75fd0b74Schristos	* nlmconv.c (usage): Likewise.
173*75fd0b74Schristos	* nm.c (usage): Likewise.
174*75fd0b74Schristos	* objcopy.c (usage): Likewise.
175*75fd0b74Schristos	* objdump.c (usage): Likewise.
176*75fd0b74Schristos	* readelf.c (usage): Likewise.
177*75fd0b74Schristos	* size.c (usage): Likeise.
178*75fd0b74Schristos	* srconv.c (usage): Likewise.
179*75fd0b74Schristos	* strings.c (usage): Likewise.
180*75fd0b74Schristos	* windres.c (usage): Likewise.
181*75fd0b74Schristos	* doc/binutils.texi: Add section on common options.
182*75fd0b74Schristos
183*75fd0b74Schristos2005-10-03  H.J. Lu  <hongjiu.lu@intel.com>
184*75fd0b74Schristos
185*75fd0b74Schristos	* NEWS: Mention -W/--dwarf.
186*75fd0b74Schristos
187*75fd0b74Schristos	* doc/binutils.texi: Document -W/--dwarf for objdump.
188*75fd0b74Schristos
189*75fd0b74Schristos2005-10-01  Paul Brook  <paul@codesourcery.com>
190*75fd0b74Schristos
191*75fd0b74Schristos	* readelf.c (arm_attr_tag_CPU_arch, arm_attr_tag_ARM_ISA_use,
192*75fd0b74Schristos	arm_attr_tag_THUMB_ISA_use, arm_attr_tag_VFP_arch,
193*75fd0b74Schristos	arm_attr_tag_WMMX_arch, arm_attr_tag_NEON_arch,
194*75fd0b74Schristos	arm_attr_tag_ABI_PCS_config, arm_attr_tag_ABI_PCS_R9_use,
195*75fd0b74Schristos	arm_attr_tag_ABI_PCS_RW_data, arm_attr_tag_ABI_PCS_RO_DATA,
196*75fd0b74Schristos	arm_attr_tag_ABI_PCS_GOT_use, arm_attr_tag_ABI_PCS_wchar_t,
197*75fd0b74Schristos	arm_attr_tag_ABI_FP_rounding, arm_attr_tag_ABI_FP_denormal,
198*75fd0b74Schristos	arm_attr_tag_ABI_FP_exceptions, arm_attr_tag_ABI_FP_user_exceptions,
199*75fd0b74Schristos	arm_attr_tag_ABI_FP_number_model, arm_attr_tag_ABI_align8_needed,
200*75fd0b74Schristos	arm_attr_tag_ABI_align8_preserved, arm_attr_tag_ABI_enum_size,
201*75fd0b74Schristos	arm_attr_tag_ABI_HardFP_use, arm_attr_tag_ABI_VFP_args,
202*75fd0b74Schristos	arm_attr_tag_ABI_WMMX_args, arm_attr_tag_ABI_optimization_goals,
203*75fd0b74Schristos	arm_attr_tag_ABI_FP_optimization_goals, arm_attr_public_tags): New.
204*75fd0b74Schristos	(display_arm_attribute, process_arm_specific): New functions.
205*75fd0b74Schristos	(process_arch_specific): Add EM_ARM.
206*75fd0b74Schristos
207*75fd0b74Schristos2005-09-30  Mark Mitchell  <mark@codesourcery.com>
208*75fd0b74Schristos
209*75fd0b74Schristos	* dlltool.c (main): Fix typo.
210*75fd0b74Schristos	* windres.c (main): Likewise.
211*75fd0b74Schristos
212*75fd0b74Schristos2005-09-30  H.J. Lu  <hongjiu.lu@intel.com>
213*75fd0b74Schristos
214*75fd0b74Schristos	* Makefile.in: Regenerated.
215*75fd0b74Schristos
216*75fd0b74Schristos2005-09-30  H.J. Lu  <hongjiu.lu@intel.com>
217*75fd0b74Schristos
218*75fd0b74Schristos	* sysinfo.y (main): Undo last change.
219*75fd0b74Schristos
220*75fd0b74Schristos2005-08-30  Mark Mitchell  <mark@codesourcery.com>
221*75fd0b74Schristos
222*75fd0b74Schristos	* addr2line.c (main): Use expandargv.
223*75fd0b74Schristos	* ar.c (main): Likewise.
224*75fd0b74Schristos	* coffdump.c (main): Likewise.
225*75fd0b74Schristos	* cxxfilt.c (main): Likewise.
226*75fd0b74Schristos	* dlltool.c (main): Likewise.
227*75fd0b74Schristos	* dllwrap.c (main): Likewise.
228*75fd0b74Schristos	* nlmconv.c (main): Likewise.
229*75fd0b74Schristos	* nm.c (main): Likewise.
230*75fd0b74Schristos	* objcopy.c (main): Likewise.
231*75fd0b74Schristos	* objdump.c (main): Likewise.
232*75fd0b74Schristos	* readelf.c (main): Likewise.
233*75fd0b74Schristos	* size.c (main): Likeiwse.
234*75fd0b74Schristos	* srcconv.c (main): Likewise.
235*75fd0b74Schristos	* strings.c (main): Likewise.
236*75fd0b74Schristos	* sysdump.c (main): Likewise.
237*75fd0b74Schristos	* sysinfo.y (main): Likewise.
238*75fd0b74Schristos	* windres.c (main): Likewise.
239*75fd0b74Schristos
240*75fd0b74Schristos2005-09-30  H.J. Lu  <hongjiu.lu@intel.com>
241*75fd0b74Schristos
242*75fd0b74Schristos	* Makefile.am: Run "make dep-am".
243*75fd0b74Schristos	* Makefile.in: Regenerated.
244*75fd0b74Schristos	* aclocal.m4: Likewise.
245*75fd0b74Schristos
246*75fd0b74Schristos2005-09-30  Catherine Moore  <clm@cm00re.com>
247*75fd0b74Schristos
248*75fd0b74Schristos	* Makefile.am: Bfin support.
249*75fd0b74Schristos	* Makefile.in: Regenerated.
250*75fd0b74Schristos	* aclocal.m4: Regenerated.
251*75fd0b74Schristos	* readelf.c (elf/bfin.h): Include.
252*75fd0b74Schristos	(guess_is_rela): EM_BLACKFIN support.
253*75fd0b74Schristos	(dump_relocations): Likewise.
254*75fd0b74Schristos
255*75fd0b74Schristos2005-09-30  H.J. Lu  <hongjiu.lu@intel.com>
256*75fd0b74Schristos
257*75fd0b74Schristos	* dwarf.c (fetch_indirect_string): Adjust for section address.
258*75fd0b74Schristos	(process_debug_info): Likewise.
259*75fd0b74Schristos	(display_debug_loc): Likewise.
260*75fd0b74Schristos	(display_debug_ranges): Likewise.
261*75fd0b74Schristos
262*75fd0b74Schristos	* objdump.c (mach_o_dwarf_sections): New.
263*75fd0b74Schristos	(generic_dwarf_sections): Likewise.
264*75fd0b74Schristos	(check_mach_o_dwarf): Likewise.
265*75fd0b74Schristos	(dump_dwarf): Call check_mach_o_dwarf.
266*75fd0b74Schristos
267*75fd0b74Schristos2005-09-30  H.J. Lu  <hongjiu.lu@intel.com>
268*75fd0b74Schristos
269*75fd0b74Schristos	* Makefile.am (objdump_SOURCES): Add dwarf.c.
270*75fd0b74Schristos	* Makefile.in: Regenerated.
271*75fd0b74Schristos
272*75fd0b74Schristos	* objdump.c: Include "dwarf.h".
273*75fd0b74Schristos	(usage): Add -W/--dwarf.
274*75fd0b74Schristos	(long_options): Likewise.
275*75fd0b74Schristos	(dump_dwarf_section_info): New.
276*75fd0b74Schristos	(load_debug_section): Likewise.
277*75fd0b74Schristos	(free_debug_section): Likewise.
278*75fd0b74Schristos	(dump_dwarf_section): Likewise.
279*75fd0b74Schristos	(dump_dwarf): Likewise.
280*75fd0b74Schristos	(dump_bfd): Load symbol table and call dump_dwarf if
281*75fd0b74Schristos	dump_dwarf_section_info isn't zero.
282*75fd0b74Schristos	(main): Handle -W/--dwarf.
283*75fd0b74Schristos
284*75fd0b74Schristos2005-09-30  H.J. Lu  <hongjiu.lu@intel.com>
285*75fd0b74Schristos
286*75fd0b74Schristos	* readelf.c: Reordered.
287*75fd0b74Schristos	(is_relocatable): New.
288*75fd0b74Schristos	(dwarf_section): New structure for DWARF section.
289*75fd0b74Schristos	(load_debug_section): New.
290*75fd0b74Schristos	(free_debug_section): Likewise.
291*75fd0b74Schristos	(debug_str_section): Likewise.
292*75fd0b74Schristos	(debug_abbrev_section): Likewise.
293*75fd0b74Schristos	(debug_str_contents): Removed.
294*75fd0b74Schristos	(debug_str_size): Likewise.
295*75fd0b74Schristos	(debug_loc_contents): Likewise.
296*75fd0b74Schristos	(debug_loc_size): Likewise.
297*75fd0b74Schristos	(debug_range_contents): Likewise.
298*75fd0b74Schristos	(debug_range_size): Likewise.
299*75fd0b74Schristos	(load_debug_str): Likewise.
300*75fd0b74Schristos	(free_debug_str): Likewise.
301*75fd0b74Schristos	(load_debug_loc): Likewise.
302*75fd0b74Schristos	(free_debug_loc): Likewise.
303*75fd0b74Schristos	(load_debug_arange): Likewise.
304*75fd0b74Schristos	(free_debug_arange): Likewise.
305*75fd0b74Schristos	(load_debug_abbrev): Likewise.
306*75fd0b74Schristos	(free_debug_abbrev): Likewise.
307*75fd0b74Schristos	(fetch_indirect_string): Updated.
308*75fd0b74Schristos	(debug_apply_rela_addends): Likewise.
309*75fd0b74Schristos	(process_debug_info): Likewise.
310*75fd0b74Schristos	(get_debug_info): Likewise.
311*75fd0b74Schristos	(display_debug_lines): Likewise.
312*75fd0b74Schristos	(display_debug_pubnames): Likewise.
313*75fd0b74Schristos	(display_debug_macinfo): Likewise.
314*75fd0b74Schristos	(display_debug_abbrev): Likewise.
315*75fd0b74Schristos	(display_debug_loc): Likewise.
316*75fd0b74Schristos	(display_debug_str): Likewise.
317*75fd0b74Schristos	(display_debug_info): Likewise.
318*75fd0b74Schristos	(display_debug_aranges): Likewise.
319*75fd0b74Schristos	(display_debug_ranges): Likewise.
320*75fd0b74Schristos	(display_debug_frames): Likewise.
321*75fd0b74Schristos	(display_debug_not_supported): Likewise.
322*75fd0b74Schristos	(debug_displays): Likewise.
323*75fd0b74Schristos	(display_debug_section): Likewise.
324*75fd0b74Schristos	(get_file_header): Set is_relocatable.
325*75fd0b74Schristos
326*75fd0b74Schristos2005-09-30  H.J. Lu  <hongjiu.lu@intel.com>
327*75fd0b74Schristos
328*75fd0b74Schristos	* readelf.c (debug_apply_rela_addends): Relocate the whole
329*75fd0b74Schristos	section.
330*75fd0b74Schristos	(process_debug_info): Don't call debug_apply_rela_addends.
331*75fd0b74Schristos	(display_debug_frames): Likewise.
332*75fd0b74Schristos	(get_debug_info): Call debug_apply_rela_addends.
333*75fd0b74Schristos	(debug_displays): Add the "relocate" field.
334*75fd0b74Schristos	(display_debug_section): Call debug_apply_rela_addends if
335*75fd0b74Schristos	needed.
336*75fd0b74Schristos
337*75fd0b74Schristos2005-09-30  Matthias Kurz  <mk@baerlap.north.de>
338*75fd0b74Schristos
339*75fd0b74Schristos	* bucomm.h: Prevent the inclusion of <libintl.h> from the Solaris
340*75fd0b74Schristos	version of <locale.h> when ENABLE_NLS is not defined.
341*75fd0b74Schristos
342*75fd0b74Schristos2005-09-26  Mark Mitchell  <mark@codesourcery.com>
343*75fd0b74Schristos
344*75fd0b74Schristos	* BRANCHES: Mention binutils-csl-gxxpro-3_4-branch.
345*75fd0b74Schristos
346*75fd0b74Schristos2005-09-20  Richard Henderson  <rth@redhat.com>
347*75fd0b74Schristos
348*75fd0b74Schristos	* readelf.c (display_debug_lines): Use unsigned long for address
349*75fd0b74Schristos	increments.  Use 0x prefix for all hex numbers.
350*75fd0b74Schristos
351*75fd0b74Schristos2005-09-09  Richard Earnshaw  <richard.earnshaw@arm.com>
352*75fd0b74Schristos
353*75fd0b74Schristos	* readelf.c (get_arm_section_type_name): Add SHT_ARM_PREEMPTMAP and
354*75fd0b74Schristos	SHT_ARM_ATTRIBUTES.
355*75fd0b74Schristos
356*75fd0b74Schristos2005-09-07  H.J. Lu  <hongjiu.lu@intel.com>
357*75fd0b74Schristos
358*75fd0b74Schristos	* readelf.c (get_elf_section_flags): Handle 64bit sh_flags.
359*75fd0b74Schristos
360*75fd0b74Schristos2005-09-02  H.J. Lu  <hongjiu.lu@intel.com>
361*75fd0b74Schristos
362*75fd0b74Schristos	* readelf.c (debug_abbrev_contents): New.
363*75fd0b74Schristos	(debug_abbrev_size): Likewise.
364*75fd0b74Schristos	(load_debug_abbrev): Likewise.
365*75fd0b74Schristos	(free_debug_abbrev): Likewise.
366*75fd0b74Schristos	(process_debug_info): Use them.
367*75fd0b74Schristos
368*75fd0b74Schristos2005-08-17  H.J. Lu  <hongjiu.lu@intel.com>
369*75fd0b74Schristos
370*75fd0b74Schristos	PR binutils/1179
371*75fd0b74Schristos	* objdump.c (disassemble_bytes): Don't adjust
372*75fd0b74Schristos	adjust_section_vma.
373*75fd0b74Schristos	(adjust_addresses): Don't adjust vma for debugging section.
374*75fd0b74Schristos	Adjust lma only for relocatable files.
375*75fd0b74Schristos	(dump_bfd): Tell adjust_addresses if it is a relocatable file.
376*75fd0b74Schristos
377*75fd0b74Schristos2005-08-16  H.J. Lu  <hongjiu.lu@intel.com>
378*75fd0b74Schristos
379*75fd0b74Schristos	* bucomm.h (stpcpy): Declare if HAVE_DECL_STPCPY isn't defined.
380*75fd0b74Schristos
381*75fd0b74Schristos	* configure.in (AC_GNU_SOURCE): Added.
382*75fd0b74Schristos	(AC_CHECK_DECLS): Add stpcpy.
383*75fd0b74Schristos	* configure: Regenerated.
384*75fd0b74Schristos	* config.in: Likewise.
385*75fd0b74Schristos
386*75fd0b74Schristos2005-08-16  Jakub Jelinek  <jakub@redhat.com>
387*75fd0b74Schristos
388*75fd0b74Schristos	* unwind-ia64.c (UNW_DEC_SPILL_SPREL, UNW_DEC_SPILL_PSPREL,
389*75fd0b74Schristos	UNW_DEC_RESTORE, UNW_DEC_SPILL_REG): Increase {,ab,t}regname
390*75fd0b74Schristos	buffer sizes.
391*75fd0b74Schristos
392*75fd0b74Schristos2005-08-15  Daniel Jacobowitz  <dan@codesourcery.com>
393*75fd0b74Schristos
394*75fd0b74Schristos	* doc/binutils.texi (objdump): Document -M e300.
395*75fd0b74Schristos
396*75fd0b74Schristos2005-08-14  John David Anglin  <dave.anglin@nrc-cnrc.gc.ca>
397*75fd0b74Schristos
398*75fd0b74Schristos	* readelf.c (slurp_hppa_unwind_table): Fix entry size on hppa64-hpux.
399*75fd0b74Schristos	Don't access table entries past the end of the table.
400*75fd0b74Schristos
401*75fd0b74Schristos2005-08-13  John David Anglin  <dave.anglin@nrc-cnrc.gc.ca>
402*75fd0b74Schristos
403*75fd0b74Schristos	* readelf.c (get_parisc_segment_type): Handle PT_PARISC_WEAKORDER.
404*75fd0b74Schristos	(get_parisc_section_type_name): Handle SHT_PARISC_DLKM.
405*75fd0b74Schristos
406*75fd0b74Schristos2005-08-11  H.J. Lu  <hongjiu.lu@intel.com>
407*75fd0b74Schristos
408*75fd0b74Schristos	* NEWS: Mention "-t/--section-details" and
409*75fd0b74Schristos	"-N/--full-section-name".
410*75fd0b74Schristos
411*75fd0b74Schristos	* doc/binutils.texi: Document "-t/--section-details". Remove
412*75fd0b74Schristos	"-N/--full-section-name".
413*75fd0b74Schristos
414*75fd0b74Schristos	* readelf.c (do_full_section_name): Renamed to ...
415*75fd0b74Schristos	(do_section_details): This.
416*75fd0b74Schristos	(option): Rename "-N/--full-section-name" to
417*75fd0b74Schristos	"-t/--section-details".
418*75fd0b74Schristos	(usage): Likewise.
419*75fd0b74Schristos	(parse_args): Likewise.
420*75fd0b74Schristos	(get_elf_section_flags): Support do_section_details.
421*75fd0b74Schristos	(process_section_headers): Updated for do_section_details.
422*75fd0b74Schristos
423*75fd0b74Schristos2005-08-04  John David Anglin  <dave.anglin@nrc-cnrc.gc.ca>
424*75fd0b74Schristos
425*75fd0b74Schristos	* readelf.c (get_parisc_dynamic_type): Add new dynamic types.
426*75fd0b74Schristos	(get_dynamic_type): Use old values for DT_LOOS and DT_HIOS when
427*75fd0b74Schristos	e_machine is EM_PARISC.
428*75fd0b74Schristos	(get_parisc_segment_type): Add new segment types.
429*75fd0b74Schristos	(get_parisc_section_type_name): Add new section names.
430*75fd0b74Schristos	(dynamic_section_parisc_val): Add new table entries.
431*75fd0b74Schristos
432*75fd0b74Schristos2005-08-01  Filip Navara  <navaraf@reactos.com>
433*75fd0b74Schristos
434*75fd0b74Schristos	* dlltool.c (alphafunc): Remove and replace usage with nfunc.
435*75fd0b74Schristos	(nfunc): Fix sorting of fastcall symbols when --kill-at is used.
436*75fd0b74Schristos
437*75fd0b74Schristos2005-07-25  H.J. Lu  <hongjiu.lu@intel.com>
438*75fd0b74Schristos
439*75fd0b74Schristos	* readelf.c (dump_relocations): Handle SHN_X86_64_LCOMMON.
440*75fd0b74Schristos	(get_symbol_index_type): Likewise.
441*75fd0b74Schristos	(get_elf_section_flags): Handle SHF_X86_64_LARGE.
442*75fd0b74Schristos
443*75fd0b74Schristos2005-07-21  Eric Christopher  <echristo@apple.com>
444*75fd0b74Schristos
445*75fd0b74Schristos	* MAINTAINERS: Change affiliation.
446*75fd0b74Schristos
447*75fd0b74Schristos2005-07-19  Ben Elliston  <bje@au.ibm.com>
448*75fd0b74Schristos
449*75fd0b74Schristos	* readelf.c (read_and_display_attr_value): Remove comment adjacent
450*75fd0b74Schristos	to DW_ATE_decimal_float about it being a GNU extension.
451*75fd0b74Schristos
452*75fd0b74Schristos2005-07-18  Nick Clifton  <nickc@redhat.com>
453*75fd0b74Schristos
454*75fd0b74Schristos	* binemul.c: Fix name of Red Hat.
455*75fd0b74Schristos	* binemul.h: Likewise.
456*75fd0b74Schristos	* emul_aix.c: Likewise.
457*75fd0b74Schristos	* emul_vanilla: Likewise.
458*75fd0b74Schristos
459*75fd0b74Schristos2005-07-18  Ben Elliston  <bje@au.ibm.com>
460*75fd0b74Schristos
461*75fd0b74Schristos	* readelf.c (read_and_display_attr_value): Handle a DW_AT_encoding
462*75fd0b74Schristos	value of DW_ATE_decimal_float instead of DW_ATE_GNU_decimal_float.
463*75fd0b74Schristos
464*75fd0b74Schristos2005-07-16  Alan Modra  <amodra@bigpond.net.au>
465*75fd0b74Schristos
466*75fd0b74Schristos	* Makefile.am: Run "make dep-am".
467*75fd0b74Schristos	* Makefile.in: Regenerate.
468*75fd0b74Schristos
469*75fd0b74Schristos2005-07-15  Eric Christopher  <echristo@redhat.com>
470*75fd0b74Schristos
471*75fd0b74Schristos	* MAINTAINERS: Change affiliation.
472*75fd0b74Schristos
473*75fd0b74Schristos2005-07-14  Jim Blandy  <jimb@redhat.com>
474*75fd0b74Schristos
475*75fd0b74Schristos	* readelf.c: #include "elf/m32c.h"
476*75fd0b74Schristos	(guess_is_rela, dump_relocations, get_machine_name): Add cases for
477*75fd0b74Schristos	EM_M32C.
478*75fd0b74Schristos	* Makefile.am (readelf.o): Update dependencies.
479*75fd0b74Schristos	* Makefile.in: Regenerated.
480*75fd0b74Schristos
481*75fd0b74Schristos2005-07-08  Ben Elliston  <bje@au.ibm.com>
482*75fd0b74Schristos
483*75fd0b74Schristos	* bucomm.h: Include <stdarg.h> unconditionally, not only when
484*75fd0b74Schristos	ANSI_PROTOTYPES is defined.  Remove #ifdef logic.
485*75fd0b74Schristos	* dlltool.c: Likewise.
486*75fd0b74Schristos	* dllwrap.c: Likewise.
487*75fd0b74Schristos
488*75fd0b74Schristos2005-07-07  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
489*75fd0b74Schristos
490*75fd0b74Schristos	* bucomm.h (report): Add format attribute.
491*75fd0b74Schristos	* dlltool.c (inform): Likewise.
492*75fd0b74Schristos	* dllwrap.c (display, inform, warn): Likewise.
493*75fd0b74Schristos	* objdump.c (objdump_sprintf): Likewise.
494*75fd0b74Schristos	* readelf.c (error, warn): Likewise.  Fix format bugs.
495*75fd0b74Schristos
496*75fd0b74Schristos2005-07-05  Dmitry V. Levin  <ldv@altlinux.org>
497*75fd0b74Schristos	    Nick Clifton  <nickc@redhat.com>
498*75fd0b74Schristos
499*75fd0b74Schristos	* strings.c (filename_and_size_t): New typedef.
500*75fd0b74Schristos	(strings_a_section): Skip sections with size greater or equal to
501*75fd0b74Schristos	the file size.  Cache the file size to avoid repeated stat()s.
502*75fd0b74Schristos	(strings_object_file): Pass filename_and_size_t argument to
503*75fd0b74Schristos	strings_a_section() via bfd_map_over_sections().
504*75fd0b74Schristos
505*75fd0b74Schristos2005-07-04  Alan Modra  <amodra@bigpond.net.au>
506*75fd0b74Schristos
507*75fd0b74Schristos	PR 1004
508*75fd0b74Schristos	* objcopy.c (copy_object): Use bfd_make_section_with_flags.
509*75fd0b74Schristos	(write_debugging_info): Likewise.
510*75fd0b74Schristos	(setup_section): Use bfd_make_section_anyway_with_flags.
511*75fd0b74Schristos
512*75fd0b74Schristos2005-07-01  Steve Ellcey  <sje@cup.hp.com>
513*75fd0b74Schristos
514*75fd0b74Schristos	* configure.in (AM_BINUTILS_WARNINGS): Add.
515*75fd0b74Schristos	(BFD_NEED_DECLARATION): Replace with AC_CHECK_DECLS.
516*75fd0b74Schristos	* configure: Regenerate.
517*75fd0b74Schristos	* config.in: Regenerate.
518*75fd0b74Schristos	* objdump.c (NEED_DECLARATION_*): Replace with !HAVE_DECL_*.
519*75fd0b74Schristos	* bucomm.h: (NEED_DECLARATION_*): Ditto.
520*75fd0b74Schristos
521*75fd0b74Schristos2005-06-30  Ben Elliston  <bje@gnu.org>
522*75fd0b74Schristos
523*75fd0b74Schristos	* Makefile.am (check-DEJAGNU): Don't search for expect.
524*75fd0b74Schristos	* Makefile.in: Regenerate.
525*75fd0b74Schristos
526*75fd0b74Schristos2005-06-30  Ben Elliston  <bje@gnu.org>
527*75fd0b74Schristos
528*75fd0b74Schristos	* Makefile.am (EXPECT): Set to expect.
529*75fd0b74Schristos	(RUNTEST): Likewise, set to runtest.
530*75fd0b74Schristos	* Makefile.in: Regenerate.
531*75fd0b74Schristos
532*75fd0b74Schristos2005-06-17  Jakub Jelinek  <jakub@redhat.com>
533*75fd0b74Schristos
534*75fd0b74Schristos	* readelf.c (CHECK_ENTSIZE_VALUES, CHECK_ENTSIZE): Define.
535*75fd0b74Schristos	(process_section_headers): Use it.
536*75fd0b74Schristos	(process_relocs): Don't crash if symsec is not SHT_SYMTAB
537*75fd0b74Schristos	or SHT_DYNSYM.
538*75fd0b74Schristos	(process_version_sections): Use sizeof (Elf_External_Versym)
539*75fd0b74Schristos	instead of sh_entsize.
540*75fd0b74Schristos
541*75fd0b74Schristos2005-06-16  Nick Clifton  <nickc@redhat.com>
542*75fd0b74Schristos
543*75fd0b74Schristos	* rename.c (simple_copy): Only define if it is going to be used.
544*75fd0b74Schristos	(smart_rename): Mark the preserve_dates parameter as possibly
545*75fd0b74Schristos	being unused.
546*75fd0b74Schristos
547*75fd0b74Schristos	* resres.c (write_res_data): Prevent a potential compile time
548*75fd0b74Schristos	warning by casting the return value from fwrite.
549*75fd0b74Schristos
550*75fd0b74Schristos2005-06-14  H.J. Lu  <hongjiu.lu@intel.com>
551*75fd0b74Schristos
552*75fd0b74Schristos	PR 995
553*75fd0b74Schristos	* ar.c (BUFSIZE): Moved to ...
554*75fd0b74Schristos	* bucomm.h (BUFSIZE): Here.
555*75fd0b74Schristos
556*75fd0b74Schristos	* bucomm.c: Include <assert.h>.
557*75fd0b74Schristos	(bfd_get_archive_filename): New.
558*75fd0b74Schristos	* bucomm.h (bfd_get_archive_filename): New.
559*75fd0b74Schristos
560*75fd0b74Schristos	* objcopy.c (copy_unknown_object): New.
561*75fd0b74Schristos	(copy_object): Use bfd_get_archive_filename when reporting input
562*75fd0b74Schristos	error. Don't call fatal on unknown arch.
563*75fd0b74Schristos	(copy_archive): Call copy_unknown_object on unknown format or
564*75fd0b74Schristos	arch.
565*75fd0b74Schristos
566*75fd0b74Schristos2005-06-14  Jakub Jelinek  <jakub@redhat.com>
567*75fd0b74Schristos
568*75fd0b74Schristos	* readelf.c (cmalloc, xcmalloc, xcrealloc): New functions.
569*75fd0b74Schristos	(get_data): Add nmemb argument.  Return NULL if nmemb * size
570*75fd0b74Schristos	overflows.  If var == NULL, allocate one extra byte and
571*75fd0b74Schristos	clear it.
572*75fd0b74Schristos	(slurp_rela_relocs, slurp_rel_relocs, get_32bit_program_headers,
573*75fd0b74Schristos	get_64bit_program_headers, get_program_headers,
574*75fd0b74Schristos	get_32bit_section_headers, get_64bit_section_headers,
575*75fd0b74Schristos	get_32bit_elf_symbols, get_64bit_elf_symbols, process_section_headers,
576*75fd0b74Schristos	process_section_groups, process_relocs, slurp_ia64_unwind_table,
577*75fd0b74Schristos	ia64_process_unwind, slurp_hppa_unwind_table, hppa_process_unwind,
578*75fd0b74Schristos	get_32bit_dynamic_section, get_64bit_dynamic_section,
579*75fd0b74Schristos	process_dynamic_section, process_version_sections, get_dynamic_data,
580*75fd0b74Schristos	process_symbol_table, dump_section, load_debug_str, load_debug_loc,
581*75fd0b74Schristos	load_debug_range, read_and_display_attr_value, process_debug_info,
582*75fd0b74Schristos	get_debug_info, frame_need_space, display_debug_frames,
583*75fd0b74Schristos	display_debug_section, process_mips_specific, process_gnu_liblist,
584*75fd0b74Schristos	process_corefile_note_segment): Adjust get_data callers.  Use
585*75fd0b74Schristos	cmalloc, xcmalloc and xcrealloc instead of {m,xm,xre}alloc where
586*75fd0b74Schristos	passed size is a product of 2 numbers.
587*75fd0b74Schristos
588*75fd0b74Schristos	* readelf.c (print_mode): Fix comment typo.
589*75fd0b74Schristos	(slurp_rela_relocs, slurp_rel_relocs): Fix memory leaks.
590*75fd0b74Schristos	(dump_relocations): Fix a thinko in check for invalid st_name.
591*75fd0b74Schristos	(process_program_headers): Don't crash if string_table is NULL.
592*75fd0b74Schristos	(process_section_headers): Don't crash if e_shstrndx is invalid.
593*75fd0b74Schristos	Ensure string_table_length is 0 if string_table == NULL.
594*75fd0b74Schristos	Don't return just because string_table is NULL.
595*75fd0b74Schristos	(process_section_groups): Don't crash if symtab's sh_link or
596*75fd0b74Schristos	symbol's st_name is invalid.  Fix a memory leak.  Fix check for
597*75fd0b74Schristos	invalid section number entry.
598*75fd0b74Schristos	(process_relocs): Don't crash if relocation or symbol section's
599*75fd0b74Schristos	sh_link is invalid.
600*75fd0b74Schristos	(slurp_ia64_unwind_table, slurp_hppa_unwind_table): Don't crash if
601*75fd0b74Schristos	relocation section's sh_info is invalid.
602*75fd0b74Schristos	(ia64_process_unwind, hppa_process_unwind): Don't crash if symbol
603*75fd0b74Schristos	table's sh_link is invalid.
604*75fd0b74Schristos	(process_version_sections): Don't crash on version or symbol
605*75fd0b74Schristos	section's sh_link is invalid.  Don't crash if symbol's st_shndx
606*75fd0b74Schristos	is invalid.
607*75fd0b74Schristos	(process_symbol_table): Don't crash if string table is corrupt
608*75fd0b74Schristos	or symbol's st_name, st_shndx, vna_name or vda_name is invalid.
609*75fd0b74Schristos	(debug_apply_rela_addends): Don't crash if relocation section's
610*75fd0b74Schristos	sh_info or sh_link is invalid.
611*75fd0b74Schristos	(display_debug_loc): Warn for unterminated .debug_loc section
612*75fd0b74Schristos	or start offsets not within .debug_loc section boundaries.
613*75fd0b74Schristos	(process_gnu_liblist): Don't crash if liblist section's sh_link
614*75fd0b74Schristos	or entry's l_name is invalid.
615*75fd0b74Schristos
616*75fd0b74Schristos2005-06-09  Jakub Jelinek  <jakub@redhat.com>
617*75fd0b74Schristos
618*75fd0b74Schristos	* objdump.c (disassemble_bytes): Don't crash if q->howto == NULL.
619*75fd0b74Schristos	If q->howto->name == NULL, print q->howto->type as number instead.
620*75fd0b74Schristos	(dump_reloc_set): Likewise.
621*75fd0b74Schristos
622*75fd0b74Schristos2005-06-07  Eric Christopher  <echristo@redhat.com>
623*75fd0b74Schristos
624*75fd0b74Schristos	* readelf.c (guess_is_rela): Support ms1.
625*75fd0b74Schristos	(dump_relocations): Ditto.
626*75fd0b74Schristos	(get_machine_name): Ditto.
627*75fd0b74Schristos
628*75fd0b74Schristos2005-06-07  Aldy Hernandez  <aldyh@redhat.com>
629*75fd0b74Schristos	    Michael Snyder  <msnyder@redhat.com>
630*75fd0b74Schristos	    Stan Cox  <scox@redhat.com>
631*75fd0b74Schristos
632*75fd0b74Schristos	* Makefile.am (readelf.o): Depend on ms1.h.
633*75fd0b74Schristos
634*75fd0b74Schristos	* Makefile.in: Regenerate.
635*75fd0b74Schristos
636*75fd0b74Schristos	* readelf.c: Include ms1.h.
637*75fd0b74Schristos
638*75fd0b74Schristos2005-06-06  H.J. Lu  <hongjiu.lu@intel.com>
639*75fd0b74Schristos
640*75fd0b74Schristos	PR 990
641*75fd0b74Schristos	* nm.c (print_symbol): Call bfd_find_line before
642*75fd0b74Schristos	bfd_find_nearest_line.
643*75fd0b74Schristos
644*75fd0b74Schristos2005-06-06  Alan Modra  <amodra@bigpond.net.au>
645*75fd0b74Schristos
646*75fd0b74Schristos	* NEWS: Mention new powerpc ld support.
647*75fd0b74Schristos
648*75fd0b74Schristos2005-06-03  Steve Ellcey  <sje@cup.hp.com>
649*75fd0b74Schristos
650*75fd0b74Schristos	* configure.in: Check for getc_unlocked prototype.
651*75fd0b74Schristos	* configure: Regenerate.
652*75fd0b74Schristos	* config.in: Regenerate.
653*75fd0b74Schristos	* strings.c (get_char): Only call getc_unlocked if we have seen a
654*75fd0b74Schristos	prototype.
655*75fd0b74Schristos
656*75fd0b74Schristos2005-06-03  Nick Clifton  <nickc@redhat.com>
657*75fd0b74Schristos
658*75fd0b74Schristos	* configure.in (ALL_LINGUAS): Add zh_TW
659*75fd0b74Schristos	* configure: Regenerate.
660*75fd0b74Schristos	* po/zh_TW.po: New Chinese (traditional) translation.
661*75fd0b74Schristos
662*75fd0b74Schristos2005-05-31  Richard Henderson  <rth@redhat.com>
663*75fd0b74Schristos
664*75fd0b74Schristos	* readelf.c (dump_relocations): Special case R_ALPHA_LITUSE.
665*75fd0b74Schristos
666*75fd0b74Schristos2005-05-29  Richard Henderson  <rth@redhat.com>
667*75fd0b74Schristos
668*75fd0b74Schristos	* readelf.c (get_alpha_dynamic_type): New.
669*75fd0b74Schristos	(get_dynamic_type): Call it.
670*75fd0b74Schristos
671*75fd0b74Schristos2005-05-24  H.J. Lu  <hongjiu.lu@intel.com>
672*75fd0b74Schristos
673*75fd0b74Schristos	* readelf.c (process_section_groups): Report group section
674*75fd0b74Schristos	index. Check if the section member index is valid.
675*75fd0b74Schristos
676*75fd0b74Schristos2005-05-23  Fred Fish  <fnf@specifixinc.com>
677*75fd0b74Schristos
678*75fd0b74Schristos	* addr2line.c (unwind_inlines): New flag for 'i' option.
679*75fd0b74Schristos	(usage): Document '-i' option.
680*75fd0b74Schristos	(long_options): Recognize '--inlines'.
681*75fd0b74Schristos	(translate_addresses): Loop, calling bfd_find_inliner_info as
682*75fd0b74Schristos	necessary and printing multiple output lines.
683*75fd0b74Schristos	(main): Handle 'i' option.
684*75fd0b74Schristos	* doc/binutils.texi (addr2line): Document '-i' option.
685*75fd0b74Schristos	* NEWS: Mention new addr2line '-i' option.
686*75fd0b74Schristos
687*75fd0b74Schristos2005-05-23  Nick Clifton  <nickc@redhat.com>
688*75fd0b74Schristos
689*75fd0b74Schristos	* readelf.c (fetch_indirect_string): Display a warning message
690*75fd0b74Schristos	when a corrupt DW_FORM_strp value is encountered.
691*75fd0b74Schristos
692*75fd0b74Schristos	(process_debug_info): Mention that the compilation unit offset is
693*75fd0b74Schristos	being displayed in hexadecimal.
694*75fd0b74Schristos
695*75fd0b74Schristos	(display_debug_lines): Fix typo in name of .debug_line section.
696*75fd0b74Schristos
697*75fd0b74Schristos2005-05-19  Zack Weinberg  <zack@codesourcery.com>
698*75fd0b74Schristos
699*75fd0b74Schristos	* Makefile.am: Have 'all' depend on 'info'.
700*75fd0b74Schristos	* Makefile.in: Regenerate.
701*75fd0b74Schristos
702*75fd0b74Schristos2005-05-19  Ben Elliston  <bje@au.ibm.com>
703*75fd0b74Schristos
704*75fd0b74Schristos	* readelf.c (read_and_display_attr_value): Handle a DW_AT_encoding
705*75fd0b74Schristos	value of DW_ATE_GNU_decimal_float.
706*75fd0b74Schristos
707*75fd0b74Schristos2005-05-17  Daniel Jacobowitz  <dan@codesourcery.com>
708*75fd0b74Schristos
709*75fd0b74Schristos	* doc/Makefile.am (config.texi): Don't use $<.
710*75fd0b74Schristos	* doc/Makefile.in: Regenerated.
711*75fd0b74Schristos
712*75fd0b74Schristos2005-05-15  Yitzchak Scott-Thoennes  <sthoenna@efn.org>
713*75fd0b74Schristos
714*75fd0b74Schristos	* deflex.l: Ignore CRs
715*75fd0b74Schristos
716*75fd0b74Schristos2005-05-15  Daniel Jacobowitz  <dan@codesourcery.com>
717*75fd0b74Schristos
718*75fd0b74Schristos	* acinclude.m4: Remove obsolete code.
719*75fd0b74Schristos	* configure.in: Update AC_PREREQ.
720*75fd0b74Schristos	* doc/Makefile.am (binutils_TEXINFOS): Define.
721*75fd0b74Schristos	(config.texi): Depend on distributed files instead of built
722*75fd0b74Schristos	files.
723*75fd0b74Schristos	(binutils.dvi, binutils.info): Remove unnecessary rules.
724*75fd0b74Schristos	(DISTCLEANFILES): Remove.
725*75fd0b74Schristos	(install-data-local): Renamed from install.
726*75fd0b74Schristos	(info-local): Renamed from info.
727*75fd0b74Schristos	* Makefile.in, aclocal.m4, config.in, configure,
728*75fd0b74Schristos	doc/Makefile.in: Regenerated.
729*75fd0b74Schristos
730*75fd0b74Schristos2005-05-14  Alan Modra  <amodra@bigpond.net.au>
731*75fd0b74Schristos
732*75fd0b74Schristos	* readelf.c (get_ppc_dynamic_type): Display DT_PPC_GOT, not
733*75fd0b74Schristos	DT_PPC_GLINK.
734*75fd0b74Schristos
735*75fd0b74Schristos2005-05-13  Fred Fish  <fnf@specifixinc.com>
736*75fd0b74Schristos
737*75fd0b74Schristos	* readelf.c: Fix a couple of obvious comment typos,
738*75fd0b74Schristos	'debug_str' -> 'debug_ranges' and proecess' -> 'process'.
739*75fd0b74Schristos
740*75fd0b74Schristos2005-05-13  H.J. Lu  <hongjiu.lu@intel.com>
741*75fd0b74Schristos
742*75fd0b74Schristos	* readelf.c (dump_ia64_unwind): Get stamp with proper size.
743*75fd0b74Schristos
744*75fd0b74Schristos2005-05-12  Nick Clifton  <nickc@redhat.com>
745*75fd0b74Schristos
746*75fd0b74Schristos	* readelf.c (display_debug_lines): If pointer_size has not been
747*75fd0b74Schristos	found then assume that it is 4 in order to prevent a seg fault
748*75fd0b74Schristos	when process_extend_line_op attempts to read the line data.
749*75fd0b74Schristos
750*75fd0b74Schristos2005-05-11  Alan Modra  <amodra@bigpond.net.au>
751*75fd0b74Schristos
752*75fd0b74Schristos	* readelf.c (get_ppc_dynamic_type): New function for DT_PPC_GLINK.
753*75fd0b74Schristos	(get_dynamic_type): Call the above.
754*75fd0b74Schristos
755*75fd0b74Schristos2005-05-07  Nick Clifton  <nickc@redhat.com>
756*75fd0b74Schristos
757*75fd0b74Schristos	* Update the address and phone number of the FSF organization in
758*75fd0b74Schristos	the GPL notices in the following files:
759*75fd0b74Schristos	aclocal.m4, addr2line.c, ar.c, arlex.l, arparse.y, arsup.c,
760*75fd0b74Schristos	arsup.h, binemul.c, binemul.h, bucomm.c, bucomm.h, budbg.h,
761*75fd0b74Schristos	budemang.c, budemang.h, coffdump.c, coffgrok.c, coffgrok.h,
762*75fd0b74Schristos	cxxfilt.c, debug.c, debug.h, deflex.l, defparse.y, dlltool.c,
763*75fd0b74Schristos	dlltool.h, dllwrap.c, emul_aix.c, emul_vanilla.c, filemode.c,
764*75fd0b74Schristos	ieee.c, nlmconv.c, nlmconv.h, nlmheader.y, nm.c, objcopy.c,
765*75fd0b74Schristos	objdump.c, prdbg.c, rclex.l, rcparse.y, rdcoff.c, rddbg.c,
766*75fd0b74Schristos	readelf.c, rename.c, resbin.c, rescoff.c, resrc.c, resres.c,
767*75fd0b74Schristos	size.c, srconv.c, stabs.c, strings.c, sysdump.c, sysinfo.y,
768*75fd0b74Schristos	syslex.l, unwind-ia64.c, unwind-ia64.h, version.c, windres.c,
769*75fd0b74Schristos	windres.h, winduni.c, winduni.h wrstabs.c, doc/fdl.texi
770*75fd0b74Schristos
771*75fd0b74Schristos2005-05-06  Jan Beulich  <jbeulich@novell.com>
772*75fd0b74Schristos
773*75fd0b74Schristos	* objcopy.c (copy_file): Don't delete output upon error here.
774*75fd0b74Schristos	(copy_main): Delete output upon error.
775*75fd0b74Schristos
776*75fd0b74Schristos2005-05-02  Ben Elliston  <bje@au.ibm.com>
777*75fd0b74Schristos
778*75fd0b74Schristos	* dlltool.c (dtab): Remove empty function.
779*75fd0b74Schristos	(process_duplicates): Remove calls to dtab().
780*75fd0b74Schristos
781*75fd0b74Schristos2005-05-01  Maciej W. Rozycki  <macro@linux-mips.org>
782*75fd0b74Schristos
783*75fd0b74Schristos	* doc/binutils.texi (strip, objcopy): Clarify the description of
784*75fd0b74Schristos	the "--strip-debug" option.  Fix a typo.
785*75fd0b74Schristos
786*75fd0b74Schristos2005-04-29  H.J. Lu  <hongjiu.lu@intel.com>
787*75fd0b74Schristos
788*75fd0b74Schristos	* bucomm.c: Undo the last change.
789*75fd0b74Schristos	* bucomm.h: Likewise.
790*75fd0b74Schristos
791*75fd0b74Schristos2005-04-29  Ben Elliston  <bje@au.ibm.com>
792*75fd0b74Schristos
793*75fd0b74Schristos	* syslex.l (word, number, unit): Remove unused variables.
794*75fd0b74Schristos	* nlmheader.y (keyword_tokens): Make static.
795*75fd0b74Schristos	* coffdump.c (dump_coff_symbol, coff_dump): Make static.
796*75fd0b74Schristos	* coffgrok.c (lofile, last_function_symbol, last_function_type,
797*75fd0b74Schristos	last_struct, last_enum, cur_sfile): Make variables static.
798*75fd0b74Schristos	* sysdump.c (getCHARS, fillup, getBARRAY, getINT, getBITS,
799*75fd0b74Schristos	sysroff_swap_tr_in, sysroff_print_tr_out): Make static.
800*75fd0b74Schristos	* sysinfo.y (writecode, it, code, repeat, oldrepeat, name, rdepth,
801*75fd0b74Schristos	names, pnames): Likewise.
802*75fd0b74Schristos
803*75fd0b74Schristos2005-04-29  Ben Elliston  <bje@au.ibm.com>
804*75fd0b74Schristos
805*75fd0b74Schristos	* ar.c (mri_mode): Make static.
806*75fd0b74Schristos	* arsup.c (obfd, real_name, outfile): Likewise.
807*75fd0b74Schristos	* binemul.c (ar_emul_create): Remove unused function.
808*75fd0b74Schristos	(ar_emul_default_create): Likewise.
809*75fd0b74Schristos	* binemul.h (ar_emul_create): Remove declaration.
810*75fd0b74Schristos	(ar_emul_default_create): Likewise.
811*75fd0b74Schristos	(struct bin_emulation_xfer_struct): Remove ar_create member.
812*75fd0b74Schristos	* bucomm.c (report): Make static.
813*75fd0b74Schristos	* bucomm.h (report): Remove declaration.
814*75fd0b74Schristos	* cxxfilt.c (mbuffer): Make static.
815*75fd0b74Schristos	(main): Use unsigned ints for some loop control variables.
816*75fd0b74Schristos	* readelf.c: Make many global variables static.
817*75fd0b74Schristos	* size.c (berkeley_format): Make static.
818*75fd0b74Schristos	(long_options): Likewise.
819*75fd0b74Schristos	* emul_aix.c (bin_aix_emulation): Remove ar_emul_default_create
820*75fd0b74Schristos	structure initialiser.
821*75fd0b74Schristos	(bin_aix5_emulation): Likewise.
822*75fd0b74Schristos	* emul_vanilla.c (bin_vanilla_emulation): Likewise.
823*75fd0b74Schristos
824*75fd0b74Schristos2005-04-27  Ben Elliston  <bje@au.ibm.com>
825*75fd0b74Schristos
826*75fd0b74Schristos	* syslex.l: Adjust top-of-file comment: this file is part of GNU
827*75fd0b74Schristos	binutils, not GNU ld.
828*75fd0b74Schristos
829*75fd0b74Schristos2005-04-25  Nick Clifton  <nickc@redhat.com>
830*75fd0b74Schristos
831*75fd0b74Schristos	PR872
832*75fd0b74Schristos	* objcopy.c (copy_archive): Initialise 'obfd' field of new
833*75fd0b74Schristos	name_list structure.
834*75fd0b74Schristos
835*75fd0b74Schristos	* objcopy.c (copy_usage): Fix description of -K switch.
836*75fd0b74Schristos
837*75fd0b74Schristos	* doc/binutils.texi (strip, objcopy): Fix description of -K
838*75fd0b74Schristos	switch.
839*75fd0b74Schristos
840*75fd0b74Schristos2005-04-20  Daniel Jacobowitz  <dan@codesourcery.com>
841*75fd0b74Schristos
842*75fd0b74Schristos	* readelf.c (display_debug_frames): Use data factor for
843*75fd0b74Schristos	DW_CFA_def_cfa_sf and DW_CFA_def_cfa_offset_sf.
844*75fd0b74Schristos
845*75fd0b74Schristos2005-04-19  H.J. Lu  <hongjiu.lu@intel.com>
846*75fd0b74Schristos
847*75fd0b74Schristos	* objdump.c (dump_section_header): Skip linker created section.
848*75fd0b74Schristos
849*75fd0b74Schristos2005-04-17  H.J. Lu  <hongjiu.lu@intel.com>
850*75fd0b74Schristos
851*75fd0b74Schristos	* objdump.c (dump_section_header): Support SEC_GROUP.
852*75fd0b74Schristos
853*75fd0b74Schristos2005-04-16  Nick Clifton  <nickc@redhat.com>
854*75fd0b74Schristos
855*75fd0b74Schristos	* readelf.c (debug_apply_rela_addends): Remove redundant %s from
856*75fd0b74Schristos	printf string.
857*75fd0b74Schristos
858*75fd0b74Schristos2005-04-15  Nick Clifton  <nickc@redhat.com>
859*75fd0b74Schristos
860*75fd0b74Schristos	* objcopy.c (copy_file): Issue an error message when attmepting to
861*75fd0b74Schristos	copy an empty input file.
862*75fd0b74Schristos
863*75fd0b74Schristos2005-04-14  Alan Modra  <amodra@bigpond.net.au>
864*75fd0b74Schristos
865*75fd0b74Schristos	* Makefile.am (NO_WERROR): Define.  Use instead of -Wno-error.
866*75fd0b74Schristos	* configure.in: Include ../bfd/warning.m4 contents.
867*75fd0b74Schristos	* Makefile.in: Regenerate.
868*75fd0b74Schristos	* configure: Regenerate.
869*75fd0b74Schristos	* doc/Makefile.in: Regenerate.
870*75fd0b74Schristos
871*75fd0b74Schristos2005-04-12  Alan Modra  <amodra@bigpond.net.au>
872*75fd0b74Schristos
873*75fd0b74Schristos	* Makefile.am: Run "make dep-am".
874*75fd0b74Schristos	(syslex.o, sysinfo.o, arparse.o, arlex.o): Add -Wno-error to command.
875*75fd0b74Schristos	(sysroff.o, defparse.o, deflex.o): Likewise.
876*75fd0b74Schristos	(nlmheader.o, rcparse.o, rclex.o): Likewise.
877*75fd0b74Schristos	* Makefile.in: Regenerate.
878*75fd0b74Schristos	* aclocal.m4: Regenerate.
879*75fd0b74Schristos	* config.in: Regenerate.
880*75fd0b74Schristos	* configure: Regenerate.
881*75fd0b74Schristos
882*75fd0b74Schristos2005-04-11  Jan Beulich  <jbeulich@novell.com>
883*75fd0b74Schristos
884*75fd0b74Schristos	* MAINTAINERS: Add myself as ix86 Intel mode maintainer.
885*75fd0b74Schristos
886*75fd0b74Schristos2005-04-06  Nick Clifton  <nickc@redhat.com>
887*75fd0b74Schristos	    H.J. Lu  <hongjiu.lu@intel.com>
888*75fd0b74Schristos
889*75fd0b74Schristos	* po/rw.po: New translation: Kinyarwanda.
890*75fd0b74Schristos	* configure.in (ALL_LINGUAS): Add rw.
891*75fd0b74Schristos	* configure: Regenerate.
892*75fd0b74Schristos
893*75fd0b74Schristos2005-04-04  Maciej W. Rozycki  <macro@linux-mips.org>
894*75fd0b74Schristos
895*75fd0b74Schristos	* readelf.c (debug_apply_rela_addends): Reorder r_info as
896*75fd0b74Schristos	necessary for 64-bit MIPS.
897*75fd0b74Schristos
898*75fd0b74Schristos2005-04-04  Maciej W. Rozycki  <macro@linux-mips.org>
899*75fd0b74Schristos
900*75fd0b74Schristos	* doc/binutils.texi (readelf): Remove a duplicate paragraph.
901*75fd0b74Schristos
902*75fd0b74Schristos2005-04-04  Ramana Radhakrishnan  <ramana.radhakrishnan@codito.com>
903*75fd0b74Schristos
904*75fd0b74Schristos	PR binutils/813
905*75fd0b74Schristos	* objdump.c (dump_symbols): Add a check to see if the section for
906*75fd0b74Schristos	the symbol is chosen using process_section_p.
907*75fd0b74Schristos
908*75fd0b74Schristos2005-04-01  H.J. Lu  <hongjiu.lu@intel.com>
909*75fd0b74Schristos
910*75fd0b74Schristos	* NEWS: Mention new readelf options, "-N/--full-section-name"
911*75fd0b74Schristos	and "-g/--section-groups".
912*75fd0b74Schristos
913*75fd0b74Schristos	* doc/binutils.texi: Document new readelf options,
914*75fd0b74Schristos	"-N/--full-section-name" and "-g/--section-groups".
915*75fd0b74Schristos
916*75fd0b74Schristos2005-03-31  H.J. Lu  <hongjiu.lu@intel.com>
917*75fd0b74Schristos
918*75fd0b74Schristos	* readelf.c (do_full_section_name): New.
919*75fd0b74Schristos	(options): Add "--full-section-name"/'N'.
920*75fd0b74Schristos	(usage): Add -N/--full-section-name.
921*75fd0b74Schristos	(parse_args): Handle 'N'.
922*75fd0b74Schristos	(process_section_headers): Print out the full section name if
923*75fd0b74Schristos	do_full_section_name isn't 0.
924*75fd0b74Schristos
925*75fd0b74Schristos2005-03-31  Nick Clifton  <nickc@redhat.com>
926*75fd0b74Schristos
927*75fd0b74Schristos	* configure.in: Add a check for <unistd.h> providing a prototype
928*75fd0b74Schristos	for getopt() which is compatible with the one in
929*75fd0b74Schristos	include/getopt.h.  If so then define HAVE_DECL_GETOPT.
930*75fd0b74Schristos	* configure: Regenerate.
931*75fd0b74Schristos	* config.in (HAVE_DECL_GETOPT): Add.
932*75fd0b74Schristos	* aclocal.m4: Regenerate.
933*75fd0b74Schristos	* addr2line.c: Include "config.h" before "bfd.h" so that
934*75fd0b74Schristos	HAVE_DECL_GETOPT is defined before getopt.h is included.
935*75fd0b74Schristos
936*75fd0b74Schristos2005-03-21  Jan-Benedict Glaw  <jbglaw@lug-owl.de>
937*75fd0b74Schristos
938*75fd0b74Schristos	* doc/binutils.texi: Document new VAX disassembler-specific option
939*75fd0b74Schristos	-M entry:0xfooba8.
940*75fd0b74Schristos	* NEWS: Mention the new option.
941*75fd0b74Schristos
942*75fd0b74Schristos2005-03-29  Anil Paranjpe  <anilp1@kpitcummins.com>
943*75fd0b74Schristos
944*75fd0b74Schristos	* MAINTAINERS: Add myself as H8300 maintainer.
945*75fd0b74Schristos
946*75fd0b74Schristos2005-03-28  Aaron W. LaFramboise  <aaron98wiridge9@aaronwl.com>
947*75fd0b74Schristos
948*75fd0b74Schristos	* objdump.c (disassemble_bytes): Remove cast.
949*75fd0b74Schristos
950*75fd0b74Schristos2005-03-25  Daniel Jacobowitz  <dan@codesourcery.com>
951*75fd0b74Schristos
952*75fd0b74Schristos	* BRANCHES: Add binutils-csl-arm-2005q1-branch and
953*75fd0b74Schristos	binutils-2_16-branch.
954*75fd0b74Schristos
955*75fd0b74Schristos2005-03-25  Mark Kettenis  <kettenis@gnu.org>
956*75fd0b74Schristos
957*75fd0b74Schristos	* MAINTAINERS: Add myself as M88k maintainer.
958*75fd0b74Schristos
959*75fd0b74Schristos2005-03-24  Danny Smith  <dannysmith@users.sourceforge.net>
960*75fd0b74Schristos
961*75fd0b74Schristos	* winduni.c (unicode_from_ascii): Don't declare variables
962*75fd0b74Schristos	's' and 'w' if _WIN32.  Use MultiByteToWideChar to set the unicode
963*75fd0b74Schristos	string len.
964*75fd0b74Schristos
965*75fd0b74Schristos2005-03-24  Dmitry Diky   <diwil@spec.ru>
966*75fd0b74Schristos
967*75fd0b74Schristos	* MAINTAINERS: Add myself as MSP430 maintainer.
968*75fd0b74Schristos
969*75fd0b74Schristos2005-03-23  Nick Clifton  <nickc@redhat.com>
970*75fd0b74Schristos
971*75fd0b74Schristos	* po/fr.po: Updated translation.
972*75fd0b74Schristos
973*75fd0b74Schristos2005-03-22  Nick Clifton  <nickc@redhat.com>
974*75fd0b74Schristos
975*75fd0b74Schristos	* MAINTAINERS: Add Daniel Jacobwitz to the blanket write
976*75fd0b74Schristos	privileges list.
977*75fd0b74Schristos
978*75fd0b74Schristos2005-03-17  Paul Brook <paul@codesourcery.com>
979*75fd0b74Schristos	    Dan Jacobowitz <dan@codesourcery.com>
980*75fd0b74Schristos	    Mark Mitchell  <mark@codesourcery.com>
981*75fd0b74Schristos
982*75fd0b74Schristos	* binutils/readelf.c (get_arm_segment_type): New function.
983*75fd0b74Schristos	(get_segment_type): Use it.
984*75fd0b74Schristos
985*75fd0b74Schristos2005-03-18  Paul Brook  <paul@codesourcery.com>
986*75fd0b74Schristos
987*75fd0b74Schristos	* objdump.c (objdump_print_addr): Avoid uninitialized warning.
988*75fd0b74Schristos
989*75fd0b74Schristos2005-03-17  Diego Novillo  <dnovillo@redhat.com>
990*75fd0b74Schristos
991*75fd0b74Schristos	* MAINTAINERS: Remove self as maintainer of x86 intel
992*75fd0b74Schristos	mode.
993*75fd0b74Schristos
994*75fd0b74Schristos2005-03-16  Nick Clifton  <nickc@redhat.com>
995*75fd0b74Schristos	    Ben Elliston  <bje@au.ibm.com>
996*75fd0b74Schristos
997*75fd0b74Schristos	* configure.in (werror): New switch: Add -Werror to the
998*75fd0b74Schristos	compiler command line.  Enabled by default.  Disable via
999*75fd0b74Schristos	--disable-werror.
1000*75fd0b74Schristos	* configure: Regenerate.
1001*75fd0b74Schristos
1002*75fd0b74Schristos2005-03-15  Daniel Marques  <marques@cs.cornell.edu>
1003*75fd0b74Schristos	    Nick Clifton  <nickc@redhat.com>
1004*75fd0b74Schristos
1005*75fd0b74Schristos	* objcopy.c (globalize_specific_list): New linked list of symbols
1006*75fd0b74Schristos	to convert from local binding into global binding.
1007*75fd0b74Schristos	(command_line_switch): Add OPTION_GLOBALIZE_SYMBOL and
1008*75fd0b74Schristos	OPTION_GLOBALIZE_SYMBOLS.
1009*75fd0b74Schristos	(copy_options): Add "globalize-symbol" and "globalize-symbols".
1010*75fd0b74Schristos	(copy_usage): Document the new switches.
1011*75fd0b74Schristos	(filter_symbols): Convert defined local symbols mentioned on the
1012*75fd0b74Schristos	globalize_specific_list into global symbols.
1013*75fd0b74Schristos	(copy_object): Perform actions if the globalize_specific_list is
1014*75fd0b74Schristos	not empty.
1015*75fd0b74Schristos	(copy_main): Handle new switches.
1016*75fd0b74Schristos	* NEWS: Mention new feature.
1017*75fd0b74Schristos	* doc/binutils.texi: Document new switches.
1018*75fd0b74Schristos
1019*75fd0b74Schristos2005-03-15  Alan Modra  <amodra@bigpond.net.au>
1020*75fd0b74Schristos
1021*75fd0b74Schristos	* po/es.po: Commit new Spanish translation.
1022*75fd0b74Schristos
1023*75fd0b74Schristos	* po/fr.po: Commit new French translation.
1024*75fd0b74Schristos
1025*75fd0b74Schristos2005-03-14  Alan Modra  <amodra@bigpond.net.au>
1026*75fd0b74Schristos
1027*75fd0b74Schristos	* po/tr.po: Commit new Turkish translation.
1028*75fd0b74Schristos
1029*75fd0b74Schristos2005-03-11  Nick Clifton  <nickc@redhat.com>
1030*75fd0b74Schristos
1031*75fd0b74Schristos	* po/fr.po: Updated French translation.
1032*75fd0b74Schristos
1033*75fd0b74Schristos2005-03-10  Nick Clifton  <nickc@redhat.com>
1034*75fd0b74Schristos
1035*75fd0b74Schristos	* configure.in (ALL_LINGUAS): Add Romanian lingua "ro".
1036*75fd0b74Schristos	* configure: Regenerate.
1037*75fd0b74Schristos	* po/ro.po: New file.
1038*75fd0b74Schristos
1039*75fd0b74Schristos	* po/ru.po: Updated file.
1040*75fd0b74Schristos
1041*75fd0b74Schristos2005-03-05  Alan Modra  <amodra@bigpond.net.au>
1042*75fd0b74Schristos
1043*75fd0b74Schristos	* po/binutils.pot: Regenerate.
1044*75fd0b74Schristos
1045*75fd0b74Schristos2005-03-02  Jan Beulich  <jbeulich@novell.com>
1046*75fd0b74Schristos
1047*75fd0b74Schristos	* ar.c (remove_output): Use unlink_if_ordinary instead of unlink.
1048*75fd0b74Schristos	* objcopy.c (copy_file): Likewise.
1049*75fd0b74Schristos	(strip_main): Likewise.
1050*75fd0b74Schristos
1051*75fd0b74Schristos2005-03-01  Stig Petter Olsroed  <stigpo@users.sourceforge.net>
1052*75fd0b74Schristos	    Nick Clifton  <nickc@redhat.com>
1053*75fd0b74Schristos
1054*75fd0b74Schristos	* objdump.c: Fix coding for DISASSEMBLER_NEEDS_RELOC:
1055*75fd0b74Schristos	(struct objdump_disasm_info): Add 'reloc' field.
1056*75fd0b74Schristos	(disassemble_bytes): Fix check for when an insn has a reloc
1057*75fd0b74Schristos	associated with it.  Improve comment explaining why the use of
1058*75fd0b74Schristos	octets is wrong.  Set the 'reloc' field in objdump_disasm_info
1059*75fd0b74Schristos	structure.
1060*75fd0b74Schristos	(objdump_print_addr): Use new 'reloc' field to lookup the correct
1061*75fd0b74Schristos	address for the symbol associated with the current instruction's
1062*75fd0b74Schristos	relocation.
1063*75fd0b74Schristos	(disassemble_info): Initialise 'reloc' field.
1064*75fd0b74Schristos
1065*75fd0b74Schristos2005-02-28  Jakub Jelinek  <jakub@redhat.com>
1066*75fd0b74Schristos
1067*75fd0b74Schristos	* readelf.c (get_file_type, get_machine_name, get_osabi_name,
1068*75fd0b74Schristos	get_segment_type, get_section_type_name, get_elf_class,
1069*75fd0b74Schristos	get_data_encoding, get_group_flags, dynamic_section_mips_val,
1070*75fd0b74Schristos	get_symbol_binding, get_symbol_type, get_TAG_name, get_FORM_name,
1071*75fd0b74Schristos	get_AT_name, process_mips_specific, process_gnu_liblist,
1072*75fd0b74Schristos	get_note_type, get_netbsd_elfcore_note_type): Use snprintf instead of
1073*75fd0b74Schristos	sprintf where needed.
1074*75fd0b74Schristos	(get_dynamic_type): Likewise.  Increase buff to 64 bytes.
1075*75fd0b74Schristos	(get_elf_section_flags): Increase buff to 33 bytes.  Avoid
1076*75fd0b74Schristos	using strcat.
1077*75fd0b74Schristos	(get_dynamic_flags): Renamed to...
1078*75fd0b74Schristos	(print_dynamic_flags): ... this.  Print the flags to stdout instead
1079*75fd0b74Schristos	of returning them as string.
1080*75fd0b74Schristos	(process_dynamic_section): Adjust caller.
1081*75fd0b74Schristos
1082*75fd0b74Schristos2005-02-25  H.J. Lu  <hongjiu.lu@intel.com>
1083*75fd0b74Schristos
1084*75fd0b74Schristos	* readelf.c (display_debug_ranges): Print out offset for end of
1085*75fd0b74Schristos	list.
1086*75fd0b74Schristos
1087*75fd0b74Schristos2005-02-23  Alan Modra  <amodra@bigpond.net.au>
1088*75fd0b74Schristos
1089*75fd0b74Schristos	* dlltool.c: Warning fixes.
1090*75fd0b74Schristos	* objdump.c: Likewise.
1091*75fd0b74Schristos
1092*75fd0b74Schristos2005-02-22  Alan Modra  <amodra@bigpond.net.au>
1093*75fd0b74Schristos
1094*75fd0b74Schristos	* Makefile.am (syslex.o, sysinfo.o): Pass AM_CFLAGS to compiler.
1095*75fd0b74Schristos	(syslex.o, sysinfo.o, dlltool.o, rescoff.o): Remove duplicate
1096*75fd0b74Schristos	dependencies.  Run "make dep-am".
1097*75fd0b74Schristos	* nlmconv.c: Warning fixes.
1098*75fd0b74Schristos	* readelf.c: Likewise.
1099*75fd0b74Schristos	* srconv.c: Likewise.
1100*75fd0b74Schristos	* sysdump.c: Likewise.
1101*75fd0b74Schristos	* sysinfo.y: Likewise.
1102*75fd0b74Schristos	* syslex.l: Likewise.  Use yyleng instead of strlen, memcpy instead
1103*75fd0b74Schristos	of strcpy.
1104*75fd0b74Schristos	* Makefile.in: Regenerate.
1105*75fd0b74Schristos
1106*75fd0b74Schristos2005-02-21  H.J. Lu  <hongjiu.lu@intel.com>
1107*75fd0b74Schristos
1108*75fd0b74Schristos	* objcopy.c (parse_flags): Replace SEC_SHARED with
1109*75fd0b74Schristos	SEC_COFF_SHARED.
1110*75fd0b74Schristos
1111*75fd0b74Schristos	* objdump.c (dump_section_header): Dump SEC_TIC54X_BLOCK and
1112*75fd0b74Schristos	SEC_TIC54X_CLINK for TI c54x only. Remove SEC_ARCH_BIT_0. Dump
1113*75fd0b74Schristos	SEC_COFF_SHARED for COFF only.
1114*75fd0b74Schristos
1115*75fd0b74Schristos2005-02-21  Alan Modra  <amodra@bigpond.net.au>
1116*75fd0b74Schristos
1117*75fd0b74Schristos	* Makefile.am: Run "make dep-am"
1118*75fd0b74Schristos	* Makefile.in: Regenerate.
1119*75fd0b74Schristos	* doc/Makefile.in: Regenerate.
1120*75fd0b74Schristos
1121*75fd0b74Schristos2005-02-21  Alan Modra  <amodra@bigpond.net.au>
1122*75fd0b74Schristos
1123*75fd0b74Schristos	* readelf.c (BYTE_GET8): Delete.  Replace uses with BYTE_GET.
1124*75fd0b74Schristos	(byte_get_little_endian): Don't handle size of -8.
1125*75fd0b74Schristos	(byte_get_signed, byte_get_big_endian): Likewise.
1126*75fd0b74Schristos	(print_dec_vma, print_hex_vma): New functions.
1127*75fd0b74Schristos	(print_vma): Use them.  Return chars output.
1128*75fd0b74Schristos	(get_dynamic_data): Return a bfd_vma array.  Add ent_size parm.
1129*75fd0b74Schristos	(process_symbol_table): Handle alpha and s390 .hash.
1130*75fd0b74Schristos
1131*75fd0b74Schristos2005-02-18  H.J. Lu  <hongjiu.lu@intel.com>
1132*75fd0b74Schristos
1133*75fd0b74Schristos	* readelf.c (display_debug_loc): Print out offset for end of
1134*75fd0b74Schristos	list.
1135*75fd0b74Schristos
1136*75fd0b74Schristos2005-02-18  Joseph S. Myers  <joseph@codesourcery.com>
1137*75fd0b74Schristos
1138*75fd0b74Schristos	* Makefile.am (TOOL_PROGS): Add objdump.
1139*75fd0b74Schristos	* Makefile.in: Regenerate.
1140*75fd0b74Schristos
1141*75fd0b74Schristos2005-02-17  Alan Modra  <amodra@bigpond.net.au>
1142*75fd0b74Schristos
1143*75fd0b74Schristos	* deflex.l (YY_NO_UNPUT): Define.
1144*75fd0b74Schristos	* rclex.l (YY_NO_UNPUT): Define.
1145*75fd0b74Schristos	* rcparse.y (null_unichar): New static var.
1146*75fd0b74Schristos	(res_null_text): Use it rather than attempting to init from wchar_t.
1147*75fd0b74Schristos	* windres.c: Include assert.h and time.h before getopt.h.
1148*75fd0b74Schristos	Include config.h and unistd.h too.
1149*75fd0b74Schristos
1150*75fd0b74Schristos2005-02-15  Nick Clifton  <nickc@redhat.com>
1151*75fd0b74Schristos
1152*75fd0b74Schristos	* nlmconv.c: Provide a full prototype for the localtime() function
1153*75fd0b74Schristos	in order to avoid a compile time warning.
1154*75fd0b74Schristos
1155*75fd0b74Schristos2005-02-11  H.J. Lu  <hongjiu.lu@intel.com>
1156*75fd0b74Schristos
1157*75fd0b74Schristos	* readelf.c (group_count): Don't initialize it.
1158*75fd0b74Schristos	(process_section_groups): Reurn 1 if we won't do unwind nor
1159*75fd0b74Schristos	section groups. Set group_count to 0 before counting group
1160*75fd0b74Schristos	sections and return 1 if there are no group sections. Reread
1161*75fd0b74Schristos	SHT_SYMTAB/SHT_STRTAB sections only when needed. Don't skip
1162*75fd0b74Schristos	section 0.
1163*75fd0b74Schristos	(process_object): Only set do_unwind to 0 if
1164*75fd0b74Schristos	process_section_groups return 0.
1165*75fd0b74Schristos
1166*75fd0b74Schristos2005-02-10  Ian Lance Taylor  <ian@airs.com>
1167*75fd0b74Schristos
1168*75fd0b74Schristos	* MAINTAINERS: Update my e-mail address.
1169*75fd0b74Schristos
1170*75fd0b74Schristos2005-02-10  Mark Mitchell  <mark@codesourcery.com>
1171*75fd0b74Schristos
1172*75fd0b74Schristos	* MAINTAINERS: Add Paul Brook and Mark Mitchell as ARM (Symbian)
1173*75fd0b74Schristos	maintainers.
1174*75fd0b74Schristos
1175*75fd0b74Schristos2005-02-07  Inderpreet Singh <inderpreetb@noida.hcltech.com>
1176*75fd0b74Schristos
1177*75fd0b74Schristos	 * MAINTAINERS: Add self as maintainer of MAXQ.
1178*75fd0b74Schristos
1179*75fd0b74Schristos2005-01-31  Richard Sandiford  <rsandifo@redhat.com>
1180*75fd0b74Schristos
1181*75fd0b74Schristos	* readelf.c (eh_addr_size): New variable.
1182*75fd0b74Schristos	(find_section): Move earlier in file.  Return empty sections too.
1183*75fd0b74Schristos	(process_program_headers): Use find_section to find .dynamic.
1184*75fd0b74Schristos	(process_section_headers): Initialize eh_addr_size.
1185*75fd0b74Schristos	(dump_ia64_unwind, slurp_ia64_unwind_table, ia64_process_unwind)
1186*75fd0b74Schristos	(dump_hppa_unwind, slurp_hppa_unwind_table, hppa_process_unwind)
1187*75fd0b74Schristos	(display_debug_frames): Use it instead of local addr_size variable.
1188*75fd0b74Schristos	(size_of_encoded_value): Get pointer size from eh_addr_size rather
1189*75fd0b74Schristos	than is_32bit_elf.
1190*75fd0b74Schristos
1191*75fd0b74Schristos2005-01-31  Andrew Cagney  <cagney@gnu.org>
1192*75fd0b74Schristos
1193*75fd0b74Schristos	* configure: Regenerate to track ../gettext.m4.
1194*75fd0b74Schristos
1195*75fd0b74Schristos2005-01-31  Nick Clifton  <nickc@redhat.com>
1196*75fd0b74Schristos
1197*75fd0b74Schristos	* version.c (print_version): Bump the copyright date to 2005.
1198*75fd0b74Schristos
1199*75fd0b74Schristos2005-01-25  Alan Modra  <amodra@bigpond.net.au>
1200*75fd0b74Schristos
1201*75fd0b74Schristos	* nm.c (display_rel_file): Read dynamic syms before calling
1202*75fd0b74Schristos	bfd_get_synthetic_symtab.
1203*75fd0b74Schristos
1204*75fd0b74Schristos2005-01-21  Ben Elliston  <bje@au.ibm.com>
1205*75fd0b74Schristos
1206*75fd0b74Schristos	* dlltool.c (dump_iat): Remove unused function.
1207*75fd0b74Schristos	(gen_exp_file): Remove #if 0'd code.
1208*75fd0b74Schristos	(make_one_lib_file): Likewise.
1209*75fd0b74Schristos	* srconv.c: Remove #if 0'd code throughout.
1210*75fd0b74Schristos	* size.c (lprint_number): Remove.
1211*75fd0b74Schristos	(print_berkeley_format): Remove #if 0'd code.
1212*75fd0b74Schristos	* ar.c (do_quick_append): Remove declaration and definiton.
1213*75fd0b74Schristos	(main): Remove #if 0'd code.
1214*75fd0b74Schristos	* filemode.c (filemodestring): Remove #if 0'd function.
1215*75fd0b74Schristos	* sysdump.c (unit_info_list): Remove function.
1216*75fd0b74Schristos	(object_body_list): Likewise.
1217*75fd0b74Schristos	(program_structure): Likewise.
1218*75fd0b74Schristos	(debug_list): Likewise.
1219*75fd0b74Schristos	(module): Remove #if 0'd code.
1220*75fd0b74Schristos
1221*75fd0b74Schristos2005-01-20  Mark Mitchell  <mark@codesourcery.com>
1222*75fd0b74Schristos
1223*75fd0b74Schristos	* BRANCHES: Add binutils-2_15-branch.
1224*75fd0b74Schristos
1225*75fd0b74Schristos	* MAINTAINERS: Document branch policy.
1226*75fd0b74Schristos	* BRANCHES: New file.
1227*75fd0b74Schristos
1228*75fd0b74Schristos2005-01-19  Fred Fish  <fnf@specifixinc.com>
1229*75fd0b74Schristos
1230*75fd0b74Schristos	* NEWS: Make note of the new MIPS disassembly option "no-aliases".
1231*75fd0b74Schristos	* doc/binutils.texi (objdump): Document the "no-aliases"
1232*75fd0b74Schristos	disassembly option.
1233*75fd0b74Schristos
1234*75fd0b74Schristos2005-01-17   Eugene Kotlyarov  <ekot@narod.ru>
1235*75fd0b74Schristos
1236*75fd0b74Schristos	PR binutils/647
1237*75fd0b74Schristos	* rcparse.y (RCDATA): Allow a filename to be supplied as the
1238*75fd0b74Schristos	parameter.  Parse it with define_rcdata_file().
1239*75fd0b74Schristos	* resrc.c (define_rcdata_file): New function.
1240*75fd0b74Schristos	* windres.h: Provide a prototype for the new function.
1241*75fd0b74Schristos
1242*75fd0b74Schristos	* resrc.c (define_user_file): Fix typo by replacing "font file"
1243*75fd0b74Schristos	with "file".
1244*75fd0b74Schristos
1245*75fd0b74Schristos2005-01-16  Jason Thorpe  <thorpej@netbsd.org>
1246*75fd0b74Schristos
1247*75fd0b74Schristos	* MAINTAINERS: Update my email address.
1248*75fd0b74Schristos
1249*75fd0b74Schristos2005-01-16  Danny Smith  <dannysmith@users.sourceforge.net>
1250*75fd0b74Schristos
1251*75fd0b74Schristos	* dlltool.c (set_dll_name_from_def): New function.  Strip name
1252*75fd0b74Schristos	to basename, with warning.
1253*75fd0b74Schristos	(def_name): Use it.
1254*75fd0b74Schristos	(def_library): Likwise.
1255*75fd0b74Schristos	(main): Strip arg of --dllname to basename, with warning.
1256*75fd0b74Schristos	Only use basename of exp_name when inferring dll_name.
1257*75fd0b74Schristos
1258*75fd0b74Schristos2005-01-11  Nick Clifton  <nickc@redhat.com>
1259*75fd0b74Schristos
1260*75fd0b74Schristos	PR binutils/637
1261*75fd0b74Schristos	* doc/binutils.texi (c++filt): Use uppercase CXXFILT in the
1262*75fd0b74Schristos	footnote in order to prevent the sed script in the Makefile from
1263*75fd0b74Schristos	converting it into c++filt.
1264*75fd0b74Schristos
1265*75fd0b74Schristos2005-01-10  H.J. Lu  <hongjiu.lu@intel.com>
1266*75fd0b74Schristos
1267*75fd0b74Schristos	BZ 635
1268*75fd0b74Schristos	readelf.c (saved_base_address): Removed.
1269*75fd0b74Schristos	(decode_64bit_range): Likewise.
1270*75fd0b74Schristos	(decode_range): Likewise.
1271*75fd0b74Schristos	(display_64bit_debug_ranges): Likewise.
1272*75fd0b74Schristos	(debug_info): Add range_lists, num_range_lists and
1273*75fd0b74Schristos	max_range_lists.
1274*75fd0b74Schristos	(read_and_display_attr_value): Handle do_debug_ranges.
1275*75fd0b74Schristos	(process_debug_info): Likewise.
1276*75fd0b74Schristos	(display_debug_ranges): Rewrite.
1277*75fd0b74Schristos	(process_object): Free range_lists.
1278*75fd0b74Schristos
1279*75fd0b74Schristos2005-01-10  Andreas Schwab  <schwab@suse.de>
1280*75fd0b74Schristos
1281*75fd0b74Schristos	* configure.in: Don't define SKIP_ZEROES.
1282*75fd0b74Schristos	* configure: Regenerate.
1283*75fd0b74Schristos	* objdump.c (disassemble_data): Set skip_zeroes and
1284*75fd0b74Schristos	skip_zeroes_at_end in disasm_info to defaults.
1285*75fd0b74Schristos	(DEFAULT_SKIP_ZEROES): Rename from SKIP_ZEROES and always define.
1286*75fd0b74Schristos	(DEFAULT_SKIP_ZEROES_AT_END): Rename from SKIP_ZEROES_AT_END and
1287*75fd0b74Schristos	always define.
1288*75fd0b74Schristos	(disassemble_bytes): Use skip_zeroes and skip_zeroes_at_end from
1289*75fd0b74Schristos	objdump_disasm_info.
1290*75fd0b74Schristos
1291*75fd0b74Schristos2005-01-05  H.J. Lu  <hongjiu.lu@intel.com>
1292*75fd0b74Schristos
1293*75fd0b74Schristos	* readelf.c (display_debug_loc): Display base address
1294*75fd0b74Schristos	specifiers.  Always output <End of list>.
1295*75fd0b74Schristos
1296*75fd0b74Schristos2005-01-05  H.J. Lu  <hongjiu.lu@intel.com>
1297*75fd0b74Schristos
1298*75fd0b74Schristos	* readelf.c (have_frame_base): New.
1299*75fd0b74Schristos	(need_base_address): Likewise.
1300*75fd0b74Schristos	(saved_base_address): Likewise.
1301*75fd0b74Schristos	(decode_location_expression): Return 1 if DW_AT_frame_base is
1302*75fd0b74Schristos	needed.
1303*75fd0b74Schristos	(debug_info): Add base_address and a have_frame_base pointer.
1304*75fd0b74Schristos	(read_and_display_attr_value): Replace saved_DW_AT_low_pc with
1305*75fd0b74Schristos	saved_base_address. Record base address. Set have_frame_base.
1306*75fd0b74Schristos	Record if a location list has DW_AT_frame_base. Display if a
1307*75fd0b74Schristos	location expression has no DW_AT_frame_base but needs one. Set
1308*75fd0b74Schristos	saved_base_address only if needed.
1309*75fd0b74Schristos	(process_debug_info): Clear have_frame_base, saved_base_address
1310*75fd0b74Schristos	and set need_base_address.
1311*75fd0b74Schristos	(display_debug_loc): Display if a location expression has no
1312*75fd0b74Schristos	DW_AT_frame_base but needs one. Display if start >= end. Don't
1313*75fd0b74Schristos	adjust for section address. Properly handle base address.
1314*75fd0b74Schristos	(process_object): Free the have_frame_base pointer in
1315*75fd0b74Schristos	debug_info.
1316*75fd0b74Schristos
1317*75fd0b74Schristos2005-01-04  H.J. Lu  <hongjiu.lu@intel.com>
1318*75fd0b74Schristos
1319*75fd0b74Schristos	* readelf.c (display_debug_loc): Display offsets for hole and
1320*75fd0b74Schristos	overlap.
1321*75fd0b74Schristos	(display_debug_str): Add a newline at the end.
1322*75fd0b74Schristos
1323*75fd0b74Schristos2005-01-04  Armin Diehl  <diehl@nordrhein.de>
1324*75fd0b74Schristos
1325*75fd0b74Schristos	PR binutils/630
1326*75fd0b74Schristos	* nlmconv.c (main): Only store the basename of the output filename
1327*75fd0b74Schristos	in the module table.
1328*75fd0b74Schristos
1329*75fd0b74Schristos2005-01-04  H.J. Lu  <hongjiu.lu@intel.com>
1330*75fd0b74Schristos
1331*75fd0b74Schristos	BZ 615
1332*75fd0b74Schristos	* readelf.c (process_debug_info): New.
1333*75fd0b74Schristos	(debug_info): Add num_loc_offsets, loc_offsets and
1334*75fd0b74Schristos	last_loc_offset_p.
1335*75fd0b74Schristos	(get_debug_info): Use process_debug_info.
1336*75fd0b74Schristos	(display_debug_loc): Properly handle location list. Warn if bad
1337*75fd0b74Schristos	location lists are encoutnered.
1338*75fd0b74Schristos	(read_and_process_attr_value): New.
1339*75fd0b74Schristos	(read_and_display_attr_value): Use "%lx" for DW_FORM_data4.
1340*75fd0b74Schristos	(display_debug_info): Use process_debug_info.
1341*75fd0b74Schristos	(process_object): Also free loc_offsets in debug_information.
1342*75fd0b74Schristos
1343*75fd0b74SchristosFor older changes see ChangeLog-2004
1344*75fd0b74Schristos
1345*75fd0b74SchristosCopyright (C) 2005 Free Software Foundation, Inc.
1346*75fd0b74Schristos
1347*75fd0b74SchristosCopying and distribution of this file, with or without modification,
1348*75fd0b74Schristosare permitted in any medium without royalty provided the copyright
1349*75fd0b74Schristosnotice and this notice are preserved.
1350*75fd0b74Schristos
1351*75fd0b74SchristosLocal Variables:
1352*75fd0b74Schristosmode: change-log
1353*75fd0b74Schristosleft-margin: 8
1354*75fd0b74Schristosfill-column: 74
1355*75fd0b74Schristosversion-control: never
1356*75fd0b74SchristosEnd:
1357