xref: /netbsd-src/external/gpl3/binutils.old/dist/binutils/ChangeLog-2010 (revision 75fd0b742a7e4a64301bc6c44e9bc5240c58bb92)
1*75fd0b74Schristos2010-12-15  Kai Tietz  <kai.tietz@onevision.com>
2*75fd0b74Schristos
3*75fd0b74Schristos	* dwarf.c (display_gdb_index): Fix printf types for
4*75fd0b74Schristos	used formatters.
5*75fd0b74Schristos
6*75fd0b74Schristos2010-12-12  Peter Breitenlohner  <peb@mppmu.mpg.de>
7*75fd0b74Schristos
8*75fd0b74Schristos	PR binutils/12306
9*75fd0b74Schristos	* doc/binutils.texi: Fix typos in elfedit documentation.
10*75fd0b74Schristos
11*75fd0b74Schristos2010-12-10  Alan Modra  <amodra@gmail.com>
12*75fd0b74Schristos
13*75fd0b74Schristos	* binemul.h (do_ar_emul_append): Declare.
14*75fd0b74Schristos	* binemul.c (any_ok): New function.
15*75fd0b74Schristos	(do_ar_emul_append): Rename from do_ar_emul_default_append.  Make
16*75fd0b74Schristos	global, add check arg.  Adjust callers.
17*75fd0b74Schristos	(ar_emul_default_replace): Tidy.
18*75fd0b74Schristos	* configure.tgt (powerpc-*-aix[5-9]*,rs6000-*-aix[5-9]*): Use
19*75fd0b74Schristos	bin_aix_emulation.
20*75fd0b74Schristos	* emul_aix.c (bin_aix5_emulation, ar_emul_aix_internal): Delete.
21*75fd0b74Schristos	(ar_emul_aix5_append, ar_emul_aix5_replace): Delete.
22*75fd0b74Schristos	(check_aix): New function.
23*75fd0b74Schristos	(ar_emul_aix_append, ar_emul_aix_replace): Rewrite.
24*75fd0b74Schristos
25*75fd0b74Schristos2010-12-09  Mike Frysinger  <vapier@gentoo.org>
26*75fd0b74Schristos
27*75fd0b74Schristos	* .gitignore: New file.
28*75fd0b74Schristos
29*75fd0b74Schristos2010-12-08  Alan Modra  <amodra@gmail.com>
30*75fd0b74Schristos
31*75fd0b74Schristos	* ar.c: Formatting.
32*75fd0b74Schristos	(usage): Correct help strings.
33*75fd0b74Schristos	(decode_options): Correct getopt_long short options.  Remove
34*75fd0b74Schristos	duplicate non-handled option message.
35*75fd0b74Schristos	(main): Don't handle -M specially.
36*75fd0b74Schristos
37*75fd0b74Schristos2010-12-08  Arnaud Lacombe  <lacombar@gmail.com>
38*75fd0b74Schristos
39*75fd0b74Schristos	* ar.c (long_options): Add target.
40*75fd0b74Schristos	(decode_options): Handle the --target option.
41*75fd0b74Schristos	(open_inarch): Check for plugin's target, default to --target
42*75fd0b74Schristos	(replace_members): Use generic `target'.
43*75fd0b74Schristos
44*75fd0b74Schristos	* ar.c (operation): New global variable.
45*75fd0b74Schristos	(show_version): Likewise.
46*75fd0b74Schristos	(show_help): Likewise.
47*75fd0b74Schristos	(long_options): Likewise.
48*75fd0b74Schristos	(usage): Fix help string argument order.
49*75fd0b74Schristos	(decode_options): New.
50*75fd0b74Schristos	(ranlib_main): Use getopt_long.
51*75fd0b74Schristos	(main): Use decode_options.
52*75fd0b74Schristos
53*75fd0b74Schristos	* ar.c (main): Split ranlib path.
54*75fd0b74Schristos	(ranlib_usage): New
55*75fd0b74Schristos	(ranlib_main): New
56*75fd0b74Schristos
57*75fd0b74Schristos2010-12-03  Doug Evans  <dje@google.com>
58*75fd0b74Schristos
59*75fd0b74Schristos	* dwarf.c: #include "bfd_stdint.h".
60*75fd0b74Schristos	(do_gdb_index): New global.
61*75fd0b74Schristos	(display_gdb_index): New function.
62*75fd0b74Schristos	(dwarf_select_sections_by_names) Add "gdb_index".
63*75fd0b74Schristos	(dwarf_select_sections_all): Set do_gdb_index.
64*75fd0b74Schristos	(debug_displays): Add .gdb_index.
65*75fd0b74Schristos	* dwarf.h (do_gdb_index): Declare.
66*75fd0b74Schristos	* objdump.c (usage): Add gdb_index.
67*75fd0b74Schristos	* readelf.c (usage): Add gdb_index.
68*75fd0b74Schristos	(process_section_headers): Process ".gdb_index".
69*75fd0b74Schristos	* doc/binutils.texi (readelf): Document gdb_index dump.
70*75fd0b74Schristos	(objdump): Ditto.
71*75fd0b74Schristos
72*75fd0b74Schristos2010-12-01  Kai Tietz  <kai.tietz@onevision.com>
73*75fd0b74Schristos
74*75fd0b74Schristos	PR binutils/11065
75*75fd0b74Schristos	* dlltool.c (dll_name_set_by_exp_name): New variable.
76*75fd0b74Schristos	(def_name): Allow setting of dll_name by .def file.
77*75fd0b74Schristos	(def_library): Likewise.
78*75fd0b74Schristos	(main): Set dll_name_set_by_exp_name, if dll_name is
79*75fd0b74Schristos	set indirect by exp_name.
80*75fd0b74Schristos
81*75fd0b74Schristos2010-11-26  Alan Modra  <amodra@gmail.com>
82*75fd0b74Schristos
83*75fd0b74Schristos	* dwarf.c (decode_location_expression, display_debug_frames): Move
84*75fd0b74Schristos	code handling DW_EH_PE_pcrel into..
85*75fd0b74Schristos	(get_encoded_value): ..here.
86*75fd0b74Schristos
87*75fd0b74Schristos2010-11-26  Alan Modra  <amodra@gmail.com>
88*75fd0b74Schristos
89*75fd0b74Schristos	* po/ja.po: Update.
90*75fd0b74Schristos
91*75fd0b74Schristos2010-11-25  Alan Modra  <amodra@gmail.com>
92*75fd0b74Schristos
93*75fd0b74Schristos	* po/bg.po: Update.
94*75fd0b74Schristos	* po/es.po: Update.
95*75fd0b74Schristos	* po/fi.po: Update.
96*75fd0b74Schristos	* po/ja.po: Update.
97*75fd0b74Schristos	* po/ru.po: Update.
98*75fd0b74Schristos	* po/zh_CN.po: Update.
99*75fd0b74Schristos
100*75fd0b74Schristos2010-11-21  H.J. Lu  <hongjiu.lu@intel.com>
101*75fd0b74Schristos
102*75fd0b74Schristos	PR binutils/12235
103*75fd0b74Schristos	* elfcomm.c: New.
104*75fd0b74Schristos	* elfcomm.h: Likewise.
105*75fd0b74Schristos
106*75fd0b74Schristos	* Makefile.am (HFILES): Add elfcomm.h.
107*75fd0b74Schristos	(CFILES): Add elfcomm.c.
108*75fd0b74Schristos	(ELFLIBS): New.
109*75fd0b74Schristos	(readelf_SOURCES): Add $(ELFLIBS).
110*75fd0b74Schristos	(elfedit_SOURCES): Likewise.
111*75fd0b74Schristos	(objdump_SOURCES): Likewise.
112*75fd0b74Schristos	* Makefile.in: Regenerated.
113*75fd0b74Schristos
114*75fd0b74Schristos	* dwarf.c: Include "elfcomm.h".
115*75fd0b74Schristos	(byte_get): Removed.
116*75fd0b74Schristos	(byte_get_little_endian): Likewise.
117*75fd0b74Schristos	(byte_get_big_endian): Likewise.
118*75fd0b74Schristos	(byte_get_signed): Likewise.
119*75fd0b74Schristos	(error): Likewise.
120*75fd0b74Schristos	(warn): Likewise.
121*75fd0b74Schristos
122*75fd0b74Schristos	* dwarf.h (dwarf_vma): Defined with HOST_WIDEST_INT.
123*75fd0b74Schristos	(dwarf_size_type): Likewise.
124*75fd0b74Schristos	(byte_get): Removed.
125*75fd0b74Schristos	(byte_get_signed): Likewise.
126*75fd0b74Schristos	(byte_get_little_endian): Likewise.
127*75fd0b74Schristos	(byte_get_big_endian): Likewise.
128*75fd0b74Schristos	(error): Likewise.
129*75fd0b74Schristos	(warn): Likewise.
130*75fd0b74Schristos
131*75fd0b74Schristos	* elfedit.c: Include "elfcomm.h".  Don't include "aout/ar.h".
132*75fd0b74Schristos	Call error () instead of non_fatal ().
133*75fd0b74Schristos	(streq): Removed.
134*75fd0b74Schristos	(strneq): Likewise.
135*75fd0b74Schristos	(const_strneq): Likewise.
136*75fd0b74Schristos	(non_fatal): Likewise.
137*75fd0b74Schristos	(BYTE_GET): Likewise.
138*75fd0b74Schristos	(BYTE_PUT): Likewise.
139*75fd0b74Schristos	(byte_get): Likewise.
140*75fd0b74Schristos	(byte_put): Likewise.
141*75fd0b74Schristos	(byte_get_little_endian): Likewise.
142*75fd0b74Schristos	(byte_get_big_endian): Likewise.
143*75fd0b74Schristos	(byte_put_little_endian): Likewise.
144*75fd0b74Schristos	(byte_put_big_endian): Likewise.
145*75fd0b74Schristos	(adjust_relative_path): Likewise.
146*75fd0b74Schristos	(archive_info): Likewise.
147*75fd0b74Schristos	(setup_archive): Likewise.
148*75fd0b74Schristos	(release_archive): Likewise.
149*75fd0b74Schristos	(setup_nested_archive): Likewise.
150*75fd0b74Schristos	(get_archive_member_name): Likewise.
151*75fd0b74Schristos	(get_archive_member_name_at): Likewise.
152*75fd0b74Schristos	(make_qualified_name): Likewise.
153*75fd0b74Schristos
154*75fd0b74Schristos	* objdump.c: Include "elfcomm.h".
155*75fd0b74Schristos
156*75fd0b74Schristos	* readelf.c: Include "elfcomm.h".  Don't include "aout/ar.h".
157*75fd0b74Schristos	(BYTE_GET): Removed.
158*75fd0b74Schristos	(BYTE_GET_SIGNED): Removed.
159*75fd0b74Schristos	(streq): Likewise.
160*75fd0b74Schristos	(strneq): Likewise.
161*75fd0b74Schristos	(const_strneq): Likewise.
162*75fd0b74Schristos	(byte_put): Likewise.
163*75fd0b74Schristos	(byte_put_little_endian): Likewise.
164*75fd0b74Schristos	(byte_put_big_endian): Likewise.
165*75fd0b74Schristos	(adjust_relative_path): Likewise.
166*75fd0b74Schristos	(archive_info): Likewise.
167*75fd0b74Schristos	(setup_archive): Likewise.
168*75fd0b74Schristos	(release_archive): Likewise.
169*75fd0b74Schristos	(setup_nested_archive): Likewise.
170*75fd0b74Schristos	(get_archive_member_name): Likewise.
171*75fd0b74Schristos	(get_archive_member_name_at): Likewise.
172*75fd0b74Schristos	(make_qualified_name): Likewise.
173*75fd0b74Schristos
174*75fd0b74Schristos2010-11-18  Alan Modra  <amodra@gmail.com>
175*75fd0b74Schristos
176*75fd0b74Schristos	PR binutils/11742
177*75fd0b74Schristos	* readelf.c (get_archive_member_name): Formatting.  Properly
178*75fd0b74Schristos	handle full size ar_name.
179*75fd0b74Schristos
180*75fd0b74Schristos2010-11-17  Alan Modra  <amodra@gmail.com>
181*75fd0b74Schristos
182*75fd0b74Schristos	* ar.c (print_contents): Don't internationalize strings without words.
183*75fd0b74Schristos	* dwarf.c (process_extended_line_op): Likewise.
184*75fd0b74Schristos	(process_debug_info): Likwise.
185*75fd0b74Schristos	(display_debug_lines_raw): Likewise.
186*75fd0b74Schristos	(display_debug_lines_decoded): Likewise.
187*75fd0b74Schristos	(display_debug_abbrev): Likewise.
188*75fd0b74Schristos	* readelf.c (process_file_header): Likewise.
189*75fd0b74Schristos	(GET_OP): Likewise.
190*75fd0b74Schristos	(decode_arm_unwind): Likewise.
191*75fd0b74Schristos	(process_mips_specific): Likewise.
192*75fd0b74Schristos	* resrc.c (run_cmd): Likewise.
193*75fd0b74Schristos	(rcparse_warning): Likewise.
194*75fd0b74Schristos	* objdump.c (dump_headers): Don't print "Pg".
195*75fd0b74Schristos
196*75fd0b74Schristos2010-11-16  Jorma Karvonen  <karvonen.jorma@gmail.com>
197*75fd0b74Schristos
198*75fd0b74Schristos	* windmc.c: ,%s' -> `%s' in a number of strings.
199*75fd0b74Schristos
200*75fd0b74Schristos2010-11-16  Jie Zhang  <jie.zhang@analog.com>
201*75fd0b74Schristos
202*75fd0b74Schristos	* readelf.c (get_machine_flags): Deal with Blackfin specific flags.
203*75fd0b74Schristos
204*75fd0b74Schristos2010-11-11  Mingming Sun  <mingm.sun@gmail.com>
205*75fd0b74Schristos
206*75fd0b74Schristos	* readelf.c (get_machine_flags): Add loongson-3a.
207*75fd0b74Schristos
208*75fd0b74Schristos2010-11-10  Nick Clifton  <nickc@redhat.com>
209*75fd0b74Schristos
210*75fd0b74Schristos	* po/ja.po: Updated Japanese translation.
211*75fd0b74Schristos	* po/fr.po: Updated French translation.
212*75fd0b74Schristos
213*75fd0b74Schristos2010-11-08  Nick Clifton  <nickc@redhat.com>
214*75fd0b74Schristos
215*75fd0b74Schristos	* po/ja.po: Updated Japanese translation.
216*75fd0b74Schristos
217*75fd0b74Schristos2010-11-08  Alan Modra  <amodra@gmail.com>
218*75fd0b74Schristos
219*75fd0b74Schristos	* objcopy.c (copy_main): No need to rename sections when compressing
220*75fd0b74Schristos	or decompressing.
221*75fd0b74Schristos
222*75fd0b74Schristos2010-11-05  Alan Modra  <amodra@gmail.com>
223*75fd0b74Schristos
224*75fd0b74Schristos	* bin2c.c: Remove internationalization and version report.
225*75fd0b74Schristos	* Makefile.am: Update bin2c rule.
226*75fd0b74Schristos	* Makefile.in: Regenerate.
227*75fd0b74Schristos
228*75fd0b74Schristos2010-11-05  Tristan Gingold  <gingold@adacore.com>
229*75fd0b74Schristos
230*75fd0b74Schristos	* po/binutils.pot: Regenerate
231*75fd0b74Schristos
232*75fd0b74Schristos2010-11-05  Tristan Gingold  <gingold@adacore.com>
233*75fd0b74Schristos
234*75fd0b74Schristos	* NEWS: Add marker for 2.21.
235*75fd0b74Schristos
236*75fd0b74Schristos2010-11-02  H.J. Lu  <hongjiu.lu@intel.com>
237*75fd0b74Schristos
238*75fd0b74Schristos	* objdump.c (dump_bfd_header): Don't display
239*75fd0b74Schristos	BFD_FLAGS_FOR_BFD_USE_MASK bits in abfd->flags.
240*75fd0b74Schristos
241*75fd0b74Schristos2010-11-02  Joseph Myers  <joseph@codesourcery.com>
242*75fd0b74Schristos
243*75fd0b74Schristos	* readelf.c (display_tic6x_attribute): Handle more attributes.
244*75fd0b74Schristos
245*75fd0b74Schristos2010-10-30  Kai Tietz  <kai.tietz@onevision.com>
246*75fd0b74Schristos
247*75fd0b74Schristos	* dlltool.c (scan_drectve_symbols): Allow quoted strings for -export
248*75fd0b74Schristos	directives.
249*75fd0b74Schristos
250*75fd0b74Schristos2010-10-29  Joseph Myers  <joseph@codesourcery.com>
251*75fd0b74Schristos
252*75fd0b74Schristos	* readelf.c (display_tic6x_attribute): Use Tag_ABI_compatibility
253*75fd0b74Schristos	not hardcoded 32.  Display name of this attribute.
254*75fd0b74Schristos
255*75fd0b74Schristos2010-10-29  H.J. Lu  <hongjiu.lu@intel.com>
256*75fd0b74Schristos
257*75fd0b74Schristos	* addr2line.c (process_file): Set BFD_DECOMPRESS.
258*75fd0b74Schristos
259*75fd0b74Schristos	* objcopy.c (do_debug_sections): New.
260*75fd0b74Schristos	(OPTION_COMPRESS_DEBUG_SECTIONS): New.
261*75fd0b74Schristos	(OPTION_DECOMPRESS_DEBUG_SECTIONS): Likewise.
262*75fd0b74Schristos	(copy_options): Add OPTION_COMPRESS_DEBUG_SECTIONS and
263*75fd0b74Schristos	OPTION_DECOMPRESS_DEBUG_SECTIONS.
264*75fd0b74Schristos	(copy_usage): Add --compress-debug-sections and
265*75fd0b74Schristos	--decompress-debug-sections.
266*75fd0b74Schristos	(copy_file): Set BFD_COMPRESS or BFD_DECOMPRESS.
267*75fd0b74Schristos	(copy_section): Replace bfd_get_section_contents with
268*75fd0b74Schristos	bfd_get_full_section_contents.
269*75fd0b74Schristos	(copy_main): Handle OPTION_COMPRESS_DEBUG_SECTIONS and
270*75fd0b74Schristos	OPTION_DECOMPRESS_DEBUG_SECTIONS.  Check do_debug_sections to
271*75fd0b74Schristos	rename DWARF debug sections.
272*75fd0b74Schristos
273*75fd0b74Schristos	* objdump.c (load_specific_debug_section): Replace
274*75fd0b74Schristos	bfd_get_section_contents with bfd_get_full_section_contents.
275*75fd0b74Schristos	Remove bfd_uncompress_section_contents.
276*75fd0b74Schristos	(dump_section): Replace bfd_get_section_contents with
277*75fd0b74Schristos	bfd_get_full_section_contents.
278*75fd0b74Schristos	(display_file): Set BFD_DECOMPRESS if needed.
279*75fd0b74Schristos
280*75fd0b74Schristos	* readelf.c (uncompress_section_contents): Set buffer to NULL
281*75fd0b74Schristos	to indiate decompression failure.
282*75fd0b74Schristos	(load_specific_debug_section): Always call
283*75fd0b74Schristos	uncompress_section_contents.
284*75fd0b74Schristos
285*75fd0b74Schristos	* doc/binutils.texi: Document --compress-debug-sections and
286*75fd0b74Schristos	--decompress-debug-sections.
287*75fd0b74Schristos
288*75fd0b74Schristos2010-10-29  Nick Clifton  <nickc@redhat.com>
289*75fd0b74Schristos
290*75fd0b74Schristos	PR binutils/12058
291*75fd0b74Schristos	* ar.c (usage): Revert previous change.  Describe how 's' can be
292*75fd0b74Schristos	used as a command letter.
293*75fd0b74Schristos	* doc/binutils.texi (ar cmdline): Describe how 's' can be used as
294*75fd0b74Schristos	a command letter.
295*75fd0b74Schristos
296*75fd0b74Schristos2010-10-29  Bernd Schmidt  <bernds@codesourcery.com>
297*75fd0b74Schristos            Joseph Myers  <joseph@codesourcery.com>
298*75fd0b74Schristos
299*75fd0b74Schristos	* readelf.c (display_tic6x_attribute): Handle Tag_ABI_DSBT.
300*75fd0b74Schristos
301*75fd0b74Schristos2010-10-28  Nick Clifton  <nickc@redhat.com>
302*75fd0b74Schristos
303*75fd0b74Schristos	PR binutils/12058
304*75fd0b74Schristos	* ar.c (usage): Remove spurious 's' from list of accepted command
305*75fd0b74Schristos	letters.
306*75fd0b74Schristos
307*75fd0b74Schristos2010-10-28  Alan Modra  <amodra@gmail.com>
308*75fd0b74Schristos
309*75fd0b74Schristos	* readelf.c (is_32bit_abs_reloc): Support i960 and microblaze.
310*75fd0b74Schristos	(is_32bit_pcrel_reloc): Support microblaze.
311*75fd0b74Schristos
312*75fd0b74Schristos2010-10-26  Nick Clifton  <nickc@redhat.com>
313*75fd0b74Schristos
314*75fd0b74Schristos	* po/ja.po: Updated Japanese transaltion.
315*75fd0b74Schristos
316*75fd0b74Schristos2010-10-21  Joseph Myers  <joseph@codesourcery.com>
317*75fd0b74Schristos
318*75fd0b74Schristos	* readelf.c (display_tic6x_attribute): Update for attribute
319*75fd0b74Schristos	renaming.
320*75fd0b74Schristos
321*75fd0b74Schristos2010-10-08  H.J. Lu  <hongjiu.lu@intel.com>
322*75fd0b74Schristos
323*75fd0b74Schristos	* dwarf.c (byte_get_signed): Make it extern.
324*75fd0b74Schristos
325*75fd0b74Schristos	* dwarf.h (byte_get_signed): New.
326*75fd0b74Schristos
327*75fd0b74Schristos	* readelf.c (BYTE_GET_SIGNED): New.
328*75fd0b74Schristos	(slurp_rela_relocs): Use BYTE_GET_SIGNED on r_addend.
329*75fd0b74Schristos	(dump_relocations): Properly dump r_addend.
330*75fd0b74Schristos
331*75fd0b74Schristos2010-10-08  Joseph Myers  <joseph@codesourcery.com>
332*75fd0b74Schristos
333*75fd0b74Schristos	* nm.c (value_format_64bit): Define appropriately for __MSVCRT__.
334*75fd0b74Schristos	(set_print_radix): Update for __MSVCRT__ definition of
335*75fd0b74Schristos	value_format_64bit.
336*75fd0b74Schristos
337*75fd0b74Schristos2010-10-08  Pierre Muller  <muller@ics.u-strasbg.fr>
338*75fd0b74Schristos
339*75fd0b74Schristos	Fix build with -DDEBUG=7
340*75fd0b74Schristos	* nlmheader.y (DEBUG token): Rename to DEBUG_K.
341*75fd0b74Schristos
342*75fd0b74Schristos2010-10-06  Alan Modra  <amodra@gmail.com>
343*75fd0b74Schristos
344*75fd0b74Schristos	* bucomm.c (bfd_nonfatal, bfd_nonfatal_message): Don't clobber errno.
345*75fd0b74Schristos
346*75fd0b74Schristos2010-10-05  Alan Modra  <amodra@gmail.com>
347*75fd0b74Schristos
348*75fd0b74Schristos	* bucomm.c (bfd_nonfatal): Flush stdout before output to stderr.
349*75fd0b74Schristos	(bfd_nonfatal_message, report, list_matching_formats): Likewise.
350*75fd0b74Schristos	(list_supported_targets): Tidy.
351*75fd0b74Schristos	* objdump.c (free_only_list): Formatting.
352*75fd0b74Schristos	(slurp_dynamic_symtab): Non-zero exit status for "not a dynamic
353*75fd0b74Schristos	object".
354*75fd0b74Schristos	(update_source_path): Delete redundant check for NULL filename.
355*75fd0b74Schristos	(disassemble_bytes): Error if disassemble_fn returns a value
356*75fd0b74Schristos	that won't increment address.
357*75fd0b74Schristos	(disassemble_data): Don't capitalize error message.
358*75fd0b74Schristos	(read_section_stabs): Likewise.
359*75fd0b74Schristos	(main): Return non-zero exit status on bad options.
360*75fd0b74Schristos
361*75fd0b74Schristos2010-10-03  H.J. Lu  <hongjiu.lu@intel.com>
362*75fd0b74Schristos
363*75fd0b74Schristos	PR binutils/12088
364*75fd0b74Schristos	* nm.c (plugin_target): New.
365*75fd0b74Schristos	(main): Set plugin_target to "plugin" for --plugin.
366*75fd0b74Schristos	(display_file): Pass plugin_target to bfd_openr if target
367*75fd0b74Schristos	isn't set.
368*75fd0b74Schristos
369*75fd0b74Schristos2010-09-27  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
370*75fd0b74Schristos
371*75fd0b74Schristos	* configure: Regenerate.
372*75fd0b74Schristos
373*75fd0b74Schristos2010-09-22  Mike Frysinger  <vapier@gentoo.org>
374*75fd0b74Schristos
375*75fd0b74Schristos	* MAINTAINERS: Add self as ADI Blackfin maintainer.
376*75fd0b74Schristos
377*75fd0b74Schristos2010-09-17  H.J. Lu  <hongjiu.lu@intel.com>
378*75fd0b74Schristos
379*75fd0b74Schristos	* emul_aix.c (ar_emul_aix_append): Add a target argument
380*75fd0b74Schristos	and ignore it if it is set.
381*75fd0b74Schristos	(ar_emul_aix5_append): Likewise.
382*75fd0b74Schristos	(ar_emul_aix_replace): Likewise.
383*75fd0b74Schristos	(ar_emul_aix5_replace): Likewise.
384*75fd0b74Schristos
385*75fd0b74Schristos2010-09-15  H.J. Lu  <hongjiu.lu@intel.com>
386*75fd0b74Schristos
387*75fd0b74Schristos	* ar.c (plugin_target): New.
388*75fd0b74Schristos	(main): Set plugin_target to "plugin" for --plugin.
389*75fd0b74Schristos	(open_inarch): Initialize target to plugin_target.
390*75fd0b74Schristos	(replace_members): Pass plugin_target to ar_emul_replace
391*75fd0b74Schristos	and ar_emul_append.
392*75fd0b74Schristos
393*75fd0b74Schristos	* binemul.h (ar_emul_append): Add a target argument.
394*75fd0b74Schristos	(ar_emul_default_append): Likewise.
395*75fd0b74Schristos	(ar_emul_replace): Likewise.
396*75fd0b74Schristos	(ar_emul_default_replace): Likewise.
397*75fd0b74Schristos	(bin_emulation_xfer_struct): Add a target argument to
398*75fd0b74Schristos	ar_append and ar_replace.
399*75fd0b74Schristos
400*75fd0b74Schristos	* binemul.c (ar_emul_append): Updated.  Pass target to bfd_openr.
401*75fd0b74Schristos	(do_ar_emul_default_append): Likewise.
402*75fd0b74Schristos	(ar_emul_default_append): Likewise.
403*75fd0b74Schristos	(ar_emul_replace): Likewise.
404*75fd0b74Schristos	(ar_emul_default_replace): Likewise.
405*75fd0b74Schristos
406*75fd0b74Schristos2010-09-10  Ben Gardiner  <bengardiner@nanometrics.ca>
407*75fd0b74Schristos
408*75fd0b74Schristos	* objcopy.c: Add --interleave-width option to allow interleaving
409*75fd0b74Schristos	of more than one byte at a time.
410*75fd0b74Schristos	(copy_width): New variable.
411*75fd0b74Schristos	(copy_options): Add --interleave-width.
412*75fd0b74Schristos	(copy_section): When interleaving copy in units of copy_width
413*75fd0b74Schristos	bytes.
414*75fd0b74Schristos	(copy_main): Parse the new option.
415*75fd0b74Schristos	* doc/binutils: Document the new option.
416*75fd0b74Schristos	* NEWS: Mention the new feature.
417*75fd0b74Schristos
418*75fd0b74Schristos2010-09-09  Jakub Jelinek  <jakub@redhat.com>
419*75fd0b74Schristos
420*75fd0b74Schristos	* dwarf.c (decode_location_expression): Fix data adjustment
421*75fd0b74Schristos	for DW_OP_GNU_implicit_pointer in v3+.
422*75fd0b74Schristos
423*75fd0b74Schristos2010-09-09  Tristan Gingold  <gingold@adacore.com>
424*75fd0b74Schristos
425*75fd0b74Schristos	* NEWS: Add entry to NEWS for hppa/som.
426*75fd0b74Schristos
427*75fd0b74Schristos2010-09-09  Jakub Jelinek  <jakub@redhat.com>
428*75fd0b74Schristos
429*75fd0b74Schristos	* dwarf.h (debug_info): Add offset_info and dwarf_version fields.
430*75fd0b74Schristos	* dwarf.c (decode_location_expression): Add offset_size and
431*75fd0b74Schristos	dwarf_version arguments.  Prefix DIE offset with 0x for
432*75fd0b74Schristos	DW_OP_call{2,4,_ref}.  Fix up DW_OP_call_ref operand size,
433*75fd0b74Schristos	complain if in frame info section.  Handle
434*75fd0b74Schristos	DW_OP_GNU_implicit_pointer.
435*75fd0b74Schristos	(read_and_display_attr_value, display_debug_loc,
436*75fd0b74Schristos	display_debug_frames): Adjust decode_location_expression callers.
437*75fd0b74Schristos	(process_debug_info): Save offset_size and dwarf_version values
438*75fd0b74Schristos	into debug_information array.
439*75fd0b74Schristos
440*75fd0b74Schristos2010-09-07  Nick Clifton  <nickc@redhat.com>
441*75fd0b74Schristos
442*75fd0b74Schristos	* readelf.c (process_section_headers): Mention meaning of 'l'
443*75fd0b74Schristos	section flag for x86-64 targets.
444*75fd0b74Schristos
445*75fd0b74Schristos2010-09-03  Jan Kratochvil  <jan.kratochvil@redhat.com>
446*75fd0b74Schristos	    Jakub Jelinek  <jakub@redhat.com>
447*75fd0b74Schristos
448*75fd0b74Schristos	* dwarf.c (regname): New declaration.
449*75fd0b74Schristos	(decode_location_expression): Print for registers also regname output.
450*75fd0b74Schristos
451*75fd0b74Schristos2010-09-02  Richard Henderson  <rth@redhat.com>
452*75fd0b74Schristos
453*75fd0b74Schristos	* dwarf.c (init_dwarf_regnames_i386, init_dwarf_regnames_x86_64): New.
454*75fd0b74Schristos	(init_dwarf_regnames): Use them.
455*75fd0b74Schristos	* dwarf.h: Declare them.
456*75fd0b74Schristos	* objdump.c (dump_dwarf): Use bfd_get_arch + bfd_get_mach to set up
457*75fd0b74Schristos	the regnames, rather than using elf_machine_code.
458*75fd0b74Schristos
459*75fd0b74Schristos2010-09-02  Richard Henderson  <rth@redhat.com>
460*75fd0b74Schristos
461*75fd0b74Schristos	* objdump.c (dump_dwarf): Use bfd_arch_bits_per_address.
462*75fd0b74Schristos
463*75fd0b74Schristos2010-08-23  H.J. Lu  <hongjiu.lu@intel.com>
464*75fd0b74Schristos
465*75fd0b74Schristos	* elfedit.c (input_elf_osabi): New.
466*75fd0b74Schristos	(output_elf_osbi): Likewise.
467*75fd0b74Schristos	(osabis): Likewise.
468*75fd0b74Schristos	(elf_osabi): Likewise.
469*75fd0b74Schristos	(update_elf_header): Support updating ELF OSABI.
470*75fd0b74Schristos	(make_qualified_name): Break long line.
471*75fd0b74Schristos	(command_line_switch): Add OPTION_INPUT_OSABI and
472*75fd0b74Schristos	OPTION_OUTPUT_OSABI.
473*75fd0b74Schristos	(options): Likewise.
474*75fd0b74Schristos	(usage): Add --input-osabi and --output-osabi.
475*75fd0b74Schristos	(main): Handle OPTION_INPUT_OSABI and OPTION_OUTPUT_OSABI.
476*75fd0b74Schristos
477*75fd0b74Schristos	* doc/binutils.texi: Document --input-osabi and --output-osabi
478*75fd0b74Schristos	for elfedit.
479*75fd0b74Schristos
480*75fd0b74Schristos2010-08-23  Maciej W. Rozycki  <macro@codesourcery.com>
481*75fd0b74Schristos
482*75fd0b74Schristos	* readelf.c (display_mips_gnu_attribute): Replace GCC options
483*75fd0b74Schristos	with a textual description of a MIPS32r2 64-bit FPU.
484*75fd0b74Schristos
485*75fd0b74Schristos2010-08-13  Dan Rosenberg  <dan.j.rosenberg@gmail.com>
486*75fd0b74Schristos
487*75fd0b74Schristos	PR binutils/11889
488*75fd0b74Schristos	* readelf.c (get_32bit_elf_symbols): Check for a corrupt
489*75fd0b74Schristos	sh_entsize.
490*75fd0b74Schristos	(get_64bit_elf_symbols): Likewise.
491*75fd0b74Schristos	(process_symbol_table): Likewise.
492*75fd0b74Schristos	(process_section_groups): Check for corrupt headers.
493*75fd0b74Schristos	(process_version_sections): Check for corrupt indicies.
494*75fd0b74Schristos	(process_corefile_note_segment): Likewise.
495*75fd0b74Schristos
496*75fd0b74Schristos2010-08-13  Nathan Sidwell  <nathan@codesourcery.com>
497*75fd0b74Schristos
498*75fd0b74Schristos	* readelf.c (get_machine_flags): Detect CF ISA C and EMAC_B
499*75fd0b74Schristos	variants.
500*75fd0b74Schristos
501*75fd0b74Schristos2010-08-13  Tom Tromey  <tromey@redhat.com>
502*75fd0b74Schristos
503*75fd0b74Schristos	* dwarf.c (process_debug_info): Don't subtract section address
504*75fd0b74Schristos	when calculating location of cu abbrev within section.
505*75fd0b74Schristos
506*75fd0b74Schristos2010-08-12  Michael Haubenwallner  <haubi@gentoo.org>
507*75fd0b74Schristos
508*75fd0b74Schristos	PR binutils/11742
509*75fd0b74Schristos	* readelf.c (get_archive_member_name): Do not read beyond the end
510*75fd0b74Schristos	of the ar_name field.
511*75fd0b74Schristos
512*75fd0b74Schristos2010-08-03  Tristan Gingold  <gingold@adacore.com>
513*75fd0b74Schristos
514*75fd0b74Schristos	* dwarf.c (display_debug_lines): Mark file argument unused.
515*75fd0b74Schristos	Do not try to load .debug_info section.
516*75fd0b74Schristos
517*75fd0b74Schristos2010-08-02  Alan Modra  <amodra@gmail.com>
518*75fd0b74Schristos
519*75fd0b74Schristos	* readelf.c (apply_relocations): D30V is really REL.
520*75fd0b74Schristos
521*75fd0b74Schristos2010-07-23  Naveen.H.S  <naveen.S@kpitcummins.com>
522*75fd0b74Schristos	    Ina Pandit  <ina.pandit@kpitcummins.com>
523*75fd0b74Schristos
524*75fd0b74Schristos	* binutils/readelf.c: Add support for V850E2 and V850E2V3.
525*75fd0b74Schristos
526*75fd0b74Schristos2010-07-22  Alan Modra  <amodra@gmail.com>
527*75fd0b74Schristos
528*75fd0b74Schristos	* readelf.c: Add Moxie support.
529*75fd0b74Schristos
530*75fd0b74Schristos2010-07-20  Alan Modra  <amodra@gmail.com>
531*75fd0b74Schristos
532*75fd0b74Schristos	* readelf.c (process_program_headers): Don't ignore all zero size
533*75fd0b74Schristos	sections.
534*75fd0b74Schristos
535*75fd0b74Schristos2010-07-19  Andreas Schwab  <schwab@redhat.com>
536*75fd0b74Schristos
537*75fd0b74Schristos	* readelf.c (process_section_headers): Update key to flags.
538*75fd0b74Schristos
539*75fd0b74Schristos2010-07-17  Dave Korn  <dave.korn.cygwin@gmail.com>
540*75fd0b74Schristos
541*75fd0b74Schristos	* objcopy.c (copy_usage): Tweak previous typofix.
542*75fd0b74Schristos
543*75fd0b74Schristos2010-07-17  H.J. Lu  <hongjiu.lu@intel.com>
544*75fd0b74Schristos
545*75fd0b74Schristos	* objcopy.c (copy_usage): Fix a typo.
546*75fd0b74Schristos
547*75fd0b74Schristos2010-07-15  Kai Tietz <kai.tietz@onevision.com>
548*75fd0b74Schristos
549*75fd0b74Schristos	* dllwrap.c (main): Make sure is_leading_underscore
550*75fd0b74Schristos	gets initialized with correct default.
551*75fd0b74Schristos
552*75fd0b74Schristos2010-07-05  Alan Modra  <amodra@gmail.com>
553*75fd0b74Schristos
554*75fd0b74Schristos	* readelf.c (uncompress_section_contents): Avoid gcc-4.6 warning.
555*75fd0b74Schristos
556*75fd0b74Schristos2010-07-03  Cary Coutant  <ccoutant@google.com>
557*75fd0b74Schristos
558*75fd0b74Schristos	* objdump.c (load_specific_debug_section): Decompress section contents
559*75fd0b74Schristos	before applying relocations.
560*75fd0b74Schristos	* readelf.c (load_specific_debug_section): Update section size after
561*75fd0b74Schristos	decompression.
562*75fd0b74Schristos
563*75fd0b74Schristos2010-06-29  Alan Modra  <amodra@gmail.com>
564*75fd0b74Schristos
565*75fd0b74Schristos	PR binutils/3166
566*75fd0b74Schristos	* objcopy.c (is_strip_section): Revert 2006-09-05.
567*75fd0b74Schristos	(setup_section): Make SHT_GROUP section nobits.
568*75fd0b74Schristos
569*75fd0b74Schristos2010-06-29  Alan Modra  <amodra@gmail.com>
570*75fd0b74Schristos
571*75fd0b74Schristos	* configure: Regenerate.
572*75fd0b74Schristos	* po/POTFILES.in: Regenerate.
573*75fd0b74Schristos
574*75fd0b74Schristos2010-06-27  Alan Modra  <amodra@gmail.com>
575*75fd0b74Schristos
576*75fd0b74Schristos	* resbin.c (res_to_bin_accelerator): Delete set but unused variables.
577*75fd0b74Schristos
578*75fd0b74Schristos2010-06-17  Nick Clifton  <nickc@redhat.com>
579*75fd0b74Schristos
580*75fd0b74Schristos	PR binutils/11711
581*75fd0b74Schristos	* windres.c (enum option_values): New enum.
582*75fd0b74Schristos	(long_options): Use separate option number for --include-dir
583*75fd0b74Schristos	option.
584*75fd0b74Schristos	(main): Separate backwards compatibility check from code to
585*75fd0b74Schristos	implement --include-dir.  Check to see if directory exists and do
586*75fd0b74Schristos	not complain if it does.
587*75fd0b74Schristos
588*75fd0b74Schristos2010-06-15  Joseph Myers  <joseph@codesourcery.com>
589*75fd0b74Schristos
590*75fd0b74Schristos	* readelf.c (display_tic6x_attribute, process_tic6x_specific):
591*75fd0b74Schristos	New.
592*75fd0b74Schristos	(process_arch_specific): Call process_tic6x_specific for
593*75fd0b74Schristos	EM_TI_C6000.
594*75fd0b74Schristos
595*75fd0b74Schristos2010-06-11  H.J. Lu  <hongjiu.lu@intel.com>
596*75fd0b74Schristos
597*75fd0b74Schristos	* readelf.c (dump_ia64_vms_dynamic_fixups): Cast to unsigned long
598*75fd0b74Schristos	for 0x%lx.
599*75fd0b74Schristos
600*75fd0b74Schristos2010-06-11  Tristan Gingold  <gingold@adacore.com>
601*75fd0b74Schristos	    Doug Rupp <rupp@gnat.com>
602*75fd0b74Schristos
603*75fd0b74Schristos	* readelf.c (is_ia64_vms): New function.
604*75fd0b74Schristos	(dump_relocations): Use it.
605*75fd0b74Schristos	(get_machine_flags): Display IA-64 OpenVMS flags.
606*75fd0b74Schristos	(process_program_headers): No error on OpenVMS if no .dynamic section.
607*75fd0b74Schristos	(struct ia64_vms_dynfixup, struct ia64_vms_dynimgrela): New
608*75fd0b74Schristos	declarations.
609*75fd0b74Schristos	(dump_ia64_vms_dynamic_fixups): New function.
610*75fd0b74Schristos	(dump_ia64_vms_dynamic_relocs): Ditto.
611*75fd0b74Schristos	(process_ia64_vms_dynamic_relocs): Ditto.
612*75fd0b74Schristos	(process_relocs): Handle IA-64 OpenVMS relocs.
613*75fd0b74Schristos	(VMS_EPOCH_OFFSET, VMS_GRANULARITY_FACTOR): New macros.
614*75fd0b74Schristos	(print_vms_time): New function.
615*75fd0b74Schristos	(dynamic_section_ia64_val): Handle DT_IA_64_VMS_LINKTIME and
616*75fd0b74Schristos	DT_IA_64_VMS_LNKFLAGS.
617*75fd0b74Schristos	(get_ia64_symbol_other): New function.
618*75fd0b74Schristos	(get_symbol_other): Handle EM_IA_64.
619*75fd0b74Schristos
620*75fd0b74Schristos2010-06-11  Tristan Gingold  <gingold@adacore.com>
621*75fd0b74Schristos
622*75fd0b74Schristos	* unwind-ia64.c (unw_print_abreg): Add const to special_reg.
623*75fd0b74Schristos	(UNW_DEC_ABI): Ditto for abiname.
624*75fd0b74Schristos	(unw_decode_table): Make it const.
625*75fd0b74Schristos
626*75fd0b74Schristos2010-06-10  Tristan Gingold  <gingold@adacore.com>
627*75fd0b74Schristos
628*75fd0b74Schristos	* readelf.c (slurp_ia64_unwind_table): IA64 rela relocations are
629*75fd0b74Schristos	not inplace.
630*75fd0b74Schristos
631*75fd0b74Schristos2010-05-25  Daniel Jacobowitz  <dan@codesourcery.com>
632*75fd0b74Schristos	    Joseph Myers  <joseph@codesourcery.com>
633*75fd0b74Schristos	    Andrew Stubbs  <ams@codesourcery.com>
634*75fd0b74Schristos
635*75fd0b74Schristos	* readelf.c (get_machine_flags): Handle EF_SH_PIC and EF_SH_FDPIC.
636*75fd0b74Schristos
637*75fd0b74Schristos2010-05-25  Jay Krell  <jay.krell@cornell.edu>
638*75fd0b74Schristos
639*75fd0b74Schristos	PR ld/11621
640*75fd0b74Schristos	* Makefile.am: Replace all occurences of .o with .@OBJEXT@
641*75fd0b74Schristos	* Makefile.in: Regenerate.
642*75fd0b74Schristos
643*75fd0b74Schristos2010-05-24  Tristan Gingold  <gingold@adacore.com>
644*75fd0b74Schristos
645*75fd0b74Schristos	* readelf.c (usage): Add new trace sections for --debug-dump.
646*75fd0b74Schristos	(process_section_headers): Handle dump of trace sections.
647*75fd0b74Schristos	* objdump.c (usage): Add new trace sections for --dwarf.
648*75fd0b74Schristos	* dwarf.h (do_trace_info, do_trace_abbrevs): New variables.
649*75fd0b74Schristos	(do_trace_aranges): Ditto.
650*75fd0b74Schristos	(enum dwarf_section_display_enum): Add trace_info, trace_abbrev
651*75fd0b74Schristos	and trace_aranges literals.
652*75fd0b74Schristos	* dwarf.c (do_trace_info, do_trace_abbrevs): New variables.
653*75fd0b74Schristos	(do_trace_aranges): Ditto.
654*75fd0b74Schristos	(process_debug_info): Add abbrev_sec argument and replace
655*75fd0b74Schristos	abbrev with abbrev_sec.
656*75fd0b74Schristos	(load_debug_info): Adjust call of process_debug_info.
657*75fd0b74Schristos	(display_debug_info): Ditto.
658*75fd0b74Schristos	(display_trace_info): New function.
659*75fd0b74Schristos	(dwarf_select_sections_by_names): Add trace_info, trace_abbrevs
660*75fd0b74Schristos	and trace_aranges sections name.
661*75fd0b74Schristos	(dwarf_select_sections_all): Also select trace sections.
662*75fd0b74Schristos	(debug_displays): Reindent.  Add entries for the trace sections.
663*75fd0b74Schristos	* doc/binutils.texi (readelf): Document new --dwarf parameters.
664*75fd0b74Schristos	(objdump): Ditto.
665*75fd0b74Schristos
666*75fd0b74Schristos2010-05-18  H.J. Lu  <hongjiu.lu@intel.com>
667*75fd0b74Schristos
668*75fd0b74Schristos	PR gas/11600
669*75fd0b74Schristos	* readelf.c (get_elf_section_flags): Treat SHF_EXCLUDE as a
670*75fd0b74Schristos	generic flag.
671*75fd0b74Schristos
672*75fd0b74Schristos2010-05-07  Tristan Gingold  <gingold@adacore.com>
673*75fd0b74Schristos
674*75fd0b74Schristos	* Makefile.in: Regenerate with automake 1.11.1.
675*75fd0b74Schristos	* aclocal.m4: Ditto.
676*75fd0b74Schristos	* doc/Makefile.in: Ditto.
677*75fd0b74Schristos
678*75fd0b74Schristos2010-05-06  H.J. Lu  <hongjiu.lu@intel.com>
679*75fd0b74Schristos
680*75fd0b74Schristos	* dwarf.c (init_dwarf_regnames): Handle EM_L1OM.
681*75fd0b74Schristos	* readelf.c (get_elf_section_flags): Likewise.
682*75fd0b74Schristos	(process_section_headers): Likewise.
683*75fd0b74Schristos
684*75fd0b74Schristos2010-05-05  Nick Clifton  <nickc@redhat.com>
685*75fd0b74Schristos
686*75fd0b74Schristos	* po/es.po: Updated Spanish translation.
687*75fd0b74Schristos
688*75fd0b74Schristos2010-04-27  Kai Tietz  <kai.tietz@onevision.com>
689*75fd0b74Schristos
690*75fd0b74Schristos	* dlltool.c (main): Query for bfd's underscoring default for
691*75fd0b74Schristos	default target case.
692*75fd0b74Schristos
693*75fd0b74Schristos2010-04-27  Nick Clifton  <nickc@redhat.com>
694*75fd0b74Schristos
695*75fd0b74Schristos	* po/ru.po: Updated Russian translation.
696*75fd0b74Schristos
697*75fd0b74Schristos2010-04-23  Alan Modra  <amodra@gmail.com>
698*75fd0b74Schristos
699*75fd0b74Schristos	* readelf.c (process_program_headers): Replace use of
700*75fd0b74Schristos	ELF_IS_SECTION_IN_SEGMENT_MEMORY with ELF_SECTION_IN_SEGMENT.
701*75fd0b74Schristos
702*75fd0b74Schristos2010-04-22  Nick Clifton  <nickc@redhat.com>
703*75fd0b74Schristos
704*75fd0b74Schristos	* po/binutils.pot: Updated by the Translation project.
705*75fd0b74Schristos	* po/fi.po: Updated Finnish translation.
706*75fd0b74Schristos	* po/vi.po: Updated Vietnamese translation.
707*75fd0b74Schristos	* po/bg.po: New Bulgarian translation.
708*75fd0b74Schristos	* configure.in (ALL_LINGUAS): Add bg.
709*75fd0b74Schristos	* configure: Regenerate.
710*75fd0b74Schristos
711*75fd0b74Schristos2010-04-20  Nick Clifton  <nickc@redhat.com>
712*75fd0b74Schristos
713*75fd0b74Schristos	* po/fr.po: Updated french translation.
714*75fd0b74Schristos
715*75fd0b74Schristos2010-04-20  Nick Clifton  <nickc@redhat.com>
716*75fd0b74Schristos
717*75fd0b74Schristos	* readelf.c: Add _() macros to constant strings that are
718*75fd0b74Schristos	translatable.
719*75fd0b74Schristos
720*75fd0b74Schristos	* readelf.c (display_mips_gnu_attribute): Replace GCC options
721*75fd0b74Schristos	with a textual description of single and double precision float.
722*75fd0b74Schristos
723*75fd0b74Schristos2010-04-15  Matthew Gretton-Dann  <matthew.gretton-dann@arm.com>
724*75fd0b74Schristos
725*75fd0b74Schristos	* readelf.c (arm_attr_tag_FP_arch): Rename from arm_attr_tag_VFP_arch.
726*75fd0b74Schristos	(arm_attr_tag_ABI_align8_needed): Remove.
727*75fd0b74Schristos	(arm_attr_tag_ABI_align8_preserved): Remove.
728*75fd0b74Schristos	(arm_attr_tag_ABI_HardFP_use): Update text strings.
729*75fd0b74Schristos	(arm_attr_public_tags): Add strings for ABI v2.08 attribute tags.
730*75fd0b74Schristos	(display_arm_attribute): Add decoding of ABI v2.08 attributes.
731*75fd0b74Schristos
732*75fd0b74Schristos2010-04-13  Nick Clifton  <nickc@redhat.com>
733*75fd0b74Schristos
734*75fd0b74Schristos	PR binutils/11419
735*75fd0b74Schristos	* dwarf.c (process_debug_info): Initialise the signature array.
736*75fd0b74Schristos
737*75fd0b74Schristos2010-04-09  Nick Clifton  <nickc@redhat.com>
738*75fd0b74Schristos
739*75fd0b74Schristos	* dwarf.c (process_debug_info): Remove unused variable
740*75fd0b74Schristos	cu_abbrev_offset_ptr.
741*75fd0b74Schristos	(display_debug_lines_decoded): Remove unused variable prev_line.
742*75fd0b74Schristos	* elfedit.c (process_archive): Remove unused variable
743*75fd0b74Schristos	file_name_size.
744*75fd0b74Schristos	* ieee.c (ieee_start_compilation_unit): Remove unused variable
745*75fd0b74Schristos	nindx.
746*75fd0b74Schristos	(ieee_set_type): Remove unused variables info, targetindx and
747*75fd0b74Schristos	baseindx.
748*75fd0b74Schristos	* objdump.c (disassmble_byte): Remove unused variable done_dot.
749*75fd0b74Schristos	* rddbg.c (read_section_stabs_debugging_info): Remove unused
750*75fd0b74Schristos	variable other.
751*75fd0b74Schristos	* readelf.c (dump_section_as_strings): Remove unused variable
752*75fd0b74Schristos	addr.
753*75fd0b74Schristos	(process_archive): Remove unused variable file_name_size.
754*75fd0b74Schristos	* stabs.c (parse_stab_string): Mark desc parameter as unused.
755*75fd0b74Schristos	Remove unused variable lineno.
756*75fd0b74Schristos	(parse_stab_struct_type): Remove unused variable orig.
757*75fd0b74Schristos	(stab_demangle_type): Remove unused variables constp, volatilep
758*75fd0b74Schristos	and hold.
759*75fd0b74Schristos
760*75fd0b74Schristos2010-04-07  Alan Modra  <amodra@gmail.com>
761*75fd0b74Schristos
762*75fd0b74Schristos	* configure: Regenerate.
763*75fd0b74Schristos
764*75fd0b74Schristos2010-04-06  Nick Clifton  <nickc@redhat.com>
765*75fd0b74Schristos
766*75fd0b74Schristos	* po/vi.po: Updated Vietnamese translation.
767*75fd0b74Schristos
768*75fd0b74Schristos2010-04-05  Jakub Jelinek  <jakub@redhat.com>
769*75fd0b74Schristos
770*75fd0b74Schristos	* dwarf.c (struct Frame_Chunk): Add ptr_size and segment_size
771*75fd0b74Schristos	fields.
772*75fd0b74Schristos	(display_debug_frames): Handle CIE version 4.
773*75fd0b74Schristos
774*75fd0b74Schristos	* dwarf.c (struct State_Machine_Registers): Add op_index field,
775*75fd0b74Schristos	change end_sequence type to unsigned char.
776*75fd0b74Schristos	(reset_state_machine): Clear op_index.
777*75fd0b74Schristos	(process_extended_line_op): For DW_LNE_set_address clear op_index.
778*75fd0b74Schristos	(display_debug_lines_raw): Initialize li_max_ops_per_insn.
779*75fd0b74Schristos	Track op_index state machine register and print it if
780*75fd0b74Schristos	li_max_ops_per_insn is != 1.
781*75fd0b74Schristos	(display_debug_lines_decoded): Likewise.
782*75fd0b74Schristos
783*75fd0b74Schristos2010-04-01  Jakub Jelinek  <jakub@redhat.com>
784*75fd0b74Schristos
785*75fd0b74Schristos	* dwarf.c (read_and_display_attr_value): Don't reject
786*75fd0b74Schristos	dwarf_version == 4.  Handle DW_FORM_sec_offset, DW_FORM_flag_present
787*75fd0b74Schristos	and DW_FORM_exprloc.
788*75fd0b74Schristos	(process_debug_info): Handle cu_version == 4.
789*75fd0b74Schristos	(display_debug_lines_raw, display_debug_lines_decoded): Handle
790*75fd0b74Schristos	li_version == 4.
791*75fd0b74Schristos
792*75fd0b74Schristos2010-03-30  Andreas Schwab  <schwab@linux-m68k.org>
793*75fd0b74Schristos
794*75fd0b74Schristos	* Makefile.am (CONFIG_STATUS_DEPENDENCIES): Define.
795*75fd0b74Schristos	* Makefile.in: Regenerate.
796*75fd0b74Schristos
797*75fd0b74Schristos2010-03-25  Joseph Myers  <joseph@codesourcery.com>
798*75fd0b74Schristos
799*75fd0b74Schristos	* MAINTAINERS: Add self as TI C6X maintainer.
800*75fd0b74Schristos	* NEWS: Add news entry for TI C6X support.
801*75fd0b74Schristos	* readelf.c: Include elf/tic6x.h.
802*75fd0b74Schristos	(guess_is_rela): Handle EM_TI_C6000.
803*75fd0b74Schristos	(dump_relocations): Likewise.
804*75fd0b74Schristos	(get_tic6x_dynamic_type): New.
805*75fd0b74Schristos	(get_dynamic_type): Call it.
806*75fd0b74Schristos	(get_machine_flags): Handle EF_C6000_REL.
807*75fd0b74Schristos	(get_osabi_name): Handle machine-specific values only for relevant
808*75fd0b74Schristos	machines.  Handle C6X values.
809*75fd0b74Schristos	(get_tic6x_segment_type): New.
810*75fd0b74Schristos	(get_segment_type): Call it.
811*75fd0b74Schristos	(get_tic6x_section_type_name): New.
812*75fd0b74Schristos	(get_section_type_name): Call it.
813*75fd0b74Schristos	(is_32bit_abs_reloc, is_16bit_abs_reloc, is_none_reloc): Handle
814*75fd0b74Schristos	EM_TI_C6000.
815*75fd0b74Schristos
816*75fd0b74Schristos2010-03-25  Thomas Schwinge  <thomas@codesourcery.com>
817*75fd0b74Schristos
818*75fd0b74Schristos	* doc/binutils.texi (readelf) <unwind information>: Mention support for
819*75fd0b74Schristos	ARM unwind tables.
820*75fd0b74Schristos
821*75fd0b74Schristos2010-03-18  H.J. Lu  <hongjiu.lu@intel.com>
822*75fd0b74Schristos
823*75fd0b74Schristos	* readelf.c (decode_arm_unwind): Increase buf size to 9 byte.
824*75fd0b74Schristos
825*75fd0b74Schristos2010-03-17  Alan Modra  <amodra@gmail.com>
826*75fd0b74Schristos
827*75fd0b74Schristos	* readelf.c (dump_arm_unwind): Warning fix.
828*75fd0b74Schristos
829*75fd0b74Schristos2010-03-16  Daniel Jacobowitz  <dan@codesourcery.com>
830*75fd0b74Schristos
831*75fd0b74Schristos	* MAINTAINERS: Update my email address.  List Tristan Gingold
832*75fd0b74Schristos	as the release branch maintainer.
833*75fd0b74Schristos
834*75fd0b74Schristos2010-03-05  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
835*75fd0b74Schristos
836*75fd0b74Schristos	* readelf.c (get_ver_flags): Handle VER_FLG_INFO.
837*75fd0b74Schristos
838*75fd0b74Schristos2010-03-02  Daniel Jacobowitz  <dan@codesourcery.com>
839*75fd0b74Schristos
840*75fd0b74Schristos	* NEWS: Document .ARM.exidx / .ARM.extab support.
841*75fd0b74Schristos
842*75fd0b74Schristos	* dwarf.c (read_leb128): Make non-static.
843*75fd0b74Schristos	* dwarf.h (read_leb128): Declare.
844*75fd0b74Schristos	* readelf.c (REMOVE_ARCH_BITS): Define.
845*75fd0b74Schristos	(find_section_by_address): New.
846*75fd0b74Schristos	(read_uleb128): Move higher.  Use read_leb128 from dwarf.c.
847*75fd0b74Schristos	(find_symbol_for_address): Handle the Thumb bit for ARM, by
848*75fd0b74Schristos	using REMOVE_ARCH_BITS.
849*75fd0b74Schristos	(struct arm_section, struct arm_unw_aux_info, arm_print_vma_and_name)
850*75fd0b74Schristos	(arm_free_section, arm_section_get_word, decode_arm_unwind)
851*75fd0b74Schristos	(dump_arm_unwind, arm_process_unwind): New.
852*75fd0b74Schristos	(process_unwind): Handle ARM.
853*75fd0b74Schristos
854*75fd0b74Schristos2010-02-26  Jie Zhang  <jie@codesourcery.com>
855*75fd0b74Schristos
856*75fd0b74Schristos	* MAINTAINERS: Update my email address.
857*75fd0b74Schristos
858*75fd0b74Schristos2010-02-23  Peter Breitenlohner  <peb@mppmu.mpg.de>
859*75fd0b74Schristos
860*75fd0b74Schristos	PR binutils/11298
861*75fd0b74Schristos	* doc/binutils.texi (windmc): Fix synopsis and description of
862*75fd0b74Schristos	ASCII options.
863*75fd0b74Schristos
864*75fd0b74Schristos2010-02-19  Alan Modra  <amodra@gmail.com>
865*75fd0b74Schristos
866*75fd0b74Schristos	* readelf.c (get_group_flags): Return empty string when flags zero.
867*75fd0b74Schristos	Add space in other returned values.
868*75fd0b74Schristos	(process_section_groups): Adjust format string.
869*75fd0b74Schristos
870*75fd0b74Schristos2010-02-18  Matthew Gretton-Dann  <matthew.gretton-dann@arm.com>
871*75fd0b74Schristos
872*75fd0b74Schristos	* readelf.c (arm_attr_tag_Advanced_SIMD_arch): Add description of
873*75fd0b74Schristos	newly permitted attribute values.
874*75fd0b74Schristos	(arm_attr_tag_Virtualization_use): Likewise.
875*75fd0b74Schristos	(arm_attr_tag_DIV_use): Add description of new attribute.
876*75fd0b74Schristos	(arm_attr_tag_MPextension_use_legacy): Likewise.
877*75fd0b74Schristos
878*75fd0b74Schristos2010-02-15  Nick Clifton  <nickc@redhat.com>
879*75fd0b74Schristos
880*75fd0b74Schristos	* po/vi.po: Updated Vietnamese translation.
881*75fd0b74Schristos
882*75fd0b74Schristos2010-02-09  Michael Holzheu  <holzheu@de.ibm.com>
883*75fd0b74Schristos
884*75fd0b74Schristos	* readelf.c (get_note_type): Handle NT_S390_TIMER, NT_S390_TODCMP,
885*75fd0b74Schristos	NT_S390_TODPREG, NT_S390_CTRS and NT_S390_PREFIX.
886*75fd0b74Schristos
887*75fd0b74Schristos2010-02-08  Jim Blandy  <jimb@red-bean.com>
888*75fd0b74Schristos
889*75fd0b74Schristos	* dwarf.c (display_debug_frames): Skip the 'S' character in CFI
890*75fd0b74Schristos	'z' augmentation strings.
891*75fd0b74Schristos
892*75fd0b74Schristos2010-02-08  Christophe Lyon  <christophe.lyon@st.com>
893*75fd0b74Schristos
894*75fd0b74Schristos	* objdump.c (disassemble_bytes): Clear aux->reloc before printing
895*75fd0b74Schristos	a new address, so as not to reuse a previous, non-related reloc.
896*75fd0b74Schristos
897*75fd0b74Schristos2010-02-02  H.J. Lu  <hongjiu.lu@intel.com>
898*75fd0b74Schristos
899*75fd0b74Schristos	* readelf.c (get_note_type): Handle NT_X86_XSTATE.
900*75fd0b74Schristos
901*75fd0b74Schristos2010-02-01  Nathan Sidwell  <nathan@codesourcery.com>
902*75fd0b74Schristos
903*75fd0b74Schristos	* objcopy.c (copy_object): Set SEC_LINKER_CREATED when adding
904*75fd0b74Schristos	sections.
905*75fd0b74Schristos
906*75fd0b74Schristos2010-01-28  Nick Clifton  <nickc@redhat.com>
907*75fd0b74Schristos
908*75fd0b74Schristos	PR 11225
909*75fd0b74Schristos	* objdump.c (only): Replace with linked list.
910*75fd0b74Schristos	(only_size, only_used): Replace with only_list.
911*75fd0b74Schristos	(process_section_p): Set seen field on matches sections.
912*75fd0b74Schristos	(add_only): New function.
913*75fd0b74Schristos	(free_only_list): New function.
914*75fd0b74Schristos	(disassemble_section): Check only_list.
915*75fd0b74Schristos	(main): Use add_only and free_only_list.
916*75fd0b74Schristos
917*75fd0b74Schristos2010-01-26  Tristan Gingold  <gingold@adacore.com>
918*75fd0b74Schristos
919*75fd0b74Schristos	* Makefile.am (bin2c): Add libintl dependance and library.
920*75fd0b74Schristos	* Makefile.in: Regenerate.
921*75fd0b74Schristos
922*75fd0b74Schristos2010-01-21  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
923*75fd0b74Schristos
924*75fd0b74Schristos	* readelf.c (get_machine_flags): Handle EF_S390_HIGH_GPRS.
925*75fd0b74Schristos
926*75fd0b74Schristos2010-01-19  Ian Lance Taylor  <iant@google.com>
927*75fd0b74Schristos
928*75fd0b74Schristos	* objcopy.c (copy_main): Rewrite OPTION_ADD_SECTION code to work
929*75fd0b74Schristos	with non-ordinary files like /dev/null.
930*75fd0b74Schristos
931*75fd0b74Schristos2010-01-19  Daisuke Hatayama  <d.hatayama@jp.fujitsu.com>
932*75fd0b74Schristos	    Alan Modra <amodra@gmail.com>
933*75fd0b74Schristos
934*75fd0b74Schristos	* readelf.c (process_file_header): Handle e_phnum extension.
935*75fd0b74Schristos
936*75fd0b74Schristos2010-01-14  Tristan Gingold  <gingold@adacore.com>
937*75fd0b74Schristos
938*75fd0b74Schristos	* dwarf.c (get_AT_name): Handle DW_AT_use_GNAT_descriptive_type
939*75fd0b74Schristos	and DW_AT_GNAT_descriptive_type.
940*75fd0b74Schristos
941*75fd0b74Schristos2010-01-13  Tristan Gingold  <gingold@adacore.com>
942*75fd0b74Schristos
943*75fd0b74Schristos	* ar.c (main): Use lbasename.
944*75fd0b74Schristos	(normalize): Ditto.
945*75fd0b74Schristos	* objdump.c (update_source_path): Ditto.
946*75fd0b74Schristos
947*75fd0b74Schristos2010-01-12  Tristan Gingold  <gingold@adacore.com>
948*75fd0b74Schristos
949*75fd0b74Schristos	* makefile.vms (CFLAGS): Turns warnings into informational messages.
950*75fd0b74Schristos
951*75fd0b74Schristos2010-01-11  H.J. Lu  <hongjiu.lu@intel.com>
952*75fd0b74Schristos
953*75fd0b74Schristos	PR ld/11146
954*75fd0b74Schristos	* NEWS: Mention --dyn-syms for readelf.
955*75fd0b74Schristos
956*75fd0b74Schristos	* readelf.c (do_dyn_syms): New.
957*75fd0b74Schristos	(OPTION_DYN_SYMS): Likewise.
958*75fd0b74Schristos	(options): Add "dyn-syms".
959*75fd0b74Schristos	(usage): Add --dyn-syms.
960*75fd0b74Schristos	(parse_args): Handle OPTION_DYN_SYMS.
961*75fd0b74Schristos	(process_symbol_table): Handle do_dyn_syms.
962*75fd0b74Schristos	(process_object): Likewise.
963*75fd0b74Schristos	(process_archive): Likewise.
964*75fd0b74Schristos
965*75fd0b74Schristos	* doc/binutils.texi: Document --dyn-syms for readelf.  Mention
966*75fd0b74Schristos	symbol hash tables for -D.
967*75fd0b74Schristos
968*75fd0b74Schristos2010-01-11  Nick Clifton  <nickc@redhat.com>
969*75fd0b74Schristos
970*75fd0b74Schristos	* NEWS: Mention addition of elfedit.
971*75fd0b74Schristos
972*75fd0b74Schristos	* po/fi.po: Updated Finnish translation.
973*75fd0b74Schristos
974*75fd0b74Schristos2010-01-09  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
975*75fd0b74Schristos
976*75fd0b74Schristos	* Makefile.in: Regenerate.
977*75fd0b74Schristos	* configure: Regenerate.
978*75fd0b74Schristos	* doc/Makefile.in: Regenerate.
979*75fd0b74Schristos
980*75fd0b74Schristos2010-01-08  H.J. Lu  <hongjiu.lu@intel.com>
981*75fd0b74Schristos
982*75fd0b74Schristos	* version.c (print_version): Change to "Copyright 2010".
983*75fd0b74Schristos
984*75fd0b74Schristos2010-01-08  H.J. Lu  <hongjiu.lu@intel.com>
985*75fd0b74Schristos
986*75fd0b74Schristos	* elfedit.c (input_elf_type): New.
987*75fd0b74Schristos	(output_elf_type): Likewise.
988*75fd0b74Schristos	(elf_type): Likewise.
989*75fd0b74Schristos	(update_elf_header): Support updating ELF file type.
990*75fd0b74Schristos	(command_line_switch): Add OPTION_INPUT_TYPE and
991*75fd0b74Schristos	OPTION_OUTPUT_TYPE.
992*75fd0b74Schristos	(options): Likewise.
993*75fd0b74Schristos	(usage): Add --input-type and --output-type.
994*75fd0b74Schristos	(main): Handle OPTION_INPUT_TYPE and OPTION_OUTPUT_TYPE.  Check
995*75fd0b74Schristos	one of --output-mach and --output-type must be specified.
996*75fd0b74Schristos
997*75fd0b74Schristos	* doc/binutils.texi: Document --input-type and --output-type
998*75fd0b74Schristos	for elfedit.
999*75fd0b74Schristos
1000*75fd0b74Schristos2010-01-08  H.J. Lu  <hongjiu.lu@intel.com>
1001*75fd0b74Schristos
1002*75fd0b74Schristos	* doc/binutils.texi: Fix a typo.
1003*75fd0b74Schristos
1004*75fd0b74Schristos2010-01-08  H.J. Lu  <hongjiu.lu@intel.com>
1005*75fd0b74Schristos
1006*75fd0b74Schristos	* elfedit.c (update_elf_header): Don't change input_elf_class
1007*75fd0b74Schristos	nor input_elf_machine if they are -1.
1008*75fd0b74Schristos
1009*75fd0b74Schristos2010-01-08  Tristan Gingold  <gingold@adacore.com>
1010*75fd0b74Schristos
1011*75fd0b74Schristos	* ar.c: Remove bfd_special_undocumented_glue prototype.
1012*75fd0b74Schristos
1013*75fd0b74Schristos2010-01-07  H.J. Lu  <hongjiu.lu@intel.com>
1014*75fd0b74Schristos
1015*75fd0b74Schristos	* elfedit.c (update_elf_header): Reformat.
1016*75fd0b74Schristos
1017*75fd0b74Schristos2010-01-07  H.J. Lu  <hongjiu.lu@intel.com>
1018*75fd0b74Schristos
1019*75fd0b74Schristos	* readelf.c (usage): Fix indent for --symbols.
1020*75fd0b74Schristos
1021*75fd0b74Schristos2010-01-07  H.J. Lu  <hongjiu.lu@intel.com>
1022*75fd0b74Schristos
1023*75fd0b74Schristos	* doc/binutils.texi: Replace -histogram with --histogram.
1024*75fd0b74Schristos
1025*75fd0b74Schristos2010-01-06  H.J. Lu  <hongjiu.lu@intel.com>
1026*75fd0b74Schristos
1027*75fd0b74Schristos	PR binutils/11131
1028*75fd0b74Schristos	* Makefile.am (ELFEDIT_PROG): New.
1029*75fd0b74Schristos	(bin_PROGRAMS): Add $(ELFEDIT_PROG).
1030*75fd0b74Schristos	(CFILES): Add elfedit.c.
1031*75fd0b74Schristos	(elfedit_DEPENDENCIES): New.
1032*75fd0b74Schristos	(elfedit_SOURCES): Likewise.
1033*75fd0b74Schristos	(elfedit_LDADD): Likewise.
1034*75fd0b74Schristos	* Makefile.in: Regenerated.
1035*75fd0b74Schristos
1036*75fd0b74Schristos	* elfedit.c: New.
1037*75fd0b74Schristos
1038*75fd0b74Schristos	* doc/binutils.texi: Document elfedit.
1039*75fd0b74Schristos
1040*75fd0b74Schristos	* doc/Makefile.am (man_MANS): Add elfedit.1.
1041*75fd0b74Schristos	(elfedit.1): New.
1042*75fd0b74Schristos	* doc/Makefile.in: Regenerated.
1043*75fd0b74Schristos
1044*75fd0b74Schristos2010-01-06  Tristan Gingold  <gingold@adacore.com>
1045*75fd0b74Schristos
1046*75fd0b74Schristos	* nm.c (usage): Remove extra blanks.
1047*75fd0b74Schristos
1048*75fd0b74Schristos2010-01-04  H.J. Lu  <hongjiu.lu@intel.com>
1049*75fd0b74Schristos
1050*75fd0b74Schristos	* objcopy.c: Update copyright.
1051*75fd0b74Schristos	* readelf.c: Likewise.
1052*75fd0b74Schristos
1053*75fd0b74Schristos2010-01-04  H.J. Lu  <hongjiu.lu@intel.com>
1054*75fd0b74Schristos
1055*75fd0b74Schristos	PR binutils/11130
1056*75fd0b74Schristos	* objcopy.c (copy_object): Remove "Warning: " from error
1057*75fd0b74Schristos	message.
1058*75fd0b74Schristos
1059*75fd0b74Schristos2010-01-04  Nick Clifton  <nickc@redhat.com>
1060*75fd0b74Schristos
1061*75fd0b74Schristos	PR 11128
1062*75fd0b74Schristos	* readelf.c (dump_section_as_strings): Use two separate
1063*75fd0b74Schristos	invocations of printf() in order to work around bugs in
1064*75fd0b74Schristos	the Solaris 8 implementation.
1065*75fd0b74Schristos
1066*75fd0b74Schristos2010-01-04  Nick Clifton  <nickc@redhat.com>
1067*75fd0b74Schristos
1068*75fd0b74Schristos	* po/ru.po: Updated Russian translation.
1069*75fd0b74Schristos
1070*75fd0b74SchristosFor older changes see ChangeLog-2009
1071*75fd0b74Schristos
1072*75fd0b74SchristosCopyright (C) 2010 Free Software Foundation, Inc.
1073*75fd0b74Schristos
1074*75fd0b74SchristosCopying and distribution of this file, with or without modification,
1075*75fd0b74Schristosare permitted in any medium without royalty provided the copyright
1076*75fd0b74Schristosnotice and this notice are preserved.
1077*75fd0b74Schristos
1078*75fd0b74SchristosLocal Variables:
1079*75fd0b74Schristosmode: change-log
1080*75fd0b74Schristosleft-margin: 8
1081*75fd0b74Schristosfill-column: 74
1082*75fd0b74Schristosversion-control: never
1083*75fd0b74SchristosEnd:
1084