xref: /netbsd-src/external/gpl3/binutils.old/dist/binutils/ChangeLog-2009 (revision 75fd0b742a7e4a64301bc6c44e9bc5240c58bb92)
1*75fd0b74Schristos2009-12-31  Eirik Byrkjeflot Anonsen  <eirik@opera.com>
2*75fd0b74Schristos	    Nick Clifton  <nickc@redhat.com>
3*75fd0b74Schristos
4*75fd0b74Schristos	* objcopy.c (add_redefine_syms_file): Avoid symbol buffer
5*75fd0b74Schristos	overrun.
6*75fd0b74Schristos
7*75fd0b74Schristos2009-12-21  Alan Modra  <amodra@gmail.com>
8*75fd0b74Schristos
9*75fd0b74Schristos	* MAINTAINERS: Update my email address.
10*75fd0b74Schristos
11*75fd0b74Schristos2009-12-18  Ulrich Weigand  <uweigand@de.ibm.com>
12*75fd0b74Schristos
13*75fd0b74Schristos	* readelf.c (get_note_type): Handle NT_S390_HIGH_GPRS notes.
14*75fd0b74Schristos
15*75fd0b74Schristos2009-12-11  Nick Clifton  <nickc@redhat.com>
16*75fd0b74Schristos
17*75fd0b74Schristos	* Makefile.in: Regenerate.
18*75fd0b74Schristos	* doc/Makefile.in: Regenerate.
19*75fd0b74Schristos	* ar.c: Fix shadowed variable warnings.
20*75fd0b74Schristos	* bucomm.c: Likewise.
21*75fd0b74Schristos	* coffgrok.c: Likewise.
22*75fd0b74Schristos	* configure: Likewise.
23*75fd0b74Schristos	* dlltool.c: Likewise.
24*75fd0b74Schristos	* dllwrap.c: Likewise.
25*75fd0b74Schristos	* dwarf.c: Likewise.
26*75fd0b74Schristos	* ieee.c: Likewise.
27*75fd0b74Schristos	* nlmconv.c: Likewise.
28*75fd0b74Schristos	* nm.c: Likewise.
29*75fd0b74Schristos	* objcopy.c: Likewise.
30*75fd0b74Schristos	* objdump.c: Likewise.
31*75fd0b74Schristos	* prdbg.c: Likewise.
32*75fd0b74Schristos	* readelf.c: Likewise.
33*75fd0b74Schristos	* resbin.c: Likewise.
34*75fd0b74Schristos	* resrc.c: Likewise.
35*75fd0b74Schristos	* resres.c: Likewise.
36*75fd0b74Schristos	* srconv.c: Likewise.
37*75fd0b74Schristos	* stabs.c: Likewise.
38*75fd0b74Schristos	* sysdump.c: Likewise.
39*75fd0b74Schristos	* sysinfo.y: Likewise.
40*75fd0b74Schristos	* wrstabs.c: Likewise.
41*75fd0b74Schristos
42*75fd0b74Schristos2009-12-10  Tristan Gingold  <gingold@adacore.com>
43*75fd0b74Schristos
44*75fd0b74Schristos	* addr2line.c (pretty_print): New variable.
45*75fd0b74Schristos	(long_options): Add an entry for -p/--pretty-print.
46*75fd0b74Schristos	(usage): Document -p/--pretty-print.
47*75fd0b74Schristos	(translate_addresses): Handle pretty_print.  Reindent.
48*75fd0b74Schristos	(main): Handle option -p.
49*75fd0b74Schristos	* doc/binutils.texi (addr2line): Document -p/--pretty-print.
50*75fd0b74Schristos	* NEWS: Mention new feature.
51*75fd0b74Schristos
52*75fd0b74Schristos2009-12-09  Tristan Gingold  <gingold@adacore.com>
53*75fd0b74Schristos
54*75fd0b74Schristos	* addr2line.c (translate_addresses): Display addresses
55*75fd0b74Schristos	if option -a is used.
56*75fd0b74Schristos	(with_addresses): New variable.
57*75fd0b74Schristos	(long_options): Add option '-a'.
58*75fd0b74Schristos	(usage): Add usage for option '-a'.
59*75fd0b74Schristos	(main): Handle option '-a'.
60*75fd0b74Schristos	* doc/binutils.texi (addr2line): Document option '-a'.
61*75fd0b74Schristos	* NEWS: Mention new feature.
62*75fd0b74Schristos
63*75fd0b74Schristos2009-12-08  Cary Coutant  <ccoutant@google.com>
64*75fd0b74Schristos
65*75fd0b74Schristos	* dwarf.c (dwarf_select_sections_by_names): Handle pubtypes correctly.
66*75fd0b74Schristos	(debug_displays): Remove duplicate entry for debug_pubtypes.
67*75fd0b74Schristos
68*75fd0b74Schristos2009-12-03  David Daney  <ddaney@caviumnetworks.com>
69*75fd0b74Schristos	    Adam Nemet  <adambnemet@gmail.com>
70*75fd0b74Schristos
71*75fd0b74Schristos	* readelf.c (get_machine_flags): Handle E_MIPS_MACH_OCTEON2 case.
72*75fd0b74Schristos
73*75fd0b74Schristos2009-12-03  Nick Clifton  <nickc@redhat.com>
74*75fd0b74Schristos
75*75fd0b74Schristos	PR binutils/11045
76*75fd0b74Schristos	* dwarf.c (do_debug_pubtypes): New variable.
77*75fd0b74Schristos	(dwarf_select_sections_by_names): Handle .debug_pubtypes.
78*75fd0b74Schristos	(dwarf_select_sections_by_letters): Add 't' for .debug_pubtype.
79*75fd0b74Schristos	(dwarf_select_sections_all): Set do_debug_pubtypes.
80*75fd0b74Schristos	(debug_displays): Add support for .debug_pubtypes.
81*75fd0b74Schristos	* dwarf.h (do_debug_pubtypes): Export.
82*75fd0b74Schristos	* objdump.c (usage): Add -wt or --dwarf=pubtypes.
83*75fd0b74Schristos	* readelf.c (usage): Likewise.
84*75fd0b74Schristos	(process_section_headers): Enable debug display if
85*75fd0b74Schristos	do_debug_pubtypes is set.
86*75fd0b74Schristos	* doc/binutils.texi: Document -wt/--dwarf=pubtypes option.
87*75fd0b74Schristos
88*75fd0b74Schristos2009-12-02  Jerker B�ck  <jerker.back@gmail.com>
89*75fd0b74Schristos
90*75fd0b74Schristos	PR binutils/11017
91*75fd0b74Schristos	* dlltool.c (PAGE_SIZE): Delete.
92*75fd0b74Schristos	(PAGE_MASK): Provide default definition based on COFF_PAGE_SIZE.
93*75fd0b74Schristos	Check for DLLTOOL_DEFAULT_MX86_64 and DLLTOOL_DEFAULT_I386.
94*75fd0b74Schristos
95*75fd0b74Schristos2009-12-01  Joseph Myers  <joseph@codesourcery.com>
96*75fd0b74Schristos
97*75fd0b74Schristos	* readelf.c (get_machine_name, get_osabi_name): Handle more
98*75fd0b74Schristos	allocated values.
99*75fd0b74Schristos
100*75fd0b74Schristos2009-11-30  Joseph Myers  <joseph@codesourcery.com>
101*75fd0b74Schristos
102*75fd0b74Schristos	* configure: Regenerate.
103*75fd0b74Schristos
104*75fd0b74Schristos2009-11-20  Nick Clifton  <nickc@redhat.com>
105*75fd0b74Schristos
106*75fd0b74Schristos	* readelf.c: Include xc16x.h.
107*75fd0b74Schristos	(dump_relocations): Handle relocations for the xc16x target.
108*75fd0b74Schristos	(get_machine_name): Accept EM_C166 for xc16x targets.
109*75fd0b74Schristos	(is_32bit_abs_reloc): Add support for xc16c 32-bit absolute reloc.
110*75fd0b74Schristos	(is_16bit_abs_reloc): Add support for xc16c 16-bit absolute reloc.
111*75fd0b74Schristos	(is_none_reloc): Add support for xc16c null reloc.
112*75fd0b74Schristos
113*75fd0b74Schristos2009-11-20  Ben Elliston  <bje@au.ibm.com>
114*75fd0b74Schristos
115*75fd0b74Schristos	* Makefile.am (syslex.o): Use $(NO_WERROR) not -Wno-error.
116*75fd0b74Schristos	(sysinfo.o): Likewise.
117*75fd0b74Schristos	* Makefile.in: Regenerate.
118*75fd0b74Schristos
119*75fd0b74Schristos2009-11-19  Ben Elliston  <bje@au.ibm.com>
120*75fd0b74Schristos
121*75fd0b74Schristos	* arlex.l: Enable noinput, nounput flex options.
122*75fd0b74Schristos	* syslex.l: Likewise.
123*75fd0b74Schristos
124*75fd0b74Schristos2009-11-17  Paul Brook  <paul@codesourcery.com>
125*75fd0b74Schristos	    Daniel Jacobowitz  <dan@codesourcery.com>
126*75fd0b74Schristos
127*75fd0b74Schristos	* readelf.c (arm_attr_tag_CPU_arch): Add v7E-M.
128*75fd0b74Schristos
129*75fd0b74Schristos2009-11-16  Kai Tietz  <kai.tietz@onevision.com>
130*75fd0b74Schristos
131*75fd0b74Schristos	* windmc.c (set_endianess): Use bfd_get_target_info.
132*75fd0b74Schristos	* windres.c (set_endianess): Likewise.
133*75fd0b74Schristos	(find_arch_match): Removed.
134*75fd0b74Schristos
135*75fd0b74Schristos2009-11-11  Nick Clifton  <nickc@redhat.com>
136*75fd0b74Schristos
137*75fd0b74Schristos	* po/id.po: Updated Indonesian translation.
138*75fd0b74Schristos
139*75fd0b74Schristos2009-11-11  Jan Kratochvil  <jan.kratochvil@redhat.com>
140*75fd0b74Schristos
141*75fd0b74Schristos	* configure.in: Stop checking for fopen64 and stat64.
142*75fd0b74Schristos	* strings.c (file_off, file_open, statbuf, file_stat): Remove.
143*75fd0b74Schristos	(strings_file): Change file_off to file_ptr, file_open to fopen,
144*75fd0b74Schristos	statbuf to struct stat and file_stat to stat.
145*75fd0b74Schristos	(get_char): Change parameter type file_off * to file_ptr *.
146*75fd0b74Schristos	(print_strings): Change parameter and variable `start' type file_off to
147*75fd0b74Schristos	file_ptr.
148*75fd0b74Schristos	* configure: Regenerate.
149*75fd0b74Schristos	* config.in: Regenerate.
150*75fd0b74Schristos
151*75fd0b74Schristos2009-11-11  Jan Kratochvil  <jan.kratochvil@redhat.com>
152*75fd0b74Schristos
153*75fd0b74Schristos	* configure.in: Call ACX_LARGEFILE.  Stop calling AC_PLUGINS,
154*75fd0b74Schristos	AC_SYS_LARGEFILE and checking the Solaris largefile exception.
155*75fd0b74Schristos	* aclocal.m4: Regenerate.
156*75fd0b74Schristos	* configure: Regenerate.
157*75fd0b74Schristos
158*75fd0b74Schristos2009-11-09  Jan Kratochvil  <jan.kratochvil@redhat.com>
159*75fd0b74Schristos
160*75fd0b74Schristos	* bucomm.c (get_file_size): Update comment for the error return value.
161*75fd0b74Schristos
162*75fd0b74Schristos2009-11-08  John David Anglin  <dave.anglin@nrc-cnrc.gc.ca>
163*75fd0b74Schristos
164*75fd0b74Schristos	* readelf.c (slurp_hppa_unwind_table): Don't relocate address twice.
165*75fd0b74Schristos
166*75fd0b74Schristos2009-11-05  Kai Tietz  <kai.tietz@onevision.com>
167*75fd0b74Schristos
168*75fd0b74Schristos	* dllwrap.c (is_leading_underscore): New variable.
169*75fd0b74Schristos	(cpu_type): New enum type.
170*75fd0b74Schristos	(which_cpu): New variable.
171*75fd0b74Schristos	(usage): Add new options --no-leading-underscore
172*75fd0b74Schristos	and --leading-underscore.
173*75fd0b74Schristos	(long_options): Likewise.
174*75fd0b74Schristos	(OPTION_NO_LEADING_UNDERSCORE): New define.
175*75fd0b74Schristos	(OPTION_LEADING_UNDERSCORE): Likewise.
176*75fd0b74Schristos	(main): Initialize which_host, pass new options
177*75fd0b74Schristos	to dlltool, do underscoring dependent on
178*75fd0b74Schristos	is_leading_underscore, and do '@12' decoration
179*75fd0b74Schristos	only for x86.
180*75fd0b74Schristos
181*75fd0b74Schristos2009-11-02  Paul Brook  <paul@codesourcery.com>
182*75fd0b74Schristos
183*75fd0b74Schristos	* readelf.c (arm_attr_tag_VFP_arch): Add VFPv4 and VFPv4-D16.
184*75fd0b74Schristos
185*75fd0b74Schristos2009-10-28  Kai Tietz <kai.tietz@onevision.com>
186*75fd0b74Schristos
187*75fd0b74Schristos	* dlltool.c (leading_underscore): New local variable.
188*75fd0b74Schristos	(asm_prefix): Interpret leading_underscore.
189*75fd0b74Schristos	(xlate): Likewise.
190*75fd0b74Schristos	(add_excludes): Use leading_underscore for making
191*75fd0b74Schristos	symbol name.
192*75fd0b74Schristos	(gen_exp_file): Use leading_underscore for internal
193*75fd0b74Schristos	_imp_ symbols.
194*75fd0b74Schristos	(usage): Add display of --no-leading-underscore and
195*75fd0b74Schristos	--leading-underscore option.
196*75fd0b74Schristos	(OPTION_NO_LEADING_UNDERSCORE): New.
197*75fd0b74Schristos	(OPTION_LEADING_UNDERSCORE): New.
198*75fd0b74Schristos	(long_options): Add --no-leading-underscore and
199*75fd0b74Schristos	--leading-underscore option.
200*75fd0b74Schristos	(main): Handle new options.
201*75fd0b74Schristos	* doc/binutils.text: Add documentation of the options
202*75fd0b74Schristos	--no-leading-underscore and --leading-underscore.
203*75fd0b74Schristos
204*75fd0b74Schristos2009-10-23  Kai Tietz  <kai.tietz@onevision.com>
205*75fd0b74Schristos
206*75fd0b74Schristos	* deflex.l: Allow '<' and '>' in ID names.
207*75fd0b74Schristos
208*75fd0b74Schristos	* defparse.y (EQUAL): New token constant.
209*75fd0b74Schristos	(opt_import_name): New rule for emptry or '==' ID.
210*75fd0b74Schristos	(expline): Add opt_import_name as last line element.
211*75fd0b74Schristos	(impline): Likewise.
212*75fd0b74Schristos	* dlltool.c (ifunct): New member its_name.
213*75fd0b74Schristos	(export): Likewise.
214*75fd0b74Schristos	(append_import): Add its_name argument.
215*75fd0b74Schristos	(defexports): Likewise.
216*75fd0b74Schristos	(defimport): Likewise.
217*75fd0b74Schristos	(scan_drectve_symbols): Adjust calls to def_exports.
218*75fd0b74Schristos	(dump_def_info): Print new optinal import/export table
219*75fd0b74Schristos	symbol name.
220*75fd0b74Schristos	(generate_idata_ofile): Use its_name member.
221*75fd0b74Schristos	(make_one_lib_file): Likewise.
222*75fd0b74Schristos	(nfunc): Take its_name in account on sort.
223*75fd0b74Schristos	* dlltool.h (def_exports): Add its_name as argument.
224*75fd0b74Schristos	(def_import): Likewise.
225*75fd0b74Schristos	* doc/binutils.texi: Add new def file syntax extension.
226*75fd0b74Schristos	* deflex.l (EQUAL): Add rule for '=='.
227*75fd0b74Schristos	* NEWS: Mention new feature.
228*75fd0b74Schristos
229*75fd0b74Schristos2009-10-23  Thomas Cougnard  <thomas.cougnard@gmail.com>
230*75fd0b74Schristos
231*75fd0b74Schristos	* readelf.c (dynamic_info): Correct size of array.
232*75fd0b74Schristos
233*75fd0b74Schristos2009-10-21  Ben Elliston  <bje@gnu.org>
234*75fd0b74Schristos
235*75fd0b74Schristos	* MAINTAINERS (BUILD SYSTEM, TESTSUITES): Remove myself.
236*75fd0b74Schristos
237*75fd0b74Schristos2009-10-19  Jerker B�ck  <jerker.back@gmail.com>
238*75fd0b74Schristos
239*75fd0b74Schristos	PR binutils/10793
240*75fd0b74Schristos	* prdbg.c (tg_end_struct_type): Warning fix.
241*75fd0b74Schristos
242*75fd0b74Schristos	PR binutils/10792
243*75fd0b74Schristos	* dlltool.c (dll_name_list_append): Declare variable at start
244*75fd0b74Schristos	of block.
245*75fd0b74Schristos	(dll_name_list_count, dll_name-list_print): Likewise.
246*75fd0b74Schristos
247*75fd0b74Schristos2009-10-16  Doug Evans  <dje@sebabeach.org>
248*75fd0b74Schristos
249*75fd0b74Schristos	* MAINTAINERS: Add myself as m32r maintainer.
250*75fd0b74Schristos
251*75fd0b74Schristos2009-10-16  Jerker B�ck <jerker.back@gmail.com>
252*75fd0b74Schristos
253*75fd0b74Schristos	PR 10764
254*75fd0b74Schristos	* Makefile.am (sysinfo.o, syslex.o): Place source file after all
255*75fd0b74Schristos	command line switches.
256*75fd0b74Schristos	* Makefile.in: Regenerate.
257*75fd0b74Schristos
258*75fd0b74Schristos2009-10-16  Yann Droneaud  <yann@droneaud.fr>
259*75fd0b74Schristos
260*75fd0b74Schristos	PR 10768
261*75fd0b74Schristos	* dlltool.c (bfd_get_errmsg): New macro.
262*75fd0b74Schristos	(scan_obj_file): Use it.
263*75fd0b74Schristos	(make_one_lib_file): Use it.
264*75fd0b74Schristos	(make_head): Use it.
265*75fd0b74Schristos	(make_delay_head): Use it.
266*75fd0b74Schristos	(make_tail): Use it.
267*75fd0b74Schristos	(gen_lib_file): Use it.
268*75fd0b74Schristos	(identify_dll_for_implib): Use it.
269*75fd0b74Schristos	(identify_search_archive):  Use it.
270*75fd0b74Schristos
271*75fd0b74Schristos2009-10-16  Nick Clifton  <nickc@redhat.com>
272*75fd0b74Schristos
273*75fd0b74Schristos	* readelf.c (usage): Add mention of --debug-dump=frames-interp.
274*75fd0b74Schristos	Wrap output to 80 columns.
275*75fd0b74Schristos	* objdump.c (usage): Likewise.
276*75fd0b74Schristos	* doc/binutils.texi (readelf): Add note about =frames-interp.
277*75fd0b74Schristos
278*75fd0b74Schristos2009-10-01  Alan Modra  <amodra@bigpond.net.au>
279*75fd0b74Schristos
280*75fd0b74Schristos	* addr2line.c (slurp_symtab): Don't use bfd_read_minisymbols.
281*75fd0b74Schristos
282*75fd0b74Schristos2009-09-29  Nick Clifton  <nickc@redhat.com>
283*75fd0b74Schristos
284*75fd0b74Schristos	* doc/binutils.texi (c++filt): Remove spurious description of
285*75fd0b74Schristos	nonexistent --java command line switch for cxxfilt.
286*75fd0b74Schristos
287*75fd0b74Schristos2009-09-29  DJ Delorie  <dj@redhat.com>
288*75fd0b74Schristos
289*75fd0b74Schristos	* readelf.c: Add support for RX target.
290*75fd0b74Schristos	* MAINTAINERS: Add DJ and NickC as maintainers for RX.
291*75fd0b74Schristos
292*75fd0b74Schristos2009-09-28  Alan Modra  <amodra@bigpond.net.au>
293*75fd0b74Schristos
294*75fd0b74Schristos	* configure.in: Don't invoke configure.tgt on $enable_targets.
295*75fd0b74Schristos	* configure: Regenerate.
296*75fd0b74Schristos
297*75fd0b74Schristos2009-09-28  Nick Clifton  <nickc@redhat.com>
298*75fd0b74Schristos
299*75fd0b74Schristos	PR 10478
300*75fd0b74Schristos	* readelf.c (get_elf_section_flags): Allow SHN_BEFORE and
301*75fd0b74Schristos	SHN_AFTER section link values in x86 binaries.
302*75fd0b74Schristos	(process_section_headers): Likewise.
303*75fd0b74Schristos
304*75fd0b74Schristos2009-09-25  Dmitry Gorbachev  <d.g.gorbachev@gmail.com>
305*75fd0b74Schristos
306*75fd0b74Schristos	PR 10656
307*75fd0b74Schristos	* readelf.c: Remove duplicate declaration of variable do_wide.
308*75fd0b74Schristos	* dwarf.h: Add export of do_wide.
309*75fd0b74Schristos
310*75fd0b74Schristos2009-09-24  Cary Coutant  <ccoutant@google.com>
311*75fd0b74Schristos
312*75fd0b74Schristos	* dwarf.c (get_TAG_name): Add missing DWARF-3 and new DWARF-4 tags.
313*75fd0b74Schristos	(get_FORM_name): Add new DWARF-4 forms.
314*75fd0b74Schristos	(read_and_display_attr_value): Add DW_FORM_ref_sig8, DW_LANG_Python.
315*75fd0b74Schristos	(get_AT_name): Add new DWARF-4 and GNU-specific attributes.
316*75fd0b74Schristos	(process_debug_info): Add do_types parameter; change all callers.
317*75fd0b74Schristos	Add support for .debug_types sections.
318*75fd0b74Schristos	(display_debug_types): New function.
319*75fd0b74Schristos	(debug_displays): Add .debug_types section.
320*75fd0b74Schristos	* readelf.c (process_section_headers): Add .debug_types section.
321*75fd0b74Schristos	(display_debug_section): Simplify call to streq.
322*75fd0b74Schristos
323*75fd0b74Schristos2009-09-25  Alan Modra  <amodra@bigpond.net.au>
324*75fd0b74Schristos
325*75fd0b74Schristos	* readelf.c (print_dynamic_symbol): Format entries as for
326*75fd0b74Schristos	normal symbol table.
327*75fd0b74Schristos	(process_symbol_table): Use -7s format string for visibility.
328*75fd0b74Schristos
329*75fd0b74Schristos2009-09-22  Richard Sandiford  <rdsandiford@googlemail.com>
330*75fd0b74Schristos
331*75fd0b74Schristos	* objdump.c (disassemble_section): Use bfd_get_arch_size
332*75fd0b74Schristos	instead of assuming that the address size is 32 bits.
333*75fd0b74Schristos
334*75fd0b74Schristos2009-09-21  Alan Modra  <amodra@bigpond.net.au>
335*75fd0b74Schristos
336*75fd0b74Schristos	* readelf.c (get_ppc_dynamic_type): Add TLSOPT.
337*75fd0b74Schristos	(get_ppc64_dynamic_type): Likewise.
338*75fd0b74Schristos
339*75fd0b74Schristos2009-09-18  Nick Clifton  <nickc@redhat.com>
340*75fd0b74Schristos
341*75fd0b74Schristos	* po/es.po: Updated Spanish translation.
342*75fd0b74Schristos	* po/vi.po: Updated Vietnamese translation.
343*75fd0b74Schristos
344*75fd0b74Schristos2009-09-11  Paul Pluzhnikov  <ppluzhnikov@google.com>
345*75fd0b74Schristos
346*75fd0b74Schristos	* readelf.c (process_version_sections, process_symbol_table):
347*75fd0b74Schristos	Use symbolic constants.
348*75fd0b74Schristos
349*75fd0b74Schristos2009-09-11  Nick Clifton  <nickc@redhat.com>
350*75fd0b74Schristos
351*75fd0b74Schristos	* po/binutils.pot: Updated by the Translation project.
352*75fd0b74Schristos
353*75fd0b74Schristos2009-09-11  Philippe De Muyter  <phdm@macqel.be>
354*75fd0b74Schristos
355*75fd0b74Schristos	* obcopy.c (copy_object): New parameter `input_arch', architecture
356*75fd0b74Schristos	of input file, if not specified in input file itself; all callers
357*75fd0b74Schristos	updated; `binary_architecture' hack removed.
358*75fd0b74Schristos	(copy_archive, copy_file): New parameter `input_arch', for
359*75fd0b74Schristos	`copy_object' usage.
360*75fd0b74Schristos	(copy_main): Accept `-B' (`--binary-architecture') option also
361*75fd0b74Schristos	for any arch-less input ifile format, not only `binary'; remove
362*75fd0b74Schristos	bfd_external_binary_architecture hack; instead, add `input_arch'
363*75fd0b74Schristos	to calls to `copy_file'.
364*75fd0b74Schristos	* windres.c, windmc.c : Obsolete and useless external references
365*75fd0b74Schristos	to `bfd_external_binary_architecture' or `bfd_external_machine'
366*75fd0b74Schristos	removed.
367*75fd0b74Schristos	* doc/binutils.texi: Mention that -B parameter can be used for any
368*75fd0b74Schristos	input file type which does not have its own architecture.
369*75fd0b74Schristos
370*75fd0b74Schristos2009-09-10  Martin Thuresson  <martin@mtme.org>
371*75fd0b74Schristos
372*75fd0b74Schristos	Update sources to compile cleanly with -Wc++-compat:
373*75fd0b74Schristos	* addr2line.c (slurp_symtab): Fix casts. Introduce variable
374*75fd0b74Schristos	minisyms to avoid aliasing varning.
375*75fd0b74Schristos	* ar.c: Add casts.
376*75fd0b74Schristos	(normalize): Use name del instead of delete.
377*75fd0b74Schristos	(display_target_list,display_info_table): Change loop counter
378*75fd0b74Schristos	variable a to int.
379*75fd0b74Schristos	* bucomm.c: Add casts.
380*75fd0b74Schristos	* debug.c: Update function to use new names.
381*75fd0b74Schristos	(struct debug_baseclass): Rename member from virtual to
382*75fd0b74Schristos	is_virtual.
383*75fd0b74Schristos	(struct debug_type_s, struct debug_field_s, struct
384*75fd0b74Schristos	debug_baseclass_s, struct debug_method_s, struct
385*75fd0b74Schristos	debug_method_variant_s, struct debug_type_s): Rename struct from
386*75fd0b74Schristos	avoid name collision.
387*75fd0b74Schristos	* debug.h: Use new struct names.
388*75fd0b74Schristos	* dwarf.c: Add casts.
389*75fd0b74Schristos	(free_debug_memory): Change loop counter variable a to int.
390*75fd0b74Schristos	* ieee.c: Add casts.
391*75fd0b74Schristos	(enum ieee_var_kind): Move to top level.
392*75fd0b74Schristos	(ieee_class_baseclass): Rename parameter virtual to is_virtual.
393*75fd0b74Schristos	(ieee_class_method_var): Rename variable virtual to is_virtual.
394*75fd0b74Schristos	* nm.c: Add casts.
395*75fd0b74Schristos	* objcopy.c: Add casts.
396*75fd0b74Schristos	(copy_archive): Rename variable delete to del.
397*75fd0b74Schristos	* objdump.c: Add casts.
398*75fd0b74Schristos	(dump_dwarf_section): Change loop counter variable i to int.
399*75fd0b74Schristos	* prdbg.c: Add casts.
400*75fd0b74Schristos	(pr_class_baseclass,tg_class_baseclass): Rename parameters virtual
401*75fd0b74Schristos	to is_virtual.
402*75fd0b74Schristos	* readelf.c: Add casts.
403*75fd0b74Schristos	(struct ia64_unw_table_entry,struct hppa_unw_table_entry): Move to
404*75fd0b74Schristos	top level.
405*75fd0b74Schristos	* size.c: Add casts.
406*75fd0b74Schristos	* stabs.c (parse_stab_type, parse_stab_range_type,
407*75fd0b74Schristos	(parse_stab_cpp_abbrev): Rename parameter from typename to
408*75fd0b74Schristos	type_name.
409*75fd0b74Schristos	(parse_stab_baseclasses): Rename variable virtual to is_virtual.
410*75fd0b74Schristos	* strings.c: Add casts.
411*75fd0b74Schristos	* wrstabs.c (stab_class_baseclass): Rename parameter virtual to
412*75fd0b74Schristos	is_virtual.
413*75fd0b74Schristos
414*75fd0b74Schristos2009-09-09  Nick Clifton  <nickc@redhat.com>
415*75fd0b74Schristos
416*75fd0b74Schristos	PR 10478:
417*75fd0b74Schristos	readelf.c (get_elf_section_flags): Add support for SHF_EXCLUDE and
418*75fd0b74Schristos	SHF_ORDERED.
419*75fd0b74Schristos	(process_section_headers): Warn about out of range sh_link
420*75fd0b74Schristos	values.  When displaying detailed section header information
421*75fd0b74Schristos	annote the SHN_BEFORE and SHN_AFTER values.
422*75fd0b74Schristos
423*75fd0b74Schristos2009-09-08  Alan Modra  <amodra@bigpond.net.au>
424*75fd0b74Schristos
425*75fd0b74Schristos	* dwarf.c (byte_get_little_endian): Handle size of 3.
426*75fd0b74Schristos	(byte_get_big_endian): Likewise.
427*75fd0b74Schristos	* readelf.c (byte_put_little_endian): Likewise.
428*75fd0b74Schristos	(byte_put_big_endian): Likewise.
429*75fd0b74Schristos	(is_24bit_abs_reloc): New function.
430*75fd0b74Schristos	(is_none_reloc): Formatting.
431*75fd0b74Schristos	(apply_relocations): Use is_24bit_abs_reloc.  Handle pj and xtensa
432*75fd0b74Schristos	reloc peculiarity.
433*75fd0b74Schristos
434*75fd0b74Schristos2009-09-07  Jan Kratochvil  <jan.kratochvil@redhat.com>
435*75fd0b74Schristos
436*75fd0b74Schristos	* readelf.c (is_none_reloc <EM_XTENSA_OLD>, is_none_reloc <EM_XTENSA>):
437*75fd0b74Schristos	New.
438*75fd0b74Schristos
439*75fd0b74Schristos2009-09-07  Jan Kratochvil  <jan.kratochvil@redhat.com>
440*75fd0b74Schristos
441*75fd0b74Schristos	* dwarf.c (process_debug_info): Support section padding abbrev codes.
442*75fd0b74Schristos
443*75fd0b74Schristos2009-09-07  Tristan Gingold  <gingold@adacore.com>
444*75fd0b74Schristos
445*75fd0b74Schristos	* po/binutils.pot: Regenerate.
446*75fd0b74Schristos
447*75fd0b74Schristos2009-09-05  Jan Kratochvil  <jan.kratochvil@redhat.com>
448*75fd0b74Schristos
449*75fd0b74Schristos	* Makefile.am (sysdump.o): Depend on sysroff.c.
450*75fd0b74Schristos	* Makefile.in: Regenerate.
451*75fd0b74Schristos
452*75fd0b74Schristos2009-09-05  Martin Thuresson  <martin@mtme.org>
453*75fd0b74Schristos
454*75fd0b74Schristos	* ieee.c (ieee_read_cxx_misc, ieee_read_cxx_class,
455*75fd0b74Schristos	ieee_read_reference): Rename variables named class to cxxclass.
456*75fd0b74Schristos
457*75fd0b74Schristos2009-09-04  Tristan Gingold  <gingold@adacore.com>
458*75fd0b74Schristos
459*75fd0b74Schristos	* BRANCHES: Add binutils-2_20-branch.
460*75fd0b74Schristos
461*75fd0b74Schristos2009-09-04  Tristan Gingold  <gingold@adacore.com>
462*75fd0b74Schristos
463*75fd0b74Schristos	* NEWS: Add marker for 2.20.
464*75fd0b74Schristos
465*75fd0b74Schristos2009-09-04  Timo Kreuzer  <timo.kreuzer@web.de>
466*75fd0b74Schristos
467*75fd0b74Schristos	* dlltool.c (delayimp_name): Add new global variable
468*75fd0b74Schristos	(usage, long_options, main): Add new option "-y" / "--output-delaylib"
469*75fd0b74Schristos	(struct mac): Add fields how_dljtab_size, how_dljtab_roff1,
470*75fd0b74Schristos	how_dljtab_roff2, how_dljtab, trampoline.
471*75fd0b74Schristos	(i386_dljtab): Add binary stub for x86 delay import.
472*75fd0b74Schristos	(i386_trampoline): Add text assembly stub for x86 delay import.
473*75fd0b74Schristos	(mtable): Add delay import data for M386 and MX86 only.
474*75fd0b74Schristos	(make_delay_head): New function.
475*75fd0b74Schristos	(make_one_lib_file): New arg delay creates delay-load import stub.
476*75fd0b74Schristos	(gen_lib_file): New arg delay likewise.
477*75fd0b74Schristos	(HOW_JTAB, HOW_JTAB_SIZE, HOW_JTAB_ROFF): New arg delay likewise.
478*75fd0b74Schristos	(HOW_JTAB_ROFF2, HOW_JTAB_ROFF3): New macros for delay import.
479*75fd0b74Schristos	(make_tail): Convert hard TABS embedded in strings to "\t" escapes.
480*75fd0b74Schristos	* NEWS: Mention new feature.  Also fix whitespace.
481*75fd0b74Schristos	* doc/binutils.texi: Updated dlltool documentation.
482*75fd0b74Schristos
483*75fd0b74Schristos2009-09-02  Tristan Gingold  <gingold@adacore.com>
484*75fd0b74Schristos
485*75fd0b74Schristos	* configure.com: Do not copy makefile.vms-in to makefile.vms
486*75fd0b74Schristos	* makefile.vms-in: Renamed to...
487*75fd0b74Schristos	* makefile.vms: ... this usual name as it is not processed anymore.
488*75fd0b74Schristos	Remove WRITE_DEBUG_OBJS (unused) and reorder object files for
489*75fd0b74Schristos	objdump.exe.
490*75fd0b74Schristos
491*75fd0b74Schristos2009-09-01  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
492*75fd0b74Schristos
493*75fd0b74Schristos	* Makefile.am (arparse.o, arlex.o, sysroff.o, defparse.o)
494*75fd0b74Schristos	(deflex.o, nlmheaders.o, rcparse.o, mcparse.o): Supply correct
495*75fd0b74Schristos	source file name for generated files which may be in $(srcdir).
496*75fd0b74Schristos	* Makefile.in: Regenerate.
497*75fd0b74Schristos
498*75fd0b74Schristos2009-09-01  H.J. Lu  <hongjiu.lu@intel.com>
499*75fd0b74Schristos
500*75fd0b74Schristos	* version.c (print_version): Change to "Copyright 2009".
501*75fd0b74Schristos
502*75fd0b74Schristos2009-09-01  Tristan Gingold  <gingold@adacore.com>
503*75fd0b74Schristos
504*75fd0b74Schristos	* makefile.vms-in: Remove unused VERSION variable.  Remove unused
505*75fd0b74Schristos	dependencies.
506*75fd0b74Schristos	* configure.com: Ported to Itanium VMS.  Create build.com DCL script.
507*75fd0b74Schristos
508*75fd0b74Schristos2009-08-29  Martin Thuresson  <martin@mtme.org>
509*75fd0b74Schristos
510*75fd0b74Schristos	* nlmconv.c (main): Rename variable new to new_name.
511*75fd0b74Schristos
512*75fd0b74Schristos2009-08-28  H.J. Lu  <hongjiu.lu@intel.com>
513*75fd0b74Schristos
514*75fd0b74Schristos	* Makefile.am (sysinfo$(EXEEXT_FOR_BUILD)): Replace
515*75fd0b74Schristos	CFLAGS/LDFLAGS with CFLAGS_FOR_BUILD/LDFLAGS_FOR_BUILD.
516*75fd0b74Schristos	(syslex.o): Likewise.
517*75fd0b74Schristos	(sysinfo.o): Likewise.
518*75fd0b74Schristos	(bin2c$(EXEEXT_FOR_BUILD)): Likewise.
519*75fd0b74Schristos	* Makefile.in: Regenerated.
520*75fd0b74Schristos
521*75fd0b74Schristos2009-08-27  Dave Korn  <dave.korn.cygwin@gmail.com>
522*75fd0b74Schristos
523*75fd0b74Schristos	* doc/binutils.texi (--only-keep-debug): Relocate stray para here ...
524*75fd0b74Schristos	(--subsystem): ... from here.
525*75fd0b74Schristos
526*75fd0b74Schristos2009-08-24  Cary Coutant  <ccoutant@google.com>
527*75fd0b74Schristos
528*75fd0b74Schristos	* objdump.c (find_symbol_for_address): Avoid costly call to
529*75fd0b74Schristos	bfd_octets_per_byte.
530*75fd0b74Schristos
531*75fd0b74Schristos2009-08-24  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
532*75fd0b74Schristos
533*75fd0b74Schristos	* Makefile.am (am__skiplex, am__skipyacc): New.
534*75fd0b74Schristos	* Makefile.in: Regenerate.
535*75fd0b74Schristos
536*75fd0b74Schristos2009-08-23  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
537*75fd0b74Schristos
538*75fd0b74Schristos	* Makefile.am (syslex.o): Depend on sysinfo.h config.h.
539*75fd0b74Schristos	* Makefile.in: Regenerate.
540*75fd0b74Schristos
541*75fd0b74Schristos2009-08-22  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
542*75fd0b74Schristos
543*75fd0b74Schristos	* Makefile.am (AM_CPPFLAGS): Renamed from ...
544*75fd0b74Schristos	(INCLUDES): ... this.
545*75fd0b74Schristos	(bin2c$(EXEEXT_FOR_BUILD): Adjust rule.
546*75fd0b74Schristos	(installcheck-local): Renamed from ...
547*75fd0b74Schristos	(installcheck): ... this.
548*75fd0b74Schristos	* Makefile.in: Regenerate.
549*75fd0b74Schristos
550*75fd0b74Schristos	* Makefile.am (AUTOMAKE_OPTIONS): Remove cygnus, add no-dist and
551*75fd0b74Schristos	foreign.
552*75fd0b74Schristos	(MKDEP, CLEANFILES): Remove now-unneeded variables.
553*75fd0b74Schristos	(DEP, DEP1, dep.sed, dep, dep-in, dep-am): Remove.
554*75fd0b74Schristos	(mkdep section): Remove.
555*75fd0b74Schristos	(BUILT_SOURCES): New variable, list $(GENERATED_HFILES).
556*75fd0b74Schristos	(EXTRA_ar_SOURCES): New, list $(CFILES).
557*75fd0b74Schristos	(syslex.o): Depend on syslex.c.
558*75fd0b74Schristos	(sysinfo.o): Depend on sysinfo.c.
559*75fd0b74Schristos	(arparse.h, defparse.h, nlmheaders.h rcparse.h mcparse.h):
560*75fd0b74Schristos	Remove dependencies, now tracked by automake.
561*75fd0b74Schristos	(srconv.o): Depend on sysroff.c.
562*75fd0b74Schristos	(objdump.o, arparse.o, arlex.o, sysroff.o, defparse.o, deflex.o)
563*75fd0b74Schristos	(nlmheader.o, rcparse.o, mcparse.o, rclex.o, mclex.o, dlltool.o)
564*75fd0b74Schristos	(rescoff.o, nlmconv.o): Rewrite using automake-style dependency
565*75fd0b74Schristos	tracking rules; only list the dependency upon the primary source
566*75fd0b74Schristos	file, but no included headers.
567*75fd0b74Schristos	* Makefile.in: Regenerate.
568*75fd0b74Schristos
569*75fd0b74Schristos	* Makefile.am (install-pdf, install-pdf-recursive, install-html)
570*75fd0b74Schristos	(install-html-recursive): Remove.
571*75fd0b74Schristos	* Makefile.in: Regenerate.
572*75fd0b74Schristos	* doc/Makefile.am (pdf__strip_dir, install-pdf, install-pdf-am)
573*75fd0b74Schristos	(html__strip_dir, install-html, install-html-am): Remove.
574*75fd0b74Schristos	* doc/Makefile.in: Regenerate.
575*75fd0b74Schristos
576*75fd0b74Schristos	* Makefile.in: Regenerate.
577*75fd0b74Schristos	* aclocal.m4: Likewise.
578*75fd0b74Schristos	* config.in: Likewise.
579*75fd0b74Schristos	* configure: Likewise.
580*75fd0b74Schristos	* doc/Makefile.in: Likewise.
581*75fd0b74Schristos
582*75fd0b74Schristos2009-08-17  Nick Clifton  <nickc@redhat.com>
583*75fd0b74Schristos
584*75fd0b74Schristos	* readelf.c (is_32bit_abs_reloc): Treat R_PARISC_SECREL32 as a
585*75fd0b74Schristos	32-bit absolute reloc for the purposes of processing debug
586*75fd0b74Schristos	sections.
587*75fd0b74Schristos
588*75fd0b74Schristos2009-08-10  Daniel Gutson  <dgutson@codesourcery.com>
589*75fd0b74Schristos
590*75fd0b74Schristos	* readelf.c (get_arm_section_type_name): Added support for
591*75fd0b74Schristos	new sections headers.
592*75fd0b74Schristos
593*75fd0b74Schristos2009-08-03  H.J. Lu  <hongjiu.lu@intel.com>
594*75fd0b74Schristos
595*75fd0b74Schristos	PR binutils/10364
596*75fd0b74Schristos	* objcopy.c (strip_main): Check return from smart_rename.
597*75fd0b74Schristos	(copy_main): Likewise.
598*75fd0b74Schristos
599*75fd0b74Schristos2009-07-27  Nick Clifton  <nickc@redhat.com>
600*75fd0b74Schristos
601*75fd0b74Schristos	PR 10413
602*75fd0b74Schristos	* objdump.c (dump_section_header): Skip sections that we are
603*75fd0b74Schristos	ignoring.
604*75fd0b74Schristos
605*75fd0b74Schristos2009-07-25  H.J. Lu  <hongjiu.lu@intel.com>
606*75fd0b74Schristos
607*75fd0b74Schristos	* readelf.c (guess_is_rela): Handle EM_L1OM.
608*75fd0b74Schristos	(dump_relocations): Likewise.
609*75fd0b74Schristos	(get_machine_name): Likewise.
610*75fd0b74Schristos	(get_section_type_name): Likewise.
611*75fd0b74Schristos	(get_elf_section_flags): Likewise.
612*75fd0b74Schristos	(get_symbol_index_type): Likewise.
613*75fd0b74Schristos	(is_32bit_abs_reloc): Likewise.
614*75fd0b74Schristos	(is_32bit_pcrel_reloc): Likewise.
615*75fd0b74Schristos	(is_64bit_abs_reloc): Likewise.
616*75fd0b74Schristos	(is_64bit_pcrel_reloc): Likewise.
617*75fd0b74Schristos	(is_none_reloc): Likewise.
618*75fd0b74Schristos
619*75fd0b74Schristos2009-07-23  Ulrich Drepper  <drepper@redhat.com>
620*75fd0b74Schristos
621*75fd0b74Schristos	* readelf.c (get_symbol_binding): For Linux targeted files return
622*75fd0b74Schristos	UNIQUE for symbols with the STB_GNU_UNIQUE binding.
623*75fd0b74Schristos	* doc/binutils.texi: Document the meaning of the 'u' symbol
624*75fd0b74Schristos	binding in the output of nm and objdump --syms.
625*75fd0b74Schristos
626*75fd0b74Schristos2009-07-20  H.J. Lu  <hongjiu.lu@intel.com>
627*75fd0b74Schristos
628*75fd0b74Schristos	* NEWS: Mention --insn-width.
629*75fd0b74Schristos
630*75fd0b74Schristos	* objdump.c (insn_width): New.
631*75fd0b74Schristos	(usage): Display --insn-width.
632*75fd0b74Schristos	(option_values): Add OPTION_INSN_WIDTH.
633*75fd0b74Schristos	(long_options): Add --insn-width.
634*75fd0b74Schristos	(disassemble_bytes): Handle insn_width.
635*75fd0b74Schristos	(main): Handle OPTION_INSN_WIDTH.
636*75fd0b74Schristos
637*75fd0b74Schristos	* doc/binutils.texi: Document --insn-width.
638*75fd0b74Schristos
639*75fd0b74Schristos2009-07-17  Nick Clifton  <nickc@redhat.com>
640*75fd0b74Schristos
641*75fd0b74Schristos	* dwarf.c (display_debug_lines): If do_debug_lines has not been
642*75fd0b74Schristos	set then default to displaying raw .debug_line section contents.
643*75fd0b74Schristos
644*75fd0b74Schristos2009-07-14  Jan Kratochvil  <jan.kratochvil@redhat.com>
645*75fd0b74Schristos
646*75fd0b74Schristos	Support unordered .debug_info references to .debug_ranges.
647*75fd0b74Schristos	* dwarf.c (struct range_entry, range_entry_compar): New.
648*75fd0b74Schristos	(display_debug_ranges): Remove variables last_offset, first, j,
649*75fd0b74Schristos	seen_first_offset, use_debug_info and next.  New variables
650*75fd0b74Schristos	range_entries and range_entry_fill.  Create the sorted copy
651*75fd0b74Schristos	range_entries.  Remove the FIXME error on detected unordered references.
652*75fd0b74Schristos	* dwarf.h (debug_info <range_lists>): New comment.
653*75fd0b74Schristos
654*75fd0b74Schristos2009-07-14  Nick Clifton  <nickc@redhat.com>
655*75fd0b74Schristos
656*75fd0b74Schristos	PR 10380
657*75fd0b74Schristos	* README: Document use of LDFLAGS="--static".
658*75fd0b74Schristos
659*75fd0b74Schristos2009-07-10  H.J. Lu  <hongjiu.lu@intel.com>
660*75fd0b74Schristos
661*75fd0b74Schristos	* Makefile.am: Run "make dep-am".
662*75fd0b74Schristos	* Makefile.in: Regenerated.
663*75fd0b74Schristos
664*75fd0b74Schristos2009-07-10  Tom Tromey  <tromey@redhat.com>
665*75fd0b74Schristos
666*75fd0b74Schristos	* Makefile.am (dwarf.o): Refer to dwarf2.h, not elf/dwarf2.h.
667*75fd0b74Schristos	* Makefile.in: Rebuild.
668*75fd0b74Schristos	* dwarf.c: Include dwarf2.h, not elf/dwarf2.h.
669*75fd0b74Schristos
670*75fd0b74Schristos2009-07-06  Tristan Gingold  <gingold@adacore.com>
671*75fd0b74Schristos
672*75fd0b74Schristos	* objdump.c (dump_dwarf_section): Handle .eh_frame like other dwarf
673*75fd0b74Schristos	sections.
674*75fd0b74Schristos	* dwarf.h (struct dwarf_section_display): Remove eh_frame field.
675*75fd0b74Schristos	* dwarf.c (debug_displays): Adjust for removed field.
676*75fd0b74Schristos
677*75fd0b74Schristos2009-07-03  Jakub Jelinek  <jakub@redhat.com>
678*75fd0b74Schristos
679*75fd0b74Schristos	* dwarf.c (decode_location_expression): Handle DW_OP_stack_value
680*75fd0b74Schristos	and DW_OP_implicit_value.
681*75fd0b74Schristos
682*75fd0b74Schristos2009-07-01  Nick Clifton  <nickc@redhat.com>
683*75fd0b74Schristos
684*75fd0b74Schristos	PR 6714
685*75fd0b74Schristos	* rclex.c (handle_quotes): Do not complain about whitespace
686*75fd0b74Schristos	separating quoted strings.
687*75fd0b74Schristos	(rclex_string): Ignore whitespace when looking for a new opening
688*75fd0b74Schristos	quote following a closing quote.
689*75fd0b74Schristos
690*75fd0b74Schristos2009-06-27  H.J. Lu  <hongjiu.lu@intel.com>
691*75fd0b74Schristos
692*75fd0b74Schristos	PR binutils/10321
693*75fd0b74Schristos	* bucomm.c (get_file_size): Return -1 on error.
694*75fd0b74Schristos
695*75fd0b74Schristos	* objcopy.c (copy_file): Report empty file.
696*75fd0b74Schristos
697*75fd0b74Schristos2009-06-23  Nick Clifton  <nickc@redhat.com>
698*75fd0b74Schristos
699*75fd0b74Schristos	* dwarf.c (display_debug_lines_raw): Include the name of the
700*75fd0b74Schristos	section in warning message.
701*75fd0b74Schristos	(struct debug_display): Enable reloc processing for .debug_line
702*75fd0b74Schristos	and .debug_ranges sections.
703*75fd0b74Schristos
704*75fd0b74Schristos	* readelf.c: Add --relocated-dump command line option to dump the
705*75fd0b74Schristos	relocated contents of a specified section.
706*75fd0b74Schristos	(request_dump): New function.
707*75fd0b74Schristos	(parse_args): Use it.
708*75fd0b74Schristos	(dump_section_as_bytes): Add parameter to indicate whether the
709*75fd0b74Schristos	contents should be relocated.
710*75fd0b74Schristos	(target_specific_reloc_handling): Add code for a R_MN10300_16
711*75fd0b74Schristos	reloc found after a R_MN10300_SYM_DIFF reloc.
712*75fd0b74Schristos	(debug_apply_relocations): Rename to apply_relocations.
713*75fd0b74Schristos	(get_section_contents): New function.  Replaces common code found
714*75fd0b74Schristos	in dump_section_as_strings and dump_section_as_bytes.
715*75fd0b74Schristos	* doc/binutils.texi: Document new command line option.
716*75fd0b74Schristos	* NEWS: Mention the new feature.
717*75fd0b74Schristos
718*75fd0b74Schristos2009-06-22  Nick Clifton  <nickc@redhat.com>
719*75fd0b74Schristos
720*75fd0b74Schristos	* readelf.c (target_specific_reloc_handling): New function:
721*75fd0b74Schristos	Processes relocs in a target specific manner.
722*75fd0b74Schristos	(debug_apply_relocations): Use the new function.
723*75fd0b74Schristos	* dwarf.c (display_debug_loc): End the dump with a blank line.
724*75fd0b74Schristos	(struct debug_display): Enable reloc processing for .debug_aranges
725*75fd0b74Schristos	and .debug_loc sections.
726*75fd0b74Schristos
727*75fd0b74Schristos2009-06-19  Nick Clifton  <nickc@redhat.com>
728*75fd0b74Schristos
729*75fd0b74Schristos	* ar.c (usage): Do not use #ifdef inside _("...).
730*75fd0b74Schristos	* nm.c (usage): Likewise.
731*75fd0b74Schristos
732*75fd0b74Schristos2009-06-18  Nick Clifton  <nickc@redhat.com>
733*75fd0b74Schristos
734*75fd0b74Schristos	PR 10288
735*75fd0b74Schristos	* objdump.c (disassemble_bytes): Set the
736*75fd0b74Schristos	USER_SPECIFIED_MACHINE_TYPE flag in the disassemble_info structure
737*75fd0b74Schristos	if the user has invoked the -m switch.
738*75fd0b74Schristos	* doc/binutils.texi: Document the additional behaviour of
739*75fd0b74Schristos	objdump's -m switch for ARM targets.
740*75fd0b74Schristos
741*75fd0b74Schristos2009-06-18  Dave Korn  <dave.korn.cygwin@gmail.com>
742*75fd0b74Schristos
743*75fd0b74Schristos	* configure.in: Merge cegcc and mingw32ce target name changes from
744*75fd0b74Schristos	CeGCC project.
745*75fd0b74Schristos
746*75fd0b74Schristos2007-12-25  Pedro Alves  <pedro_alves@portugalmail.pt>
747*75fd0b74Schristos
748*75fd0b74Schristos	* configure.in: Add arm*-*-cegcc* and arm*-*-mingw32ce* targets.
749*75fd0b74Schristos	* configure: Regenerate.
750*75fd0b74Schristos
751*75fd0b74Schristos2009-06-15  Nick Clifton  <nickc@redhat.com>
752*75fd0b74Schristos
753*75fd0b74Schristos	PR 10263
754*75fd0b74Schristos	* objdump.c (disassemble_bytes): Set the DISASSEMBLE_DATA bit in
755*75fd0b74Schristos	the flags field of the disassemble_info structure if the -D switch
756*75fd0b74Schristos	is in operation.
757*75fd0b74Schristos
758*75fd0b74Schristos2009-06-12  Homer Xing  <homer.xing@yahoo.com>
759*75fd0b74Schristos
760*75fd0b74Schristos	* NEWS: Mention new feature added to gprof.
761*75fd0b74Schristos
762*75fd0b74Schristos2009-06-12  John Reiser  <jreiser@BitWagon.com>
763*75fd0b74Schristos
764*75fd0b74Schristos	* readelf.c (process_symbol_table): Set gnubuckets to NULL after
765*75fd0b74Schristos	freeing it and before returning.
766*75fd0b74Schristos
767*75fd0b74Schristos2009-06-12  Jakub Jelinek  <jakub@redhat.com>
768*75fd0b74Schristos
769*75fd0b74Schristos	* readelf.c (process_symbol_table): Don't return early if
770*75fd0b74Schristos	.hash/.gnu.hash is empty/unusable and not -D.
771*75fd0b74Schristos
772*75fd0b74Schristos2009-06-09  Tom Bramer  <tjb@postpro.net>
773*75fd0b74Schristos
774*75fd0b74Schristos	PR 10165
775*75fd0b74Schristos	* winduni.c (wind_MultiByteToWideChar): Do not pass MB_PRECOMPOSED
776*75fd0b74Schristos	to MultiByteToWideChar when using the CP_UTF8 or CO_UTF7 types.
777*75fd0b74Schristos
778*75fd0b74Schristos2009-06-04  Alan Modra  <amodra@bigpond.net.au>
779*75fd0b74Schristos
780*75fd0b74Schristos	* strings.c (main): Delay parsing of decimal digits.
781*75fd0b74Schristos
782*75fd0b74Schristos2009-06-04  Alan Modra  <amodra@bigpond.net.au>
783*75fd0b74Schristos
784*75fd0b74Schristos	* dep-in.sed: Don't use \n in replacement part of s command.
785*75fd0b74Schristos	* Makefile.am (DEP1): LC_ALL for uniq.
786*75fd0b74Schristos	Run "make dep-am".
787*75fd0b74Schristos	* Makefile.in: Regenerate.
788*75fd0b74Schristos
789*75fd0b74Schristos2009-06-03  Tristan Gingold  <gingold@adacore.com>
790*75fd0b74Schristos
791*75fd0b74Schristos	* MAINTAINERS: Add myself as Mach-O maintainer.
792*75fd0b74Schristos
793*75fd0b74Schristos2009-06-01  Alan Modra  <amodra@bigpond.net.au>
794*75fd0b74Schristos
795*75fd0b74Schristos	PR 10199
796*75fd0b74Schristos	* doc/binutils.texi (nm): Correct -S description.
797*75fd0b74Schristos
798*75fd0b74Schristos2009-05-28  Nick Clifton  <nickc@redhat.com>
799*75fd0b74Schristos
800*75fd0b74Schristos	* po/da.po: Updated Danish translation.
801*75fd0b74Schristos
802*75fd0b74Schristos2009-05-28  Nick Clifton  <nickc@redhat.com>
803*75fd0b74Schristos
804*75fd0b74Schristos	* readelf.c (display_debug_section): Do not display debug sections
805*75fd0b74Schristos	with the NOBITS section type.
806*75fd0b74Schristos
807*75fd0b74Schristos2009-05-27  Rafael Avila de Espindola  <espindola@google.com>
808*75fd0b74Schristos
809*75fd0b74Schristos	* aclocal.m4: Include ../config/plugins.m4.
810*75fd0b74Schristos	* configure.in: Use AC_PLUGINS.
811*75fd0b74Schristos	* configure: Regenerate.
812*75fd0b74Schristos	* Makefile.in: Regenerate.
813*75fd0b74Schristos	* doc/Makefile.in: Regenerate.
814*75fd0b74Schristos
815*75fd0b74Schristos2009-05-27  Rafael Avila de Espindola  <espindola@google.com>
816*75fd0b74Schristos
817*75fd0b74Schristos	* ar.c (main): Call bfd_plugin_set_program_name.
818*75fd0b74Schristos	* nm.c (main): Call bfd_plugin_set_program_name.
819*75fd0b74Schristos
820*75fd0b74Schristos2009-05-27  Nathan Sidwell  <nathan@codesourcery.com>
821*75fd0b74Schristos
822*75fd0b74Schristos	* sysdump.c (tab): Use puts rather than two printfs.
823*75fd0b74Schristos
824*75fd0b74Schristos2009-05-26  Nick Clifton  <nickc@redhat.com>
825*75fd0b74Schristos
826*75fd0b74Schristos	* po/id.po: Updated Indonesian translation.
827*75fd0b74Schristos	* po/binutils.pot: Updated template file.
828*75fd0b74Schristos
829*75fd0b74Schristos2009-05-26  Rafael Avila de Espindola  <espindola@google.com>
830*75fd0b74Schristos
831*75fd0b74Schristos	* ar.c: Include plugin.h.
832*75fd0b74Schristos	(main): Handle the --plugin option.
833*75fd0b74Schristos	* nm.c: Include plugin.h.
834*75fd0b74Schristos	(OPTION_PLUGIN): New.
835*75fd0b74Schristos	(long_options): Add plugin.
836*75fd0b74Schristos	(main): Handle OPTION_PLUGIN.
837*75fd0b74Schristos	* NEWS: Mention  the new feature.
838*75fd0b74Schristos	* doc/binutils: Documement the new command line options.
839*75fd0b74Schristos	* configure.in: Check for --enable-plugins.
840*75fd0b74Schristos	* configure: Regenerate.
841*75fd0b74Schristos
842*75fd0b74Schristos2009-05-26  Alan Modra  <amodra@bigpond.net.au>
843*75fd0b74Schristos
844*75fd0b74Schristos	* dep-in.sed: Output one filename per line with all lines having
845*75fd0b74Schristos	continuation backslash.  Prefix first line with "A", following
846*75fd0b74Schristos	lines with "B".
847*75fd0b74Schristos	* Makefile.am (DEP): Don't use dep.sed here.
848*75fd0b74Schristos	(DEP1): Run $MKDEP on single files, use dep.sed here on dependencies,
849*75fd0b74Schristos	sort and uniq.
850*75fd0b74Schristos	* Makefile.in: Regenerate.
851*75fd0b74Schristos
852*75fd0b74Schristos2009-05-25  Tristan Gingold  <gingold@adacore.com>
853*75fd0b74Schristos
854*75fd0b74Schristos	* makefile.vms-in: Fix CFLAGS, add addr2line.exe target.
855*75fd0b74Schristos
856*75fd0b74Schristos	* configure.com: Fix it: handle alloca and define TARGET in config.h.
857*75fd0b74Schristos
858*75fd0b74Schristos2009-05-22  Alan Modra  <amodra@bigpond.net.au>
859*75fd0b74Schristos
860*75fd0b74Schristos	* Makefile.am: Run "make dep-am".
861*75fd0b74Schristos	* Makefile.in: Regenerate.
862*75fd0b74Schristos
863*75fd0b74Schristos2009-05-12  Alan Modra  <amodra@bigpond.net.au>
864*75fd0b74Schristos
865*75fd0b74Schristos	* objcopy.c (set_long_section_mode): Check input_bfd is coff
866*75fd0b74Schristos	before accessing coff specific fields of bfd.
867*75fd0b74Schristos
868*75fd0b74Schristos2009-05-09  Dave Korn  <dave.korn.cygwin@gmail.com>
869*75fd0b74Schristos
870*75fd0b74Schristos	* MAINTAINERS:  Add myself as PE/COFF co-maintainer.
871*75fd0b74Schristos
872*75fd0b74Schristos2009-05-08  Kai Tietz  <kai.tietz@onevision.com>
873*75fd0b74Schristos
874*75fd0b74Schristos	* winduni.c (iconv_onechar): Only define when HAVE_ICONV
875*75fd0b74Schristos	is defined, but not when __CYGWIN__ or _WIN32 are defined.
876*75fd0b74Schristos	See wind_iconv_cp for call logic of this local funtion.
877*75fd0b74Schristos
878*75fd0b74Schristos2009-05-05  Guillaume Duhamel  <guillaume.duhamel@gmail.com>
879*75fd0b74Schristos
880*75fd0b74Schristos	PR 10109
881*75fd0b74Schristos	* winduni.c: Replace test of HAVE_ICONV_H with a test of
882*75fd0b74Schristos	HAVE_ICONV.
883*75fd0b74Schristos	(iconv_onechar): Use ICONV_CONST instead of "const".
884*75fd0b74Schristos	(wind_MultiByteToWideChar): Initialise local strings.
885*75fd0b74Schristos
886*75fd0b74Schristos2009-04-30  Nick Clifton  <nickc@redhat.com>
887*75fd0b74Schristos
888*75fd0b74Schristos	* readelf.c (dump_relocations): Display a relocation against an
889*75fd0b74Schristos	ifunc symbol as if it were a function invocation.
890*75fd0b74Schristos	(get_symbol_type): Handle STT_GNU_IFUNC.
891*75fd0b74Schristos
892*75fd0b74Schristos2009-04-29  Anthony Green  <green@moxielogic.com>
893*75fd0b74Schristos
894*75fd0b74Schristos	* NEWS: Tweak verilog support description.
895*75fd0b74Schristos
896*75fd0b74Schristos2009-04-29  Alan Modra  <amodra@bigpond.net.au>
897*75fd0b74Schristos	    Denis Scherbakov <denis_scherbakov@yahoo.com>
898*75fd0b74Schristos
899*75fd0b74Schristos	* readelf.c (slurp_ia64_unwind_table): Correct 64-bit unwind table
900*75fd0b74Schristos	read, and merge with 32-bit case.
901*75fd0b74Schristos
902*75fd0b74Schristos2009-04-27  Anthony Green  <green@moxielogic.com>
903*75fd0b74Schristos
904*75fd0b74Schristos	* NEWS: Mention verilog support added to bfd.
905*75fd0b74Schristos
906*75fd0b74Schristos2009-04-27  H.J. Lu  <hongjiu.lu@intel.com>
907*75fd0b74Schristos
908*75fd0b74Schristos	* objcopy.c (copy_object): Copy pe_opthdr before changing PE
909*75fd0b74Schristos	parameters.
910*75fd0b74Schristos
911*75fd0b74Schristos2009-04-24  Cary Coutant  <ccoutant@google.com>
912*75fd0b74Schristos
913*75fd0b74Schristos	* dwarf.c (process_extended_line_op): Add DW_LNE_set_discriminator.
914*75fd0b74Schristos	Add missing newlines to HP extensions.
915*75fd0b74Schristos
916*75fd0b74Schristos2009-04-17  H.J. Lu  <hongjiu.lu@intel.com>
917*75fd0b74Schristos
918*75fd0b74Schristos	* objcopy.c (set_pe_subsystem): Replace efi-rom with sal-rtd.
919*75fd0b74Schristos	* doc/binutils.texi: Likewise.
920*75fd0b74Schristos
921*75fd0b74Schristos2009-04-17  H.J. Lu  <hongjiu.lu@intel.com>
922*75fd0b74Schristos
923*75fd0b74Schristos	PR binutils/10074
924*75fd0b74Schristos	* objcopy.c: Include coff/i386.h and coff/pe.h.
925*75fd0b74Schristos	(pe_file_alignment): New.
926*75fd0b74Schristos	(pe_heap_commit): Likewise.
927*75fd0b74Schristos	(pe_heap_reserve): Likewise.
928*75fd0b74Schristos	(pe_image_base): Likewise.
929*75fd0b74Schristos	(pe_section_alignment): Likewise.
930*75fd0b74Schristos	(pe_stack_commit): Likewise.
931*75fd0b74Schristos	(pe_stack_reserve): Likewise.
932*75fd0b74Schristos	(pe_subsystem): Likewise.
933*75fd0b74Schristos	(pe_major_subsystem_version): Likewise.
934*75fd0b74Schristos	(pe_minor_subsystem_version): Likewise.
935*75fd0b74Schristos	(set_pe_subsystem): Likewise.
936*75fd0b74Schristos	(convert_efi_target): Likewise.
937*75fd0b74Schristos	(command_line_switch): Add OPTION_FILE_ALIGNMENT,
938*75fd0b74Schristos	OPTION_HEAP, OPTION_IMAGE_BASE, OPTION_SECTION_ALIGNMENT,
939*75fd0b74Schristos	OPTION_STACK and OPTION_SUBSYSTEM.
940*75fd0b74Schristos	(copy_options): Likewise.
941*75fd0b74Schristos	(copy_usage): Add --file-alignment, --heap, --image-base,
942*75fd0b74Schristos	--section-alignment, --stack and --subsystem.
943*75fd0b74Schristos	(copy_object): Set up PE parameters.
944*75fd0b74Schristos	(copy_main): Process Add OPTION_FILE_ALIGNMENT,
945*75fd0b74Schristos	OPTION_HEAP, OPTION_IMAGE_BASE, OPTION_SECTION_ALIGNMENT,
946*75fd0b74Schristos	OPTION_STACK and OPTION_SUBSYSTEM.   Convert EFI target to
947*75fd0b74Schristos	PEI target.
948*75fd0b74Schristos
949*75fd0b74Schristos	* NEWS: Mention --file-alignment, --heap, --image-base,
950*75fd0b74Schristos	--section-alignment, --stack and --subsystem command line
951*75fd0b74Schristos	options for objcopy.
952*75fd0b74Schristos
953*75fd0b74Schristos	* doc/binutils.texi: Document --file-alignment, --heap,
954*75fd0b74Schristos	--image-base, --section-alignment, --stack and --subsystem
955*75fd0b74Schristos	command line options for objcopy.
956*75fd0b74Schristos
957*75fd0b74Schristos2009-04-15  Anthony Green  <green@moxielogic.com>
958*75fd0b74Schristos
959*75fd0b74Schristos	* MAINTAINERS: Add myself as Moxie port maintainer.
960*75fd0b74Schristos
961*75fd0b74Schristos2009-04-14  Dave Korn  <dave.korn.cygwin@gmail.com>
962*75fd0b74Schristos
963*75fd0b74Schristos	* objcopy.c (enum long_section_name_handling):  New enum type.
964*75fd0b74Schristos	(enum command_line_switch):  Add OPTION_LONG_SECTION_NAMES.
965*75fd0b74Schristos	(copy_options[]):  Add entry for --long-section-names option.
966*75fd0b74Schristos	(copy_usage):  Document it.
967*75fd0b74Schristos	(set_long_section_mode):  New subroutine.
968*75fd0b74Schristos	(copy_file):  Call it.
969*75fd0b74Schristos	(copy_main):  Accept OPTION_LONG_SECTION_NAMES and parse arg.
970*75fd0b74Schristos	* doc/binutils.texi:  Update objcopy documentation with details
971*75fd0b74Schristos	of new option.
972*75fd0b74Schristos
973*75fd0b74Schristos2009-04-01  Dave Korn  <dave.korn.cygwin@gmail.com>
974*75fd0b74Schristos
975*75fd0b74Schristos	* dlltool.c (set_dll_name_from_def):  Accept new second arg that
976*75fd0b74Schristos	indicates if we are building DLL or EXE, and use it to add a
977*75fd0b74Schristos	default suffix to the output filename when none is already present.
978*75fd0b74Schristos	(def_name):  Indicate we are building an EXE when calling it.
979*75fd0b74Schristos	(def_library):  Indicate we are building a DLL when calling it.
980*75fd0b74Schristos
981*75fd0b74Schristos2009-04-01  Jari Aalto  <jari.aalto@cante.net>
982*75fd0b74Schristos
983*75fd0b74Schristos	PR 9972
984*75fd0b74Schristos	* doc/binutils.texi (strings): Document the -V alias for the
985*75fd0b74Schristos	--version option.
986*75fd0b74Schristos	* strings.c (usage): Likewise.
987*75fd0b74Schristos
988*75fd0b74Schristos2009-03-31  Nick Clifton  <nickc@redhat.com>
989*75fd0b74Schristos
990*75fd0b74Schristos	PR 9992
991*75fd0b74Schristos	* configure.in: Import Solaris specific largefile test from
992*75fd0b74Schristos	bfd/configure.in.
993*75fd0b74Schristos	* configure: Regenerate.
994*75fd0b74Schristos
995*75fd0b74Schristos2009-03-30  Richard Sandiford  <rdsandiford@googlemail.com>
996*75fd0b74Schristos
997*75fd0b74Schristos	* MAINTAINERS: Add self.
998*75fd0b74Schristos
999*75fd0b74Schristos2009-03-27  Nick Clifton  <nickc@redhat.com>
1000*75fd0b74Schristos
1001*75fd0b74Schristos	* dwarf.c (display_debug_ranges): Add the base address to the
1002*75fd0b74Schristos	displayed values for 'Begin' and 'End'.
1003*75fd0b74Schristos
1004*75fd0b74Schristos2009-03-25  Ryan Mansfield  <rmansfield@qnx.com>
1005*75fd0b74Schristos
1006*75fd0b74Schristos	* readelf.c (process_file_header): Don't report a corrupt string
1007*75fd0b74Schristos	table index if it is zero.
1008*75fd0b74Schristos
1009*75fd0b74Schristos2009-03-19  H.J. Lu  <hongjiu.lu@intel.com>
1010*75fd0b74Schristos
1011*75fd0b74Schristos	* dwarf.c (dwarf_regnames): Moved before frame_need_space.
1012*75fd0b74Schristos	(dwarf_regnames_count): Likewise.
1013*75fd0b74Schristos	(frame_need_space): Return int.
1014*75fd0b74Schristos	(display_debug_frames): Check invalid registers.
1015*75fd0b74Schristos
1016*75fd0b74Schristos2009-03-19  H.J. Lu  <hongjiu.lu@intel.com>
1017*75fd0b74Schristos
1018*75fd0b74Schristos	* readelf.c (debug_apply_relocations): Check relocations
1019*75fd0b74Schristos	against STT_SECTION symbol.
1020*75fd0b74Schristos
1021*75fd0b74Schristos2009-03-18  H.J. Lu  <hongjiu.lu@intel.com>
1022*75fd0b74Schristos
1023*75fd0b74Schristos	* readelf.c (debug_apply_relocations): Allow relocations
1024*75fd0b74Schristos	against function symbols.
1025*75fd0b74Schristos
1026*75fd0b74Schristos2009-03-18  Alan Modra  <amodra@bigpond.net.au>
1027*75fd0b74Schristos
1028*75fd0b74Schristos	* sysdep.h: Include alloca-conf.h instead of config.h and remove
1029*75fd0b74Schristos	existing #if's handling alloca.
1030*75fd0b74Schristos	* Makefile.am: Run "make dep-am".
1031*75fd0b74Schristos	* Makefile.in: Regenerate.
1032*75fd0b74Schristos
1033*75fd0b74Schristos2009-03-14  Richard Sandiford  <r.sandiford@uk.ibm.com>
1034*75fd0b74Schristos
1035*75fd0b74Schristos	* configure.tgt: Extend AIX 5 behavior to AIX 6 and above.
1036*75fd0b74Schristos	* configure.in: Likewise.
1037*75fd0b74Schristos	* configure: Regenerate.
1038*75fd0b74Schristos
1039*75fd0b74Schristos2009-03-13  H.J. Lu  <hongjiu.lu@intel.com>
1040*75fd0b74Schristos
1041*75fd0b74Schristos	PR binutils/9945
1042*75fd0b74Schristos	* objcopy.c (copy_object): Clear HAS_RELOC when stripping all.
1043*75fd0b74Schristos
1044*75fd0b74Schristos2009-03-11  Chris Demetriou  <cgd@google.com>
1045*75fd0b74Schristos
1046*75fd0b74Schristos	* ar.c (deterministic): New global variable.
1047*75fd0b74Schristos	(main): Recognize new 'D' option, which enables 'deterministic mode'.
1048*75fd0b74Schristos	(usage): Document new 'D' option.
1049*75fd0b74Schristos	(write_archive): Set BFD_DETERMINISTIC_OUTPUT in output archive's
1050*75fd0b74Schristos	flags if deterministic mode was requested.
1051*75fd0b74Schristos	* doc/binutils.texi (ar): Document deterministic mode ('D' option).
1052*75fd0b74Schristos
1053*75fd0b74Schristos2009-03-09  H.J. Lu  <hongjiu.lu@intel.com>
1054*75fd0b74Schristos
1055*75fd0b74Schristos	PR binutils/9933
1056*75fd0b74Schristos	* objcopy.c (filter_symbols): Properly handle common symbols
1057*75fd0b74Schristos	in relocatable file.
1058*75fd0b74Schristos
1059*75fd0b74Schristos2009-03-06  Nick Clifton  <nickc@redhat.com>
1060*75fd0b74Schristos
1061*75fd0b74Schristos	* po/es.po: Updated Spanish translation.
1062*75fd0b74Schristos
1063*75fd0b74Schristos2009-03-05  Nick Clifton  <nickc@redhat.com>
1064*75fd0b74Schristos
1065*75fd0b74Schristos	* objdump.c (disassemble_section): If the computed next offset is
1066*75fd0b74Schristos	not beyond the current offset then just continue to the end.
1067*75fd0b74Schristos
1068*75fd0b74Schristos2009-03-04  Tristan Gingold  <gingold@adacore.com>
1069*75fd0b74Schristos
1070*75fd0b74Schristos	* MAINTAINERS: Add myself as VMS maintainer.
1071*75fd0b74Schristos
1072*75fd0b74Schristos2009-03-03  Nick Clifton  <nickc@redhat.com>
1073*75fd0b74Schristos
1074*75fd0b74Schristos	* readelf.c: Update formatting.
1075*75fd0b74Schristos
1076*75fd0b74Schristos2009-03-03  Alan Modra  <amodra@bigpond.net.au>
1077*75fd0b74Schristos
1078*75fd0b74Schristos	* Makefile.am: Run "make dep-am".
1079*75fd0b74Schristos	* Makefile.in: Regenerate.
1080*75fd0b74Schristos
1081*75fd0b74Schristos2009-03-03  Alan Modra  <amodra@bigpond.net.au>
1082*75fd0b74Schristos
1083*75fd0b74Schristos	* objdump.c (disassemble_section): Mask address before sign extending.
1084*75fd0b74Schristos
1085*75fd0b74Schristos2009-03-02  Sebastian Biallas  <sb@biallas.net>
1086*75fd0b74Schristos
1087*75fd0b74Schristos	* ieee.c (parse_ieee_ty): Add support for undocumented 'v' type.
1088*75fd0b74Schristos	(parse_ieee_bb): Set the filename if it has not already been
1089*75fd0b74Schristos	discovered.
1090*75fd0b74Schristos
1091*75fd0b74Schristos2009-03-02  Cary Coutant  <ccoutant@google.com>
1092*75fd0b74Schristos
1093*75fd0b74Schristos	* readelf.c (adjust_relative_path): New function.
1094*75fd0b74Schristos	(struct archive_info): New type.
1095*75fd0b74Schristos	(setup_archive): New function.
1096*75fd0b74Schristos	(release_archive): New function.
1097*75fd0b74Schristos	(setup_nested_archive): New function.
1098*75fd0b74Schristos	(get_archive_member_name): New function.
1099*75fd0b74Schristos	(get_archive_member_name_at): New function.
1100*75fd0b74Schristos	(make_qualified_name): New function.
1101*75fd0b74Schristos	(process_archive): Factor out code for reading archive index and
1102*75fd0b74Schristos	long filename table to setup_archive.  Add support for thin archives.
1103*75fd0b74Schristos
1104*75fd0b74Schristos2009-03-02  Nick Clifton  <nickc@redhat.com>
1105*75fd0b74Schristos
1106*75fd0b74Schristos	* po/sk.po: Updated Slovak translation.
1107*75fd0b74Schristos
1108*75fd0b74Schristos2009-03-01  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
1109*75fd0b74Schristos
1110*75fd0b74Schristos	* configure: Regenerate.
1111*75fd0b74Schristos
1112*75fd0b74Schristos2009-02-23  Cary Coutant <ccoutant@google.com>
1113*75fd0b74Schristos
1114*75fd0b74Schristos	* objdump.c (load_specific_debug_section): New function, from
1115*75fd0b74Schristos	load_debug_section.
1116*75fd0b74Schristos	(load_debug_section): Use load_specific_debug_section.
1117*75fd0b74Schristos	(dump_dwarf_section): Likewise.
1118*75fd0b74Schristos
1119*75fd0b74Schristos2009-02-23  Cary Coutant <ccoutant@google.com>
1120*75fd0b74Schristos
1121*75fd0b74Schristos	* readelf.c (parse_args): Select all sections explicitly for -w.
1122*75fd0b74Schristos
1123*75fd0b74Schristos2009-02-09  Kai Tietz  <kai.tietz@onevision.com>
1124*75fd0b74Schristos
1125*75fd0b74Schristos	* windres.c (set_endianess): Copy name without leading '-'.
1126*75fd0b74Schristos
1127*75fd0b74Schristos2009-02-09  Tristan Gingold  <gingold@adacore.com>
1128*75fd0b74Schristos
1129*75fd0b74Schristos	* NEWS: Mention feature match between objdump and readelf for dumping
1130*75fd0b74Schristos	dwarf info.
1131*75fd0b74Schristos
1132*75fd0b74Schristos	* doc/binutils.texi (objdump): Document -W/--dwarf improvments to
1133*75fd0b74Schristos	objdump.
1134*75fd0b74Schristos
1135*75fd0b74Schristos	* objdump.c (usage): Update documentation for -W/--dwarf.
1136*75fd0b74Schristos	(enum option_values): Add OPTION_DWARF.
1137*75fd0b74Schristos	(long_options): --dwarf can accept arguments.
1138*75fd0b74Schristos	(dump_dwarf_section): Also check enabled field.
1139*75fd0b74Schristos	(main): Option -W can accept arguments, code moved to
1140*75fd0b74Schristos	dwarf.c and call dwarf_select_sections_all instead.
1141*75fd0b74Schristos	* readelf.c (process_section_headers): Remove do_debug_lines_decoded.
1142*75fd0b74Schristos	(parse_args): Move code to...
1143*75fd0b74Schristos	* dwarf.c (dwarf_select_sections_by_letters,
1144*75fd0b74Schristos	dwarf_select_sections_by_names): : ...here (new functions).
1145*75fd0b74Schristos	(do_debug_lines_decoded): Remove and replaced by ...
1146*75fd0b74Schristos	(FLAG_DEBUG_LINES_RAW, FLAG_DEBUG_LINES_DECODED): ... new macros.
1147*75fd0b74Schristos	(display_debug_lines): Adjust for previous change.
1148*75fd0b74Schristos	(dwarf_select_sections_all): New function.
1149*75fd0b74Schristos	(debug_displays): Add initializer for enabled field.
1150*75fd0b74Schristos	* dwarf.h (do_debug_lines_decoded): Remove.
1151*75fd0b74Schristos	Add prototypes for the new functions.
1152*75fd0b74Schristos	(struct dwarf_section_display): Add enabled field.
1153*75fd0b74Schristos
1154*75fd0b74Schristos2009-02-06  Nick Clifton  <nickc@redhat.com>
1155*75fd0b74Schristos
1156*75fd0b74Schristos	* po/vi.po: Updated Vietnamese translation.
1157*75fd0b74Schristos
1158*75fd0b74Schristos2009-02-03  Sandip Matte  <sandip@rmicorp.com>
1159*75fd0b74Schristos
1160*75fd0b74Schristos	* readelf.c (get_machine_flags): Handle E_MIPS_MACH_XLR.
1161*75fd0b74Schristos
1162*75fd0b74Schristos2009-02-03  H.J. Lu  <hongjiu.lu@intel.com>
1163*75fd0b74Schristos
1164*75fd0b74Schristos	* NEWS: Move --as-needed change to ...
1165*75fd0b74Schristos	* ../ld/NEWS: Here.
1166*75fd0b74Schristos
1167*75fd0b74Schristos2009-02-03  Carlos O'Donell  <carlos@codesourcery.com>
1168*75fd0b74Schristos
1169*75fd0b74Schristos	* configure.in: AC_SUBST pdfdir.
1170*75fd0b74Schristos	* Makefile.am: Add install-pdf, install-pdf-am,
1171*75fd0b74Schristos	and install-pdf-recursive targets.
1172*75fd0b74Schristos	* doc/Makefile.am: Define pdf__strip_dir. Add
1173*75fd0b74Schristos	install-pdf and install-pdf-am targets.
1174*75fd0b74Schristos	* po/Make-in: Add install-pdf target.
1175*75fd0b74Schristos	* configure: Regenerate.
1176*75fd0b74Schristos	* Makefile.in: Regenerate.
1177*75fd0b74Schristos	* doc/Makefile.in: Regenerate.
1178*75fd0b74Schristos
1179*75fd0b74Schristos2009-02-03  H.J. Lu  <hongjiu.lu@intel.com>
1180*75fd0b74Schristos
1181*75fd0b74Schristos	PR binutils/9784
1182*75fd0b74Schristos	* NEWS: Mention --prefix=PREFIX and --prefix-strip=LEVEL.
1183*75fd0b74Schristos
1184*75fd0b74Schristos	* doc/binutils.texi: Document --prefix=PREFIX and
1185*75fd0b74Schristos	--prefix-strip=LEVEL.
1186*75fd0b74Schristos
1187*75fd0b74Schristos	* objdump.c: Include "filenames.h".
1188*75fd0b74Schristos	(prefix): New.
1189*75fd0b74Schristos	(prefix_strip): Likewise.
1190*75fd0b74Schristos	(prefix_length): Likewise.
1191*75fd0b74Schristos	(usage): Add --prefix=PREFIX and --prefix-strip=LEVEL.
1192*75fd0b74Schristos	(option_values): Add OPTION_PREFIX and OPTION_PREFIX_STRIP.
1193*75fd0b74Schristos	(long_options): Likewise.
1194*75fd0b74Schristos	(show_line): Handle prefix and prefix_strip.
1195*75fd0b74Schristos	(main): Handle OPTION_PREFIX and OPTION_PREFIX_STRIP.
1196*75fd0b74Schristos
1197*75fd0b74Schristos	* readelf.c (PATH_MAX): Moved to ...
1198*75fd0b74Schristos	* sysdep.h: Here.
1199*75fd0b74Schristos
1200*75fd0b74Schristos2009-01-31  Alan Modra  <amodra@bigpond.net.au>
1201*75fd0b74Schristos
1202*75fd0b74Schristos	* NEWS: Mention --as-needed change.
1203*75fd0b74Schristos
1204*75fd0b74Schristos2009-01-29  Alan Modra  <amodra@bigpond.net.au>
1205*75fd0b74Schristos
1206*75fd0b74Schristos	PR 9798
1207*75fd0b74Schristos	* bucomm.c (bfd_nonfatal_message): Use bfd_get_archive_filename.
1208*75fd0b74Schristos	(bfd_get_archive_filename): Constify param.
1209*75fd0b74Schristos	* bucomm.h (bfd_get_archive_filename): Update prototype.
1210*75fd0b74Schristos	* objcopy.c (RETURN_NONFATAL): Delete.
1211*75fd0b74Schristos	(copy_unknown_object): Don't call bfd_get_archive_filename for
1212*75fd0b74Schristos	bfd_nonfatal_message filename, instead just pass bfd.
1213*75fd0b74Schristos	(copy_object): Likewise.
1214*75fd0b74Schristos	(copy_archive, copy_file): Likewise.  Expand RETURN_NONFATAL.  On
1215*75fd0b74Schristos	bfd_close errors, do not pass the bfd to bfd_nonfatal_message.
1216*75fd0b74Schristos	(setup_bfd_headers): Fix error message.
1217*75fd0b74Schristos
1218*75fd0b74Schristos2009-01-27  Nick Clifton  <nickc@redhat.com>
1219*75fd0b74Schristos
1220*75fd0b74Schristos	PR 9774
1221*75fd0b74Schristos	* objdump.c (disassemble_section): When the target uses signed
1222*75fd0b74Schristos	addresses make sure that we compute signed values.
1223*75fd0b74Schristos
1224*75fd0b74Schristos2009-01-27  Nick Clifton  <nickc@redhat.com>
1225*75fd0b74Schristos
1226*75fd0b74Schristos	* MAINTAINERS: Remove Thiemo Seufer's name from the list of MIPS
1227*75fd0b74Schristos	maintainers.
1228*75fd0b74Schristos
1229*75fd0b74Schristos2009-01-26  Nick Clifton  <nickc@redhat.com>
1230*75fd0b74Schristos
1231*75fd0b74Schristos	PR 9766
1232*75fd0b74Schristos	* dlltool.c (xlate): When strip text after the @ sign, look for
1233*75fd0b74Schristos	the last one not the first one.
1234*75fd0b74Schristos
1235*75fd0b74Schristos2009-01-16  Alan Modra  <amodra@bigpond.net.au>
1236*75fd0b74Schristos
1237*75fd0b74Schristos	* configure.in (commonbfdlib): Delete.
1238*75fd0b74Schristos	* configure: Regenerate.
1239*75fd0b74Schristos
1240*75fd0b74Schristos2008-01-14  Charles Wilson  <cygwin@cwilson.fastmail.fm>
1241*75fd0b74Schristos
1242*75fd0b74Schristos	Cleanup code related to --identify option.
1243*75fd0b74Schristos
1244*75fd0b74Schristos	* dlltool.c (file scope): Removed globals identify_ms,
1245*75fd0b74Schristos	identify_member_contains_symname_result,
1246*75fd0b74Schristos	identify_dll_name_list_head, and identify_dll_name_list_tail.
1247*75fd0b74Schristos	Renamed existing typedef dll_name_list_type to
1248*75fd0b74Schristos	dll_name_list_node_type.
1249*75fd0b74Schristos	Added new typedefs dll_name_list_type, symname_search_data_type,
1250*75fd0b74Schristos	and identify_data_type.
1251*75fd0b74Schristos	(identify_append_dll_name_to_list): Renamed to...
1252*75fd0b74Schristos	(dll_name_list_append): ...here.  Changed signature to accept list
1253*75fd0b74Schristos	argument rather than use global.
1254*75fd0b74Schristos	(identify_count_dll_name_list): Renamed to...
1255*75fd0b74Schristos	(dll_name_list_count): ...here.  Changed signature to accept list
1256*75fd0b74Schristos	argument rather than use global.
1257*75fd0b74Schristos	(identify_print_dll_name_list): Renamed to...
1258*75fd0b74Schristos	(dll_name_list_print): ...here.  Changed signature to accept list
1259*75fd0b74Schristos	argument rather than use global.
1260*75fd0b74Schristos	(identify_free_dll_name_list): Renamed to...
1261*75fd0b74Schristos	(dll_name_list_free_contents): ...here.
1262*75fd0b74Schristos	(dll_name_list_free): New function.
1263*75fd0b74Schristos	(dll_name_list_create): New function.
1264*75fd0b74Schristos	(identify_process_section_p): Changed signature to accept
1265*75fd0b74Schristos	ms_style_implib argument rather than use global.
1266*75fd0b74Schristos	(identify_member_contains_symname): Expect incoming void * data to
1267*75fd0b74Schristos	be symname_search_data_type.
1268*75fd0b74Schristos	(identify_dll_for_implib): Use new functions dll_name_list_create
1269*75fd0b74Schristos	and dll_name_list_free.  Use new types symname_search_data_type
1270*75fd0b74Schristos	and identify_data_type to communicate with search routines.
1271*75fd0b74Schristos	(identify_search_section): Expect incoming void * data to be
1272*75fd0b74Schristos	identify_data_type. Use its contents rather than global
1273*75fd0b74Schristos	variables.
1274*75fd0b74Schristos
1275*75fd0b74Schristos2009-01-13  Charles Wilson  <cygwin@cwilson.fastmail.fm>
1276*75fd0b74Schristos
1277*75fd0b74Schristos	Add --identify-strict option.  Handle ms-style implibs:
1278*75fd0b74Schristos
1279*75fd0b74Schristos	* dlltool.c (file scope): Added new globals identify_ms and
1280*75fd0b74Schristos	identify_strict. New typedef dll_name_list_type, and globals
1281*75fd0b74Schristos	identify_dll_name_list_head and identify_dll_name_list_tail. Added
1282*75fd0b74Schristos	new global identify_member_contains_symname_result.
1283*75fd0b74Schristos	(identify_append_dll_name_to_list): New function.
1284*75fd0b74Schristos	(identify_count_dll_name_list): New function.
1285*75fd0b74Schristos	(identify_print_dll_name_list): New function.
1286*75fd0b74Schristos	(identify_free_dll_name_list): New function.
1287*75fd0b74Schristos	(identify_search_archive): Changed signature to take function
1288*75fd0b74Schristos	pointer to operation to apply to each member, and data to pass on
1289*75fd0b74Schristos	to that function.
1290*75fd0b74Schristos	(identify_search_member): Changed signature to accept user data
1291*75fd0b74Schristos	from caller.
1292*75fd0b74Schristos	(identify_member_contains_symname): New function.
1293*75fd0b74Schristos	(identify_dll_for_implib): Rewrite. Now determines whether implib
1294*75fd0b74Schristos	is ms- or binutils- style, before searching sections for
1295*75fd0b74Schristos	dllname. Allows multiple dllnames.
1296*75fd0b74Schristos	(identify_process_section_p): Search alternate section for dllname
1297*75fd0b74Schristos	when implib is ms-style.
1298*75fd0b74Schristos	(identify_search_section): Add additional conditions to excludes
1299*75fd0b74Schristos	candidate sections from consideration.
1300*75fd0b74Schristos	(usage): Added --identify-strict.
1301*75fd0b74Schristos	(long_options): Added --identify-strict.
1302*75fd0b74Schristos	(main): Handle --identify-strict option.
1303*75fd0b74Schristos	* doc/binutils.texi: Document --identify-strict	option.
1304*75fd0b74Schristos	* NEWS: Document --identify and	--identify-strict options.
1305*75fd0b74Schristos
1306*75fd0b74Schristos2009-01-13  Alan Modra  <amodra@bigpond.net.au>
1307*75fd0b74Schristos
1308*75fd0b74Schristos	PR 7034
1309*75fd0b74Schristos	* doc/binutils.texi (objdump -R): Note effect of -d or -D.
1310*75fd0b74Schristos
1311*75fd0b74Schristos2009-01-13  Alan Modra  <amodra@bigpond.net.au>
1312*75fd0b74Schristos
1313*75fd0b74Schristos	* objdump.c (disassemble_section): Don't assume non-instruction
1314*75fd0b74Schristos	data if object symbol at given address is in different section.
1315*75fd0b74Schristos
1316*75fd0b74Schristos2009-01-12  Kai Tietz  <kai.tietz@onevision.com>
1317*75fd0b74Schristos
1318*75fd0b74Schristos	* dlltool.c (create_for_pep): New.
1319*75fd0b74Schristos	(flush_page): Use create_for_pep instead of using
1320*75fd0b74Schristos	macro DLLTOOL_MX86_64 clause.
1321*75fd0b74Schristos	(generate_idata_ofile): Likewise.
1322*75fd0b74Schristos	(make_one_lib_file): Likewise.
1323*75fd0b74Schristos	(make_head): Likewise.
1324*75fd0b74Schristos	(make_tail): Likewise.
1325*75fd0b74Schristos	(main): Initialize create_for_pep.
1326*75fd0b74Schristos
1327*75fd0b74Schristos2009-01-08  Kai Tietz  <kai.tietz@onevision.com>
1328*75fd0b74Schristos
1329*75fd0b74Schristos	* dlltool.c (use_nul_prefixed_import_tables): New.
1330*75fd0b74Schristos	(make_head): Make prefix leading zero prefix element for
1331*75fd0b74Schristos	idata$4 and idata$5 dependent to new flag.
1332*75fd0b74Schristos	(usage): Add new option  --use-nul-prefixed-import-tables.
1333*75fd0b74Schristos	(OPTION_USE_NUL_PREFIXED_IMPORT_TABLES): New.
1334*75fd0b74Schristos	(long_options): Add --use-nul-prefixed-import-tables.
1335*75fd0b74Schristos	(main): Likewise.
1336*75fd0b74Schristos	* doc/binutils.texi: Add new option documentation for
1337*75fd0b74Schristos	--use-nul-prefixed-import-tables.
1338*75fd0b74Schristos	* NEWS: Add new option.
1339*75fd0b74Schristos
1340*75fd0b74Schristos2009-01-06  Kai Tietz  <kai.tietz@onevision.com>
1341*75fd0b74Schristos
1342*75fd0b74Schristos	* windres.c (set_endianess): Get architecture name
1343*75fd0b74Schristos	for internal target names like "pe-arm-wince-little".
1344*75fd0b74Schristos	(find_arch_match): New helper.
1345*75fd0b74Schristos	* ChangeLog: Reset it.
1346*75fd0b74Schristos	* ChangeLog-2008: Moved old ChangeLog.
1347*75fd0b74Schristos
1348*75fd0b74SchristosFor older changes see ChangeLog-2008
1349*75fd0b74Schristos
1350*75fd0b74SchristosCopyright (C) 2009 Free Software Foundation, Inc.
1351*75fd0b74Schristos
1352*75fd0b74SchristosCopying and distribution of this file, with or without modification,
1353*75fd0b74Schristosare permitted in any medium without royalty provided the copyright
1354*75fd0b74Schristosnotice and this notice are preserved.
1355*75fd0b74Schristos
1356*75fd0b74SchristosLocal Variables:
1357*75fd0b74Schristosmode: change-log
1358*75fd0b74Schristosleft-margin: 8
1359*75fd0b74Schristosfill-column: 74
1360*75fd0b74Schristosversion-control: never
1361*75fd0b74SchristosEnd:
1362